mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-05 23:19:00 +00:00
add a method to turn a type into a VT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -197,6 +197,11 @@ namespace MVT { // MVT = Machine Value Types
|
||||
/// to the specified ValueType. For integer types, this returns an unsigned
|
||||
/// type. Note that this will abort for types that cannot be represented.
|
||||
const Type *getTypeForValueType(ValueType VT);
|
||||
|
||||
/// MVT::getValueType - Return the value type corresponding to the specified
|
||||
/// type. This returns all vectors as MVT::Vector and all pointers as
|
||||
/// MVT::iPTR.
|
||||
ValueType getValueType(const Type *Ty);
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
Reference in New Issue
Block a user