/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 349 SDVTList getVTList(EVT VT); 350 SDVTList getVTList(EVT VT1, EVT VT2); 351 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3); 352 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4); 353 SDVTList getVTList(const EVT *VTs, unsigned NumVTs); 358 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false); 359 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false); 360 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false); 362 SDValue getTargetConstant(uint64_t Val, EVT VT) { 365 SDValue getTargetConstant(const APInt &Val, EVT VT) { [all …]
|
D | ValueTypes.h | 28 struct EVT; 551 struct EVT { struct 557 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), in EVT() argument 559 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT() function 560 EVT(MVT S) : V(S), LLVMTy(0) {} in EVT() argument 562 bool operator==(EVT VT) const { 565 bool operator!=(EVT VT) const { 576 static EVT getFloatingPointVT(unsigned BitWidth) { in getFloatingPointVT() argument 582 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() argument 591 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT() argument [all …]
|
D | RuntimeLibcalls.h | 357 Libcall getFPEXT(EVT OpVT, EVT RetVT); 361 Libcall getFPROUND(EVT OpVT, EVT RetVT); 365 Libcall getFPTOSINT(EVT OpVT, EVT RetVT); 369 Libcall getFPTOUINT(EVT OpVT, EVT RetVT); 373 Libcall getSINTTOFP(EVT OpVT, EVT RetVT); 377 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
|
D | SelectionDAGNodes.h | 58 const EVT *VTs; 131 inline EVT getValueType() const; 248 EVT getValueType() const { return Val.getValueType(); } 336 const EVT *ValueList; 355 static const EVT *getValueTypeList(EVT VT); 607 EVT getValueType(unsigned ResNo) const { 624 typedef const EVT* value_iterator; 694 static SDVTList getSDVTList(EVT VT) { 841 inline EVT SDValue::getValueType() const { 959 EVT MemoryVT; [all …]
|
/external/llvm/utils/TableGen/ |
D | TGValueTypes.cpp | 60 EVT ElementType; 63 ExtendedVectorType(EVT elty, unsigned num) in ExtendedVectorType() 71 EVT getElementType() const { in getElementType() 84 bool EVT::isExtendedFloatingPoint() const { in isExtendedFloatingPoint() 90 bool EVT::isExtendedInteger() const { in isExtendedInteger() 95 bool EVT::isExtendedVector() const { in isExtendedVector() 100 bool EVT::isExtended64BitVector() const { in isExtended64BitVector() 105 bool EVT::isExtended128BitVector() const { in isExtended128BitVector() 110 EVT EVT::getExtendedVectorElementType() const { in getExtendedVectorElementType() 115 unsigned EVT::getExtendedVectorNumElements() const { in getExtendedVectorNumElements() [all …]
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 22 EVT EVT::changeExtendedVectorElementTypeToInteger() const { in changeExtendedVectorElementTypeToInteger() 24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger() 28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getExtendedIntegerVT() 29 EVT VT; in getExtendedIntegerVT() 35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, in getExtendedVectorVT() 37 EVT ResultVT; in getExtendedVectorVT() 43 bool EVT::isExtendedFloatingPoint() const { in isExtendedFloatingPoint() 48 bool EVT::isExtendedInteger() const { in isExtendedInteger() 53 bool EVT::isExtendedVector() const { in isExtendedVector() 58 bool EVT::isExtended16BitVector() const { in isExtended16BitVector() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 102 typedef std::pair<LegalizeTypeAction, EVT> LegalizeKind; 155 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const; 157 EVT getShiftAmountTy(EVT LHSTy) const; 176 virtual bool shouldSplitVectorElementType(EVT /*VT*/) const { return false; } in shouldSplitVectorElementType() argument 208 virtual EVT getSetCCResultType(LLVMContext &Context, EVT VT) const; 271 bool isTypeLegal(EVT VT) const { in isTypeLegal() 305 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction() 318 EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const { in getTypeToTransformTo() 326 EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const { in getTypeToExpandTo() 349 unsigned getVectorTypeBreakdown(LLVMContext &Context, EVT VT, [all …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 150 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 156 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() 166 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 199 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT() 228 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp() 234 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp() 235 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType(); in ScalarizeVecRes_InregOp() 244 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_SCALAR_TO_VECTOR() 257 EVT CondVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() [all …]
|
D | LegalizeTypesGeneric.cpp | 40 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 41 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in ExpandRes_BITCAST() 43 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 80 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in ExpandRes_BITCAST() 99 EVT ElemVT = NOutVT; in ExpandRes_BITCAST() 100 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 109 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits); in ExpandRes_BITCAST() 110 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 134 EVT::getIntegerVT( in ExpandRes_BITCAST() 207 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeIntegerTypes.cpp | 168 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 208 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 209 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT); in PromoteIntRes_BITCAST() 210 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() 211 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in PromoteIntRes_BITCAST() 246 EVT::getIntegerVT(*DAG.getContext(), in PromoteIntRes_BITCAST() 265 EVT OVT = N->getValueType(0); in PromoteIntRes_BSWAP() 266 EVT NVT = Op.getValueType(); in PromoteIntRes_BSWAP() 284 EVT VT = N->getValueType(0); in PromoteIntRes_Constant() 303 EVT OutVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_CONVERT_RNDSAT() [all …]
|
D | SelectionDAG.cpp | 57 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) { in makeVTList() 78 bool ConstantFPSDNode::isValueValidForType(EVT VT, in isValueValidForType() 669 EVT VT = cast<VTSDNode>(N)->getVT(); in RemoveNodeFromCSEMaps() 789 EVT VT = N->getValueType(0); in VerifyNodeCommon() 807 EVT EltVT = N->getValueType(0).getVectorElementType(); in VerifyNodeCommon() 862 unsigned SelectionDAG::getEVTAlignment(EVT VT) const { in getEVTAlignment() 917 SDValue SelectionDAG::getAnyExtOrTrunc(SDValue Op, SDLoc DL, EVT VT) { in getAnyExtOrTrunc() 923 SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, SDLoc DL, EVT VT) { in getSExtOrTrunc() 929 SDValue SelectionDAG::getZExtOrTrunc(SDValue Op, SDLoc DL, EVT VT) { in getZExtOrTrunc() 935 SDValue SelectionDAG::getZeroExtendInReg(SDValue Op, SDLoc DL, EVT VT) { in getZeroExtendInReg() [all …]
|
D | LegalizeVectorOps.cpp | 165 EVT StVT = ST->getMemoryVT(); in LegalizeOp() 189 EVT QueryType; in LegalizeOp() 341 EVT VT = Op.getOperand(0).getValueType(); in PromoteVectorOpINT_TO_FP() 353 EVT EltVT = VT.getVectorElementType(); in PromoteVectorOpINT_TO_FP() 354 EltVT = EVT::getIntegerVT(*DAG.getContext(), 2 * EltVT.getSizeInBits()); in PromoteVectorOpINT_TO_FP() 382 EVT SrcVT = LD->getMemoryVT(); in ExpandLoad() 389 EVT SrcEltVT = SrcVT.getScalarType(); in ExpandLoad() 390 EVT DstEltVT = Op.getNode()->getValueType(0).getScalarType(); in ExpandLoad() 398 EVT WideVT = TLI.getPointerTy(); in ExpandLoad() 421 EVT LoadVT = WideVT; in ExpandLoad() [all …]
|
D | LegalizeFloatTypes.cpp | 28 static RTLIB::Libcall GetFPLibCall(EVT VT, in GetFPLibCall() 142 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() 154 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FADD() 167 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCEIL() 183 EVT LVT = LHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() 184 EVT RVT = RHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() 221 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCOS() 233 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FDIV() 246 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FEXP() 258 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FEXP2() [all …]
|
D | LegalizeDAG.cpp | 61 EVT getSetCCResultType(EVT VT) const { in getSetCCResultType() 94 SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, SDLoc dl, 98 void LegalizeSetCCCondCode(EVT VT, SDValue &LHS, SDValue &RHS, SDValue &CC, 102 SDValue ExpandLibCall(RTLIB::Libcall LC, EVT RetVT, const SDValue *Ops, 120 SDValue EmitStackConvert(SDValue SrcOp, EVT SlotVT, EVT DestVT, SDLoc dl); 126 SDValue ExpandLegalINT_TO_FP(bool isSigned, SDValue LegalOp, EVT DestVT, 128 SDValue PromoteLegalINT_TO_FP(SDValue LegalOp, EVT DestVT, bool isSigned, 130 SDValue PromoteLegalFP_TO_INT(SDValue LegalOp, EVT DestVT, bool isSigned, 188 SelectionDAGLegalize::ShuffleWithNarrowerEltType(EVT NVT, EVT VT, SDLoc dl, in ShuffleWithNarrowerEltType() 262 EVT VT = CFP->getValueType(0); in ExpandConstantFP() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-byval.cpp | 10 class EVT { class 22 void foo(EVT e); 23 EVT bar(); 25 void get(int *i, unsigned dl, VAL v, VAL *p, unsigned n, EVT missing_arg) { in get() 27 EVT e = bar(); in get()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCallingConvLower.cpp | 40 void Hexagon_CCState::HandleByVal(unsigned ValNo, EVT ValVT, in HandleByVal() 41 EVT LocVT, CCValAssign::LocInfo LocInfo, in HandleByVal() 81 EVT ArgVT = Ins[i].VT; in AnalyzeFormalArguments() 117 EVT VT = Outs[i].VT; in AnalyzeReturn() 147 EVT ArgVT = Outs[i].VT; in AnalyzeCallOperands() 161 Hexagon_CCState::AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs, in AnalyzeCallOperands() 166 EVT ArgVT = ArgVTs[i]; in AnalyzeCallOperands() 185 EVT VT = Ins[i].VT; in AnalyzeCallResult() 197 void Hexagon_CCState::AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn) { in AnalyzeCallResult()
|
D | HexagonCallingConvLower.h | 36 typedef bool Hexagon_CCAssignFn(unsigned ValNo, EVT ValVT, 37 EVT LocVT, CCValAssign::LocInfo LocInfo, 95 void AnalyzeCallOperands(SmallVectorImpl<EVT> &ArgVTs, 106 void AnalyzeCallResult(EVT VT, Hexagon_CCAssignFn Fn); 175 void HandleByVal(unsigned ValNo, EVT ValVT, 176 EVT LocVT, CCValAssign::LocInfo LocInfo,
|
D | HexagonVarargsCallingConvention.h | 20 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT, 21 EVT LocVT, CCValAssign::LocInfo LocInfo, 29 static bool CC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT, in CC_Hexagon32_VarArgs() 30 EVT LocVT, CCValAssign::LocInfo LocInfo, in CC_Hexagon32_VarArgs() 98 static bool RetCC_Hexagon32_VarArgs(unsigned ValNo, EVT ValVT, in RetCC_Hexagon32_VarArgs() 99 EVT LocVT, CCValAssign::LocInfo LocInfo, in RetCC_Hexagon32_VarArgs()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 511 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getScalarShiftAmountTy() 543 virtual EVT 559 virtual bool allowsUnalignedMemoryAccesses(EVT VT, bool *Fast) const; 578 virtual bool isTypeDesirableForOp(unsigned Opc, EVT VT) const; 584 virtual bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const; 596 virtual EVT getSetCCResultType(LLVMContext &Context, EVT VT) const; 626 virtual const char *LowerXConstraint(EVT ConstraintVT) const; 665 virtual bool isTruncateFree(EVT VT1, EVT VT2) const; 678 virtual bool isZExtFree(EVT VT1, EVT VT2) const; 679 virtual bool isZExtFree(SDValue Val, EVT VT2) const; [all …]
|
/external/llvm/lib/Target/R600/ |
D | SIISelLowering.h | 24 SDValue LowerParameter(SelectionDAG &DAG, EVT VT, SDLoc DL, 46 bool allowsUnalignedMemoryAccesses(EVT VT, bool *IsFast) const; 56 virtual EVT getSetCCResultType(LLVMContext &Context, EVT VT) const; 57 virtual MVT getScalarShiftAmountTy(EVT VT) const; 66 unsigned Reg, EVT VT) const;
|
D | AMDGPUISelLowering.h | 39 unsigned Reg, EVT VT) const; 52 virtual bool isFAbsFree(EVT VT) const; 53 virtual bool isFNegFree(EVT VT) const; 92 bool isFPImmLegal(const APFloat &Imm, EVT VT) const; 95 bool ShouldShrinkFPConstant(EVT VT) const; 109 EVT genIntType(uint32_t size = 32, uint32_t numEle = 1) const;
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.h | 105 virtual EVT getSetCCResultType(LLVMContext &, EVT VT) const { in getSetCCResultType() 141 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getScalarShiftAmountTy() 143 virtual bool shouldSplitVectorElementType(EVT VT) const; 149 EVT = MVT::i32) const; 150 SDValue getParamSymbol(SelectionDAG &DAG, int idx, EVT) const;
|
D | NVPTXISelLowering.cpp | 77 SmallVectorImpl<EVT> &ValueVTs, in ComputePTXValueVTs() 80 SmallVector<EVT, 16> TempVTs; in ComputePTXValueVTs() 85 EVT VT = TempVTs[i]; in ComputePTXValueVTs() 332 bool NVPTXTargetLowering::shouldSplitVectorElementType(EVT VT) const { in shouldSplitVectorElementType() 379 SmallVector<EVT, 16> vtparts; in getPrototype() 384 EVT elemtype = vtparts[i]; in getPrototype() 430 SmallVector<EVT, 16> vtparts; in getPrototype() 534 EVT VT = Outs[OIdx].VT; in LowerCall() 540 SmallVector<EVT, 16> vtparts; in LowerCall() 556 EVT elemtype = vtparts[j]; in LowerCall() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.h | 76 virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getScalarShiftAmountTy() 108 virtual bool isTruncateFree(EVT VT1, EVT VT2) const; 119 virtual bool isZExtFree(EVT VT1, EVT VT2) const; 120 virtual bool isZExtFree(SDValue Val, EVT VT2) const;
|
/external/llvm/lib/CodeGen/ |
D | CallingConvLower.cpp | 77 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeFormalArguments() 109 << EVT(VT).getEVTString() << '\n'; in AnalyzeReturn() 127 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeCallOperands() 146 << EVT(ArgVT).getEVTString() << '\n'; in AnalyzeCallOperands() 163 << EVT(VT).getEVTString() << '\n'; in AnalyzeCallResult() 176 << EVT(VT).getEVTString() << '\n'; in AnalyzeCallResult()
|