Commit fbf2bc53 by Nicolas Capens Committed by Nicolas Capens

Abstract LLVM types to enable emulation.

This is just a refactoring, where the 'emulated' types still map to the same types as before. They are represented using small integer values reinterpret-casted as sw::Type*, while non-emulated types correspond directly to llvm::Type pointers. Bug swiftshader:78 Change-Id: I88c0b932a45119ce500821068d8fb5faa2ccbb92 Reviewed-on: https://swiftshader-review.googlesource.com/11048Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 4126b8ed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment