/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeIntegerTypes.cpp | 416 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(1)); in PromoteIntRes_AtomicCmpSwap() local 421 SVT = NVT; in PromoteIntRes_AtomicCmpSwap() 430 return DAG.getSExtOrTrunc(Res.getValue(1), SDLoc(N), NVT); in PromoteIntRes_AtomicCmpSwap() 573 EVT NVT = Op.getValueType(); in PromoteIntRes_BSWAP() local 581 !TLI.isOperationLegalOrCustomOrPromote(ISD::BSWAP, NVT)) { in PromoteIntRes_BSWAP() 583 return DAG.getNode(ISD::ANY_EXTEND, dl, NVT, Res); in PromoteIntRes_BSWAP() 586 unsigned DiffBits = NVT.getScalarSizeInBits() - OVT.getScalarSizeInBits(); in PromoteIntRes_BSWAP() 587 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); in PromoteIntRes_BSWAP() 589 return DAG.getNode(ISD::SRL, dl, NVT, DAG.getNode(ISD::BSWAP, dl, NVT, Op), in PromoteIntRes_BSWAP() 593 return DAG.getNode(ISD::VP_SRL, dl, NVT, in PromoteIntRes_BSWAP() [all …]
|
H A D | LegalizeFloatTypes.cpp | 182 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_Unary() local 191 std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall(DAG, LC, NVT, Op, in SoftenFloatRes_Unary() 201 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_Binary() local 212 std::pair<SDValue, SDValue> Tmp = TLI.makeLibCall(DAG, LC, NVT, Ops, in SoftenFloatRes_Binary() 293 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FABS() local 294 unsigned Size = NVT.getSizeInBits(); in SoftenFloatRes_FABS() 299 SDValue Mask = DAG.getConstant(API, SDLoc(N), NVT); in SoftenFloatRes_FABS() 301 return DAG.getNode(ISD::AND, SDLoc(N), NVT, Op, Mask); in SoftenFloatRes_FABS() 506 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); in SoftenFloatRes_FMA() local 524 NVT, Ops, CallOptions, SDLoc(N), Chain); in SoftenFloatRes_FMA() [all …]
|
H A D | LegalizeTypesGeneric.cpp | 107 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() local 110 while (!isTypeLegal(NVT)) { in ExpandRes_BITCAST() 117 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); in ExpandRes_BITCAST() 120 if (isTypeLegal(NVT)) { in ExpandRes_BITCAST() 121 SDValue CastInOp = DAG.getNode(ISD::BITCAST, dl, NVT, InOp); in ExpandRes_BITCAST() 255 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), ValueVT); in ExpandRes_NormalLoad() local 260 assert(NVT.isByteSized() && "Expanded type not byte sized!"); in ExpandRes_NormalLoad() 262 Lo = DAG.getLoad(NVT, dl, Chain, Ptr, LD->getPointerInfo(), in ExpandRes_NormalLoad() 267 unsigned IncrementSize = NVT.getSizeInBits() / 8; in ExpandRes_NormalLoad() 270 NVT, d in ExpandRes_NormalLoad() 289 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), OVT); ExpandRes_VAARG() local 347 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ExpandOp_BITCAST() local 464 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), ValueVT); ExpandOp_NormalStore() local [all...] |
H A D | LegalizeDAG.cpp | 127 SDValue ShuffleWithNarrowerEltType(EVT NVT, EVT VT, const SDLoc &dl, 282 EVT NVT, EVT VT, const SDLoc &dl, SDValue N1, SDValue N2, in ShuffleWithNarrowerEltType() argument 285 unsigned NumDestElts = NVT.getVectorNumElements(); in ShuffleWithNarrowerEltType() 291 return DAG.getVectorShuffle(NVT, dl, N1, N2, Mask); in ShuffleWithNarrowerEltType() 304 assert(TLI.isShuffleMaskLegal(NewMask, NVT) && "Shuffle not legal?"); in ShuffleWithNarrowerEltType() 305 return DAG.getVectorShuffle(NVT, dl, N1, N2, NewMask); in ShuffleWithNarrowerEltType() 519 MVT NVT = TLI.getTypeToPromoteTo(ISD::STORE, VT); in LegalizeStoreOps() local 520 assert(NVT.getSizeInBits() == VT.getSizeInBits() && in LegalizeStoreOps() 522 Value = DAG.getNode(ISD::BITCAST, dl, NVT, Value); in LegalizeStoreOps() 543 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), StSize.getFixedValue()); in LegalizeStoreOps() local [all …]
|
H A D | LegalizeTypes.cpp | 987 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), Pair.getValueType()); in GetPairElements() local 988 std::tie(Lo, Hi) = DAG.SplitScalar(Pair, dl, NVT, NVT); in GetPairElements() 998 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), in JoinIntegers() local 1001 EVT ShiftAmtVT = TLI.getShiftAmountTy(NVT, DAG.getDataLayout()); in JoinIntegers() 1002 Lo = DAG.getNode(ISD::ZERO_EXTEND, dlLo, NVT, Lo); in JoinIntegers() 1003 Hi = DAG.getNode(ISD::ANY_EXTEND, dlHi, NVT, Hi); in JoinIntegers() 1004 Hi = DAG.getNode(ISD::SHL, dlHi, NVT, Hi, in JoinIntegers() 1006 return DAG.getNode(ISD::OR, dlHi, NVT, Lo, Hi); in JoinIntegers()
|
H A D | LegalizeVectorOps.cpp | 710 MVT NVT = TLI.getTypeToPromoteTo(Node->getOpcode(), VT); in Promote() local 723 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint()) in Promote() 724 Operands[j] = DAG.getNode(ISD::FP_EXTEND, dl, NVT, Node->getOperand(j)); in Promote() 726 Operands[j] = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(j)); in Promote() 732 DAG.getNode(Node->getOpcode(), dl, NVT, Operands, Node->getFlags()); in Promote() 734 if ((VT.isFloatingPoint() && NVT.isFloatingPoint()) || in Promote() 736 NVT.isVector() && NVT.getVectorElementType().isFloatingPoint())) in Promote() 751 MVT NVT = TLI.getTypeToPromoteTo(Node->getOpcode(), VT); in PromoteINT_TO_FP() local 752 assert(NVT.getVectorNumElements() == VT.getVectorNumElements() && in PromoteINT_TO_FP() 764 Operands[j] = DAG.getNode(Opc, dl, NVT, Node->getOperand(j)); in PromoteINT_TO_FP() [all …]
|
H A D | LegalizeVectorTypes.cpp | 675 EVT NVT = N->getValueType(0).getVectorElementType(); in ScalarizeVecRes_SETCC() local 697 return DAG.getNode(ExtendCode, DL, NVT, Res); in ScalarizeVecRes_SETCC() 920 EVT NVT = VT.getVectorElementType(); in ScalarizeVecOp_VSETCC() local 931 Res = DAG.getNode(ExtendCode, DL, NVT, Res); in ScalarizeVecOp_VSETCC() 2978 EVT NVT = OVT.getHalfNumVectorElementsVT(*DAG.getContext()); in SplitVecRes_VAARG() local 2985 DAG.getDataLayout().getABITypeAlign(NVT.getTypeForEVT(*DAG.getContext())); in SplitVecRes_VAARG() 2987 Lo = DAG.getVAArg(NVT, dl, Chain, Ptr, SV, Alignment.value()); in SplitVecRes_VAARG() 2988 Hi = DAG.getVAArg(NVT, dl, Lo.getValue(1), Ptr, SV, Alignment.value()); in SplitVecRes_VAARG() 7716 SDValue DAGTypeLegalizer::ModifyToType(SDValue InOp, EVT NVT, in ModifyToType() argument 7721 assert(InVT.getVectorElementType() == NVT.getVectorElementType() && in ModifyToType() [all …]
|
H A D | DAGCombiner.cpp | 14996 EVT NVT = EVT::getVectorVT(*DAG.getContext(), TrTy, NewEltCnt); in visitTRUNCATE() local 14997 assert(NVT.getSizeInBits() == VecTy.getSizeInBits() && "Invalid Size"); in visitTRUNCATE() 15000 if (isa<ConstantSDNode>(EltNo) && isTypeLegal(NVT)) { in visitTRUNCATE() 15004 DAG.getBitcast(NVT, N0.getOperand(0)), in visitTRUNCATE() 24239 EVT NVT = EVT::getVectorVT(*DAG.getContext(), SclTy, VNTNumElms); in visitCONCAT_VECTORS() local 24240 if (!TLI.isTypeLegal(NVT) || !TLI.isTypeLegal(Scalar.getValueType())) in visitCONCAT_VECTORS() 24243 SDValue Res = DAG.getNode(ISD::SCALAR_TO_VECTOR, SDLoc(N), NVT, Scalar); in visitCONCAT_VECTORS() 24764 EVT NVT = N->getValueType(0); in visitEXTRACT_SUBVECTOR() local 24771 return DAG.getUNDEF(NVT); in visitEXTRACT_SUBVECTOR() 24773 if (TLI.isOperationLegalOrCustomOrPromote(ISD::LOAD, NVT)) in visitEXTRACT_SUBVECTOR() [all …]
|
H A D | TargetLowering.cpp | 1062 EVT NVT = EVT::getIntegerVT(*DAG.getContext(), llvm::bit_ceil(MinWidth)); in combineShiftToAVG() local 1063 if (NVT.getScalarSizeInBits() > VT.getScalarSizeInBits()) in combineShiftToAVG() 1066 NVT = EVT::getVectorVT(*DAG.getContext(), NVT, VT.getVectorElementCount()); in combineShiftToAVG() 1067 if (TLO.LegalTypes() && !TLI.isOperationLegal(AVGOpc, NVT)) { in combineShiftToAVG() 1076 NVT = VT; in combineShiftToAVG() 1083 if (!IsCeil && !TLI.isOperationLegal(AVGOpc, NVT) && in combineShiftToAVG() 1089 DAG.getNode(AVGOpc, DL, NVT, DAG.getExtOrTrunc(IsSigned, ExtOpA, DL, NVT), in combineShiftToAVG() 1090 DAG.getExtOrTrunc(IsSigned, ExtOpB, DL, NVT)); in combineShiftToAVG()
|
H A D | LegalizeTypes.h | 1122 SDValue ModifyToType(SDValue InOp, EVT NVT, bool FillWithZeroes = false);
|
H A D | SelectionDAG.cpp | 7930 EVT NVT = TLI.getTypeToTransformTo(C, VT); in getMemcpyLoadsAndStores() local 7931 assert(NVT.bitsGE(VT)); in getMemcpyLoadsAndStores() 7942 ISD::EXTLOAD, dl, NVT, Chain, in getMemcpyLoadsAndStores()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelDAGToDAG.cpp | 3791 MVT NVT = Node->getSimpleValueType(0); in matchBitExtract() local 3794 if (NVT != MVT::i32 && NVT != MVT::i64) in matchBitExtract() 3850 auto isAllOnes = [this, peekThroughOneUseTruncation, NVT](SDValue V) { in matchBitExtract() 3854 NVT.getSizeInBits())); in matchBitExtract() 3971 X = CurDAG->getAllOnesConstant(SDLoc(Node), NVT); in matchBitExtract() 4002 SDValue BitWidthC = CurDAG->getConstant(NVT.getSizeInBits(), DL, MVT::i32); in matchBitExtract() 4011 if (NVT != MVT::i32) { in matchBitExtract() 4013 NBits = CurDAG->getNode(ISD::ANY_EXTEND, DL, NVT, NBits); in matchBitExtract() 4017 SDValue Extract = CurDAG->getNode(X86ISD::BZHI, DL, NVT, X, NBits); in matchBitExtract() 4079 if (XVT != NVT) { in matchBitExtract() [all …]
|
H A D | X86ISelLowering.cpp | 6836 EVT NVT = EVT::getVectorVT(*DAG.getContext(), PVT, NumElems); in LowerAsSplatVectorLoad() local 6837 SDValue V1 = DAG.getLoad(NVT, dl, Chain, Ptr, in LowerAsSplatVectorLoad() 6842 return DAG.getVectorShuffle(NVT, dl, V1, DAG.getUNDEF(NVT), Mask); in LowerAsSplatVectorLoad() 17785 MVT NVT = VT.changeVectorElementTypeToInteger(); in LowerVSELECT() local 17786 return DAG.getBitcast(VT, DAG.getNode(ISD::VSELECT, dl, NVT, Cond, in LowerVSELECT() 17787 DAG.getBitcast(NVT, LHS), in LowerVSELECT() 17788 DAG.getBitcast(NVT, RHS))); in LowerVSELECT() 19305 MVT NVT = VT.isVector() ? VT.changeVectorElementType(MVT::f32) : MVT::f32; in promoteXINT_TO_FP() local 19312 DAG.getNode(Op.getOpcode(), dl, {NVT, MVT::Other}, {Chain, Src}), in promoteXINT_TO_FP() 19315 DAG.getNode(Op.getOpcode(), dl, NVT, Src), Rnd); in promoteXINT_TO_FP() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringBase.cpp | 929 MVT NVT = TransformToType[SVT.SimpleTy]; in getTypeConversion() local 934 (NVT.isVector() || in getTypeConversion() 935 ValueTypeActions.getTypeAction(NVT) != TypePromoteInteger)) && in getTypeConversion() 942 return LegalizeKind(LA, NVT); in getTypeConversion() 951 EVT NVT = VT.getRoundIntegerType(Context); in getTypeConversion() local 952 assert(NVT != VT && "Unable to round integer VT"); in getTypeConversion() 953 LegalizeKind NextStep = getTypeConversion(Context, NVT); in getTypeConversion() 958 return LegalizeKind(TypePromoteInteger, NVT); in getTypeConversion() 981 EVT NVT = EVT::getVectorVT(Context, EltVT, NumElts); in getTypeConversion() local 982 return LegalizeKind(TypeWidenVector, NVT); in getTypeConversion() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetLowering.h | 1640 MVT NVT = VT; in getTypeToPromoteTo() local 1642 NVT = (MVT::SimpleValueType)(NVT.SimpleTy+1); in getTypeToPromoteTo() 1643 assert(NVT.isInteger() == VT.isInteger() && NVT != MVT::isVoid && in getTypeToPromoteTo() 1645 } while (VTBits >= NVT.getScalarSizeInBits() || !isTypeLegal(NVT) || in getTypeToPromoteTo() 1646 getOperationAction(Op, NVT) == Promote); in getTypeToPromoteTo() 1647 return NVT; in getTypeToPromoteTo()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizerHelper.cpp | 5203 LLT NVT = HalfTy; in narrowScalarShiftByConstant() local 5210 Lo = Hi = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 5212 Lo = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 5213 Hi = MIRBuilder.buildShl(NVT, InL, in narrowScalarShiftByConstant() 5216 Lo = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() 5219 Lo = MIRBuilder.buildShl(NVT, InL, MIRBuilder.buildConstant(AmtTy, Amt)); in narrowScalarShiftByConstant() 5221 MIRBuilder.buildShl(NVT, InH, MIRBuilder.buildConstant(AmtTy, Amt)); in narrowScalarShiftByConstant() 5223 NVT, InL, MIRBuilder.buildConstant(AmtTy, -Amt + NVTBits)); in narrowScalarShiftByConstant() 5224 Hi = MIRBuilder.buildOr(NVT, OrLHS, OrRHS); in narrowScalarShiftByConstant() 5228 Lo = Hi = MIRBuilder.buildConstant(NVT, 0); in narrowScalarShiftByConstant() [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | mail.local.linux | 138 M:RT'<]('8M,L:N4?VJUC\-NVT:(P+(47W?#6'+']>@?_FB/FOJ]W_P5G,+"/
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVISelLowering.cpp | 6538 MVT NVT = in LowerOperation() local 6540 SDValue NC = DAG.getNode(Op.getOpcode(), DL, NVT, Op->ops()); in LowerOperation() 6557 MVT NVT = MVT::getVectorVT(MVT::f32, in LowerOperation() local 6559 SDValue WidenVec = DAG.getNode(ISD::FP_EXTEND, DL, NVT, Op1); in LowerOperation() 7175 MVT NVT = in LowerOperation() local 7177 auto NC = DAG.getNode(Op.getOpcode(), DL, NVT, Op->ops()); in LowerOperation() 7194 MVT NVT = MVT::getVectorVT(MVT::f32, in LowerOperation() local 7196 SDValue WidenVec = DAG.getNode(ISD::FP_EXTEND, DL, NVT, Op1); in LowerOperation()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 19362 EVT NVT = EVT::getVectorVT(*DAG.getContext(), FVT, N->getNumOperands()); in performConcatVectorsCombine() local 19378 DAG.getBuildVector(NVT, dl, Ops)); in performConcatVectorsCombine()
|