LLVM  8.0.0svn
Namespaces | Enumerations | Functions | Variables
AMDGPU.h File Reference
#include "llvm/Target/TargetMachine.h"
Include dependency graph for AMDGPU.h:

Go to the source code of this file.

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::AMDGPU
 
 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 {
  AMDGPUAS::MAX_AMDGPU_ADDRESS = 6, AMDGPUAS::FLAT_ADDRESS = 0, AMDGPUAS::GLOBAL_ADDRESS = 1, AMDGPUAS::REGION_ADDRESS = 2,
  AMDGPUAS::CONSTANT_ADDRESS = 4, AMDGPUAS::LOCAL_ADDRESS = 3, AMDGPUAS::PRIVATE_ADDRESS = 5, AMDGPUAS::CONSTANT_ADDRESS_32BIT = 6,
  AMDGPUAS::PARAM_D_ADDRESS = 6, AMDGPUAS::PARAM_I_ADDRESS = 7, AMDGPUAS::CONSTANT_BUFFER_0 = 8, AMDGPUAS::CONSTANT_BUFFER_1 = 9,
  AMDGPUAS::CONSTANT_BUFFER_2 = 10, AMDGPUAS::CONSTANT_BUFFER_3 = 11, AMDGPUAS::CONSTANT_BUFFER_4 = 12, AMDGPUAS::CONSTANT_BUFFER_5 = 13,
  AMDGPUAS::CONSTANT_BUFFER_6 = 14, AMDGPUAS::CONSTANT_BUFFER_7 = 15, AMDGPUAS::CONSTANT_BUFFER_8 = 16, AMDGPUAS::CONSTANT_BUFFER_9 = 17,
  AMDGPUAS::CONSTANT_BUFFER_10 = 18, AMDGPUAS::CONSTANT_BUFFER_11 = 19, AMDGPUAS::CONSTANT_BUFFER_12 = 20, AMDGPUAS::CONSTANT_BUFFER_13 = 21,
  AMDGPUAS::CONSTANT_BUFFER_14 = 22, AMDGPUAS::CONSTANT_BUFFER_15 = 23, AMDGPUAS::UNKNOWN_ADDRESS_SPACE = ~0u
}
 

Functions

FunctionPassllvm::createR600VectorRegMerger ()
 
FunctionPassllvm::createR600ExpandSpecialInstrsPass ()
 
FunctionPassllvm::createR600EmitClauseMarkers ()
 
FunctionPassllvm::createR600ClauseMergePass ()
 
FunctionPassllvm::createR600Packetizer ()
 
FunctionPassllvm::createR600ControlFlowFinalizer ()
 
FunctionPassllvm::createAMDGPUCFGStructurizerPass ()
 
FunctionPassllvm::createR600ISelDag (TargetMachine *TM, CodeGenOpt::Level OptLevel)
 This pass converts a legalized DAG into a R600-specific. More...
 
FunctionPassllvm::createGCNDPPCombinePass ()
 
FunctionPassllvm::createSIAnnotateControlFlowPass ()
 Create the annotation pass. More...
 
FunctionPassllvm::createSIFoldOperandsPass ()
 
FunctionPassllvm::createSIPeepholeSDWAPass ()
 
FunctionPassllvm::createSILowerI1CopiesPass ()
 
FunctionPassllvm::createSIFixupVectorISelPass ()
 
FunctionPass * llvm::createSIShrinkInstructionsPass ()
 
FunctionPassllvm::createSILoadStoreOptimizerPass ()
 
FunctionPassllvm::createSIWholeQuadModePass ()
 
FunctionPass * llvm::createSIFixControlFlowLiveIntervalsPass ()
 
FunctionPassllvm::createSIOptimizeExecMaskingPreRAPass ()
 
FunctionPassllvm::createSIFixSGPRCopiesPass ()
 
FunctionPassllvm::createSIMemoryLegalizerPass ()
 
FunctionPassllvm::createSIDebuggerInsertNopsPass ()
 
FunctionPassllvm::createSIInsertWaitcntsPass ()
 
FunctionPassllvm::createSIFixWWMLivenessPass ()
 
FunctionPassllvm::createSIFormMemoryClausesPass ()
 
FunctionPassllvm::createAMDGPUSimplifyLibCallsPass (const TargetOptions &)
 
FunctionPassllvm::createAMDGPUUseNativeCallsPass ()
 
FunctionPassllvm::createAMDGPUCodeGenPreparePass ()
 
FunctionPassllvm::createAMDGPUMachineCFGStructurizerPass ()
 
FunctionPassllvm::createAMDGPURewriteOutArgumentsPass ()
 
void llvm::initializeAMDGPUDAGToDAGISelPass (PassRegistry &)
 
void llvm::initializeAMDGPUMachineCFGStructurizerPass (PassRegistry &)
 
void llvm::initializeAMDGPUAlwaysInlinePass (PassRegistry &)
 
Passllvm::createAMDGPUAnnotateKernelFeaturesPass ()
 
void llvm::initializeAMDGPUAnnotateKernelFeaturesPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUAtomicOptimizerPass ()
 
void llvm::initializeAMDGPUAtomicOptimizerPass (PassRegistry &)
 
ModulePassllvm::createAMDGPULowerIntrinsicsPass ()
 
void llvm::initializeAMDGPULowerIntrinsicsPass (PassRegistry &)
 
ModulePass * llvm::createAMDGPUFixFunctionBitcastsPass ()
 
void llvm::initializeAMDGPUFixFunctionBitcastsPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPULowerKernelArgumentsPass ()
 
void llvm::initializeAMDGPULowerKernelArgumentsPass (PassRegistry &)
 
ModulePassllvm::createAMDGPULowerKernelAttributesPass ()
 
void llvm::initializeAMDGPULowerKernelAttributesPass (PassRegistry &)
 
void llvm::initializeAMDGPURewriteOutArgumentsPass (PassRegistry &)
 
void llvm::initializeGCNDPPCombinePass (PassRegistry &)
 
void llvm::initializeR600ClauseMergePassPass (PassRegistry &)
 
void llvm::initializeR600ControlFlowFinalizerPass (PassRegistry &)
 
void llvm::initializeR600ExpandSpecialInstrsPassPass (PassRegistry &)
 
void llvm::initializeR600VectorRegMergerPass (PassRegistry &)
 
void llvm::initializeR600PacketizerPass (PassRegistry &)
 
void llvm::initializeSIFoldOperandsPass (PassRegistry &)
 
void llvm::initializeSIPeepholeSDWAPass (PassRegistry &)
 
void llvm::initializeSIShrinkInstructionsPass (PassRegistry &)
 
void llvm::initializeSIFixSGPRCopiesPass (PassRegistry &)
 
void llvm::initializeSIFixVGPRCopiesPass (PassRegistry &)
 
void llvm::initializeSIFixupVectorISelPass (PassRegistry &)
 
void llvm::initializeSILowerI1CopiesPass (PassRegistry &)
 
void llvm::initializeSILoadStoreOptimizerPass (PassRegistry &)
 
void llvm::initializeSIWholeQuadModePass (PassRegistry &)
 
void llvm::initializeSILowerControlFlowPass (PassRegistry &)
 
void llvm::initializeSIInsertSkipsPass (PassRegistry &)
 
void llvm::initializeSIOptimizeExecMaskingPass (PassRegistry &)
 
void llvm::initializeSIFixWWMLivenessPass (PassRegistry &)
 
void llvm::initializeAMDGPUSimplifyLibCallsPass (PassRegistry &)
 
void llvm::initializeAMDGPUUseNativeCallsPass (PassRegistry &)
 
void llvm::initializeAMDGPUPerfHintAnalysisPass (PassRegistry &)
 
FunctionPassllvm::createAMDGPUPromoteAlloca ()
 
void llvm::initializeAMDGPUPromoteAllocaPass (PassRegistry &)
 
Passllvm::createAMDGPUStructurizeCFGPass ()
 
FunctionPassllvm::createAMDGPUISelDag (TargetMachine *TM=nullptr, CodeGenOpt::Level OptLevel=CodeGenOpt::Default)
 This pass converts a legalized DAG into a AMDGPU-specific. More...
 
ModulePassllvm::createAMDGPUAlwaysInlinePass (bool GlobalOpt=true)
 
ModulePassllvm::createR600OpenCLImageTypeLoweringPass ()
 
FunctionPassllvm::createAMDGPUAnnotateUniformValues ()
 
ModulePass * llvm::createAMDGPUUnifyMetadataPass ()
 
void llvm::initializeAMDGPUUnifyMetadataPass (PassRegistry &)
 
void llvm::initializeSIOptimizeExecMaskingPreRAPass (PassRegistry &)
 
void llvm::initializeAMDGPUAnnotateUniformValuesPass (PassRegistry &)
 
void llvm::initializeAMDGPUCodeGenPreparePass (PassRegistry &)
 
void llvm::initializeSIAnnotateControlFlowPass (PassRegistry &)
 
void llvm::initializeSIMemoryLegalizerPass (PassRegistry &)
 
void llvm::initializeSIDebuggerInsertNopsPass (PassRegistry &)
 
void llvm::initializeSIInsertWaitcntsPass (PassRegistry &)
 
void llvm::initializeSIFormMemoryClausesPass (PassRegistry &)
 
void llvm::initializeAMDGPUUnifyDivergentExitNodesPass (PassRegistry &)
 
ImmutablePassllvm::createAMDGPUAAWrapperPass ()
 
void llvm::initializeAMDGPUAAWrapperPassPass (PassRegistry &)
 
ImmutablePassllvm::createAMDGPUExternalAAWrapperPass ()
 
void llvm::initializeAMDGPUExternalAAWrapperPass (PassRegistry &)
 
void llvm::initializeAMDGPUArgumentUsageInfoPass (PassRegistry &)
 
Passllvm::createAMDGPUFunctionInliningPass ()
 
void llvm::initializeAMDGPUInlinerPass (PassRegistry &)
 
ModulePass * llvm::createAMDGPUOpenCLEnqueuedBlockLoweringPass ()
 
void llvm::initializeAMDGPUOpenCLEnqueuedBlockLoweringPass (PassRegistry &)
 
Targetllvm::getTheAMDGPUTarget ()
 The target which supports all AMD GPUs. More...
 
Targetllvm::getTheGCNTarget ()
 The target for GCN GPUs. More...
 

Variables

charllvm::AMDGPUMachineCFGStructurizerID
 
charllvm::AMDGPUAnnotateKernelFeaturesID = AMDGPUAnnotateKernelFeatures::ID
 
charllvm::AMDGPUAtomicOptimizerID = AMDGPUAtomicOptimizer::ID
 
charllvm::AMDGPULowerIntrinsicsID = AMDGPULowerIntrinsics::ID
 
charllvm::AMDGPUFixFunctionBitcastsID = AMDGPUFixFunctionBitcasts::ID
 
charllvm::AMDGPULowerKernelArgumentsID
 
charllvm::AMDGPULowerKernelAttributesID
 
charllvm::AMDGPURewriteOutArgumentsID
 
charllvm::GCNDPPCombineID = GCNDPPCombine::ID
 
charllvm::R600ClauseMergePassID = R600ClauseMergePass::ID
 
charllvm::R600ControlFlowFinalizerID = R600ControlFlowFinalizer::ID
 
charllvm::R600ExpandSpecialInstrsPassID = R600ExpandSpecialInstrsPass::ID
 
charllvm::R600VectorRegMergerID = R600VectorRegMerger::ID
 
charllvm::R600PacketizerID = R600Packetizer::ID
 
charllvm::SIFoldOperandsID
 
charllvm::SIPeepholeSDWAID = SIPeepholeSDWA::ID
 
charllvm::SIShrinkInstructionsID
 
charllvm::SIFixSGPRCopiesID = SIFixSGPRCopies::ID
 
charllvm::SIFixVGPRCopiesID = SIFixVGPRCopies::ID
 
charllvm::SIFixupVectorISelID
 
charllvm::SILowerI1CopiesID = SILowerI1Copies::ID
 
charllvm::SILoadStoreOptimizerID = SILoadStoreOptimizer::ID
 
charllvm::SIWholeQuadModeID = SIWholeQuadMode::ID
 
charllvm::SILowerControlFlowID = SILowerControlFlow::ID
 
charllvm::SIInsertSkipsPassID
 
charllvm::SIOptimizeExecMaskingID = SIOptimizeExecMasking::ID
 
charllvm::SIFixWWMLivenessID = SIFixWWMLiveness::ID
 
charllvm::AMDGPUSimplifyLibCallsID
 
charllvm::AMDGPUUseNativeCallsID
 
charllvm::AMDGPUPerfHintAnalysisID = AMDGPUPerfHintAnalysis::ID
 
charllvm::AMDGPUPromoteAllocaID
 
charllvm::AMDGPUUnifyMetadataID = AMDGPUUnifyMetadata::ID
 
charllvm::SIOptimizeExecMaskingPreRAID = SIOptimizeExecMaskingPreRA::ID
 
charllvm::AMDGPUAnnotateUniformValuesPassID
 
charllvm::AMDGPUCodeGenPrepareID
 
charllvm::SIAnnotateControlFlowPassID
 
charllvm::SIMemoryLegalizerID = SIMemoryLegalizer::ID
 
charllvm::SIDebuggerInsertNopsID = SIDebuggerInsertNops::ID
 
charllvm::SIInsertWaitcntsID = SIInsertWaitcnts::ID
 
charllvm::SIFormMemoryClausesID = SIFormMemoryClauses::ID
 
charllvm::AMDGPUUnifyDivergentExitNodesID = AMDGPUUnifyDivergentExitNodes::ID
 
charllvm::AMDGPUOpenCLEnqueuedBlockLoweringID