16#ifndef LLVM_LIB_TARGET_SPARC_SPARCTARGETTRANSFORMINFO_H
17#define LLVM_LIB_TARGET_SPARC_SPARCTARGETTRANSFORMINFO_H
39 TLI(ST->getTargetLowering()) {}
51 Type *Ty =
nullptr)
const override;
This file provides a helper that implements much of the TTI interface in terms of the target-independ...
BasicTTIImplBase(const TargetMachine *TM, const DataLayout &DL)
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
SparcTTIImpl(const SparcTargetMachine *TM, const Function &F)
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.