/external/llvm/include/llvm/CodeGen/ |
D | ValueTypes.h | 31 struct EVT { struct 37 LLVM_CONSTEXPR EVT() : V(MVT::INVALID_SIMPLE_VALUE_TYPE), LLVMTy(nullptr) {} in EVT() function 38 LLVM_CONSTEXPR EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(nullptr) {} in EVT() function 39 LLVM_CONSTEXPR EVT(MVT S) : V(S), LLVMTy(nullptr) {} in EVT() function 41 bool operator==(EVT VT) const { 44 bool operator!=(EVT VT) const { 55 static EVT getFloatingPointVT(unsigned BitWidth) { in getFloatingPointVT() argument 61 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() argument 70 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT() argument 80 EVT changeVectorElementTypeToInteger() const { in changeVectorElementTypeToInteger() argument [all …]
|
D | SelectionDAG.h | 51 const EVT *VTs; 57 SDVTListNode(const FoldingSetNodeIDRef ID, const EVT *VT, unsigned int Num) : 461 SDVTList getVTList(EVT VT); 462 SDVTList getVTList(EVT VT1, EVT VT2); 463 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3); 464 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4); 465 SDVTList getVTList(ArrayRef<EVT> VTs); 477 SDValue getConstant(uint64_t Val, const SDLoc &DL, EVT VT, 479 SDValue getConstant(const APInt &Val, const SDLoc &DL, EVT VT, 481 SDValue getConstant(const ConstantInt &Val, const SDLoc &DL, EVT VT, [all …]
|
D | RuntimeLibcalls.h | 481 Libcall getFPEXT(EVT OpVT, EVT RetVT); 485 Libcall getFPROUND(EVT OpVT, EVT RetVT); 489 Libcall getFPTOSINT(EVT OpVT, EVT RetVT); 493 Libcall getFPTOUINT(EVT OpVT, EVT RetVT); 497 Libcall getSINTTOFP(EVT OpVT, EVT RetVT); 501 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAG.h | 316 SDVTList getVTList(EVT VT); 317 SDVTList getVTList(EVT VT1, EVT VT2); 318 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3); 319 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4); 320 SDVTList getVTList(const EVT *VTs, unsigned NumVTs); 325 SDValue getConstant(uint64_t Val, EVT VT, bool isTarget = false); 326 SDValue getConstant(const APInt &Val, EVT VT, bool isTarget = false); 327 SDValue getConstant(const ConstantInt &Val, EVT VT, bool isTarget = false); 329 SDValue getTargetConstant(uint64_t Val, EVT VT) { 332 SDValue getTargetConstant(const APInt &Val, EVT VT) { [all …]
|
D | ValueTypes.h | 27 struct EVT; 380 struct EVT { struct 386 EVT() : V((MVT::SimpleValueType)(MVT::INVALID_SIMPLE_VALUE_TYPE)), in EVT() argument 388 EVT(MVT::SimpleValueType SVT) : V(SVT), LLVMTy(0) { } in EVT() argument 389 EVT(MVT S) : V(S), LLVMTy(0) {} in EVT() function 391 bool operator==(EVT VT) const { 394 bool operator!=(EVT VT) const { 405 static EVT getFloatingPointVT(unsigned BitWidth) { in getFloatingPointVT() argument 411 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getIntegerVT() argument 420 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements) { in getVectorVT() argument [all …]
|
D | RuntimeLibcalls.h | 306 Libcall getFPEXT(EVT OpVT, EVT RetVT); 310 Libcall getFPROUND(EVT OpVT, EVT RetVT); 314 Libcall getFPTOSINT(EVT OpVT, EVT RetVT); 318 Libcall getFPTOUINT(EVT OpVT, EVT RetVT); 322 Libcall getSINTTOFP(EVT OpVT, EVT RetVT); 326 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetLowering.h | 144 virtual MVT getShiftAmountTy(EVT LHSTy) const; 167 virtual EVT getSetCCResultType(EVT VT) const; 202 virtual TargetRegisterClass *getRegClassFor(EVT VT) const { in getRegClassFor() 214 virtual const TargetRegisterClass *getRepRegClassFor(EVT VT) const { in getRepRegClassFor() 222 virtual uint8_t getRepRegClassCostFor(EVT VT) const { in getRepRegClassCostFor() 230 bool isTypeLegal(EVT VT) const { in isTypeLegal() 250 void setTypeAction(EVT VT, LegalizeTypeAction Action) { in setTypeAction() 264 LegalizeTypeAction getTypeAction(LLVMContext &Context, EVT VT) const { in getTypeAction() 277 EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const { in getTypeToTransformTo() 285 EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const { in getTypeToExpandTo() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
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::isExtended64BitVector() const { in isExtended64BitVector() [all …]
|
/external/swiftshader/third_party/LLVM/utils/TableGen/ |
D | TGValueTypes.cpp | 45 EVT ElementType; 48 ExtendedVectorType(EVT elty, unsigned num) in ExtendedVectorType() 53 EVT getElementType() const { in getElementType() 66 bool EVT::isExtendedFloatingPoint() const { in isExtendedFloatingPoint() 72 bool EVT::isExtendedInteger() const { in isExtendedInteger() 77 bool EVT::isExtendedVector() const { in isExtendedVector() 82 bool EVT::isExtended64BitVector() const { in isExtended64BitVector() 87 bool EVT::isExtended128BitVector() const { in isExtended128BitVector() 92 EVT EVT::getExtendedVectorElementType() const { in getExtendedVectorElementType() 97 unsigned EVT::getExtendedVectorNumElements() const { in getExtendedVectorNumElements() [all …]
|
/external/llvm/include/llvm/Target/ |
D | TargetLowering.h | 114 typedef std::pair<LegalizeTypeAction, EVT> LegalizeKind; 182 virtual MVT getScalarShiftAmountTy(const DataLayout &, EVT) const; 184 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL) const; 210 getPreferredVectorAction(EVT VT) const { in getPreferredVectorAction() 228 shouldExpandBuildVectorWithShuffles(EVT /* VT */, in shouldExpandBuildVectorWithShuffles() argument 237 virtual bool isIntDivCheap(EVT VT, AttributeSet Attr) const { in isIntDivCheap() 275 virtual bool isLoadBitCastBeneficial(EVT LoadVT, in isLoadBitCastBeneficial() 276 EVT BitcastVT) const { in isLoadBitCastBeneficial() 295 virtual bool isStoreBitCastBeneficial(EVT StoreVT, EVT BitcastVT) const { in isStoreBitCastBeneficial() 303 virtual bool storeOfVectorConstantIsCheap(EVT MemVT, in storeOfVectorConstantIsCheap() [all …]
|
/external/llvm/lib/IR/ |
D | ValueTypes.cpp | 22 EVT EVT::changeExtendedTypeToInteger() const { in changeExtendedTypeToInteger() 27 EVT EVT::changeExtendedVectorElementTypeToInteger() const { in changeExtendedVectorElementTypeToInteger() 29 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits()); in changeExtendedVectorElementTypeToInteger() 33 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getExtendedIntegerVT() 34 EVT VT; in getExtendedIntegerVT() 40 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, in getExtendedVectorVT() 42 EVT ResultVT; in getExtendedVectorVT() 48 bool EVT::isExtendedFloatingPoint() const { in isExtendedFloatingPoint() 53 bool EVT::isExtendedInteger() const { in isExtendedInteger() 58 bool EVT::isExtendedScalarInteger() const { in isExtendedScalarInteger() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.h | 69 bool shouldCombineMemoryType(EVT VT) const; 81 static EVT getEquivalentMemType(LLVMContext &Context, EVT VT); 82 static EVT getEquivalentBitType(LLVMContext &Context, EVT VT); 123 bool isFAbsFree(EVT VT) const override; 124 bool isFNegFree(EVT VT) const override; 125 bool isTruncateFree(EVT Src, EVT Dest) const override; 129 bool isZExtFree(EVT Src, EVT Dest) const override; 130 bool isZExtFree(SDValue Val, EVT VT2) const override; 132 bool isNarrowingProfitable(EVT VT1, EVT VT2) const override; 137 bool isFPImmLegal(const APFloat &Imm, EVT VT) const override; [all …]
|
D | SIISelLowering.h | 26 SDValue LowerParameter(SelectionDAG &DAG, EVT VT, EVT MemVT, const SDLoc &SL, 84 EVT /*VT*/) const override; 89 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, 93 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, 103 getPreferredVectorAction(EVT VT) const override; 108 bool isTypeDesirableForOp(unsigned Op, EVT VT) const override; 123 unsigned getRegisterByName(const char* RegName, EVT VT, 132 bool enableAggressiveFMAFusion(EVT VT) const override; 133 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context, 134 EVT VT) const override; [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 139 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 145 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 162 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 178 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT() 207 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp() 213 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp() 214 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType(); in ScalarizeVecRes_InregOp() 223 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_SCALAR_TO_VECTOR() 280 EVT NVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_VSETCC() 518 EVT LoVT, HiVT; in SplitVecRes_BITCAST() [all …]
|
D | LegalizeTypesGeneric.cpp | 41 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 42 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in ExpandRes_BITCAST() 44 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 83 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), in ExpandRes_BITCAST() 100 EVT NVT = EVT::getVectorVT(*DAG.getContext(), NOutVT, 2); in ExpandRes_BITCAST() 177 EVT OldVT = N->getValueType(0); in ExpandRes_EXTRACT_VECTOR_ELT() 178 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); in ExpandRes_EXTRACT_VECTOR_ELT() 181 EVT::getVectorVT(*DAG.getContext(), in ExpandRes_EXTRACT_VECTOR_ELT() 209 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), LD->getValueType(0)); in ExpandRes_NormalLoad() 245 EVT OVT = N->getValueType(0); in ExpandRes_VAARG() [all …]
|
D | LegalizeIntegerTypes.cpp | 167 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in PromoteIntRes_Atomic0() 207 EVT InVT = InOp.getValueType(); in PromoteIntRes_BITCAST() 208 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT); in PromoteIntRes_BITCAST() 209 EVT OutVT = N->getValueType(0); in PromoteIntRes_BITCAST() 210 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in PromoteIntRes_BITCAST() 248 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 …]
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeVectorTypes.cpp | 167 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BITCAST() 173 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_BUILD_VECTOR() 183 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_CONVERT_RNDSAT() 200 EVT NewVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_FP_ROUND() 216 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_INSERT_VECTOR_ELT() 246 EVT DestVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_UnaryOp() 248 EVT OpVT = Op.getValueType(); in ScalarizeVecRes_UnaryOp() 260 EVT VT = OpVT.getVectorElementType(); in ScalarizeVecRes_UnaryOp() 269 EVT EltVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_InregOp() 270 EVT ExtVT = cast<VTSDNode>(N->getOperand(1))->getVT().getVectorElementType(); in ScalarizeVecRes_InregOp() [all …]
|
D | LegalizeTypesGeneric.cpp | 42 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 43 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); in ExpandRes_BITCAST() 45 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 95 EVT LoVT, HiVT; in ExpandRes_BITCAST() 110 EVT ElemVT = NOutVT; in ExpandRes_BITCAST() 111 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 120 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits); in ExpandRes_BITCAST() 121 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 145 EVT::getIntegerVT( in ExpandRes_BITCAST() 219 EVT OldEltVT = OldVec.getValueType().getVectorElementType(); in ExpandRes_EXTRACT_VECTOR_ELT() [all …]
|
D | LegalizeFloatTypes.cpp | 30 static RTLIB::Libcall GetFPLibCall(EVT VT, in GetFPLibCall() 185 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() 197 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FMINNUM() 210 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FMAXNUM() 223 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FADD() 236 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCEIL() 255 EVT LVT = LHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() 256 EVT RVT = RHS.getValueType(); in SoftenFloatRes_FCOPYSIGN() 299 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FCOS() 311 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FDIV() [all …]
|
D | SelectionDAG.cpp | 58 static SDVTList makeVTList(const EVT *VTs, unsigned NumVTs) { in makeVTList() 79 bool ConstantFPSDNode::isValueValidForType(EVT VT, in isValueValidForType() 104 EVT EltVT = N->getValueType(0).getVectorElementType(); in isConstantSplatVector() 679 EVT VT = N->getValueType(0); in VerifySDNode() 697 EVT EltVT = N->getValueType(0).getVectorElementType(); in VerifySDNode() 754 EVT VT = cast<VTSDNode>(N)->getVT(); in RemoveNodeFromCSEMaps() 875 unsigned SelectionDAG::getEVTAlignment(EVT VT) const { in getEVTAlignment() 1001 SDValue SelectionDAG::getAnyExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) { in getAnyExtOrTrunc() 1007 SDValue SelectionDAG::getSExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) { in getSExtOrTrunc() 1013 SDValue SelectionDAG::getZExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) { in getZExtOrTrunc() [all …]
|
D | LegalizeVectorOps.cpp | 232 EVT StVT = ST->getMemoryVT(); in LegalizeOp() 258 EVT QueryType; in LegalizeOp() 435 EVT VT = Op.getOperand(0).getValueType(); in PromoteINT_TO_FP() 447 EVT NVT = VT.widenIntegerVectorElementType(*DAG.getContext()); in PromoteINT_TO_FP() 471 EVT VT = Op.getValueType(); in PromoteFP_TO_INT() 473 EVT NewVT; in PromoteFP_TO_INT() 497 EVT SrcVT = LD->getMemoryVT(); in ExpandLoad() 498 EVT SrcEltVT = SrcVT.getScalarType(); in ExpandLoad() 510 EVT DstEltVT = LD->getValueType(0).getScalarType(); in ExpandLoad() 520 EVT WideVT = TLI.getPointerTy(DAG.getDataLayout()); in ExpandLoad() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/CellSPU/ |
D | SPUISelLowering.h | 65 EVT ValueType); 67 EVT ValueType); 69 EVT ValueType); 71 EVT ValueType); 73 EVT ValueType); 80 SDValue LowerV2I64Splat(EVT OpVT, SelectionDAG &DAG, uint64_t splat, 110 virtual EVT getSetCCResultType(EVT VT) const; 112 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i32; } in getShiftAmountTy() 142 EVT VT) const;
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 665 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override { in getScalarShiftAmountTy() argument 699 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, 713 bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, unsigned Align, 740 bool isTypeDesirableForOp(unsigned Opc, EVT VT) const override; 746 bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const override; 763 bool hasBitPreservingFPLogic(EVT VT) const override { in hasBitPreservingFPLogic() 770 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context, 771 EVT VT) const override; 801 const char *LowerXConstraint(EVT ConstraintVT) const override; 863 bool isTruncateFree(EVT VT1, EVT VT2) const override; [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.h | 508 virtual MVT getShiftAmountTy(EVT LHSTy) const { return MVT::i8; } in getShiftAmountTy() 545 virtual EVT 552 virtual bool allowsUnalignedMemoryAccesses(EVT VT) const { in allowsUnalignedMemoryAccesses() 573 virtual bool isTypeDesirableForOp(unsigned Opc, EVT VT) const; 579 virtual bool IsDesirableToPromoteOp(SDValue Op, EVT &PVT) const; 591 virtual EVT getSetCCResultType(EVT VT) const; 622 virtual const char *LowerXConstraint(EVT ConstraintVT) const; 639 EVT VT) const; 649 virtual bool isTruncateFree(EVT VT1, EVT VT2) const; 660 virtual bool isZExtFree(EVT VT1, EVT VT2) const; [all …]
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-byval.cpp | 11 class EVT { class 23 void foo(EVT e); 24 EVT bar(); 26 void get(int *i, unsigned dl, VAL v, VAL *p, unsigned n, EVT missing_arg) { in get() 28 EVT e = bar(); in get()
|