|
LLVM
5.0.0
|
Defines an instruction selector for the AMDGPU target. More...
#include "AMDGPU.h"#include "AMDGPUISelLowering.h"#include "AMDGPUInstrInfo.h"#include "AMDGPURegisterInfo.h"#include "AMDGPUSubtarget.h"#include "SIDefines.h"#include "SIISelLowering.h"#include "SIInstrInfo.h"#include "SIMachineFunctionInfo.h"#include "SIRegisterInfo.h"#include "llvm/ADT/APInt.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/Analysis/ValueTracking.h"#include "llvm/CodeGen/FunctionLoweringInfo.h"#include "llvm/CodeGen/ISDOpcodes.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/CodeGen/MachineValueType.h"#include "llvm/CodeGen/SelectionDAG.h"#include "llvm/CodeGen/SelectionDAGISel.h"#include "llvm/CodeGen/SelectionDAGNodes.h"#include "llvm/CodeGen/ValueTypes.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/Instruction.h"#include "llvm/MC/MCInstrDesc.h"#include "llvm/Support/Casting.h"#include "llvm/Support/CodeGen.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include <cassert>#include <cstdint>#include <new>#include <vector>#include "AMDGPUGenDAGISel.inc"Go to the source code of this file.
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Functions | |
| static unsigned | selectSGPRVectorRegClassID (unsigned NumVectorElts) |
| static bool | getConstantValue (SDValue N, uint32_t &Out) |
| static bool | isLegalMUBUFImmOffset (unsigned Imm) |
| static bool | isLegalMUBUFImmOffset (const ConstantSDNode *Imm) |
| static bool | isStackPtrRelative (const MachinePointerInfo &PtrInfo) |
| static SDValue | stripBitcast (SDValue Val) |
| static bool | isExtractHiElt (SDValue In, SDValue &Out) |
| static SDValue | stripExtractLoElt (SDValue In) |
Defines an instruction selector for the AMDGPU target.
Definition in file AMDGPUISelDAGToDAG.cpp.
Definition at line 323 of file AMDGPUISelDAGToDAG.cpp.
References C.
Definition at line 1772 of file AMDGPUISelDAGToDAG.cpp.
References llvm::SDValue::getOpcode(), llvm::SDValue::getOperand(), llvm::ISD::SRL, stripBitcast(), and llvm::ISD::TRUNCATE.
Definition at line 961 of file AMDGPUISelDAGToDAG.cpp.
Referenced by isLegalMUBUFImmOffset().
|
static |
Definition at line 965 of file AMDGPUISelDAGToDAG.cpp.
References llvm::ConstantSDNode::getZExtValue(), and isLegalMUBUFImmOffset().
|
static |
Definition at line 1082 of file AMDGPUISelDAGToDAG.cpp.
References llvm::PointerUnion< PT1, PT2 >::dyn_cast(), llvm::PseudoSourceValue::isStack(), and llvm::MachinePointerInfo::V.
Definition at line 306 of file AMDGPUISelDAGToDAG.cpp.
References llvm_unreachable().
Definition at line 1767 of file AMDGPUISelDAGToDAG.cpp.
References llvm::ISD::BITCAST, llvm::SDValue::getOpcode(), and llvm::SDValue::getOperand().
Referenced by isExtractHiElt(), and stripExtractLoElt().
Definition at line 1792 of file AMDGPUISelDAGToDAG.cpp.
References llvm::SDValue::getOpcode(), llvm::SDValue::getOperand(), llvm::EVT::getSizeInBits(), llvm::SDValue::getValueType(), llvm::tgtok::In, stripBitcast(), and llvm::ISD::TRUNCATE.
1.8.6