Home
last modified time | relevance | path

Searched refs:EVT (Results 1 – 25 of 173) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DValueTypes.h34 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
401 return EVT(MVT::i8); in getRoundIntegerType()
413 EVT HalfVT = EVT((MVT::SimpleValueType)IntVT); in getHalfSizedIntegerVT()
498 bool operator()(EVT L, EVT R) const { in operator() argument
511 EVT changeExtendedVectorElementType(EVT EltVT) const;
514 static EVT getExtendedVectorVT(LLVMContext &C, EVT VT, unsigned NumElements,
[all …]
H A DRuntimeLibcalls.h38 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);
75 Libcall getLDEXP(EVT RetVT);
79 Libcall getFREXP(EVT RetVT);
H A DSelectionDAG.h105 const EVT *VTs;
640 SDVTList getVTList(EVT VT1, EVT VT2);
641 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3);
642 SDVTList getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4);
689 SDValue getBoolConstant(bool V, const SDLoc &DL, EVT VT, EVT OpVT);
1671 EVT VT2, EVT VT3, ArrayRef<SDValue> Ops);
1913 SDValue CreateStackTemporary(EVT VT1, EVT VT2);
2250 std::pair<EVT, EVT> GetSplitDestVTs(const EVT &VT) const;
2255 std::pair<EVT, EVT> GetDependentSplitDestVTs(const EVT &VT, const EVT &EnvVT,
2265 EVT LoVT, HiVT;
[all …]
H A DTargetLowering.h408 EVT getShiftAmountTy(EVT LHSTy, const DataLayout &DL,
877 virtual bool preferSextInRegOfTruncate(EVT TruncVT, EVT VT, EVT ExtVT) const { in preferSextInRegOfTruncate()
960 EVT BoolVT = in promoteTargetBoolean()
1102 EVT getTypeToExpandTo(LLVMContext &Context, EVT VT) const { in getTypeToExpandTo()
1429 bool isTruncStoreLegal(EVT ValVT, EVT MemVT) const { in isTruncStoreLegal()
1441 virtual bool canCombineTruncStore(EVT ValVT, EVT MemVT, in canCombineTruncStore()
1651 EVT VT1; in getRegisterType()
1684 EVT VT1;
1885 virtual EVT
2352 virtual bool shouldUseStrictFP_TO_INT(EVT FpVT, EVT IntVT, in shouldUseStrictFP_TO_INT()
[all …]
H A DAnalysis.h30 struct EVT;
66 SmallVectorImpl<EVT> &ValueVTs,
70 SmallVectorImpl<EVT> &ValueVTs,
74 SmallVectorImpl<EVT> &ValueVTs,
80 SmallVectorImpl<EVT> &ValueVTs,
81 SmallVectorImpl<EVT> *MemVTs,
85 SmallVectorImpl<EVT> &ValueVTs,
86 SmallVectorImpl<EVT> *MemVTs,
90 SmallVectorImpl<EVT> &ValueVTs,
91 SmallVectorImpl<EVT> *MemVTs,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVECustomDAG.h32 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 …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.h1057 bool preferSextInRegOfTruncate(EVT TruncVT, EVT VT,
1112 bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const override { in isMultiStoresCheaperThanBitsMerge()
1177 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override { in shouldConvertFpToSat()
1341 bool isTruncateFree(EVT VT1, EVT VT2) const override;
1354 bool isZExtFree(EVT VT1, EVT VT2) const override;
1374 bool isNarrowingProfitable(EVT SrcVT, EVT DestVT) const override;
1438 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT,
1465 bool isLoadBitCastBeneficial(EVT LoadVT, EVT BitcastVT,
1531 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
1574 EVT getTypeToTransformTo(LLVMContext &Context, EVT VT) const override { in getTypeToTransformTo()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h136 static EVT getEquivalentMemType(LLVMContext &Context, EVT VT);
150 std::pair<EVT, EVT> getSplitDestVTs(const EVT &VT, SelectionDAG &DAG) const;
155 const EVT &LoVT, const EVT &HighVT,
191 bool isFAbsFree(EVT VT) const override;
192 bool isFNegFree(EVT VT) const override;
193 bool isTruncateFree(EVT Src, EVT Dest) const override;
197 bool isZExtFree(EVT Src, EVT Dest) const override;
204 bool isNarrowingProfitable(EVT SrcVT, EVT DestVT) const override;
209 EVT getTypeForExtReturn(LLVMContext &Context, EVT VT,
222 bool isLoadBitCastBeneficial(EVT, EVT, const SelectionDAG &DAG,
[all …]
H A DSIISelLowering.h44 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
52 SDValue lowerKernargMemParameter(SelectionDAG &DAG, EVT VT, EVT MemVT,
66 EVT VT,
140 EVT VT) const;
143 SelectionDAG &DAG, EVT VT, EVT MemVT, const SDLoc &SL, SDValue Val,
179 EVT MemVT,
317 bool canMergeStoresTo(unsigned AS, EVT MemVT,
336 EVT VT, unsigned AS, Align Alignment,
340 EVT getOptimalMemOpType(const MemOp &Op,
356 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT,
[all …]
H A DR600ISelLowering.h46 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,
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeVectorTypes.cpp5011 EVT ExtVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_InregOp()
5477 EVT WideMaskVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MLOAD()
5503 EVT WideMaskVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MGATHER()
5510 EVT WideIndexVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MGATHER()
5518 EVT WideMemVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_MGATHER()
5538 EVT WideMemVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecRes_VP_GATHER()
6231 EVT ResVT = in WidenVecOp_IS_FPCLASS()
6316 EVT WideDstVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecOp_FP_TO_XINT_SAT()
6603 EVT WideMaskVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecOp_MSTORE()
6613 EVT WideVT = EVT::getVectorVT(*DAG.getContext(), in WidenVecOp_MSTORE()
[all …]
H A DLegalizeTypesGeneric.cpp41 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 DLegalizeFloatTypes.cpp857 EVT NVT = EVT(); in SoftenFloatRes_XINT_TO_FP()
1031 static RTLIB::Libcall findFPToIntLibcall(EVT SrcVT, EVT RetVT, EVT &Promoted, in findFPToIntLibcall()
1054 EVT NVT = EVT(); in SoftenFloatOp_FP_TO_XINT()
2038 EVT NVT; in ExpandFloatOp_FP_TO_XINT()
2175 static ISD::NodeType GetPromotionOpcode(EVT OpVT, EVT RetVT) { in GetPromotionOpcode()
2189 static ISD::NodeType GetPromotionOpcodeStrict(EVT OpVT, EVT RetVT) { in GetPromotionOpcodeStrict()
2358 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatOp_STORE()
2481 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), in PromoteFloatRes_BITCAST()
2493 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_ConstantFP()
2642 EVT IVT = EVT::getIntegerVT(*DAG.getContext(), VT.getSizeInBits()); in PromoteFloatRes_FP_ROUND()
[all …]
H A DLegalizeIntegerTypes.cpp1103 EVT WideVT = EVT::getIntegerVT(*DAG.getContext(), VTSize * 2); in earlyExpandDIVFIX()
1539 EVT TruncVT = EVT::getVectorVT(*DAG.getContext(), in PromoteIntRes_TRUNCATE()
3521 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); in ExpandIntRes_AssertSext() local
3543 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); in ExpandIntRes_AssertZext() local
3914 EVT NEVT = EVT::getIntegerVT(*DAG.getContext(), ExcessBits); in ExpandIntRes_LOAD()
4681 EVT EVT = cast<VTSDNode>(N->getOperand(1))->getVT(); in ExpandIntRes_SIGN_EXTEND_INREG() local
4819 EVT WideVT = in ExpandIntRes_XMULO()
5063 EVT HalfVT = in ExpandIntRes_VSCALE()
5472 EVT HiVT = EVT::getIntegerVT(*DAG.getContext(), in ExpandIntOp_STORE()
5646 EVT NSubVT = in PromoteIntRes_INSERT_SUBVECTOR()
[all …]
H A DSelectionDAG.cpp6748 EVT EVT = cast<VTSDNode>(N2)->getVT(); in getNode() local
6760 EVT EVT = cast<VTSDNode>(N2)->getVT(); in getNode() local
10066 EVT *Array = Allocator.Allocate<EVT>(2); in getVTList()
10075 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3) { in getVTList()
10095 SDVTList SelectionDAG::getVTList(EVT VT1, EVT VT2, EVT VT3, EVT VT4) { in getVTList()
10331 EVT VT1, EVT VT2, EVT VT3, in SelectNodeTo()
10549 EVT VT1, EVT VT2, EVT VT3, in getMachineNode()
10557 EVT VT1, EVT VT2, EVT VT3, in getMachineNode()
10566 EVT VT1, EVT VT2, EVT VT3, in getMachineNode()
12276 std::pair<EVT, EVT> SelectionDAG::GetSplitDestVTs(const EVT &VT) const { in GetSplitDestVTs()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp19 EVT EVT::changeExtendedTypeToInteger() const { in changeExtendedTypeToInteger()
25 EVT EVT::changeExtendedVectorElementTypeToInteger() const { in changeExtendedVectorElementTypeToInteger()
32 EVT EVT::changeExtendedVectorElementType(EVT EltVT) const { in changeExtendedVectorElementType()
38 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { in getExtendedIntegerVT()
39 EVT VT; in getExtendedIntegerVT()
45 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, unsigned NumElements, in getExtendedVectorVT()
47 EVT ResultVT; in getExtendedVectorVT()
54 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, ElementCount EC) { in getExtendedVectorVT()
55 EVT ResultVT; in getExtendedVectorVT()
129 EVT EVT::getExtendedVectorElementType() const { in getExtendedVectorElementType()
[all …]
H A DTargetLoweringBase.cpp245 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT()
277 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND()
320 RTLIB::Libcall RTLIB::getFPTOSINT(EVT OpVT, EVT RetVT) { in getFPTOSINT()
369 RTLIB::Libcall RTLIB::getFPTOUINT(EVT OpVT, EVT RetVT) { in getFPTOUINT()
418 RTLIB::Libcall RTLIB::getSINTTOFP(EVT OpVT, EVT RetVT) { in getSINTTOFP()
464 RTLIB::Libcall RTLIB::getUINTTOFP(EVT OpVT, EVT RetVT) { in getUINTTOFP()
1063 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion()
1140 EVT NVT = EVT::getVectorVT(Context, EltVT, in getTypeConversion()
1629 EVT PartVT = VT; in getVectorTypeBreakdown()
1666 EVT NewVT = EVT::getVectorVT(Context, EltTy, EltCnt); in getVectorTypeBreakdown()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h449 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override;
451 bool isSExtCheaperThanZExt(EVT SrcVT, EVT DstVT) const override;
473 bool isFPImmLegal(const APFloat &Imm, EVT VT,
475 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT,
508 bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const override { in isMultiStoresCheaperThanBitsMerge()
525 shouldExpandBuildVectorWithShuffles(EVT VT,
593 EVT VT) const override;
615 bool isCtpopFast(EVT VT) const override;
723 EVT getOptimalMemOpType(const MemOp &Op,
768 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.h51 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,
122 SDValue getTargetConstantPoolValue(JumpTableSDNode *N, EVT Ty,
125 SDValue getTargetConstantPoolValue(BlockAddressSDNode *N, EVT Ty,
128 SDValue getTargetConstantPoolValue(ConstantPoolSDNode *N, EVT Ty,
134 EVT Ty = getPointerTy(DAG.getDataLayout());
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h64 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
65 EVT VT) const override;
67 MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override;
111 EVT getOptimalMemOpType(const MemOp &Op, in getOptimalMemOpType()
116 bool isIntDivCheap(EVT VT, AttributeList Attr) const override { return true; } in isIntDivCheap()
132 EVT NewVT) const override { in shouldReduceLoadWidth()
144 bool isTruncateFree(EVT VT1, EVT VT2) const override;
148 bool isZExtFree(EVT VT1, EVT VT2) const override;
149 bool isZExtFree(SDValue Val, EVT VT2) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h659 bool isTruncateFree(EVT VT1, EVT VT2) const override;
664 bool isZExtFree(EVT VT1, EVT VT2) const override;
698 EVT getOptimalMemOpType(const MemOp &Op,
720 bool generateFMAsInMachineCombiner(EVT VT,
751 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT,
847 EVT VT = Y.getValueType(); in hasAndNot()
872 auto VTIsOk = [](EVT VT) -> bool { in shouldTransformSignedTruncationCheck()
885 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override;
960 EVT getPromotedVTForPredicate(EVT VT) const;
965 bool shouldExpandGetActiveLaneMask(EVT VT, EVT OpVT) const override;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.h439 getNumRegisters(LLVMContext &Context, EVT VT, in getNumRegisters()
466 EVT) const override;
469 bool isFPImmLegal(const APFloat &Imm, EVT VT,
491 EVT getOptimalMemOpType(const MemOp &Op,
494 bool isTruncateFree(EVT, EVT) const override; in isTruncateFree() argument
496 bool shouldFormOverflowOp(unsigned Opcode, EVT VT,
589 unsigned NumParts, MVT PartVT, EVT ValueVT,
651 const SDLoc &DL, EVT VT,
720 bool canTreatAsByteVector(EVT VT) const;
721 SDValue combineExtract(const SDLoc &DL, EVT ElemVT, EVT VecVT, SDValue OrigOp,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.h281 EVT getTypeForExtReturn(LLVMContext &Context, EVT VT,
293 EVT VT) const override;
299 EVT VT) const override;
303 LLVMContext &Context, CallingConv::ID CC, EVT VT, EVT &IntermediateVT,
334 EVT VT) const override;
373 SDValue getGlobalReg(SelectionDAG &DAG, EVT Ty) const;
431 SDValue getAddrNonPIC(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPIC()
448 SDValue getAddrNonPICSym64(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrNonPICSym64()
475 SDValue getAddrGPRel(NodeTy *N, const SDLoc &DL, EVT Ty, in getAddrGPRel()
663 EVT getOptimalMemOpType(const MemOp &Op,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h424 EVT VT) const override;
458 EVT getOptimalMemOpType(const MemOp &Op,
462 bool isTruncateFree(EVT SrcVT, EVT DstVT) const override;
468 bool isFNegFree(EVT VT) const override;
604 bool isFPImmLegal(const APFloat &Imm, EVT VT,
619 bool isExtractSubvectorCheap(EVT ResVT, EVT SrcVT,
622 bool shouldFormOverflowOp(unsigned Opcode, EVT VT, in shouldFormOverflowOp()
707 bool hasStandaloneRem(EVT VT) const override { in hasStandaloneRem()
754 bool shouldConvertFpToSat(unsigned Op, EVT FPVT, EVT VT) const override;
913 unsigned NumParts, MVT PartVT, EVT ValueVT,
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.h182 EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
183 EVT VT) const override;
197 EVT VT) const override;
215 bool decomposeMulByConstant(LLVMContext &Context, EVT VT,
226 bool isZExtFree(SDValue Val, EVT VT2) const override;
227 bool isSExtCheaperThanZExt(EVT SrcVT, EVT DstVT) const override;
231 bool convertSelectOfConstantsToMath(EVT VT) const override { return true; } in convertSelectOfConstantsToMath()
234 EVT VT, unsigned AddrSpace = 0, Align Alignment = Align(1),
238 bool isShuffleMaskLegal(ArrayRef<int> Mask, EVT VT) const override { in isShuffleMaskLegal()
294 bool isFPImmLegal(const APFloat &Imm, EVT VT,

1234567