LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
AMDGPU.h File Reference
#include "llvm/CodeGen/MachinePassManager.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Pass.h"
#include "llvm/Support/AMDGPUAddrSpace.h"
#include "llvm/Support/CodeGen.h"

Go to the source code of this file.

Classes

struct  llvm::AMDGPUSimplifyLibCallsPass
 
struct  llvm::AMDGPUImageIntrinsicOptimizerPass
 
struct  llvm::AMDGPUUseNativeCallsPass
 
class  llvm::SILowerI1CopiesPass
 
struct  llvm::AMDGPUPromoteKernelArgumentsPass
 
struct  llvm::AMDGPULowerKernelAttributesPass
 
struct  llvm::AMDGPULowerModuleLDSPass
 
struct  llvm::AMDGPULowerBufferFatPointersPass
 
struct  llvm::AMDGPUPromoteAllocaPass
 
struct  llvm::AMDGPUPromoteAllocaToVectorPass
 
struct  llvm::AMDGPUAtomicOptimizerPass
 
struct  llvm::AMDGPUAlwaysInlinePass
 
struct  llvm::AMDGPUSwLowerLDSPass
 
class  llvm::AMDGPUCodeGenPreparePass
 
class  llvm::AMDGPULateCodeGenPreparePass
 
class  llvm::AMDGPULowerKernelArgumentsPass
 
struct  llvm::AMDGPUAttributorOptions
 
class  llvm::AMDGPUAttributorPass
 
class  llvm::AMDGPUAnnotateUniformValuesPass
 
struct  llvm::AMDGPUPrintfRuntimeBindingPass
 
struct  llvm::AMDGPUUnifyMetadataPass
 
class  llvm::AMDGPURewriteUndefForPHIPass
 
class  llvm::SIAnnotateControlFlowPass
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::AMDGPU
 

Enumerations

enum class  llvm::ScanOptions { llvm::DPP , llvm::Iterative , llvm::None }
 
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
}
 

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 &)
 
FunctionPassllvm::createAMDGPUGlobalISelDivergenceLoweringPass ()
 
FunctionPassllvm::createAMDGPURegBankSelectPass ()
 
FunctionPassllvm::createAMDGPURegBankLegalizePass ()
 
FunctionPassllvm::createGCNDPPCombinePass ()
 
FunctionPassllvm::createSIAnnotateControlFlowLegacyPass ()
 Create the annotation pass.
 
FunctionPassllvm::createSIFoldOperandsLegacyPass ()
 
FunctionPassllvm::createSIPeepholeSDWALegacyPass ()
 
FunctionPassllvm::createSILowerI1CopiesLegacyPass ()
 
FunctionPass * llvm::createSIShrinkInstructionsLegacyPass ()
 
FunctionPassllvm::createSILoadStoreOptimizerLegacyPass ()
 
FunctionPassllvm::createSIWholeQuadModePass ()
 
FunctionPass * llvm::createSIFixControlFlowLiveIntervalsPass ()
 
FunctionPassllvm::createSIOptimizeExecMaskingPreRAPass ()
 
FunctionPassllvm::createSIOptimizeVGPRLiveRangeLegacyPass ()
 
FunctionPassllvm::createSIFixSGPRCopiesLegacyPass ()
 
FunctionPass * llvm::createLowerWWMCopiesPass ()
 
FunctionPassllvm::createSIMemoryLegalizerPass ()
 
FunctionPassllvm::createSIInsertWaitcntsPass ()
 
FunctionPassllvm::createSIPreAllocateWWMRegsLegacyPass ()
 
FunctionPassllvm::createSIFormMemoryClausesPass ()
 
FunctionPassllvm::createSIPostRABundlerPass ()
 
FunctionPassllvm::createAMDGPUImageIntrinsicOptimizerPass (const TargetMachine *)
 
ModulePass * llvm::createAMDGPURemoveIncompatibleFunctionsPass (const TargetMachine *)
 
FunctionPassllvm::createAMDGPUCodeGenPreparePass ()
 
FunctionPassllvm::createAMDGPULateCodeGenPrepareLegacyPass ()
 
FunctionPass * llvm::createAMDGPUReserveWWMRegsPass ()
 
FunctionPassllvm::createAMDGPURewriteOutArgumentsPass ()
 
ModulePassllvm::createAMDGPULowerModuleLDSLegacyPass (const AMDGPUTargetMachine *TM=nullptr)
 
ModulePassllvm::createAMDGPULowerBufferFatPointersPass ()
 
FunctionPassllvm::createSIModeRegisterPass ()
 
FunctionPassllvm::createGCNPreRAOptimizationsPass ()
 
void llvm::initializeAMDGPUDAGToDAGISelLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPUAlwaysInlinePass (PassRegistry &)
 
Passllvm::createAMDGPUAnnotateKernelFeaturesPass ()
 
Passllvm::createAMDGPUAttributorLegacyPass ()
 
void llvm::initializeAMDGPUAttributorLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPUAnnotateKernelFeaturesPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUAtomicOptimizerPass (ScanOptions ScanStrategy)
 
void llvm::initializeAMDGPUAtomicOptimizerPass (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::initializeAMDGPULowerModuleLDSLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPULowerBufferFatPointersPass (PassRegistry &)
 
void llvm::initializeAMDGPUReserveWWMRegsPass (PassRegistry &)
 
void llvm::initializeAMDGPURewriteOutArgumentsPass (PassRegistry &)
 
void llvm::initializeGCNDPPCombineLegacyPass (PassRegistry &)
 
void llvm::initializeSIFoldOperandsLegacyPass (PassRegistry &)
 
void llvm::initializeSIPeepholeSDWALegacyPass (PassRegistry &)
 
void llvm::initializeSIShrinkInstructionsLegacyPass (PassRegistry &)
 
void llvm::initializeSIFixSGPRCopiesLegacyPass (PassRegistry &)
 
void llvm::initializeSIFixVGPRCopiesPass (PassRegistry &)
 
void llvm::initializeSILowerWWMCopiesPass (PassRegistry &)
 
void llvm::initializeSILowerI1CopiesLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPUGlobalISelDivergenceLoweringPass (PassRegistry &)
 
void llvm::initializeAMDGPURegBankSelectPass (PassRegistry &)
 
void llvm::initializeAMDGPURegBankLegalizePass (PassRegistry &)
 
void llvm::initializeAMDGPUMarkLastScratchLoadPass (PassRegistry &)
 
void llvm::initializeSILowerSGPRSpillsLegacyPass (PassRegistry &)
 
void llvm::initializeSILoadStoreOptimizerLegacyPass (PassRegistry &)
 
void llvm::initializeSIWholeQuadModePass (PassRegistry &)
 
void llvm::initializeSILowerControlFlowPass (PassRegistry &)
 
void llvm::initializeSIPreEmitPeepholePass (PassRegistry &)
 
void llvm::initializeSILateBranchLoweringPass (PassRegistry &)
 
void llvm::initializeSIOptimizeExecMaskingPass (PassRegistry &)
 
void llvm::initializeSIPreAllocateWWMRegsLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPUImageIntrinsicOptimizerPass (PassRegistry &)
 
void llvm::initializeAMDGPUPerfHintAnalysisLegacyPass (PassRegistry &)
 
void llvm::initializeGCNRegPressurePrinterPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPromoteAlloca ()
 
void llvm::initializeAMDGPUPromoteAllocaPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPromoteAllocaToVector ()
 
void llvm::initializeAMDGPUPromoteAllocaToVectorPass (PassRegistry &)
 
Passllvm::createAMDGPUStructurizeCFGPass ()
 
FunctionPassllvm::createAMDGPUISelDag (TargetMachine &TM, CodeGenOptLevel OptLevel)
 This pass converts a legalized DAG into a AMDGPU-specific.
 
ModulePassllvm::createAMDGPUAlwaysInlinePass (bool GlobalOpt=true)
 
void llvm::initializeAMDGPUSwLowerLDSLegacyPass (PassRegistry &)
 
ModulePassllvm::createAMDGPUSwLowerLDSLegacyPass (const AMDGPUTargetMachine *TM=nullptr)
 
FunctionPassllvm::createAMDGPUAnnotateUniformValuesLegacy ()
 
ModulePassllvm::createAMDGPUPrintfRuntimeBinding ()
 
void llvm::initializeAMDGPUPrintfRuntimeBindingPass (PassRegistry &)
 
void llvm::initializeAMDGPUResourceUsageAnalysisPass (PassRegistry &)
 
ModulePass * llvm::createAMDGPUUnifyMetadataPass ()
 
void llvm::initializeAMDGPUUnifyMetadataPass (PassRegistry &)
 
void llvm::initializeSIOptimizeExecMaskingPreRAPass (PassRegistry &)
 
void llvm::initializeSIOptimizeVGPRLiveRangeLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPUAnnotateUniformValuesLegacyPass (PassRegistry &)
 
void llvm::initializeAMDGPUCodeGenPreparePass (PassRegistry &)
 
void llvm::initializeAMDGPURemoveIncompatibleFunctionsPass (PassRegistry &)
 
void llvm::initializeAMDGPULateCodeGenPrepareLegacyPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPURewriteUndefForPHILegacyPass ()
 
void llvm::initializeAMDGPURewriteUndefForPHILegacyPass (PassRegistry &)
 
void llvm::initializeSIAnnotateControlFlowLegacyPass (PassRegistry &)
 
void llvm::initializeSIMemoryLegalizerPass (PassRegistry &)
 
void llvm::initializeSIModeRegisterPass (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::initializeGCNPreRALongBranchRegPass (PassRegistry &)
 
void llvm::initializeGCNPreRAOptimizationsPass (PassRegistry &)
 
FunctionPass * llvm::createAMDGPUSetWavePriorityPass ()
 
void llvm::initializeAMDGPUSetWavePriorityPass (PassRegistry &)
 
void llvm::initializeGCNRewritePartialRegUsesPass (llvm::PassRegistry &)
 
static bool llvm::AMDGPU::addrspacesMayAlias (unsigned AS1, unsigned AS2)
 

Variables

charllvm::AMDGPUAnnotateKernelFeaturesID = AMDGPUAnnotateKernelFeatures::ID
 
charllvm::AMDGPUAtomicOptimizerID = AMDGPUAtomicOptimizer::ID
 
charllvm::AMDGPUCtorDtorLoweringLegacyPassID
 
charllvm::AMDGPULowerKernelArgumentsID
 
charllvm::AMDGPUPromoteKernelArgumentsID
 
charllvm::AMDGPULowerKernelAttributesID
 
charllvm::AMDGPULowerModuleLDSLegacyPassID = AMDGPULowerModuleLDSLegacy::ID
 
charllvm::AMDGPULowerBufferFatPointersID = AMDGPULowerBufferFatPointers::ID
 
charllvm::AMDGPUReserveWWMRegsID
 
charllvm::AMDGPURewriteOutArgumentsID
 
charllvm::GCNDPPCombineLegacyID
 
charllvm::SIFoldOperandsLegacyID
 
charllvm::SIPeepholeSDWALegacyID
 
charllvm::SIShrinkInstructionsLegacyID
 
charllvm::SIFixSGPRCopiesLegacyID = SIFixSGPRCopiesLegacy::ID
 
charllvm::SIFixVGPRCopiesID = SIFixVGPRCopies::ID
 
charllvm::SILowerWWMCopiesID = SILowerWWMCopies::ID
 
charllvm::SILowerI1CopiesLegacyID = SILowerI1CopiesLegacy::ID
 
charllvm::AMDGPUGlobalISelDivergenceLoweringID
 
charllvm::AMDGPURegBankSelectID = AMDGPURegBankSelect::ID
 
charllvm::AMDGPURegBankLegalizeID = AMDGPURegBankLegalize::ID
 
charllvm::AMDGPUMarkLastScratchLoadID = AMDGPUMarkLastScratchLoad::ID
 
charllvm::SILowerSGPRSpillsLegacyID = SILowerSGPRSpillsLegacy::ID
 
charllvm::SILoadStoreOptimizerLegacyID = SILoadStoreOptimizerLegacy::ID
 
charllvm::SIWholeQuadModeID = SIWholeQuadMode::ID
 
charllvm::SILowerControlFlowID = SILowerControlFlow::ID
 
charllvm::SIPreEmitPeepholeID
 
charllvm::SILateBranchLoweringPassID = SILateBranchLowering::ID
 
charllvm::SIOptimizeExecMaskingID = SIOptimizeExecMasking::ID
 
charllvm::SIPreAllocateWWMRegsLegacyID = SIPreAllocateWWMRegsLegacy::ID
 
charllvm::AMDGPUImageIntrinsicOptimizerID
 
charllvm::AMDGPUPerfHintAnalysisLegacyID = AMDGPUPerfHintAnalysisLegacy::ID
 
charllvm::GCNRegPressurePrinterID = GCNRegPressurePrinter::ID
 
charllvm::AMDGPUPromoteAllocaID = AMDGPUPromoteAlloca::ID
 
charllvm::AMDGPUPromoteAllocaToVectorID = AMDGPUPromoteAllocaToVector::ID
 
charllvm::AMDGPUSwLowerLDSLegacyPassID = AMDGPUSwLowerLDSLegacy::ID
 
charllvm::AMDGPUPrintfRuntimeBindingID = AMDGPUPrintfRuntimeBinding::ID
 
charllvm::AMDGPUResourceUsageAnalysisID = AMDGPUResourceUsageAnalysis::ID
 
charllvm::AMDGPUUnifyMetadataID = AMDGPUUnifyMetadata::ID
 
charllvm::SIOptimizeExecMaskingPreRAID = SIOptimizeExecMaskingPreRA::ID
 
charllvm::SIOptimizeVGPRLiveRangeLegacyID = SIOptimizeVGPRLiveRangeLegacy::ID
 
charllvm::AMDGPUAnnotateUniformValuesLegacyPassID
 
charllvm::AMDGPUCodeGenPrepareID
 
charllvm::AMDGPURemoveIncompatibleFunctionsID
 
charllvm::AMDGPULateCodeGenPrepareLegacyID
 
charllvm::AMDGPURewriteUndefForPHILegacyPassID
 
charllvm::SIAnnotateControlFlowLegacyPassID
 
charllvm::SIMemoryLegalizerID = SIMemoryLegalizer::ID
 
charllvm::SIModeRegisterID
 
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::GCNPreRALongBranchRegID
 
charllvm::GCNPreRAOptimizationsID = GCNPreRAOptimizations::ID
 
charllvm::GCNRewritePartialRegUsesID = GCNRewritePartialRegUses::ID