15 #ifndef NVPTXISELLOWERING_H
16 #define NVPTXISELLOWERING_H
94 unsigned Intrinsic)
const;
113 std::pair<unsigned, const TargetRegisterClass *>
126 unsigned retAlignment,
136 std::vector<SDValue> &Ops,
167 Type *Ty,
unsigned Idx)
const;
171 #endif // NVPTXISELLOWERING_H
static MVT getVectorVT(MVT VT, unsigned NumElements)
bool getTgtMemIntrinsic(IntrinsicInfo &Info, const CallInst &I, unsigned Intrinsic) const
virtual bool isLegalAddressingMode(const AddrMode &AM, Type *Ty) const
bool isVector() const
isVector - Return true if this is a vector value type.
SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const
virtual unsigned getFunctionAlignment(const Function *F) const
getFunctionAlignment - Return the Log2 alignment of this function.
ID
LLVM Calling Convention Representation.
bool isTypeSupportedInIntrinsic(MVT VT) const
virtual void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint, std::vector< SDValue > &Ops, SelectionDAG &DAG) const
ConstraintType getConstraintType(const std::string &Constraint) const
virtual SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg, const SmallVectorImpl< ISD::InputArg > &Ins, SDLoc dl, SelectionDAG &DAG, SmallVectorImpl< SDValue > &InVals) const
virtual EVT getSetCCResultType(LLVMContext &, EVT VT) const
std::vector< ArgListEntry > ArgListTy
std::string getPrototype(Type *, const ArgListTy &, const SmallVectorImpl< ISD::OutputArg > &, unsigned retAlignment, const ImmutableCallSite *CS) const
virtual SDValue LowerCall(CallLoweringInfo &CLI, SmallVectorImpl< SDValue > &InVals) const
static const int FIRST_TARGET_MEMORY_OPCODE
virtual bool shouldSplitVectorElementType(EVT VT) const
ImmutableCallSite - establish a view to a call site for examination.
virtual SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg, const SmallVectorImpl< ISD::OutputArg > &Outs, const SmallVectorImpl< SDValue > &OutVals, SDLoc dl, SelectionDAG &DAG) const
NVPTXTargetLowering(NVPTXTargetMachine &TM)
virtual MVT getScalarShiftAmountTy(EVT LHSTy) const
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const
NVPTXTargetMachine * nvTM
virtual const char * getTargetNodeName(unsigned Opcode) const
This method returns the name of a target specific DAG node.
std::pair< unsigned, const TargetRegisterClass * > getRegForInlineAsmConstraint(const std::string &Constraint, MVT VT) const
unsigned getVectorNumElements() const