Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h31 class AMDGPUTargetMachine : public CodeGenTargetMachineImpl {
42 AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
46 ~AMDGPUTargetMachine() override;
82 class GCNTargetMachine final : public AMDGPUTargetMachine {
134 AMDGPUTargetMachine &getAMDGPUTargetMachine() const { in getAMDGPUTargetMachine()
135 return getTM<AMDGPUTargetMachine>(); in getAMDGPUTargetMachine()
H A DAMDGPU.h21 class AMDGPUTargetMachine; variable
63 createAMDGPULowerModuleLDSLegacyPass(const AMDGPUTargetMachine *TM = nullptr);
138 const AMDGPUTargetMachine &TM;
139 AMDGPULowerModuleLDSPass(const AMDGPUTargetMachine &TM_) : TM(TM_) {} in AMDGPULowerModuleLDSPass()
290 createAMDGPUSwLowerLDSLegacyPass(const AMDGPUTargetMachine *TM = nullptr);
293 const AMDGPUTargetMachine &TM;
294 AMDGPUSwLowerLDSPass(const AMDGPUTargetMachine &TM_) : TM(TM_) {} in AMDGPUSwLowerLDSPass()
475 const AMDGPUTargetMachine &TM;
478 SIAnnotateControlFlowPass(const AMDGPUTargetMachine &TM) : TM(TM) {} in SIAnnotateControlFlowPass()
H A DAMDGPUHSAMetadataStreamer.h26 class AMDGPUTargetMachine; variable
63 virtual void emitKernelAttrs(const AMDGPUTargetMachine &TM,
105 void emitKernelAttrs(const AMDGPUTargetMachine &TM, const Function &Func,
152 void emitKernelAttrs(const AMDGPUTargetMachine &TM, const Function &Func,
H A DAMDGPUTargetMachine.cpp432 cl::location(AMDGPUTargetMachine::EnableLowerModuleLDS), cl::init(true),
714 AMDGPUTargetMachine::AMDGPUTargetMachine(const Target &T, const Triple &TT, in AMDGPUTargetMachine() function in AMDGPUTargetMachine
734 bool AMDGPUTargetMachine::EnableFunctionCalls = false;
735 bool AMDGPUTargetMachine::EnableLowerModuleLDS = true;
737 AMDGPUTargetMachine::~AMDGPUTargetMachine() = default;
739 StringRef AMDGPUTargetMachine::getGPUName(const Function &F) const { in getGPUName()
744 StringRef AMDGPUTargetMachine::getFeatureString(const Function &F) const { in getFeatureString()
752 AMDGPUTargetMachine::createMachineScheduler(MachineSchedContext *C) const { in createMachineScheduler()
772 void AMDGPUTargetMachine::registerDefaultAliasAnalyses(AAManager &AAM) { in registerDefaultAliasAnalyses()
809 void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) { in registerPassBuilderCallbacks()
[all …]
H A DAMDGPUAlwaysInlinePass.cpp131 (!AMDGPUTargetMachine::EnableLowerModuleLDS))) in alwaysInlineImpl()
135 if (!AMDGPUTargetMachine::EnableFunctionCalls || StressCalls) { in alwaysInlineImpl()
H A DAMDGPUMIRFormatter.cpp174 const AMDGPUTargetMachine &TM = in parseCustomPseudoSourceValue()
175 static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in parseCustomPseudoSourceValue()
H A DR600TargetMachine.cpp38 cl::location(AMDGPUTargetMachine::EnableFunctionCalls), cl::init(true),
59 : AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) { in R600TargetMachine()
H A DAMDGPUTargetTransformInfo.h27 class AMDGPUTargetMachine; variable
51 explicit AMDGPUTTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
105 explicit GCNTTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
H A DAMDGPUMCInstLower.h53 auto &AT = static_cast<const AMDGPUTargetMachine &>(TM); in lowerAddrSpaceCast()
H A DR600TargetMachine.h28 class R600TargetMachine final : public AMDGPUTargetMachine {
H A DAMDGPUInstructionSelector.h35 class AMDGPUTargetMachine; variable
56 const AMDGPUTargetMachine &TM);
417 const AMDGPUTargetMachine &TM;
H A DR600TargetTransformInfo.h39 explicit R600TTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
H A DAMDGPUHSAMetadataStreamer.cpp44 static std::string getEnqueuedBlockSymbolName(const AMDGPUTargetMachine &TM, in getEnqueuedBlockSymbolName()
256 void MetadataStreamerMsgPackV4::emitKernelAttrs(const AMDGPUTargetMachine &TM, in emitKernelAttrs()
596 auto &TM = static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in emitKernel()
728 void MetadataStreamerMsgPackV5::emitKernelAttrs(const AMDGPUTargetMachine &TM, in emitKernelAttrs()
H A DAMDGPULowerModuleLDSPass.cpp246 const AMDGPUTargetMachine &TM;
299 AMDGPULowerModuleLDS(const AMDGPUTargetMachine &TM_) : TM(TM_) {} in AMDGPULowerModuleLDS()
1532 const AMDGPUTargetMachine *TM;
1535 AMDGPULowerModuleLDSLegacy(const AMDGPUTargetMachine *TM = nullptr) in AMDGPULowerModuleLDSLegacy()
1546 TM = &TPC.getTM<AMDGPUTargetMachine>(); in runOnModule()
1567 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 DAMDGPUSwLowerLDS.cpp176 AMDGPUSwLowerLDS(Module &Mod, const AMDGPUTargetMachine &TM, in AMDGPUSwLowerLDS()
216 const AMDGPUTargetMachine &AMDGPUTM;
1300 const AMDGPUTargetMachine *AMDGPUTM;
1302 AMDGPUSwLowerLDSLegacy(const AMDGPUTargetMachine *TM) in AMDGPUSwLowerLDSLegacy()
1332 AMDGPUTM = &TPC.getTM<AMDGPUTargetMachine>(); in INITIALIZE_PASS_DEPENDENCY()
1340 llvm::createAMDGPUSwLowerLDSLegacyPass(const AMDGPUTargetMachine *TM) { in createAMDGPUSwLowerLDSLegacyPass()
H A DAMDGPUCodeGenPrepare.cpp107 const AMDGPUTargetMachine &TM;
121 AMDGPUCodeGenPrepareImpl(Function &F, const AMDGPUTargetMachine &TM, in AMDGPUCodeGenPrepareImpl()
2122 const AMDGPUTargetMachine &TM, unsigned AS) { in isPtrKnownNeverNull()
2379 const AMDGPUTargetMachine &TM = TPC->getTM<AMDGPUTargetMachine>(); in runOnFunction()
2393 const AMDGPUTargetMachine &ATM = static_cast<const AMDGPUTargetMachine &>(TM); in run()
H A DSIMachineFunctionInfo.h46 AMDGPUPseudoSourceValue(unsigned Kind, const AMDGPUTargetMachine &TM) in AMDGPUPseudoSourceValue()
67 explicit AMDGPUGWSResourcePseudoSourceValue(const AMDGPUTargetMachine &TM) in AMDGPUGWSResourcePseudoSourceValue()
1146 getGWSPSV(const AMDGPUTargetMachine &TM) {
H A DAMDGPUTargetTransformInfo.cpp104 AMDGPUTTIImpl::AMDGPUTTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in AMDGPUTTIImpl()
304 GCNTTIImpl::GCNTTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in GCNTTIImpl()
H A DAMDGPULegalizerInfo.cpp2328 const AMDGPUTargetMachine &TM, unsigned AddrSpace) { in isKnownNonNull()
2370 const AMDGPUTargetMachine &TM in legalizeAddrSpaceCast()
2371 = static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in legalizeAddrSpaceCast()
3414 const AMDGPUTargetMachine &TM = in legalizeFlogCommon()
3415 static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in legalizeFlogCommon()
H A DAMDGPUISelDAGToDAG.cpp1596 AMDGPUTargetMachine::getNullPointerValue(AMDGPUAS::PRIVATE_ADDRESS); in SelectMUBUFScratchOffen()
H A DSIISelLowering.cpp7584 const AMDGPUTargetMachine &TM, unsigned AddrSpace) { in isKnownNonNull()
7600 const AMDGPUTargetMachine &TM = in lowerADDRSPACECAST()
7601 static_cast<const AMDGPUTargetMachine &>(getTargetMachine()); in lowerADDRSPACECAST()
H A DAMDGPUInstructionSelector.cpp45 const AMDGPUTargetMachine &TM) in AMDGPUInstructionSelector()