Defines an instruction selector for the AMDGPU target.More...
#include "AMDGPUISelDAGToDAG.h"
#include "AMDGPU.h"
#include "AMDGPUInstrInfo.h"
#include "AMDGPUSubtarget.h"
#include "AMDGPUTargetMachine.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "MCTargetDesc/R600MCTargetDesc.h"
#include "R600RegisterInfo.h"
#include "SIISelLowering.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/Analysis/UniformityAnalysis.h"
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/Support/ErrorHandling.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "amdgpu-isel" |
Variables | |
amdgpu | isel |
amdgpu AMDGPU DAG DAGPatternInstruction | Selection |
amdgpu AMDGPU DAG DAGPatternInstruction | false |
Defines an instruction selector for the AMDGPU target.
Definition in fileAMDGPUISelDAGToDAG.cpp.
#define DEBUG_TYPE "amdgpu-isel" |
Definition at line37 of fileAMDGPUISelDAGToDAG.cpp.
| static |
Definition at line3679 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm::ISD::AND,BitOp3_Op(),llvm::CallingConv::C,I,LHS,llvm::ISD::OR,RHS, andllvm::ISD::XOR.
| static |
Definition at line3324 of fileAMDGPUISelDAGToDAG.cpp.
ReferencesbuildRegSequence16(),buildRegSequence32(),DL, andllvm_unreachable.
| static |
Definition at line3298 of fileAMDGPUISelDAGToDAG.cpp.
Referencesassert(),buildRegSequence32(),DL,llvm::SelectionDAG::getMachineNode(),llvm::SelectionDAG::getTargetConstant(),isExtractHiElt(),llvm::SmallVectorTemplateBase< T, bool >::push_back(), andllvm::SmallVectorBase< Size_T >::size().
Referenced bybuildRegSequence().
| static |
Definition at line3266 of fileAMDGPUISelDAGToDAG.cpp.
ReferencesDL,llvm::SelectionDAG::getMachineNode(),llvm::SIRegisterInfo::getSubRegFromChannel(),llvm::SelectionDAG::getTargetConstant(),llvm_unreachable,llvm::SmallVectorTemplateBase< T, bool >::push_back(), andllvm::SmallVectorBase< Size_T >::size().
Referenced bybuildRegSequence(), andbuildRegSequence16().
| static |
Definition at line3366 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm::SDNode::getNumOperands(), andllvm::SDNode::getOperand().
Definition at line2497 of fileAMDGPUISelDAGToDAG.cpp.
Referencesassert(),Cond,llvm::isBoolSGPR(),llvm::ISD::isExtOpcode(),llvm::isNullConstant(),llvm::AMDGPUISD::SETCC,llvm::ISD::SETEQ, andllvm::ISD::SETNE.
Definition at line1717 of fileAMDGPUISelDAGToDAG.cpp.
Referencesassert(),llvm::SDValue::getNode(),llvm_unreachable,N, andllvm::AMDGPUTargetLowering::stripBitcast().
| static |
Definition at line819 of fileAMDGPUISelDAGToDAG.cpp.
ReferencesAddr,llvm::ISD::BITCAST,llvm::ISD::BUILD_VECTOR,llvm::ISD::EXTRACT_VECTOR_ELT,llvm::SDValue::getConstantOperandVal(),llvm::SDValue::getOpcode(),llvm::SDValue::getOperand(),llvm::SelectionDAG::isBaseWithConstantOffset(),llvm::Lo, andllvm::ISD::OR.
Definition at line2679 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm_unreachable.
INITIALIZE_PASS_BEGIN | ( | AMDGPUDAGToDAGISelLegacy | , |
"amdgpu-isel" | , | ||
"AMDGPU DAG->DAGPatternInstruction Selection" | , | ||
false | , | ||
false | |||
) |
| static |
Definition at line1625 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm::ISD::CopyFromReg,llvm::SDValue::getOpcode(),llvm::SDValue::getOperand(), andTRI.
Definition at line1260 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm::ISD::ADD,Addr, andllvm::ISD::OR.
Definition at line1844 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm::SDValue::getValueType(), andllvm::ISD::ZERO_EXTEND.
| static |
Definition at line1948 of fileAMDGPUISelDAGToDAG.cpp.
Referencesllvm::ISD::ADD,llvm::SelectionDAG::getMachineNode(),llvm::SDValue::getOpcode(),llvm::SDValue::getOperand(), andllvm::SelectionDAG::getTargetFrameIndex().
| static |
amdgpu AMDGPU DAG DAGPatternInstruction false |
Definition at line110 of fileAMDGPUISelDAGToDAG.cpp.
amdgpu isel |
Definition at line109 of fileAMDGPUISelDAGToDAG.cpp.
amdgpu AMDGPU DAG DAGPatternInstruction Selection |
Definition at line110 of fileAMDGPUISelDAGToDAG.cpp.
Referenced byllvm::logicalview::LVPatterns::addRequest(),llvm::MCContext::getCOFFSection(),llvm::TargetLoweringObjectFileCOFF::getExplicitSectionGlobal(),llvm::ReservoirSampler< T, GenT >::getSelection(),llvm::MCSectionCOFF::getSelection(),llvm::ReservoirSampler< T, GenT >::sample(),llvm::TargetLoweringObjectFileCOFF::SelectSectionForGlobal(), andllvm::MCSectionCOFF::setSelection().