/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 34 struct EVT { struct 40 constexpr EVT() = default; argument 73 static EVT getVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements, 83 static EVT getVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getVectorVT() argument 101 EVT changeVectorElementType(EVT EltVT) const { in changeVectorElementType() argument 390 return EVT(MVT::i8); in getRoundIntegerType() 402 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT() 479 bool operator()(EVT L, EVT R) const { in operator() argument 492 EVT changeExtendedVectorElementType(EVT EltVT) const; 495 static EVT getExtendedVectorVT(LLVMContext &C, EVT VT, unsigned NumElements, [all …]
|
H A D | RuntimeLibcalls.h | 38 Libcall getFPLibCall(EVT VT, 47 Libcall getFPEXT(EVT OpVT, EVT RetVT); 51 Libcall getFPROUND(EVT OpVT, EVT RetVT); 55 Libcall getFPTOSINT(EVT OpVT, EVT RetVT); 59 Libcall getFPTOUINT(EVT OpVT, EVT RetVT); 63 Libcall getSINTTOFP(EVT OpVT, EVT RetVT); 67 Libcall getUINTTOFP(EVT OpVT, EVT RetVT); 71 Libcall getPOWI(EVT RetVT);
|
H A D | SelectionDAG.h | 101 const EVT *VTs; 637 SDVTList getVTList(EVT VT1, EVT VT2); 638 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3); 639 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4); 686 SDValue getBoolConstant(bool V, const SDLoc &DL, EVT VT, EVT OpVT); 1672 EVT VT2, EVT VT3, ArrayRef<SDValue> Ops); 1914 SDValue CreateStackTemporary(EVT VT1, EVT VT2); 2189 std::pair<EVT, EVT> GetSplitDestVTs(const EVT &VT) const; 2194 std::pair<EVT, EVT> GetDependentSplitDestVTs(const EVT &VT, const EVT &EnvVT, 2204 EVT LoVT, HiVT; [all …]
|
H A D | TargetLowering.h | 398 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL, 865 EVT BoolVT = in promoteTargetBoolean() 1007 EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const { in getTypeToExpandTo() 1334 bool isTruncStoreLegal(EVT ValVT, EVT MemVT) const { in isTruncStoreLegal() 1346 virtual bool canCombineTruncStore(EVT ValVT, EVT MemVT, in canCombineTruncStore() 1558 EVT VT1; in getRegisterType() 1591 EVT VT1; 1788 virtual EVT 2263 virtual bool shouldUseStrictFP_TO_INT(EVT FpVT, EVT IntVT, in shouldUseStrictFP_TO_INT() 2929 virtual bool isFPExtFree(EVT DestVT, EVT SrcVT) const { in isFPExtFree() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/VE/ |
H A D | VECustomDAG.h | 32 bool isPackedVectorType(EVT SomeVT); 34 bool isMaskType(EVT SomeVT); 40 bool supportsPackedMode(unsigned Opcode, EVT IdiomVT); 95 std::optional<EVT> getIdiomaticVectorType(SDNode *Op); 128 Packing getTypePacking(EVT); 172 SDValue getNode(unsigned OC, EVT ResVT, ArrayRef<SDValue> OpV, 180 SDValue getUNDEF(EVT VT) const { return DAG.getUNDEF(VT); } in getUNDEF() 198 SDValue getConstant(uint64_t Val, EVT VT, bool IsTarget = false, 203 SDValue getBroadcast(EVT ResultVT, SDValue Scalar, SDValue AVL) const; 216 EVT getVectorVT(EVT ElemVT, unsigned NumElems) const { in getVectorVT() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUISelLowering.h | 107 static EVT getEquivalentMemType(LLVMContext &Context, EVT VT); 121 std::pair<EVT, EVT> getSplitDestVTs(const EVT &VT, SelectionDAG &DAG) const; 126 const EVT &LoVT, const EVT &HighVT, 161 bool isFAbsFree(EVT VT) const override; 162 bool isFNegFree(EVT VT) const override; 163 bool isTruncateFree(EVT Src, EVT Dest) const override; 167 bool isZExtFree(EVT Src, EVT Dest) const override; 175 bool isNarrowingProfitable(EVT VT1, EVT VT2) const override; 180 EVT getTypeForExtReturn(LLVMContext &Context, EVT VT, 193 bool isLoadBitCastBeneficial(EVT, EVT, const SelectionDAG &DAG, [all …]
|
H A D | SIISelLowering.h | 44 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT, 52 SDValue lowerKernargMemParameter(SelectionDAG &DAG, EVT VT, EVT MemVT, 66 EVT VT, 137 EVT VT) const; 140 SelectionDAG &DAG, EVT VT, EVT MemVT, const SDLoc &SL, SDValue Val, 172 EVT MemVT, 288 bool canMergeStoresTo(unsigned AS, EVT MemVT, 307 EVT VT, unsigned AS, Align Alignment, 311 EVT getOptimalMemOpType(const MemOp &Op, 327 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT, [all …]
|
H A D | R600ISelLowering.h | 46 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &, 47 EVT VT) const override; 49 bool canMergeStoresTo(unsigned AS, EVT MemVT, 53 EVT VT, unsigned AS, Align Alignment, 57 bool canCombineTruncStore(EVT ValVT, EVT MemVT, in canCombineTruncStore() 72 SDValue LowerImplicitParameter(SelectionDAG &DAG, EVT VT, const SDLoc &DL,
|
/openbsd/gnu/llvm/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 1093 bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const override { in isMultiStoresCheaperThanBitsMerge() 1153 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override { in shouldConvertFpToSat() 1318 bool isTruncateFree(EVT VT1, EVT VT2) const override; 1331 bool isZExtFree(EVT VT1, EVT VT2) const override; 1351 bool isNarrowingProfitable(EVT VT1, EVT VT2) const override; 1415 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT, 1442 bool isLoadBitCastBeneficial(EVT LoadVT, EVT BitcastVT, 1489 std::pair<SDValue, SDValue> BuildFILD(EVT DstVT, EVT SrcVT, const SDLoc &DL, 1508 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT, 1548 EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const override { in getTypeToTransformTo() [all …]
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeVectorTypes.cpp | 4779 EVT ExtVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_InregOp() 5230 EVT WideMaskVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MLOAD() 5256 EVT WideMaskVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MGATHER() 5263 EVT WideIndexVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MGATHER() 5271 EVT WideMemVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MGATHER() 5291 EVT WideMemVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_VP_GATHER() 5973 EVT ResVT = in WidenVecOp_IS_FPCLASS() 6058 EVT WideDstVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecOp_FP_TO_XINT_SAT() 6320 EVT WideMaskVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecOp_MSTORE() 6330 EVT WideVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecOp_MSTORE() [all …]
|
H A D | LegalizeTypesGeneric.cpp | 41 EVT OutVT = N->getValueType(0); in ExpandRes_BITCAST() 44 EVT InVT = InOp.getValueType(); in ExpandRes_BITCAST() 91 EVT LoVT, HiVT; in ExpandRes_BITCAST() 106 EVT ElemVT = NOutVT; in ExpandRes_BITCAST() 107 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 225 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldEltCount); in ExpandRes_EXTRACT_VECTOR_ELT() 347 EVT NVT = EVT::getVectorVT(*DAG.getContext(), in ExpandOp_BITCAST() 393 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewVT, NewElts.size()); in ExpandOp_BUILD_VECTOR() 421 EVT NewVecVT = EVT::getVectorVT(*DAG.getContext(), NewEVT, NumElts*2); in ExpandOp_INSERT_VECTOR_ELT() 444 EVT VT = N->getValueType(0); in ExpandOp_SCALAR_TO_VECTOR() [all …]
|
H A D | LegalizeFloatTypes.cpp | 773 EVT NVT = EVT(); in SoftenFloatRes_XINT_TO_FP() 948 static RTLIB::Libcall findFPToIntLibcall(EVT SrcVT, EVT RetVT, EVT &Promoted, in findFPToIntLibcall() 971 EVT NVT = EVT(); in SoftenFloatOp_FP_TO_XINT() 1090 EVT ILVT = EVT::getIntegerVT(*DAG.getContext(), LVT.getSizeInBits()); in SoftenFloatOp_FCOPYSIGN() 1937 EVT NVT; in ExpandFloatOp_FP_TO_XINT() 2074 static ISD::NodeType GetPromotionOpcode(EVT OpVT, EVT RetVT) { in GetPromotionOpcode() 2213 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatOp_STORE() 2329 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), in PromoteFloatRes_BITCAST() 2341 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_ConstantFP() 2479 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_FP_ROUND() [all …]
|
H A D | LegalizeIntegerTypes.cpp | 1022 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VTSize * 2); in earlyExpandDIVFIX() 1398 EVT TruncVT = EVT::getVectorVT(*DAG.getContext(), in PromoteIntRes_TRUNCATE() 3218 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); in ExpandIntRes_AssertSext() local 3240 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); in ExpandIntRes_AssertZext() local 3639 EVT NEVT = EVT::getIntegerVT(*DAG.getContext(), ExcessBits); in ExpandIntRes_LOAD() 4406 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); in ExpandIntRes_SIGN_EXTEND_INREG() local 4544 EVT WideVT = in ExpandIntRes_XMULO() 4788 EVT HalfVT = in ExpandIntRes_VSCALE() 5208 EVT HiVT = EVT::getIntegerVT(*DAG.getContext(), in ExpandIntOp_STORE() 5391 EVT NSubVT = in PromoteIntRes_INSERT_SUBVECTOR() [all …]
|
H A D | SelectionDAG.cpp | 6304 EVT EVT = cast<VTSDNode>(N2)->getVT(); in getNode() local 6316 EVT EVT = cast<VTSDNode>(N2)->getVT(); in getNode() local 9478 EVT *Array = Allocator.Allocate<EVT>(2); in getVTList() 9487 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3) { in getVTList() 9507 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4) { in getVTList() 9743 EVT VT1, EVT VT2, EVT VT3, in SelectNodeTo() 9961 EVT VT1, EVT VT2, EVT VT3, in getMachineNode() 9969 EVT VT1, EVT VT2, EVT VT3, in getMachineNode() 9978 EVT VT1, EVT VT2, EVT VT3, in getMachineNode() 11578 std::pair<EVT, EVT> SelectionDAG::GetSplitDestVTs(const EVT &VT) const { in GetSplitDestVTs() [all …]
|
H A D | LegalizeTypes.cpp | 247 EVT ResultVT = N->getValueType(i); in run() 314 EVT OpVT = Op.getValueType(); in run() 726 EVT VT = Result.getValueType(); in SetSoftenedFloat() 728 assert((VT == EVT::getIntegerVT(Ctx, 80) || in SetSoftenedFloat() 892 EVT EltNVT = EVT::getIntegerVT(*DAG.getContext(), EltWidth); in BitConvertVectorToIntegerVector() 899 EVT DestVT) { in CreateStackStoreLoad() 1003 EVT LVT = Lo.getValueType(); in JoinIntegers() 1004 EVT HVT = Hi.getValueType(); in JoinIntegers() 1005 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), in JoinIntegers() 1027 EVT LoVT, EVT HiVT, in SplitInteger() [all …]
|
/openbsd/gnu/llvm/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 18 EVT EVT::changeExtendedTypeToInteger() const { in changeExtendedTypeToInteger() 24 EVT EVT::changeExtendedVectorElementTypeToInteger() const { in changeExtendedVectorElementTypeToInteger() 31 EVT EVT::changeExtendedVectorElementType(EVT EltVT) const { in changeExtendedVectorElementType() 37 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getExtendedIntegerVT() 38 EVT VT; in getExtendedIntegerVT() 44 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements, in getExtendedVectorVT() 46 EVT ResultVT; in getExtendedVectorVT() 53 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getExtendedVectorVT() 54 EVT ResultVT; in getExtendedVectorVT() 120 EVT EVT::getExtendedVectorElementType() const { in getExtendedVectorElementType() [all …]
|
H A D | TargetLoweringBase.cpp | 233 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT() 265 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND() 308 RTLIB::Libcall RTLIB::getFPTOSINT(EVT OpVT, EVT RetVT) { in getFPTOSINT() 357 RTLIB::Libcall RTLIB::getFPTOUINT(EVT OpVT, EVT RetVT) { in getFPTOUINT() 406 RTLIB::Libcall RTLIB::getSINTTOFP(EVT OpVT, EVT RetVT) { in getSINTTOFP() 452 RTLIB::Libcall RTLIB::getUINTTOFP(EVT OpVT, EVT RetVT) { in getUINTTOFP() 1017 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion() 1094 EVT NVT = EVT::getVectorVT(Context, EltVT, in getTypeConversion() 1584 EVT PartVT = VT; in getVectorTypeBreakdown() 1621 EVT NewVT = EVT::getVectorVT(Context, EltTy, EltCnt); in getVectorTypeBreakdown() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 615 bool isTruncateFree(EVT VT1, EVT VT2) const override; 620 bool isZExtFree(EVT VT1, EVT VT2) const override; 648 EVT getOptimalMemOpType(const MemOp &Op, 690 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT, 784 EVT VT = Y.getValueType(); in hasAndNot() 809 auto VTIsOk = [](EVT VT) -> bool { in shouldTransformSignedTruncationCheck() 822 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override; 898 EVT getPromotedVTForPredicate(EVT VT) const; 903 bool shouldExpandGetActiveLaneMask(EVT VT, EVT OpVT) const override; 1159 bool shouldExtendGSIndex(EVT VT, EVT &EltTy) const override; [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.h | 360 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override; 361 bool isZExtFree(SDValue Val, EVT VT2) const override; 362 bool isSExtCheaperThanZExt(EVT SrcVT, EVT DstVT) const override; 383 bool isFPImmLegal(const APFloat &Imm, EVT VT, 385 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT, 412 bool hasBitPreservingFPLogic(EVT VT) const override; 414 shouldExpandBuildVectorWithShuffles(EVT VT, 463 EVT VT) const override; 578 unsigned NumParts, MVT PartVT, EVT ValueVT, 600 bool shouldRemoveExtendFromGSIndex(EVT IndexVT, EVT DataVT) const override; [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/CSKY/ |
H A D | CSKYISelLowering.h | 51 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context, 52 EVT VT) const override; 101 SDValue getTargetNode(GlobalAddressSDNode *N, SDLoc DL, EVT Ty, 104 SDValue getTargetNode(ExternalSymbolSDNode *N, SDLoc DL, EVT Ty, 110 SDValue getTargetNode(BlockAddressSDNode *N, SDLoc DL, EVT Ty, 113 SDValue getTargetNode(ConstantPoolSDNode *N, SDLoc DL, EVT Ty, 116 SDValue getTargetConstantPoolValue(GlobalAddressSDNode *N, EVT Ty, 122 SDValue getTargetConstantPoolValue(JumpTableSDNode *N, EVT Ty, 125 SDValue getTargetConstantPoolValue(BlockAddressSDNode *N, EVT Ty, 128 SDValue getTargetConstantPoolValue(ConstantPoolSDNode *N, EVT Ty, [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.h | 64 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context, 65 EVT VT) const override; 67 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override; 108 EVT getOptimalMemOpType(const MemOp &Op, in getOptimalMemOpType() 113 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap() 129 EVT NewVT) const override { in shouldReduceLoadWidth() 141 bool isTruncateFree(EVT VT1, EVT VT2) const override; 145 bool isZExtFree(EVT VT1, EVT VT2) const override;
|
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/ |
H A D | SystemZISelLowering.h | 417 getNumRegisters(LLVMContext &Context, EVT VT, in getNumRegisters() 427 EVT ScVT = VT.getScalarType(); in hasBitPreservingFPLogic() 438 EVT) const override; 441 bool isFPImmLegal(const APFloat &Imm, EVT VT, 461 EVT getOptimalMemOpType(const MemOp &Op, 464 bool isTruncateFree(EVT, EVT) const override; in isTruncateFree() argument 563 unsigned NumParts, MVT PartVT, EVT ValueVT, 621 const SDLoc &DL, EVT VT, 690 bool canTreatAsByteVector(EVT VT) const; 691 SDValue combineExtract(const SDLoc &DL, EVT ElemVT, EVT VecVT, SDValue OrigOp, [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/Mips/ |
H A D | MipsISelLowering.h | 283 EVT getTypeForExtReturn(LLVMContext &Context, EVT VT, 295 EVT VT) const override; 301 EVT VT) const override; 305 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT, 336 EVT VT) const override; 375 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const; 433 SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPIC() 450 SDValue getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPICSym64() 477 SDValue getAddrGPRel(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrGPRel() 666 EVT getOptimalMemOpType(const MemOp &Op, [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 417 EVT VT) const override; 451 EVT getOptimalMemOpType(const MemOp &Op, 455 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override; 461 bool isFNegFree(EVT VT) const override; 597 bool isFPImmLegal(const APFloat &Imm, EVT VT, 612 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT, 615 bool shouldFormOverflowOp(unsigned Opcode, EVT VT, in shouldFormOverflowOp() 696 bool hasStandaloneRem(EVT VT) const override { in hasStandaloneRem() 740 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override; 901 unsigned NumParts, MVT PartVT, EVT ValueVT, [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.h | 78 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override { in getScalarShiftAmountTy() argument 117 bool isTruncateFree(EVT VT1, EVT VT2) const override; 128 bool isZExtFree(EVT VT1, EVT VT2) const override; 129 bool isZExtFree(SDValue Val, EVT VT2) const override; 132 bool shouldAvoidTransformToShift(EVT VT, unsigned Amount) const override;
|