16#ifndef LLVM_LIB_TARGET_LOONGARCH_LOONGARCHTARGETTRANSFORMINFO_H
17#define LLVM_LIB_TARGET_LOONGARCH_LOONGARCHTARGETTRANSFORMINFO_H
31 enum LoongArchRegisterClass { GPRRC, FPRRC, VRRC };
41 TLI(ST->getTargetLowering()) {}
This file provides a helper that implements much of the TTI interface in terms of the target-independ...
Base class which can be used to help build a TTI implementation.
unsigned getMaxInterleaveFactor(ElementCount VF)
unsigned getRegisterClassForType(bool Vector, Type *Ty=nullptr) const
unsigned getNumberOfRegisters(unsigned ClassID) const
LoongArchTTIImpl(const LoongArchTargetMachine *TM, const Function &F)
TypeSize getRegisterBitWidth(TargetTransformInfo::RegisterKind K) const
const char * getRegisterClassName(unsigned ClassID) const
The instances of the Type class are immutable: once they are created, they are never changed.
This is an optimization pass for GlobalISel generic memory operations.