Home
last modified time | relevance | path

Searched refs:OpVT (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DRuntimeLibcalls.h47 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);
H A DSelectionDAG.h689 SDValue getBoolConstant(bool V, const SDLoc &DL, EVT VT, EVT OpVT);
1004 SDValue getBoolExtOrTrunc(SDValue Op, const SDLoc &SL, EVT VT, EVT OpVT);
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp246 if (OpVT == MVT::f16) { in getFPEXT()
279 if (OpVT == MVT::f32) in getFPROUND()
281 if (OpVT == MVT::f64) in getFPROUND()
283 if (OpVT == MVT::f80) in getFPROUND()
290 if (OpVT == MVT::f32) in getFPROUND()
292 if (OpVT == MVT::f64) in getFPROUND()
295 if (OpVT == MVT::f64) in getFPROUND()
297 if (OpVT == MVT::f80) in getFPROUND()
304 if (OpVT == MVT::f80) in getFPROUND()
321 if (OpVT == MVT::f16) { in getFPTOSINT()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp1224 return SoftenFloatOp_Unary(N, GetFPLibCall(OpVT, in SoftenFloatOp_LROUND()
1234 return SoftenFloatOp_Unary(N, GetFPLibCall(OpVT, in SoftenFloatOp_LLROUND()
1244 return SoftenFloatOp_Unary(N, GetFPLibCall(OpVT, in SoftenFloatOp_LRINT()
1254 return SoftenFloatOp_Unary(N, GetFPLibCall(OpVT, in SoftenFloatOp_LLRINT()
2176 if (OpVT == MVT::f16) { in GetPromotionOpcode()
2180 } else if (OpVT == MVT::bf16) { in GetPromotionOpcode()
2190 if (OpVT == MVT::f16) in GetPromotionOpcodeStrict()
2196 if (OpVT == MVT::bf16) { in GetPromotionOpcodeStrict()
2256 EVT OpVT = Op->getValueType(0); in PromoteFloatOp_BITCAST() local
2640 EVT OpVT = Op->getValueType(0); in PromoteFloatRes_FP_ROUND() local
[all …]
H A DTargetLowering.cpp3919 EVT OpVT = N0.getValueType(); in foldSetCCWithAnd() local
3979 assert(OpVT.isInteger()); in foldSetCCWithAnd()
4188 EVT OpVT = N0.getValueType(); in foldSetCCWithBinOp() local
4318 EVT OpVT = N0.getValueType(); in foldSetCCWithRotate() local
4377 EVT OpVT = N0.getValueType(); in foldSetCCWithFunnelShift() local
4407 EVT OpVT = N0.getValueType(); in SimplifySetCC() local
5312 N0 = DAG.getNOT(dl, Temp, OpVT); in SimplifySetCC()
5321 Temp = DAG.getNOT(dl, N0, OpVT); in SimplifySetCC()
5328 Temp = DAG.getNOT(dl, N1, OpVT); in SimplifySetCC()
5335 Temp = DAG.getNOT(dl, N0, OpVT); in SimplifySetCC()
[all …]
H A DLegalizeVectorTypes.cpp372 EVT OpVT = Op.getValueType(); in ScalarizeVecRes_FP_ROUND() local
378 EVT VT = OpVT.getVectorElementType(); in ScalarizeVecRes_FP_ROUND()
424 EVT OpVT = Op.getValueType(); in ScalarizeVecRes_UnaryOp() local
455 EVT OpVT = Op.getValueType(); in ScalarizeVecRes_VecInregOp() local
490 EVT OpVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
607 EVT OpVT = LHS.getValueType(); in ScalarizeVecRes_SETCC() local
4591 EVT OpVT = Oper.getValueType(); in WidenVecRes_StrictFP() local
4592 if (OpVT.isVector()) { in WidenVecRes_StrictFP()
4620 EVT OpVT = Op.getValueType(); in WidenVecRes_StrictFP() local
4621 if (OpVT.isVector()) { in WidenVecRes_StrictFP()
[all …]
H A DSelectionDAG.cpp1523 EVT OpVT = Op.getValueType(); in getZeroExtendInReg() local
1533 if (OpVT == VT) in getZeroExtendInReg()
1537 return getNode(ISD::AND, DL, OpVT, Op, getConstant(Imm, DL, OpVT)); in getZeroExtendInReg()
2488 EVT OpVT = N1.getValueType(); in FoldSetCC() local
2492 TLI->getBooleanContents(OpVT) == in FoldSetCC()
2522 if (OpVT.isInteger()) { in FoldSetCC()
4174 EVT OpVT = Val.getValueType(); in isKnownToBeAPowerOfTwo() local
5526 EVT OpVT = Op.getValueType(); in foldCONCAT_VECTORS() local
6791 Ops.push_back(getUNDEF(OpVT)); in getNode()
11969 EVT OpVT = Op.getValueType(); in matchBinOpReduction() local
[all …]
H A DLegalizeVectorOps.cpp316 MVT OpVT = Node->getOperand(1).getSimpleValueType(); in LegalizeOp() local
318 Action = TLI.getCondCodeAction(CCCode, OpVT); in LegalizeOp()
320 Action = TLI.getOperationAction(Node->getOpcode(), OpVT); in LegalizeOp()
484 MVT OpVT = Node->getOperand(0).getSimpleValueType(); in LegalizeOp() local
486 Action = TLI.getCondCodeAction(CCCode, OpVT); in LegalizeOp()
488 Action = TLI.getOperationAction(Node->getOpcode(), OpVT); in LegalizeOp()
1714 MVT OpVT = LHS.getSimpleValueType(); in ExpandSETCC() local
1717 if (TLI.getCondCodeAction(CCCode, OpVT) != TargetLowering::Expand) { in ExpandSETCC()
H A DDAGCombiner.cpp5954 EVT OpVT = LL.getValueType(); in foldLogicOfSetCCs() local
5958 if (OpVT != RL.getValueType()) in foldLogicOfSetCCs()
6175 EVT OpVT = LHS0.getValueType(); in foldAndOrOfSETCC() local
6192 if (((OpVT.isInteger() && TLI.isOperationLegal(ISD::UMAX, OpVT) && in foldAndOrOfSETCC()
6196 (OpVT.isFloatingPoint() && in foldAndOrOfSETCC()
6242 if (OpVT.isInteger()) { in foldAndOrOfSETCC()
6351 EVT OpVT = T.getValueType(); in combineSelectAsExtAnd() local
6354 OpVT == CondVT ? Cond : DAG.getBoolExtOrTrunc(Cond, DL, OpVT, CondVT); in combineSelectAsExtAnd()
17382 EVT OpVT = N0.getValueType(); in visitSINT_TO_FP() local
17434 EVT OpVT = N0.getValueType(); in visitUINT_TO_FP() local
[all …]
H A DScheduleDAGSDNodes.cpp485 EVT OpVT = N->getOperand(i).getValueType(); in AddSchedEdges() local
486 assert(OpVT != MVT::Glue && "Glued nodes should be in same sunit!"); in AddSchedEdges()
487 bool isChain = OpVT == MVT::Other; in AddSchedEdges()
H A DLegalizeTypes.cpp313 EVT OpVT = Op.getValueType(); in run() local
314 switch (getTypeAction(OpVT)) { in run()
H A DInstrEmitter.cpp386 MVT OpVT = Op.getSimpleValueType(); in AddOperand() local
391 TLI->isTypeLegal(OpVT) in AddOperand()
392 ? TLI->getRegClassFor(OpVT, in AddOperand()
H A DLegalizeIntegerTypes.cpp2098 EVT OpVT = N->getOpcode() == ISD::SELECT ? OpTy.getScalarType() : OpTy; in PromoteIntOp_SELECT() local
2099 Cond = PromoteTargetBoolean(Cond, OpVT); in PromoteIntOp_SELECT()
5693 EVT OpVT = Op.getValueType(); in PromoteIntRes_BUILD_VECTOR() local
5698 if (OpVT.bitsLT(NOutVTElem)) { in PromoteIntRes_BUILD_VECTOR()
5703 if (OpVT == MVT::i1 && Op.getOpcode() == ISD::Constant) in PromoteIntRes_BUILD_VECTOR()
5765 EVT OpVT = Op.getValueType(); in PromoteIntRes_CONCAT_VECTORS() local
5766 if (getTypeAction(OpVT) == TargetLowering::TypePromoteInteger) in PromoteIntRes_CONCAT_VECTORS()
5769 assert(getTypeAction(OpVT) == TargetLowering::TypeLegal && in PromoteIntRes_CONCAT_VECTORS()
5772 if (OpVT.getVectorElementType().getScalarSizeInBits() < in PromoteIntRes_CONCAT_VECTORS()
5775 OpVT.changeVectorElementType(MaxElementVT)); in PromoteIntRes_CONCAT_VECTORS()
H A DSelectionDAGBuilder.cpp7618 EVT OpVT = Op.getValueType(); in visitIntrinsicCall() local
7620 if (!TLI.shouldExpandCttzElements(OpVT)) { in visitIntrinsicCall()
7625 if (OpVT.getScalarType() != MVT::i1) { in visitIntrinsicCall()
7627 SDValue AllZero = DAG.getConstant(0, DL, OpVT); in visitIntrinsicCall()
7628 OpVT = EVT::getVectorVT(*DAG.getContext(), MVT::i1, in visitIntrinsicCall()
7629 OpVT.getVectorElementCount()); in visitIntrinsicCall()
7630 Op = DAG.getSetCC(DL, OpVT, Op, AllZero, ISD::SETNE); in visitIntrinsicCall()
7635 APInt(64, OpVT.getVectorElementCount().getKnownMinValue())); in visitIntrinsicCall()
7636 if (OpVT.isScalableVT()) in visitIntrinsicCall()
7652 OpVT.getVectorElementCount()); in visitIntrinsicCall()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2565 EVT OpVT = Op.getOperand(0).getValueType(); in LowerSINT_TO_FP() local
2566 assert(OpVT == MVT::i32 || (OpVT == MVT::i64)); in LowerSINT_TO_FP()
2568 EVT floatVT = (OpVT == MVT::i32) ? MVT::f32 : MVT::f64; in LowerSINT_TO_FP()
2572 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) { in LowerSINT_TO_FP()
2573 const char *libName = TLI.getLibcallName(OpVT == MVT::i32 in LowerSINT_TO_FP()
2580 if (!TLI.isTypeLegal(OpVT)) in LowerSINT_TO_FP()
2585 unsigned opcode = (OpVT == MVT::i32)? SPISD::ITOF : SPISD::XTOF; in LowerSINT_TO_FP()
2614 EVT OpVT = Op.getOperand(0).getValueType(); in LowerUINT_TO_FP() local
2615 assert(OpVT == MVT::i32 || OpVT == MVT::i64); in LowerUINT_TO_FP()
2619 if (Op.getValueType() != MVT::f128 || (hasHardQuad && TLI.isTypeLegal(OpVT))) in LowerUINT_TO_FP()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp18289 assert(OpVT.is128BitVector() && OpVT.isInteger() && OpVT != MVT::v2i64 && in LowerSCALAR_TO_VECTOR()
18294 if (OpVT == MVT::v4i32 || (OpVT == MVT::v8i16 && Subtarget.hasFP16())) in LowerSCALAR_TO_VECTOR()
21791 assert((OpVT == MVT::f32 || OpVT == MVT::f64) && in LowerFGETSIGN()
27836 MVT OpVT = VT; in LowerCTLZ() local
27847 OpVT = MVT::i32; in LowerCTLZ()
39780 DAG.getNode(SrcOpcode, DL, OpVT, DAG.getBitcast(OpVT, Res))); in canonicalizeShuffleWithOp()
43862 if (OpVT != MVT::f32 && OpVT != MVT::f64) in scalarizeExtEltFP()
48852 MVT OpVT = in canonicalizeBitSelect() local
51771 EVT OpVT = VT; in combineXorSubCTLZ() local
51775 OpVT = MVT::i32; in combineXorSubCTLZ()
[all …]
H A DX86InstrSSE.td2260 [(set RC:$dst, (OpVT (OpNode RC:$src1, RC:$src2)))]>,
5830 [(set RC:$dst, (OpVT (OpNode RC:$src1, RC:$src2)))]>,
5838 (OpVT (OpNode RC:$src1, (memop_frag addr:$src2))))]>,
6552 [(set RC:$dst, (OpVT (OpNode RC:$src1, RC:$src2)))]>,
6560 (OpVT (OpNode RC:$src1, (memop_frag addr:$src2))))]>,
7830 (OpVT (X86VPermv VR256:$src1,
7856 (OpVT (X86VPermi (mem_frag addr:$src1),
8113 multiclass GF2P8MULB_rm<string OpcodeStr, ValueType OpVT,
8127 [(set RC:$dst, (OpVT (X86GF2P8mulb RC:$src1,
8146 [(set RC:$dst, (OpVT (OpNode RC:$src1,
[all …]
H A DX86InstrFMA.td391 X86MemOperand x86memop, ValueType OpVT, SDPatternOperator OpNode,
399 (OpVT (OpNode RC:$src1, RC:$src2, RC:$src3)))]>, REX_W, VEX_LIG,
H A DX86ISelDAGToDAG.cpp594 EVT OpVT = N->getOperand(0).getValueType(); in INITIALIZE_PASS() local
598 OpVT = N->getOperand(1).getValueType(); in INITIALIZE_PASS()
599 if (OpVT.is256BitVector() || OpVT.is128BitVector()) in INITIALIZE_PASS()
4263 EVT OpVT = ShiftAmt.getValueType(); in tryShiftAmountMod() local
4265 SDValue AllOnes = CurDAG->getAllOnesConstant(DL, OpVT); in tryShiftAmountMod()
4266 NewShiftAmt = CurDAG->getNode(ISD::XOR, DL, OpVT, in tryShiftAmountMod()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1801 EVT OpVT = Ops[0].getValueType(); in PerformDAGCombine() local
1802 if (InVal.getValueType() != OpVT) in PerformDAGCombine()
1803 InVal = OpVT.bitsGT(InVal.getValueType()) ? in PerformDAGCombine()
1804 DAG.getNode(ISD::ANY_EXTEND, DL, OpVT, InVal) : in PerformDAGCombine()
1805 DAG.getNode(ISD::TRUNCATE, DL, OpVT, InVal); in PerformDAGCombine()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp1802 if (OpVT != MVT::i32 && OpVT != MVT::i64) in shouldExpandGetActiveLaneMask()
4396 EVT OpVT = Op.getValueType(); in LowerBITCAST() local
4402 if (OpVT.isScalableVector()) { in LowerBITCAST()
4422 if (OpVT != MVT::f16 && OpVT != MVT::bf16) in LowerBITCAST()
5481 if (ResVT == MVT::i32 && (OpVT == MVT::v8i8 || OpVT == MVT::v16i8 || in LowerINTRINSIC_WO_CHAIN()
5482 OpVT == MVT::v8i16 || OpVT == MVT::v4i16)) { in LowerINTRINSIC_WO_CHAIN()
9473 EVT OpVT = Op.getValueType(); in LowerSETCCCARRY() local
18020 EVT OpVT = N0.getValueType(); in performLastTrueTestVectorCombine() local
18022 if (!OpVT.isScalableVector() || OpVT.getVectorElementType() != MVT::i1) in performLastTrueTestVectorCombine()
26216 if (!OpVT.isScalableVector() || OpVT.getVectorElementType() != MVT::i1) in LowerPredReductionToSVE()
[all …]
H A DAArch64ISelLowering.h965 bool shouldExpandGetActiveLaneMask(EVT VT, EVT OpVT) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelLowering.cpp680 EVT OpVT = Op0.getValueType(); in lowerUINT_TO_FP() local
682 RTLIB::Libcall LC = RTLIB::getUINTTOFP(OpVT, RetVT); in lowerUINT_TO_FP()
684 CallOptions.setTypeListBeforeSoften(OpVT, RetVT, true); in lowerUINT_TO_FP()
705 EVT OpVT = Op0.getValueType(); in lowerSINT_TO_FP() local
707 RTLIB::Libcall LC = RTLIB::getSINTTOFP(OpVT, RetVT); in lowerSINT_TO_FP()
709 CallOptions.setTypeListBeforeSoften(OpVT, RetVT, true); in lowerSINT_TO_FP()
1853 EVT OpVT = Src.getValueType(); in ReplaceNodeResults() local
1854 CallOptions.setTypeListBeforeSoften(OpVT, VT, true); in ReplaceNodeResults()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1203 EVT OpVT = OpI1.getValueType(); in ppHoistZextI1() local
1204 if (!OpVT.isSimple() || OpVT.getSimpleVT() != MVT::i1) in ppHoistZextI1()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp6497 if (OpVT.isScalarInteger()) { in LowerOperation()
8254 MVT OpVT = ScalarOp.getSimpleValueType(); in lowerVectorIntrinsicScalars() local
8258 if (!OpVT.isScalarInteger() || OpVT == XLenVT) in lowerVectorIntrinsicScalars()
8262 if (OpVT.bitsLT(XLenVT)) { in lowerVectorIntrinsicScalars()
8283 assert(XLenVT == MVT::i32 && OpVT == MVT::i64 && in lowerVectorIntrinsicScalars()
10496 MVT OpVT = V.getSimpleValueType(); in lowerVPOp() local
10498 assert(useRVVForFixedLengthVectorVT(OpVT) && in lowerVPOp()
11446 EVT OpVT = Op0.getValueType(); in ReplaceNodeResults() local
11481 EVT OpVT = Op0.getValueType(); in ReplaceNodeResults() local
12945 EVT OpVT = N0.getValueType(); in performSETCCCombine() local
[all …]

12