Home
last modified time | relevance | path

Searched refs:AMDGPUTargetMachine (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h29 class AMDGPUTargetMachine : public LLVMTargetMachine {
42 AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
46 ~AMDGPUTargetMachine() override;
85 class GCNTargetMachine final : public AMDGPUTargetMachine {
129 AMDGPUTargetMachine &getAMDGPUTargetMachine() const { in getAMDGPUTargetMachine()
130 return getTM<AMDGPUTargetMachine>(); in getAMDGPUTargetMachine()
H A DAMDGPUCodeGenPassBuilder.h17 class AMDGPUTargetMachine; variable
20 : public CodeGenPassBuilder<AMDGPUCodeGenPassBuilder, AMDGPUTargetMachine> {
22 AMDGPUCodeGenPassBuilder(AMDGPUTargetMachine &TM,
H A DAMDGPUTargetMachine.cpp253 cl::location(AMDGPUTargetMachine::EnableLateStructurizeCFG),
261 cl::location(AMDGPUTargetMachine::DisableStructurizer), cl::ReallyHidden);
345 cl::location(AMDGPUTargetMachine::EnableLowerModuleLDS), cl::init(true),
588 AMDGPUTargetMachine::AMDGPUTargetMachine(const Target &T, const Triple &TT, in AMDGPUTargetMachine() function in AMDGPUTargetMachine
607 bool AMDGPUTargetMachine::EnableLateStructurizeCFG = false;
608 bool AMDGPUTargetMachine::EnableFunctionCalls = false;
609 bool AMDGPUTargetMachine::EnableLowerModuleLDS = true;
610 bool AMDGPUTargetMachine::DisableStructurizer = false;
612 AMDGPUTargetMachine::~AMDGPUTargetMachine() = default;
614 StringRef AMDGPUTargetMachine::getGPUName(const Function &F) const { in getGPUName()
[all …]
H A DAMDGPU.h20 class AMDGPUTargetMachine; variable
61 createAMDGPULowerModuleLDSLegacyPass(const AMDGPUTargetMachine *TM = nullptr);
134 const AMDGPUTargetMachine &TM;
135 AMDGPULowerModuleLDSPass(const AMDGPUTargetMachine &TM_) : TM(TM_) {} in AMDGPULowerModuleLDSPass()
H A DR600TargetMachine.cpp37 cl::location(AMDGPUTargetMachine::EnableFunctionCalls), cl::init(true),
58 : AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) { in R600TargetMachine()
H A DAMDGPUAlwaysInlinePass.cpp132 (!AMDGPUTargetMachine::EnableLowerModuleLDS))) in alwaysInlineImpl()
136 if (!AMDGPUTargetMachine::EnableFunctionCalls || StressCalls) { in alwaysInlineImpl()
H A DAMDGPUMIRFormatter.cpp175 const AMDGPUTargetMachine &TM = in parseCustomPseudoSourceValue()
176 static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in parseCustomPseudoSourceValue()
H A DAMDGPUTargetTransformInfo.h26 class AMDGPUTargetMachine; variable
50 explicit AMDGPUTTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
104 explicit GCNTTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
H A DAMDGPUCodeGenPassBuilder.cpp17 AMDGPUTargetMachine &TM, const CGPassBuilderOption &Opts, in AMDGPUCodeGenPassBuilder()
H A DAMDGPUInstructionSelector.h35 class AMDGPUTargetMachine; variable
56 const AMDGPUTargetMachine &TM);
364 const AMDGPUTargetMachine &TM;
H A DAMDGPUMCInstLower.h51 auto &AT = static_cast<const AMDGPUTargetMachine &>(TM); in lowerAddrSpaceCast()
H A DR600TargetMachine.h28 class R600TargetMachine final : public AMDGPUTargetMachine {
H A DR600TargetTransformInfo.h39 explicit R600TTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
H A DAMDGPULowerModuleLDSPass.cpp246 const AMDGPUTargetMachine &TM;
299 AMDGPULowerModuleLDS(const AMDGPUTargetMachine &TM_) : TM(TM_) {} in AMDGPULowerModuleLDS()
1376 const AMDGPUTargetMachine *TM;
1379 AMDGPULowerModuleLDSLegacy(const AMDGPUTargetMachine *TM_ = nullptr) in AMDGPULowerModuleLDSLegacy()
1392 TM = &TPC.getTM<AMDGPUTargetMachine>(); in runOnModule()
1413 llvm::createAMDGPULowerModuleLDSLegacyPass(const AMDGPUTargetMachine *TM) { in INITIALIZE_PASS_DEPENDENCY()
H A DR600TargetTransformInfo.cpp26 R600TTIImpl::R600TTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in R600TTIImpl()
H A DSIMachineFunctionInfo.h46 AMDGPUPseudoSourceValue(unsigned Kind, const AMDGPUTargetMachine &TM) in AMDGPUPseudoSourceValue()
67 explicit AMDGPUGWSResourcePseudoSourceValue(const AMDGPUTargetMachine &TM) in AMDGPUGWSResourcePseudoSourceValue()
1055 getGWSPSV(const AMDGPUTargetMachine &TM) {
H A DAMDGPUCodeGenPrepare.cpp102 const AMDGPUTargetMachine *TM = nullptr;
2027 const AMDGPUTargetMachine &TM, unsigned AS) { in isPtrKnownNeverNull()
2279 const AMDGPUTargetMachine &TM = TPC->getTM<AMDGPUTargetMachine>(); in runOnFunction()
2299 Impl.TM = static_cast<const AMDGPUTargetMachine *>(&TM); in run()
H A DAMDGPUTargetTransformInfo.cpp97 AMDGPUTTIImpl::AMDGPUTTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in AMDGPUTTIImpl()
294 GCNTTIImpl::GCNTTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in GCNTTIImpl()
H A DAMDGPULegalizerInfo.cpp2280 const AMDGPUTargetMachine &TM, unsigned AddrSpace) { in isKnownNonNull()
2322 const AMDGPUTargetMachine &TM in legalizeAddrSpaceCast()
2323 = static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in legalizeAddrSpaceCast()
3356 const AMDGPUTargetMachine &TM = in legalizeFlogCommon()
3357 static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in legalizeFlogCommon()
H A DAMDGPUISelDAGToDAG.cpp125 EnableLateStructurizeCFG = AMDGPUTargetMachine::EnableLateStructurizeCFG; in AMDGPUDAGToDAGISel()
1481 AMDGPUTargetMachine::getNullPointerValue(AMDGPUAS::PRIVATE_ADDRESS); in SelectMUBUFScratchOffen()
H A DAMDGPUInstructionSelector.cpp45 const AMDGPUTargetMachine &TM) in AMDGPUInstructionSelector()
48 EnableLateStructurizeCFG(AMDGPUTargetMachine::EnableLateStructurizeCFG), in AMDGPUInstructionSelector()
H A DSIISelLowering.cpp7038 const AMDGPUTargetMachine &TM, unsigned AddrSpace) { in isKnownNonNull()
7055 const AMDGPUTargetMachine &TM = in lowerADDRSPACECAST()
7056 static_cast<const AMDGPUTargetMachine &>(getTargetMachine()); in lowerADDRSPACECAST()