Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.h28 class AMDGPUTargetMachine : public LLVMTargetMachine {
40 AMDGPUTargetMachine(const Target &T, const Triple &TT, StringRef CPU,
44 ~AMDGPUTargetMachine() override;
75 class GCNTargetMachine final : public AMDGPUTargetMachine {
112 AMDGPUTargetMachine &getAMDGPUTargetMachine() const { in getAMDGPUTargetMachine()
113 return getTM<AMDGPUTargetMachine>(); in getAMDGPUTargetMachine()
H A DAMDGPUTargetMachine.cpp236 cl::location(AMDGPUTargetMachine::EnableLateStructurizeCFG),
514 AMDGPUTargetMachine::AMDGPUTargetMachine(const Target &T, const Triple &TT, in AMDGPUTargetMachine() function in AMDGPUTargetMachine
533 bool AMDGPUTargetMachine::EnableLateStructurizeCFG = false;
534 bool AMDGPUTargetMachine::EnableFunctionCalls = false;
535 bool AMDGPUTargetMachine::EnableLowerModuleLDS = true;
537 AMDGPUTargetMachine::~AMDGPUTargetMachine() = default;
539 StringRef AMDGPUTargetMachine::getGPUName(const Function &F) const { in getGPUName()
786 bool AMDGPUTargetMachine::isNoopAddrSpaceCast(unsigned SrcAS, in isNoopAddrSpaceCast()
812 AMDGPUTargetMachine::getPredicatedAddrSpace(const Value *V) const { in getPredicatedAddrSpace()
865 : AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) {} in GCNTargetMachine()
[all …]
H A DAMDGPUMIRFormatter.cpp24 const AMDGPUTargetMachine &TM = in parseCustomPseudoSourceValue()
25 static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in parseCustomPseudoSourceValue()
H A DR600TargetMachine.cpp35 cl::location(AMDGPUTargetMachine::EnableFunctionCalls), cl::init(true),
56 : AMDGPUTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL) { in R600TargetMachine()
H A DAMDGPUTargetTransformInfo.h25 class AMDGPUTargetMachine; variable
49 explicit AMDGPUTTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
98 explicit GCNTTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
H A DSIMachineFunctionInfo.h43 AMDGPUPseudoSourceValue(unsigned Kind, const AMDGPUTargetMachine &TM) in AMDGPUPseudoSourceValue()
64 explicit AMDGPUBufferPseudoSourceValue(const AMDGPUTargetMachine &TM) in AMDGPUBufferPseudoSourceValue()
77 explicit AMDGPUImagePseudoSourceValue(const AMDGPUTargetMachine &TM) in AMDGPUImagePseudoSourceValue()
89 explicit AMDGPUGWSResourcePseudoSourceValue(const AMDGPUTargetMachine &TM) in AMDGPUGWSResourcePseudoSourceValue()
944 getBufferPSV(const AMDGPUTargetMachine &TM) {
949 getImagePSV(const AMDGPUTargetMachine &TM) {
954 getGWSPSV(const AMDGPUTargetMachine &TM) {
H A DAMDGPUAlwaysInlinePass.cpp130 (!AMDGPUTargetMachine::EnableLowerModuleLDS || !GV.hasInitializer()))) in alwaysInlineImpl()
134 if (!AMDGPUTargetMachine::EnableFunctionCalls || StressCalls) { in alwaysInlineImpl()
H A DR600TargetMachine.h27 class R600TargetMachine final : public AMDGPUTargetMachine {
H A DAMDGPUInstructionSelector.h34 class AMDGPUTargetMachine; variable
55 const AMDGPUTargetMachine &TM);
334 const AMDGPUTargetMachine &TM;
H A DAMDGPUMCInstLower.h51 auto &AT = static_cast<const AMDGPUTargetMachine &>(TM); in lowerAddrSpaceCast()
H A DR600TargetTransformInfo.h39 explicit R600TTIImpl(const AMDGPUTargetMachine *TM, const Function &F);
H A DR600TargetTransformInfo.cpp26 R600TTIImpl::R600TTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in R600TTIImpl()
H A DSIMachineFunctionInfo.cpp34 BufferPSV(static_cast<const AMDGPUTargetMachine &>(MF.getTarget())), in SIMachineFunctionInfo()
35 ImagePSV(static_cast<const AMDGPUTargetMachine &>(MF.getTarget())), in SIMachineFunctionInfo()
36 GWSResourcePSV(static_cast<const AMDGPUTargetMachine &>(MF.getTarget())), in SIMachineFunctionInfo()
H A DCMakeLists.txt97 AMDGPUTargetMachine.cpp
H A DAMDGPUTargetTransformInfo.cpp98 AMDGPUTTIImpl::AMDGPUTTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in AMDGPUTTIImpl()
287 GCNTTIImpl::GCNTTIImpl(const AMDGPUTargetMachine *TM, const Function &F) in GCNTTIImpl()
H A DAMDGPUCodeGenPrepare.cpp1416 const AMDGPUTargetMachine &TM = TPC->getTM<AMDGPUTargetMachine>(); in runOnFunction()
H A DAMDGPUISelDAGToDAG.cpp123 EnableLateStructurizeCFG = AMDGPUTargetMachine::EnableLateStructurizeCFG; in AMDGPUDAGToDAGISel()
1389 AMDGPUTargetMachine::getNullPointerValue(AMDGPUAS::PRIVATE_ADDRESS); in SelectMUBUFScratchOffen()
H A DAMDGPULegalizerInfo.cpp1911 const AMDGPUTargetMachine &TM, unsigned AddrSpace) { in isKnownNonNull()
1947 const AMDGPUTargetMachine &TM in legalizeAddrSpaceCast()
1948 = static_cast<const AMDGPUTargetMachine &>(MF.getTarget()); in legalizeAddrSpaceCast()
H A DAMDGPUInstructionSelector.cpp49 const AMDGPUTargetMachine &TM) in AMDGPUInstructionSelector()
52 EnableLateStructurizeCFG(AMDGPUTargetMachine::EnableLateStructurizeCFG), in AMDGPUInstructionSelector()
H A DSIISelLowering.cpp5553 const AMDGPUTargetMachine &TM, unsigned AddrSpace) { in isKnownNonNull()
5575 const AMDGPUTargetMachine &TM = in lowerADDRSPACECAST()
5576 static_cast<const AMDGPUTargetMachine &>(getTargetMachine()); in lowerADDRSPACECAST()
/llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/
H A DBUILD.gn177 "AMDGPUTargetMachine.cpp",
/llvm-project-15.0.7/llvm/docs/
H A DNewPassManager.rst179 ``AMDGPUTargetMachine::registerPassBuilderCallbacks()`` is an example of a