LLVM 17.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
AMDGPU.h File Reference
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/CodeGen.h"
Include dependency graph for AMDGPU.h:

Go to the source code of this file.

Classes

struct  llvm::AMDGPUSimplifyLibCallsPass
 
struct  llvm::AMDGPUUseNativeCallsPass
 
struct  llvm::AMDGPUPromoteKernelArgumentsPass
 
struct  llvm::AMDGPULowerKernelAttributesPass
 
struct  llvm::AMDGPUPropagateAttributesEarlyPass
 
struct  llvm::AMDGPUPropagateAttributesLatePass
 
struct  llvm::AMDGPUReplaceLDSUseWithPointerPass
 
struct  llvm::AMDGPULowerModuleLDSPass
 
struct  llvm::AMDGPUPromoteAllocaPass
 
struct  llvm::AMDGPUPromoteAllocaToVectorPass
 
struct  llvm::AMDGPUAlwaysInlinePass
 
struct  llvm::AMDGPUPrintfRuntimeBindingPass
 
struct  llvm::AMDGPUUnifyMetadataPass
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::AMDGPU
 
namespace  llvm::AMDGPUAS
 OpenCL uses address spaces to differentiate between various memory regions on the hardware.
 

Enumerations

enum  llvm::AMDGPU::TargetIndex {
  llvm::AMDGPU::TI_CONSTDATA_START , llvm::AMDGPU::TI_SCRATCH_RSRC_DWORD0 , llvm::AMDGPU::TI_SCRATCH_RSRC_DWORD1 , llvm::AMDGPU::TI_SCRATCH_RSRC_DWORD2 ,
  llvm::AMDGPU::TI_SCRATCH_RSRC_DWORD3
}
 
enum  : unsigned {
  llvm::AMDGPUAS::MAX_AMDGPU_ADDRESS = 7 , llvm::AMDGPUAS::FLAT_ADDRESS = 0 , llvm::AMDGPUAS::GLOBAL_ADDRESS = 1 , llvm::AMDGPUAS::REGION_ADDRESS = 2 ,
  llvm::AMDGPUAS::CONSTANT_ADDRESS = 4 , llvm::AMDGPUAS::LOCAL_ADDRESS = 3 , llvm::AMDGPUAS::PRIVATE_ADDRESS = 5 , llvm::AMDGPUAS::CONSTANT_ADDRESS_32BIT = 6 ,
  llvm::AMDGPUAS::BUFFER_FAT_POINTER = 7 , llvm::AMDGPUAS::PARAM_D_ADDRESS = 6 , llvm::AMDGPUAS::PARAM_I_ADDRESS = 7 , llvm::AMDGPUAS::CONSTANT_BUFFER_0 = 8 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_1 = 9 , llvm::AMDGPUAS::CONSTANT_BUFFER_2 = 10 , llvm::AMDGPUAS::CONSTANT_BUFFER_3 = 11 , llvm::AMDGPUAS::CONSTANT_BUFFER_4 = 12 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_5 = 13 , llvm::AMDGPUAS::CONSTANT_BUFFER_6 = 14 , llvm::AMDGPUAS::CONSTANT_BUFFER_7 = 15 , llvm::AMDGPUAS::CONSTANT_BUFFER_8 = 16 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_9 = 17 , llvm::AMDGPUAS::CONSTANT_BUFFER_10 = 18 , llvm::AMDGPUAS::CONSTANT_BUFFER_11 = 19 , llvm::AMDGPUAS::CONSTANT_BUFFER_12 = 20 ,
  llvm::AMDGPUAS::CONSTANT_BUFFER_13 = 21 , llvm::AMDGPUAS::CONSTANT_BUFFER_14 = 22 , llvm::AMDGPUAS::CONSTANT_BUFFER_15 = 23 , llvm::AMDGPUAS::UNKNOWN_ADDRESS_SPACE = ~0u
}
 

Functions

void llvm::initializeAMDGPUPreLegalizerCombinerPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPreLegalizeCombiner (bool IsOptNone)
 
void llvm::initializeAMDGPUPostLegalizerCombinerPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPostLegalizeCombiner (bool IsOptNone)
 
FunctionPassllvm::createAMDGPURegBankCombiner (bool IsOptNone)
 
void llvm::initializeAMDGPURegBankCombinerPass (PassRegistry &)
 
void llvm::initializeAMDGPURegBankSelectPass (PassRegistry &)
 
FunctionPassllvm::createGCNDPPCombinePass ()
 
FunctionPassllvm::createSIAnnotateControlFlowPass ()
 Create the annotation pass.
 
FunctionPassllvm::createSIFoldOperandsPass ()
 
FunctionPassllvm::createSIPeepholeSDWAPass ()
 
FunctionPassllvm::createSILowerI1CopiesPass ()
 
FunctionPass * llvm::createSIShrinkInstructionsPass ()
 
FunctionPassllvm::createSILoadStoreOptimizerPass ()
 
FunctionPassllvm::createSIWholeQuadModePass ()
 
FunctionPass * llvm::createSIFixControlFlowLiveIntervalsPass ()
 
FunctionPassllvm::createSIOptimizeExecMaskingPreRAPass ()
 
FunctionPassllvm::createSIOptimizeVGPRLiveRangePass ()
 
FunctionPassllvm::createSIFixSGPRCopiesPass ()
 
FunctionPassllvm::createSIMemoryLegalizerPass ()
 
FunctionPassllvm::createSIInsertWaitcntsPass ()
 
FunctionPassllvm::createSIPreAllocateWWMRegsPass ()
 
FunctionPassllvm::createSIFormMemoryClausesPass ()
 
FunctionPassllvm::createSIPostRABundlerPass ()
 
FunctionPassllvm::createAMDGPUSimplifyLibCallsPass (const TargetMachine *)
 
FunctionPassllvm::createAMDGPUUseNativeCallsPass ()
 
FunctionPassllvm::createAMDGPUCodeGenPreparePass ()
 
FunctionPassllvm::createAMDGPULateCodeGenPreparePass ()
 
FunctionPassllvm::createAMDGPUMachineCFGStructurizerPass ()
 
FunctionPassllvm::createAMDGPUPropagateAttributesEarlyPass (const TargetMachine *)
 
ModulePassllvm::createAMDGPUPropagateAttributesLatePass (const TargetMachine *)
 
FunctionPassllvm::createAMDGPURewriteOutArgumentsPass ()
 
ModulePassllvm::createAMDGPUReplaceLDSUseWithPointerPass ()
 
ModulePass * llvm::createAMDGPULowerModuleLDSPass ()
 
FunctionPassllvm::createSIModeRegisterPass ()
 
FunctionPassllvm::createGCNPreRAOptimizationsPass ()
 
void llvm::initializeAMDGPUDAGToDAGISelPass (PassRegistry &)
 
void llvm::initializeAMDGPUMachineCFGStructurizerPass (PassRegistry &)
 
void llvm::initializeAMDGPUAlwaysInlinePass (PassRegistry &)
 
Passllvm::createAMDGPUAnnotateKernelFeaturesPass ()
 
Passllvm::createAMDGPUAttributorPass ()
 
void llvm::initializeAMDGPUAttributorPass (PassRegistry &)
 
void llvm::initializeAMDGPUAnnotateKernelFeaturesPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUAtomicOptimizerPass ()
 
void llvm::initializeAMDGPUAtomicOptimizerPass (PassRegistry &)
 
ModulePassllvm::createAMDGPULowerIntrinsicsPass ()
 
void llvm::initializeAMDGPULowerIntrinsicsPass (PassRegistry &)
 
ModulePass * llvm::createAMDGPUCtorDtorLoweringLegacyPass ()
 
void llvm::initializeAMDGPUCtorDtorLoweringLegacyPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPULowerKernelArgumentsPass ()
 
void llvm::initializeAMDGPULowerKernelArgumentsPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPromoteKernelArgumentsPass ()
 
void llvm::initializeAMDGPUPromoteKernelArgumentsPass (PassRegistry &)
 
ModulePassllvm::createAMDGPULowerKernelAttributesPass ()
 
void llvm::initializeAMDGPULowerKernelAttributesPass (PassRegistry &)
 
void llvm::initializeAMDGPUPropagateAttributesEarlyPass (PassRegistry &)
 
void llvm::initializeAMDGPUPropagateAttributesLatePass (PassRegistry &)
 
void llvm::initializeAMDGPUReplaceLDSUseWithPointerPass (PassRegistry &)
 
void llvm::initializeAMDGPULowerModuleLDSPass (PassRegistry &)
 
void llvm::initializeAMDGPURewriteOutArgumentsPass (PassRegistry &)
 
void llvm::initializeGCNDPPCombinePass (PassRegistry &)
 
void llvm::initializeSIFoldOperandsPass (PassRegistry &)
 
void llvm::initializeSIPeepholeSDWAPass (PassRegistry &)
 
void llvm::initializeSIShrinkInstructionsPass (PassRegistry &)
 
void llvm::initializeSIFixSGPRCopiesPass (PassRegistry &)
 
void llvm::initializeSIFixVGPRCopiesPass (PassRegistry &)
 
void llvm::initializeSILowerI1CopiesPass (PassRegistry &)
 
void llvm::initializeSILowerSGPRSpillsPass (PassRegistry &)
 
void llvm::initializeSILoadStoreOptimizerPass (PassRegistry &)
 
void llvm::initializeSIWholeQuadModePass (PassRegistry &)
 
void llvm::initializeSILowerControlFlowPass (PassRegistry &)
 
void llvm::initializeSIPreEmitPeepholePass (PassRegistry &)
 
void llvm::initializeSILateBranchLoweringPass (PassRegistry &)
 
void llvm::initializeSIOptimizeExecMaskingPass (PassRegistry &)
 
void llvm::initializeSIPreAllocateWWMRegsPass (PassRegistry &)
 
void llvm::initializeAMDGPUSimplifyLibCallsPass (PassRegistry &)
 
void llvm::initializeAMDGPUUseNativeCallsPass (PassRegistry &)
 
void llvm::initializeAMDGPUPerfHintAnalysisPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPromoteAlloca ()
 
void llvm::initializeAMDGPUPromoteAllocaPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPromoteAllocaToVector ()
 
void llvm::initializeAMDGPUPromoteAllocaToVectorPass (PassRegistry &)
 
Passllvm::createAMDGPUStructurizeCFGPass ()
 
FunctionPassllvm::createAMDGPUISelDag (TargetMachine &TM, CodeGenOpt::Level OptLevel)
 This pass converts a legalized DAG into a AMDGPU-specific.
 
ModulePassllvm::createAMDGPUAlwaysInlinePass (bool GlobalOpt=true)
 
FunctionPassllvm::createAMDGPUAnnotateUniformValues ()
 
ModulePassllvm::createAMDGPUPrintfRuntimeBinding ()
 
void llvm::initializeAMDGPUPrintfRuntimeBindingPass (PassRegistry &)
 
void llvm::initializeAMDGPUResourceUsageAnalysisPass (PassRegistry &)
 
ModulePass * llvm::createAMDGPUUnifyMetadataPass ()
 
void llvm::initializeAMDGPUUnifyMetadataPass (PassRegistry &)
 
void llvm::initializeSIOptimizeExecMaskingPreRAPass (PassRegistry &)
 
void llvm::initializeSIOptimizeVGPRLiveRangePass (PassRegistry &)
 
void llvm::initializeAMDGPUAnnotateUniformValuesPass (PassRegistry &)
 
void llvm::initializeAMDGPUCodeGenPreparePass (PassRegistry &)
 
void llvm::initializeAMDGPULateCodeGenPreparePass (PassRegistry &)
 
FunctionPassllvm::createAMDGPURewriteUndefForPHIPass ()
 
void llvm::initializeAMDGPURewriteUndefForPHIPass (PassRegistry &)
 
void llvm::initializeSIAnnotateControlFlowPass (PassRegistry &)
 
void llvm::initializeSIMemoryLegalizerPass (PassRegistry &)
 
void llvm::initializeSIModeRegisterPass (PassRegistry &)
 
void llvm::initializeAMDGPUReleaseVGPRsPass (PassRegistry &)
 
void llvm::initializeAMDGPUInsertDelayAluPass (PassRegistry &)
 
void llvm::initializeSIInsertHardClausesPass (PassRegistry &)
 
void llvm::initializeSIInsertWaitcntsPass (PassRegistry &)
 
void llvm::initializeSIFormMemoryClausesPass (PassRegistry &)
 
void llvm::initializeSIPostRABundlerPass (PassRegistry &)
 
void llvm::initializeGCNCreateVOPDPass (PassRegistry &)
 
void llvm::initializeAMDGPUUnifyDivergentExitNodesPass (PassRegistry &)
 
ImmutablePassllvm::createAMDGPUAAWrapperPass ()
 
void llvm::initializeAMDGPUAAWrapperPassPass (PassRegistry &)
 
ImmutablePassllvm::createAMDGPUExternalAAWrapperPass ()
 
void llvm::initializeAMDGPUExternalAAWrapperPass (PassRegistry &)
 
void llvm::initializeAMDGPUArgumentUsageInfoPass (PassRegistry &)
 
ModulePass * llvm::createAMDGPUOpenCLEnqueuedBlockLoweringPass ()
 
void llvm::initializeAMDGPUOpenCLEnqueuedBlockLoweringPass (PassRegistry &)
 
void llvm::initializeGCNNSAReassignPass (PassRegistry &)
 
void llvm::initializeGCNPreRAOptimizationsPass (PassRegistry &)
 
FunctionPass * llvm::createAMDGPUSetWavePriorityPass ()
 
void llvm::initializeAMDGPUSetWavePriorityPass (PassRegistry &)
 
bool llvm::AMDGPU::isFlatGlobalAddrSpace (unsigned AS)
 

Variables

charllvm::AMDGPUMachineCFGStructurizerID
 
charllvm::AMDGPUAnnotateKernelFeaturesID = AMDGPUAnnotateKernelFeatures::ID
 
charllvm::AMDGPUAtomicOptimizerID = AMDGPUAtomicOptimizer::ID
 
charllvm::AMDGPULowerIntrinsicsID = AMDGPULowerIntrinsics::ID
 
charllvm::AMDGPUCtorDtorLoweringLegacyPassID
 
charllvm::AMDGPULowerKernelArgumentsID
 
charllvm::AMDGPUPromoteKernelArgumentsID
 
charllvm::AMDGPULowerKernelAttributesID
 
charllvm::AMDGPUPropagateAttributesEarlyID
 
charllvm::AMDGPUPropagateAttributesLateID
 
charllvm::AMDGPUReplaceLDSUseWithPointerID
 
charllvm::AMDGPULowerModuleLDSID = AMDGPULowerModuleLDS::ID
 
charllvm::AMDGPURewriteOutArgumentsID
 
charllvm::GCNDPPCombineID = GCNDPPCombine::ID
 
charllvm::SIFoldOperandsID
 
charllvm::SIPeepholeSDWAID = SIPeepholeSDWA::ID
 
charllvm::SIShrinkInstructionsID
 
charllvm::SIFixSGPRCopiesID = SIFixSGPRCopies::ID
 
charllvm::SIFixVGPRCopiesID = SIFixVGPRCopies::ID
 
charllvm::SILowerI1CopiesID = SILowerI1Copies::ID
 
charllvm::SILowerSGPRSpillsID = SILowerSGPRSpills::ID
 
charllvm::SILoadStoreOptimizerID = SILoadStoreOptimizer::ID
 
charllvm::SIWholeQuadModeID = SIWholeQuadMode::ID
 
charllvm::SILowerControlFlowID = SILowerControlFlow::ID
 
charllvm::SIPreEmitPeepholeID
 
charllvm::SILateBranchLoweringPassID = SILateBranchLowering::ID
 
charllvm::SIOptimizeExecMaskingID = SIOptimizeExecMasking::ID
 
charllvm::SIPreAllocateWWMRegsID = SIPreAllocateWWMRegs::ID
 
charllvm::AMDGPUSimplifyLibCallsID
 
charllvm::AMDGPUUseNativeCallsID
 
charllvm::AMDGPUPerfHintAnalysisID = AMDGPUPerfHintAnalysis::ID
 
charllvm::AMDGPUPromoteAllocaID
 
charllvm::AMDGPUPromoteAllocaToVectorID
 
charllvm::AMDGPUPrintfRuntimeBindingID = AMDGPUPrintfRuntimeBinding::ID
 
charllvm::AMDGPUResourceUsageAnalysisID = AMDGPUResourceUsageAnalysis::ID
 
charllvm::AMDGPUUnifyMetadataID = AMDGPUUnifyMetadata::ID
 
charllvm::SIOptimizeExecMaskingPreRAID = SIOptimizeExecMaskingPreRA::ID
 
charllvm::SIOptimizeVGPRLiveRangeID = SIOptimizeVGPRLiveRange::ID
 
charllvm::AMDGPUAnnotateUniformValuesPassID
 
charllvm::AMDGPUCodeGenPrepareID
 
charllvm::AMDGPULateCodeGenPrepareID
 
charllvm::AMDGPURewriteUndefForPHIPassID
 
charllvm::SIAnnotateControlFlowPassID
 
charllvm::SIMemoryLegalizerID = SIMemoryLegalizer::ID
 
charllvm::SIModeRegisterID
 
charllvm::AMDGPUReleaseVGPRsID = AMDGPUReleaseVGPRs::ID
 
charllvm::AMDGPUInsertDelayAluID = AMDGPUInsertDelayAlu::ID
 
charllvm::SIInsertHardClausesID = SIInsertHardClauses::ID
 
charllvm::SIInsertWaitcntsID = SIInsertWaitcnts::ID
 
charllvm::SIFormMemoryClausesID = SIFormMemoryClauses::ID
 
charllvm::SIPostRABundlerID = SIPostRABundler::ID
 
charllvm::GCNCreateVOPDID = GCNCreateVOPD::ID
 
charllvm::AMDGPUUnifyDivergentExitNodesID = AMDGPUUnifyDivergentExitNodes::ID
 
charllvm::AMDGPUOpenCLEnqueuedBlockLoweringID
 
charllvm::GCNNSAReassignID = GCNNSAReassign::ID
 
charllvm::GCNPreRAOptimizationsID = GCNPreRAOptimizations::ID