Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DRuntimeLibcalls.h37 Libcall getFPEXT(EVT OpVT, EVT RetVT);
41 Libcall getFPROUND(EVT OpVT, EVT RetVT);
45 Libcall getFPTOSINT(EVT OpVT, EVT RetVT);
49 Libcall getFPTOUINT(EVT OpVT, EVT RetVT);
53 Libcall getSINTTOFP(EVT OpVT, EVT RetVT);
57 Libcall getUINTTOFP(EVT OpVT, EVT RetVT);
DSelectionDAG.h619 SDValue getBoolConstant(bool V, const SDLoc &DL, EVT VT, EVT OpVT);
848 SDValue getBoolExtOrTrunc(SDValue Op, const SDLoc &SL, EVT VT, EVT OpVT);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp220 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { in getFPEXT() argument
221 if (OpVT == MVT::f16) { in getFPEXT()
224 } else if (OpVT == MVT::f32) { in getFPEXT()
231 } else if (OpVT == MVT::f64) { in getFPEXT()
236 } else if (OpVT == MVT::f80) { in getFPEXT()
246 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { in getFPROUND() argument
248 if (OpVT == MVT::f32) in getFPROUND()
250 if (OpVT == MVT::f64) in getFPROUND()
252 if (OpVT == MVT::f80) in getFPROUND()
254 if (OpVT == MVT::f128) in getFPROUND()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeFloatTypes.cpp152 EVT OpVT = N->getOperand(0 + Offset).getValueType(); in SoftenFloatRes_Unary() local
153 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true); in SoftenFloatRes_Unary()
495 EVT OpVT = N->getOperand(IsStrict ? 1 : 0).getValueType(); in SoftenFloatRes_FP_EXTEND() local
496 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true); in SoftenFloatRes_FP_EXTEND()
532 EVT OpVT = N->getOperand(IsStrict ? 1 : 0).getValueType(); in SoftenFloatRes_FP_ROUND() local
533 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true); in SoftenFloatRes_FP_ROUND()
1038 EVT OpVT = N->getOperand(0 + Offset).getValueType(); in SoftenFloatOp_Unary() local
1039 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true); in SoftenFloatOp_Unary()
1053 EVT OpVT = N->getOperand(N->isStrictFPOpcode() ? 1 : 0).getValueType(); in SoftenFloatOp_LROUND() local
1054 return SoftenFloatOp_Unary(N, GetFPLibCall(OpVT, in SoftenFloatOp_LROUND()
[all …]
DSelectionDAG.cpp1161 EVT OpVT) { in getBoolExtOrTrunc() argument
1165 TargetLowering::BooleanContent BType = TLI->getBooleanContents(OpVT); in getBoolExtOrTrunc()
1207 EVT OpVT) { in getBoolConstant() argument
1211 switch (TLI->getBooleanContents(OpVT)) { in getBoolConstant()
2008 EVT OpVT = N1.getValueType(); in FoldSetCC() local
2014 case ISD::SETFALSE2: return getBoolConstant(false, dl, VT, OpVT); in FoldSetCC()
2016 case ISD::SETTRUE2: return getBoolConstant(true, dl, VT, OpVT); in FoldSetCC()
2028 assert(!OpVT.isInteger() && "Illegal setcc for integer!"); in FoldSetCC()
2032 if (OpVT.isInteger()) { in FoldSetCC()
2049 return getBoolConstant(ISD::isTrueWhenEqual(Cond), dl, VT, OpVT); in FoldSetCC()
[all …]
DTargetLowering.cpp2854 EVT OpVT = N0.getValueType(); in foldSetCCWithAnd() local
2855 if (N0.getOpcode() != ISD::AND || !OpVT.isInteger() || in foldSetCCWithAnd()
2871 SDValue Zero = DAG.getConstant(0, DL, OpVT); in foldSetCCWithAnd()
2877 assert(OpVT.isInteger()); in foldSetCCWithAnd()
2878 Cond = ISD::getSetCCInverse(Cond, OpVT); in foldSetCCWithAnd()
2896 SDValue NotX = DAG.getNOT(SDLoc(X), X, OpVT); in foldSetCCWithAnd()
2897 SDValue NewAnd = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, NotX, Y); in foldSetCCWithAnd()
3088 EVT OpVT = N0.getValueType(); in foldSetCCWithBinOp() local
3092 return DAG.getSetCC(DL, VT, Y, DAG.getConstant(0, DL, OpVT), Cond); in foldSetCCWithBinOp()
3100 return DAG.getSetCC(DL, VT, X, DAG.getConstant(0, DL, OpVT), Cond); in foldSetCCWithBinOp()
[all …]
DLegalizeVectorTypes.cpp347 EVT OpVT = Op.getValueType(); in ScalarizeVecRes_UnaryOp() local
356 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_UnaryOp()
359 EVT VT = OpVT.getVectorElementType(); in ScalarizeVecRes_UnaryOp()
379 EVT OpVT = Op.getValueType(); in ScalarizeVecRes_VecInregOp() local
380 EVT OpEltVT = OpVT.getVectorElementType(); in ScalarizeVecRes_VecInregOp()
383 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VecInregOp()
415 EVT OpVT = Cond.getValueType(); in ScalarizeVecRes_VSELECT() local
420 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) { in ScalarizeVecRes_VSELECT()
423 EVT VT = OpVT.getVectorElementType(); in ScalarizeVecRes_VSELECT()
443 EVT OpVT = Cond->getOperand(0).getValueType(); in ScalarizeVecRes_VSELECT() local
[all …]
DScheduleDAGSDNodes.cpp479 EVT OpVT = N->getOperand(i).getValueType(); in AddSchedEdges() local
480 assert(OpVT != MVT::Glue && "Glued nodes should be in same sunit!"); in AddSchedEdges()
481 bool isChain = OpVT == MVT::Other; in AddSchedEdges()
DInstrEmitter.cpp377 MVT OpVT = Op.getSimpleValueType(); in AddOperand() local
382 TLI->isTypeLegal(OpVT) in AddOperand()
383 ? TLI->getRegClassFor(OpVT, in AddOperand()
DLegalizeDAG.cpp1045 MVT OpVT = Node->getOperand(CompareOperand).getSimpleValueType(); in LegalizeOp() local
1048 Action = TLI.getCondCodeAction(CCCode, OpVT); in LegalizeOp()
1054 Action = TLI.getOperationAction(Node->getOpcode(), OpVT); in LegalizeOp()
1640 MVT OpVT = LHS.getSimpleValueType(); in LegalizeSetCCCondCode() local
1643 switch (TLI.getCondCodeAction(CCCode, OpVT)) { in LegalizeSetCCCondCode()
1650 if (TLI.isCondCodeLegalOrCustom(InvCC, OpVT)) { in LegalizeSetCCCondCode()
1657 InvCC = getSetCCInverse(CCCode, OpVT); in LegalizeSetCCCondCode()
1658 if (!TLI.isCondCodeLegalOrCustom(InvCC, OpVT)) { in LegalizeSetCCCondCode()
1664 if (TLI.isCondCodeLegalOrCustom(InvCC, OpVT)) { in LegalizeSetCCCondCode()
1677 assert(TLI.isCondCodeLegal(ISD::SETOEQ, OpVT) in LegalizeSetCCCondCode()
[all …]
DLegalizeTypes.cpp295 EVT OpVT = Op.getValueType(); in run() local
296 switch (getTypeAction(OpVT)) { in run()
DDAGCombiner.cpp4540 EVT OpVT = LL.getValueType(); in foldLogicOfSetCCs() local
4542 if (VT != getSetCCResultType(OpVT)) in foldLogicOfSetCCs()
4544 if (OpVT != RL.getValueType()) in foldLogicOfSetCCs()
4549 bool IsInteger = OpVT.isInteger(); in foldLogicOfSetCCs()
4568 SDValue Or = DAG.getNode(ISD::OR, SDLoc(N0), OpVT, LL, RL); in foldLogicOfSetCCs()
4587 SDValue And = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, LL, RL); in foldLogicOfSetCCs()
4595 if (IsAnd && LL == RL && CC0 == CC1 && OpVT.getScalarSizeInBits() > 1 && in foldLogicOfSetCCs()
4599 SDValue One = DAG.getConstant(1, DL, OpVT); in foldLogicOfSetCCs()
4600 SDValue Two = DAG.getConstant(2, DL, OpVT); in foldLogicOfSetCCs()
4601 SDValue Add = DAG.getNode(ISD::ADD, SDLoc(N0), OpVT, LL, One); in foldLogicOfSetCCs()
[all …]
DLegalizeIntegerTypes.cpp1524 EVT OpVT = N->getOpcode() == ISD::SELECT ? OpTy.getScalarType() : OpTy; in PromoteIntOp_SELECT() local
1525 Cond = PromoteTargetBoolean(Cond, OpVT); in PromoteIntOp_SELECT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp2363 EVT OpVT = Op.getOperand(0).getValueType(); in LowerSINT_TO_FP() local
2364 assert(OpVT == MVT::i32 || (OpVT == MVT::i64)); in LowerSINT_TO_FP()
2366 EVT floatVT = (OpVT == MVT::i32) ? MVT::f32 : MVT::f64; in LowerSINT_TO_FP()
2370 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) { in LowerSINT_TO_FP()
2371 const char *libName = TLI.getLibcallName(OpVT == MVT::i32 in LowerSINT_TO_FP()
2378 if (!TLI.isTypeLegal(OpVT)) in LowerSINT_TO_FP()
2383 unsigned opcode = (OpVT == MVT::i32)? SPISD::ITOF : SPISD::XTOF; in LowerSINT_TO_FP()
2412 EVT OpVT = Op.getOperand(0).getValueType(); in LowerUINT_TO_FP() local
2413 assert(OpVT == MVT::i32 || OpVT == MVT::i64); in LowerUINT_TO_FP()
2417 if (Op.getValueType() != MVT::f128 || (hasHardQuad && TLI.isTypeLegal(OpVT))) in LowerUINT_TO_FP()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrSSE.td2202 ValueType OpVT, RegisterClass RC, PatFrag memop_frag,
2211 [(set RC:$dst, (OpVT (OpNode RC:$src1, RC:$src2)))]>,
2218 [(set RC:$dst, (OpVT (OpNode RC:$src1, (memop_frag addr:$src2))))]>,
4674 ValueType DstVT, ValueType OpVT, RegisterClass RC,
4683 [(set RC:$dst, (DstVT (OpNode (OpVT RC:$src1), RC:$src2)))]>,
4691 (DstVT (OpNode (OpVT RC:$src1), (memop_frag addr:$src2))))]>,
5735 ValueType OpVT, RegisterClass RC, PatFrag memop_frag,
5744 [(set RC:$dst, (OpVT (OpNode RC:$src1, RC:$src2)))]>,
5752 (OpVT (OpNode RC:$src1, (memop_frag addr:$src2))))]>,
5895 ValueType OpVT, RegisterClass RC, PatFrag memop_frag,
[all …]
DX86ISelLowering.cpp5800 EVT OpVT = Op.getValueType(); in SplitOpsAndApply() local
5801 unsigned NumSubElts = OpVT.getVectorNumElements() / NumSubs; in SplitOpsAndApply()
5802 unsigned SizeSub = OpVT.getSizeInBits() / NumSubs; in SplitOpsAndApply()
5830 MVT OpVT = Op.getSimpleValueType(); in insert1BitVector() local
5831 unsigned NumElems = OpVT.getVectorNumElements(); in insert1BitVector()
5836 MVT WideOpVT = OpVT; in insert1BitVector()
5847 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, Op, ZeroIdx); in insert1BitVector()
5871 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, Op, ZeroIdx); in insert1BitVector()
5881 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, SubVec, ZeroIdx); in insert1BitVector()
5894 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, SubVec, ZeroIdx); in insert1BitVector()
[all …]
DX86InstrFMA.td391 X86MemOperand x86memop, ValueType OpVT, SDNode OpNode,
399 (OpVT (OpNode RC:$src1, RC:$src2, RC:$src3)))]>, VEX_W, VEX_LIG,
DX86ISelDAGToDAG.cpp546 EVT OpVT = N->getOperand(0).getValueType(); in isLegalMaskCompare() local
550 OpVT = N->getOperand(1).getValueType(); in isLegalMaskCompare()
551 if (OpVT.is256BitVector() || OpVT.is128BitVector()) in isLegalMaskCompare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1925 EVT OpVT = Ops[0].getValueType(); in PerformDAGCombine() local
1926 if (InVal.getValueType() != OpVT) in PerformDAGCombine()
1927 InVal = OpVT.bitsGT(InVal.getValueType()) ? in PerformDAGCombine()
1928 DAG.getNode(ISD::ANY_EXTEND, DL, OpVT, InVal) : in PerformDAGCombine()
1929 DAG.getNode(ISD::TRUNCATE, DL, OpVT, InVal); in PerformDAGCombine()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelDAGToDAG.cpp1162 EVT OpVT = OpI1.getValueType(); in ppHoistZextI1() local
1163 if (!OpVT.isSimple() || OpVT.getSimpleVT() != MVT::i1) in ppHoistZextI1()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp5516 EVT OpVT = (VT == MVT::f32) ? MVT::v2i32 : MVT::v1i64; in LowerFCOPYSIGN() local
5518 Mask = DAG.getNode(ARMISD::VSHLIMM, dl, OpVT, in LowerFCOPYSIGN()
5519 DAG.getNode(ISD::BITCAST, dl, OpVT, Mask), in LowerFCOPYSIGN()
5526 Tmp1 = DAG.getNode(ARMISD::VSHLIMM, dl, OpVT, in LowerFCOPYSIGN()
5527 DAG.getNode(ISD::BITCAST, dl, OpVT, Tmp1), in LowerFCOPYSIGN()
5533 Tmp0 = DAG.getNode(ISD::BITCAST, dl, OpVT, Tmp0); in LowerFCOPYSIGN()
5534 Tmp1 = DAG.getNode(ISD::BITCAST, dl, OpVT, Tmp1); in LowerFCOPYSIGN()
5539 SDValue MaskNot = DAG.getNode(ISD::XOR, dl, OpVT, Mask, in LowerFCOPYSIGN()
5540 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes)); in LowerFCOPYSIGN()
5542 SDValue Res = DAG.getNode(ISD::OR, dl, OpVT, in LowerFCOPYSIGN()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp5487 EVT OpVT = Op.getValueType(); in combineExtract() local
5488 unsigned OpBytesPerElement = OpVT.getVectorElementType().getStoreSize(); in combineExtract()
5517 EVT OpVT = Op.getOperand(0).getValueType(); in combineExtract() local
5519 unsigned OpBytesPerElement = OpVT.getVectorElementType().getStoreSize(); in combineExtract()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10562 EVT OpVT = N->getOperand(0).getValueType(); in ReplaceNodeResults() local
10565 OpVT.getSizeInBits() <= 128 && in ReplaceNodeResults()
10566 isPowerOf2_32(OpVT.getVectorElementType().getSizeInBits())) in ReplaceNodeResults()
12917 EVT OpVT = LHS.getValueType(); in combineSetCC() local
12918 SDValue Add = DAG.getNode(ISD::ADD, DL, OpVT, LHS, RHS.getOperand(1)); in combineSetCC()
12919 return DAG.getSetCC(DL, VT, Add, DAG.getConstant(0, DL, OpVT), CC); in combineSetCC()