14#define DEBUG_TYPE "sparctti"
28 (Ty->getScalarType()->isFloatTy() || Ty->getScalarType()->isDoubleTy()))
30 if (Ty && (Ty->getScalarType()->isFP128Ty()))
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
unsigned getNumberOfRegisters(unsigned ClassID) const override
TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const override
unsigned getRegisterClassForType(bool Vector, Type *Ty=nullptr) const override
TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth) const override
static constexpr TypeSize getFixed(ScalarTy ExactSize)
static constexpr TypeSize getScalable(ScalarTy MinimumSize)
The instances of the Type class are immutable: once they are created, they are never changed.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.
constexpr bool isPowerOf2_32(uint32_t Value)
Return true if the argument is a power of two > 0.