Displaying 1 result from an estimated 1 matches for "getroundintegertyp".
Did you mean:
getroundintegertype
2009 Feb 07
1
[LLVMdev] Patch: More data types
...owering.h and seems to be these two
functions.
LegalizeAction getTypeAction(MVT VT) const {
if (VT.isExtended()) {
if (VT.isVector()) return Expand;
if (VT.isInteger())
// First promote to a power-of-two size, then expand if
necessary.
return VT == VT.getRoundIntegerType() ? Expand : Promote;
assert(0 && "Unsupported extended type!");
return Legal;
}
unsigned I = VT.getSimpleVT();
assert(I<4*array_lengthof(ValueTypeActions)*sizeof(ValueTypeActions[0]))
;
return (LegalizeAction)((ValueTypeActions[I>&...