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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A 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);
H A DSelectionDAG.h618 /// BooleanContent for type \p OpVT.
619 SDValue getBoolConstant(bool V, const SDLoc &DL, EVT VT, EVT OpVT);
847 /// BooleanContent for type OpVT or truncating it.
848 SDValue getBoolExtOrTrunc(SDValue Op, const SDLoc &SL, EVT VT, EVT OpVT);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp220 RTLIB::Libcall RTLIB::getFPEXT(EVT OpVT, EVT RetVT) { argument
221 if (OpVT == MVT::f16) {
224 } else if (OpVT == MVT::f32) {
231 } else if (OpVT == MVT::f64) {
236 } else if (OpVT == MVT::f80) {
246 RTLIB::Libcall RTLIB::getFPROUND(EVT OpVT, EVT RetVT) { argument
248 if (OpVT == MVT::f32)
250 if (OpVT == MVT::f64)
252 if (OpVT == MVT::f80)
254 if (OpVT
284 getFPTOSINT(EVT OpVT, EVT RetVT) argument
326 getFPTOUINT(EVT OpVT, EVT RetVT) argument
368 getSINTTOFP(EVT OpVT, EVT RetVT) argument
408 getUINTTOFP(EVT OpVT, EVT RetVT) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp152 EVT OpVT = N->getOperand(0 + Offset).getValueType(); local
153 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true);
495 EVT OpVT = N->getOperand(IsStrict ? 1 : 0).getValueType(); local
496 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true);
532 EVT OpVT = N->getOperand(IsStrict ? 1 : 0).getValueType(); local
533 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true);
1038 EVT OpVT = N->getOperand(0 + Offset).getValueType(); local
1039 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true);
1053 EVT OpVT = N->getOperand(N->isStrictFPOpcode() ? 1 : 0).getValueType(); local
1054 return SoftenFloatOp_Unary(N, GetFPLibCall(OpVT,
1063 EVT OpVT = N->getOperand(N->isStrictFPOpcode() ? 1 : 0).getValueType(); local
1073 EVT OpVT = N->getOperand(N->isStrictFPOpcode() ? 1 : 0).getValueType(); local
1083 EVT OpVT = N->getOperand(N->isStrictFPOpcode() ? 1 : 0).getValueType(); local
1937 GetPromotionOpcode(EVT OpVT, EVT RetVT) argument
1987 EVT OpVT = Op->getValueType(0); local
2315 EVT OpVT = Op->getValueType(0); local
[all...]
H A DTargetLowering.cpp2854 EVT OpVT = N0.getValueType(); local
2855 if (N0.getOpcode() != ISD::AND || !OpVT.isInteger() ||
2871 SDValue Zero = DAG.getConstant(0, DL, OpVT);
2877 assert(OpVT.isInteger());
2878 Cond = ISD::getSetCCInverse(Cond, OpVT);
2896 SDValue NotX = DAG.getNOT(SDLoc(X), X, OpVT);
2897 SDValue NewAnd = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, NotX, Y);
3088 EVT OpVT = N0.getValueType(); local
3092 return DAG.getSetCC(DL, VT, Y, DAG.getConstant(0, DL, OpVT), Cond);
3100 return DAG.getSetCC(DL, VT, X, DAG.getConstant(0, DL, OpVT), Con
3124 EVT OpVT = N0.getValueType(); local
[all...]
H A DLegalizeVectorTypes.cpp347 EVT OpVT = Op.getValueType(); local
356 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
359 EVT VT = OpVT.getVectorElementType();
379 EVT OpVT = Op.getValueType(); local
380 EVT OpEltVT = OpVT.getVectorElementType();
383 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
415 EVT OpVT = Cond.getValueType(); local
420 if (getTypeAction(OpVT) == TargetLowering::TypeScalarizeVector) {
423 EVT VT = OpVT.getVectorElementType();
443 EVT OpVT local
516 EVT OpVT = LHS.getValueType(); local
724 EVT OpVT = N->getOperand(0).getValueType(); local
2622 EVT OpVT = N->getOperand(0).getValueType(); local
4637 EVT OpVT = N->getOperand(0).getValueType(); local
[all...]
H A DSelectionDAG.cpp1161 EVT OpVT) {
1165 TargetLowering::BooleanContent BType = TLI->getBooleanContents(OpVT);
1207 EVT OpVT) {
1211 switch (TLI->getBooleanContents(OpVT)) {
2008 EVT OpVT = N1.getValueType();
2014 case ISD::SETFALSE2: return getBoolConstant(false, dl, VT, OpVT);
2016 case ISD::SETTRUE2: return getBoolConstant(true, dl, VT, OpVT);
2028 assert(!OpVT.isInteger() && "Illegal setcc for integer!");
2032 if (OpVT.isInteger()) {
2049 return getBoolConstant(ISD::isTrueWhenEqual(Cond), dl, VT, OpVT);
[all...]
H A DScheduleDAGSDNodes.cpp479 EVT OpVT = N->getOperand(i).getValueType();
480 assert(OpVT != MVT::Glue && "Glued nodes should be in same sunit!");
481 bool isChain = OpVT == MVT::Other;
H A DInstrEmitter.cpp377 MVT OpVT = Op.getSimpleValueType();
382 TLI->isTypeLegal(OpVT)
383 ? TLI->getRegClassFor(OpVT,
H A DLegalizeTypes.cpp295 EVT OpVT = Op.getValueType(); local
296 switch (getTypeAction(OpVT)) {
H A DLegalizeDAG.cpp1045 MVT OpVT = Node->getOperand(CompareOperand).getSimpleValueType();
1048 Action = TLI.getCondCodeAction(CCCode, OpVT);
1054 Action = TLI.getOperationAction(Node->getOpcode(), OpVT);
1640 MVT OpVT = LHS.getSimpleValueType();
1643 switch (TLI.getCondCodeAction(CCCode, OpVT)) {
1650 if (TLI.isCondCodeLegalOrCustom(InvCC, OpVT)) {
1657 InvCC = getSetCCInverse(CCCode, OpVT);
1658 if (!TLI.isCondCodeLegalOrCustom(InvCC, OpVT)) {
1664 if (TLI.isCondCodeLegalOrCustom(InvCC, OpVT)) {
1677 assert(TLI.isCondCodeLegal(ISD::SETOEQ, OpVT)
[all...]
H A DDAGCombiner.cpp4547 EVT OpVT = LL.getValueType(); local
4549 if (VT != getSetCCResultType(OpVT))
4551 if (OpVT != RL.getValueType())
4556 bool IsInteger = OpVT.isInteger();
4575 SDValue Or = DAG.getNode(ISD::OR, SDLoc(N0), OpVT, LL, RL);
4594 SDValue And = DAG.getNode(ISD::AND, SDLoc(N0), OpVT, LL, RL);
4602 if (IsAnd && LL == RL && CC0 == CC1 && OpVT.getScalarSizeInBits() > 1 &&
4606 SDValue One = DAG.getConstant(1, DL, OpVT);
4607 SDValue Two = DAG.getConstant(2, DL, OpVT);
4608 SDValue Add = DAG.getNode(ISD::ADD, SDLoc(N0), OpVT, L
13048 EVT OpVT = N0.getValueType(); local
13109 EVT OpVT = N0.getValueType(); local
16934 EVT OpVT = Ops[0].getValueType(); local
17975 EVT OpVT = N->getOperand(0).getValueType(); local
18040 EVT OpVT = N->getOperand(0).getValueType(); local
18205 EVT OpVT = Op.getValueType(); local
[all...]
H A DLegalizeIntegerTypes.cpp1536 EVT OpVT = N->getOpcode() == ISD::SELECT ? OpTy.getScalarType() : OpTy;
1537 Cond = PromoteTargetBoolean(Cond, OpVT);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp2363 EVT OpVT = Op.getOperand(0).getValueType(); local
2364 assert(OpVT == MVT::i32 || (OpVT == MVT::i64));
2366 EVT floatVT = (OpVT == MVT::i32) ? MVT::f32 : MVT::f64;
2370 && (!hasHardQuad || !TLI.isTypeLegal(OpVT))) {
2371 const char *libName = TLI.getLibcallName(OpVT == MVT::i32
2378 if (!TLI.isTypeLegal(OpVT))
2383 unsigned opcode = (OpVT == MVT::i32)? SPISD::ITOF : SPISD::XTOF;
2412 EVT OpVT = Op.getOperand(0).getValueType(); local
2413 assert(OpVT
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1925 EVT OpVT = Ops[0].getValueType(); local
1926 if (InVal.getValueType() != OpVT)
1927 InVal = OpVT.bitsGT(InVal.getValueType()) ?
1928 DAG.getNode(ISD::ANY_EXTEND, DL, OpVT, InVal) :
1929 DAG.getNode(ISD::TRUNCATE, DL, OpVT, InVal);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp5800 EVT OpVT = Op.getValueType();
5801 unsigned NumSubElts = OpVT.getVectorNumElements() / NumSubs;
5802 unsigned SizeSub = OpVT.getSizeInBits() / NumSubs;
5830 MVT OpVT = Op.getSimpleValueType();
5831 unsigned NumElems = OpVT.getVectorNumElements();
5836 MVT WideOpVT = OpVT;
5847 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, Op, ZeroIdx);
5871 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, Op, ZeroIdx);
5881 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, SubVec, ZeroIdx);
5894 return DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, OpVT, SubVe
[all...]
H A DX86ISelDAGToDAG.cpp546 EVT OpVT = N->getOperand(0).getValueType(); local
550 OpVT = N->getOperand(1).getValueType();
551 if (OpVT.is256BitVector() || OpVT.is128BitVector())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelDAGToDAG.cpp1162 EVT OpVT = OpI1.getValueType(); local
1163 if (!OpVT.isSimple() || OpVT.getSimpleVT() != MVT::i1)
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp902 EVT OpVT = Op0.getValueType(); local
903 CallOptions.setTypeListBeforeSoften(OpVT, N->getValueType(0), true);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp5517 EVT OpVT = (VT == MVT::f32) ? MVT::v2i32 : MVT::v1i64; local
5519 Mask = DAG.getNode(ARMISD::VSHLIMM, dl, OpVT,
5520 DAG.getNode(ISD::BITCAST, dl, OpVT, Mask),
5527 Tmp1 = DAG.getNode(ARMISD::VSHLIMM, dl, OpVT,
5528 DAG.getNode(ISD::BITCAST, dl, OpVT, Tmp1),
5534 Tmp0 = DAG.getNode(ISD::BITCAST, dl, OpVT, Tmp0);
5535 Tmp1 = DAG.getNode(ISD::BITCAST, dl, OpVT, Tmp1);
5540 SDValue MaskNot = DAG.getNode(ISD::XOR, dl, OpVT, Mask,
5541 DAG.getNode(ISD::BITCAST, dl, OpVT, AllOnes));
5543 SDValue Res = DAG.getNode(ISD::OR, dl, OpVT,
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp5487 EVT OpVT = Op.getValueType(); local
5488 unsigned OpBytesPerElement = OpVT.getVectorElementType().getStoreSize();
5517 EVT OpVT = Op.getOperand(0).getValueType(); local
5519 unsigned OpBytesPerElement = OpVT.getVectorElementType().getStoreSize();
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeGenDAGPatterns.cpp2431 MVT::SimpleValueType OpVT = Int->IS.ParamVTs[i]; local
2433 MadeChange |= getChild(i+1)->UpdateNodeType(0, OpVT, TP);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp10585 EVT OpVT = N->getOperand(0).getValueType(); local
10588 OpVT.getSizeInBits() <= 128 &&
10589 isPowerOf2_32(OpVT.getVectorElementType().getSizeInBits()))
12945 EVT OpVT = LHS.getValueType(); local
12946 SDValue Add = DAG.getNode(ISD::ADD, DL, OpVT, LHS, RHS.getOperand(1));
12947 return DAG.getSetCC(DL, VT, Add, DAG.getConstant(0, DL, OpVT), CC);

Completed in 820 milliseconds