Home
last modified time | relevance | path

Searched refs:BITCAST (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp57 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); in ExpandRes_BITCAST()
58 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); in ExpandRes_BITCAST()
68 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); in ExpandRes_BITCAST()
69 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); in ExpandRes_BITCAST()
76 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); in ExpandRes_BITCAST()
77 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); in ExpandRes_BITCAST()
82 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); in ExpandRes_BITCAST()
83 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); in ExpandRes_BITCAST()
93 Lo = DAG.getNode(ISD::BITCAST, dl, NOutVT, Lo); in ExpandRes_BITCAST()
94 Hi = DAG.getNode(ISD::BITCAST, dl, NOutVT, Hi); in ExpandRes_BITCAST()
[all …]
DLegalizeVectorOps.cpp601 Operands[j] = DAG.getNode(ISD::BITCAST, dl, NVT, Node->getOperand(j)); in Promote()
614 Res = DAG.getNode(ISD::BITCAST, dl, VT, Res); in Promote()
1040 Op1 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op1); in ExpandSELECT()
1041 Op2 = DAG.getNode(ISD::BITCAST, DL, MaskTy, Op2); in ExpandSELECT()
1050 return DAG.getNode(ISD::BITCAST, DL, Node->getValueType(0), Val); in ExpandSELECT()
1106 ISD::BITCAST, DL, VT, in ExpandANY_EXTEND_VECTOR_INREG()
1170 return DAG.getNode(ISD::BITCAST, DL, VT, in ExpandZERO_EXTEND_VECTOR_INREG()
1194 SDValue Op = DAG.getNode(ISD::BITCAST, DL, ByteVT, Node->getOperand(0)); in ExpandBSWAP()
1196 return DAG.getNode(ISD::BITCAST, DL, VT, Op); in ExpandBSWAP()
1226 SDValue Op = DAG.getNode(ISD::BITCAST, DL, ByteVT, Node->getOperand(0)); in ExpandBITREVERSE()
[all …]
DLegalizeDAG.cpp530 Value = DAG.getNode(ISD::BITCAST, dl, NVT, Value); in LegalizeStoreOps()
703 RVal = DAG.getNode(ISD::BITCAST, dl, VT, Res); in LegalizeLoadOps()
1452 State.IntValue = DAG.getNode(ISD::BITCAST, DL, IVT, Value); in getSignAsIntValue()
1498 return DAG.getNode(ISD::BITCAST, DL, State.FloatVT, NewIntValue); in modifySignAsInt()
2896 case ISD::BITCAST: in ExpandNode()
3010 Tmp1 = DAG.getNode(ISD::BITCAST, dl, Node->getValueType(0), in ExpandNode()
3059 Op0 = DAG.getNode(ISD::BITCAST, dl, NewVT, Op0); in ExpandNode()
3060 Op1 = DAG.getNode(ISD::BITCAST, dl, NewVT, Op1); in ExpandNode()
3105 Tmp1 = DAG.getNode(ISD::BITCAST, dl, Node->getValueType(0), Tmp1); in ExpandNode()
4297 TruncOp = ISD::BITCAST; in PromoteNode()
[all …]
DLegalizeVectorTypes.cpp51 case ISD::BITCAST: R = ScalarizeVecRes_BITCAST(N); break; in ScalarizeVectorResult()
282 return DAG.getNode(ISD::BITCAST, SDLoc(N), in ScalarizeVecRes_BITCAST()
564 case ISD::BITCAST: in ScalarizeVectorOperand()
641 return DAG.getNode(ISD::BITCAST, SDLoc(N), in ScalarizeVecOp_BITCAST()
830 case ISD::BITCAST: SplitVecRes_BITCAST(N, Lo, Hi); break; in SplitVectorResult()
1046 Lo = DAG.getNode(ISD::BITCAST, dl, LoVT, Lo); in SplitVecRes_BITCAST()
1047 Hi = DAG.getNode(ISD::BITCAST, dl, HiVT, Hi); in SplitVecRes_BITCAST()
1055 Lo = DAG.getNode(ISD::BITCAST, dl, LoVT, Lo); in SplitVecRes_BITCAST()
1056 Hi = DAG.getNode(ISD::BITCAST, dl, HiVT, Hi); in SplitVecRes_BITCAST()
1070 Lo = DAG.getNode(ISD::BITCAST, dl, LoVT, Lo); in SplitVecRes_BITCAST()
[all …]
DSelectionDAGBuilder.cpp239 Lo = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[0]); in getCopyFromParts()
240 Hi = DAG.getNode(ISD::BITCAST, DL, HalfVT, Parts[1]); in getCopyFromParts()
273 Lo = DAG.getNode(ISD::BITCAST, DL, EVT(MVT::f64), Parts[0]); in getCopyFromParts()
274 Hi = DAG.getNode(ISD::BITCAST, DL, EVT(MVT::f64), Parts[1]); in getCopyFromParts()
305 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val); in getCopyFromParts()
335 Val = DAG.getNode(ISD::BITCAST, DL, MVT::i64, Val); in getCopyFromParts()
448 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val); in getCopyFromPartsVector()
461 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val); in getCopyFromPartsVector()
467 return DAG.getNode(ISD::BITCAST, DL, ValueVT, Val); in getCopyFromPartsVector()
540 Val = DAG.getNode(ISD::BITCAST, DL, ValueVT, Val); in getCopyToParts()
[all …]
DLegalizeFloatTypes.cpp62 case ISD::BITCAST: R = SoftenFloatRes_BITCAST(N); break; in SoftenFloatResult()
775 case ISD::BITCAST: Res = SoftenFloatOp_BITCAST(N); break; in SoftenFloatOperand()
818 return DAG.getNode(ISD::BITCAST, SDLoc(N), N->getValueType(0), Op0); in SoftenFloatOp_BITCAST()
1122 case ISD::BITCAST: ExpandRes_BITCAST(N, Lo, Hi); break; in ExpandFloatResult()
1654 case ISD::BITCAST: Res = ExpandOp_BITCAST(N); break; in ExpandFloatOperand()
1970 case ISD::BITCAST: R = PromoteFloatOp_BITCAST(N, OpNo); break; in PromoteFloatOperand()
2099 case ISD::BITCAST: R = PromoteFloatRes_BITCAST(N); break; in PromoteFloatResult()
DLegalizeTypes.cpp843 return DAG.getNode(ISD::BITCAST, SDLoc(Op), in BitConvertToInteger()
853 return DAG.getNode(ISD::BITCAST, SDLoc(Op), in BitConvertVectorToIntegerVector()
DSelectionDAG.cpp158 while (N->getOpcode() == ISD::BITCAST) in isBuildVectorAllOnes()
202 while (N->getOpcode() == ISD::BITCAST) in isBuildVectorAllZeros()
1295 SDValue V = getNode(ISD::BITCAST, DL, VT, getBuildVector(ViaVecVT, DL, Ops)); in getConstant()
1712 while (V.getOpcode() == ISD::BITCAST) in getVectorShuffle()
1747 NewBV = getNode(ISD::BITCAST, dl, VT, NewBV); in getVectorShuffle()
1900 return getNode(ISD::BITCAST, SDLoc(V), VT, V); in getBitcast()
2689 case ISD::BITCAST: { in computeKnownBits()
3587 case ISD::BITCAST: { in ComputeNumSignBits()
4409 case ISD::BITCAST: in getNode()
4500 case ISD::BITCAST: in getNode()
[all …]
DFastISel.cpp1564 ResultReg = fastEmit_r(SrcVT, DstVT, ISD::BITCAST, Op0, Op0IsKill); in selectBitCast()
1734 ISD::BITCAST, OpReg, OpRegIsKill); in selectFNeg()
1744 ResultReg = fastEmit_r(IntVT.getSimpleVT(), VT.getSimpleVT(), ISD::BITCAST, in selectFNeg()
DDAGCombiner.cpp1568 case ISD::BITCAST: return visitBITCAST(N); in visit()
4455 if ((HandOpcode == ISD::BITCAST || HandOpcode == ISD::SCALAR_TO_VECTOR) && in hoistLogicOpWithSameOpcodeHands()
10851 N0.getOpcode() == ISD::BITCAST && N0.hasOneUse() && in visitTRUNCATE()
10956 if (N0.getOpcode() == ISD::BITCAST && !VT.isVector()) { in visitTRUNCATE()
11127 LogicOp0.getOpcode() == ISD::BITCAST && in foldBitcastedFPLogic()
11178 if (N0.getOpcode() == ISD::BITCAST) in visitBITCAST()
11354 if (Op.getOpcode() == ISD::BITCAST && in visitBITCAST()
13397 N0.getOpcode() == ISD::BITCAST && in visitFNEG()
13495 if (!TLI.isFAbsFree(VT) && N0.getOpcode() == ISD::BITCAST && N0.hasOneUse()) { in visitFABS()
14679 if (Use->getOpcode() != ISD::BITCAST) in canMergeExpensiveCrossRegisterBankCopy()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp486 setTargetDAGCombine(ISD::BITCAST); in AMDGPUTargetLowering()
569 case ISD::BITCAST: in hasSourceMods()
1230 SDValue Lo = DAG.getNode(ISD::BITCAST, SL, MVT::i32, Op.getOperand(0)); in LowerCONCAT_VECTORS()
1231 SDValue Hi = DAG.getNode(ISD::BITCAST, SL, MVT::i32, Op.getOperand(1)); in LowerCONCAT_VECTORS()
1234 return DAG.getNode(ISD::BITCAST, SL, VT, BV); in LowerCONCAT_VECTORS()
1333 SDValue Vec = DAG.getNode(ISD::BITCAST, SL, MVT::v2i32, Op); in split64BitValue()
1347 SDValue Vec = DAG.getNode(ISD::BITCAST, SL, MVT::v2i32, Op); in getLoHalf64()
1355 SDValue Vec = DAG.getNode(ISD::BITCAST, SL, MVT::v2i32, Op); in getHiHalf64()
1666 Results.push_back(DAG.getNode(ISD::BITCAST, DL, MVT::i64, DIV)); in LowerUDIVREM64()
1667 Results.push_back(DAG.getNode(ISD::BITCAST, DL, MVT::i64, REM)); in LowerUDIVREM64()
[all …]
DSIISelLowering.cpp269 case ISD::BITCAST: in SITargetLowering()
531 case ISD::BITCAST: in SITargetLowering()
1497 ArgVal = DAG.getNode(ISD::BITCAST, SL, MemVT, ArgVal); in lowerKernargMemParameter()
2202 Val = DAG.getNode(ISD::BITCAST, DL, ValVT, Val); in LowerFormalArguments()
2330 Arg = DAG.getNode(ISD::BITCAST, DL, VA.getLocVT(), Arg); in LowerReturn()
2409 Val = DAG.getNode(ISD::BITCAST, DL, VA.getValVT(), Val); in LowerCallResult()
2800 Arg = DAG.getNode(ISD::BITCAST, DL, VA.getLocVT(), Arg); in LowerCall()
4128 return DAG.getNode(ISD::BITCAST, DL, LoadVT, Result); in adjustLoadValueTypeImpl()
4132 return DAG.getNode(ISD::BITCAST, DL, LoadVT, Result); in adjustLoadValueTypeImpl()
4199 {DAG.getNode(ISD::BITCAST, DL, LoadVT, MemNode), MemNode.getValue(1)}, in lowerIntrinsicLoad()
[all …]
DR600ISelLowering.cpp1035 True = DAG.getNode(ISD::BITCAST, DL, CompareVT, True); in LowerSELECT_CC()
1036 False = DAG.getNode(ISD::BITCAST, DL, CompareVT, False); in LowerSELECT_CC()
1055 return DAG.getNode(ISD::BITCAST, DL, VT, SelectNode); in LowerSELECT_CC()
1947 if (Arg.getOpcode() == ISD::BITCAST && in PerformDAGCombine()
1953 return DAG.getNode(ISD::BITCAST, DL, N->getVTList(), in PerformDAGCombine()
DAMDGPUISelLowering.h161 return Val.getOpcode() == ISD::BITCAST ? Val.getOperand(0) : Val; in stripBitcast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp240 setOperationAction(ISD::BITCAST, VT, Legal); in setAllExpand()
719 setOperationAction(ISD::BITCAST, MVT::i16, Custom); in ARMTargetLowering()
720 setOperationAction(ISD::BITCAST, MVT::i32, Custom); in ARMTargetLowering()
721 setOperationAction(ISD::BITCAST, MVT::f16, Custom); in ARMTargetLowering()
1285 setOperationAction(ISD::BITCAST, MVT::i64, Custom); in ARMTargetLowering()
2030 Val = DAG.getNode(ISD::BITCAST, dl, VA.getValVT(), Val); in LowerCallResult()
2186 Arg = DAG.getNode(ISD::BITCAST, dl, VA.getLocVT(), Arg); in LowerCall()
2801 if (Arg.getValueType() == MVT::f32 && Arg.getOpcode() == ISD::BITCAST) { in LowerReturn()
2805 if (BC.getOpcode() == ISD::BITCAST && BC.getValueType() == MVT::i16) { in LowerReturn()
2818 Arg = DAG.getNode(ISD::BITCAST, dl, VA.getLocVT(), Arg); in LowerReturn()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp339 setOperationAction(ISD::BITCAST, VT, Legal); in SystemZTargetLowering()
621 setOperationAction(ISD::BITCAST, MVT::i32, Custom); in SystemZTargetLowering()
622 setOperationAction(ISD::BITCAST, MVT::f32, Custom); in SystemZTargetLowering()
1291 Value = DAG.getNode(ISD::BITCAST, DL, VA.getValVT(), Value); in convertLocVTToValVT()
1314 Value = DAG.getNode(ISD::BITCAST, DL, MVT::v2i64, Value); in convertValVTToLocVT()
3293 SDValue Out64 = DAG.getNode(ISD::BITCAST, DL, MVT::f64, In64); in lowerBITCAST()
3301 SDValue Out64 = DAG.getNode(ISD::BITCAST, DL, MVT::i64, In64); in lowerBITCAST()
3712 Op = DAG.getNode(ISD::BITCAST, DL, MVT::v16i8, Op); in lowerCTPOP()
3718 Op = DAG.getNode(ISD::BITCAST, DL, VT, Op); in lowerCTPOP()
4407 Op0 = DAG.getNode(ISD::BITCAST, DL, InVT, Op0); in getPermuteNode()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp389 setOperationAction(ISD::BITCAST, MVT::f32, Legal); in PPCTargetLowering()
390 setOperationAction(ISD::BITCAST, MVT::i32, Legal); in PPCTargetLowering()
391 setOperationAction(ISD::BITCAST, MVT::i64, Legal); in PPCTargetLowering()
392 setOperationAction(ISD::BITCAST, MVT::f64, Legal); in PPCTargetLowering()
404 setOperationAction(ISD::BITCAST, MVT::f32, Expand); in PPCTargetLowering()
405 setOperationAction(ISD::BITCAST, MVT::i32, Expand); in PPCTargetLowering()
406 setOperationAction(ISD::BITCAST, MVT::i64, Expand); in PPCTargetLowering()
407 setOperationAction(ISD::BITCAST, MVT::f64, Expand); in PPCTargetLowering()
940 setOperationAction(ISD::BITCAST, MVT::i128, Custom); in PPCTargetLowering()
3030 return DAG.getNode(ISD::BITCAST, dl, MVT::v2i64, in LowerSETCC()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsSEISelDAGToDAG.cpp556 if (N->getOpcode() == ISD::BITCAST) in selectVSplatCommon()
632 if (N->getOpcode() == ISD::BITCAST) in selectVSplatUimmPow2()
663 if (N->getOpcode() == ISD::BITCAST) in selectVSplatMaskL()
697 if (N->getOpcode() == ISD::BITCAST) in selectVSplatMaskR()
719 if (N->getOpcode() == ISD::BITCAST) in selectVSplatUimmInvPow2()
DMipsISelLowering.cpp2332 DAG.getNode(ISD::BITCAST, DL, MVT::i32, Op.getOperand(0)) : in lowerFCOPYSIGN32()
2336 DAG.getNode(ISD::BITCAST, DL, MVT::i32, Op.getOperand(1)) : in lowerFCOPYSIGN32()
2359 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), Res); in lowerFCOPYSIGN32()
2376 SDValue X = DAG.getNode(ISD::BITCAST, DL, TyX, Op.getOperand(0)); in lowerFCOPYSIGN64()
2377 SDValue Y = DAG.getNode(ISD::BITCAST, DL, TyY, Op.getOperand(1)); in lowerFCOPYSIGN64()
2393 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), I); in lowerFCOPYSIGN64()
2414 return DAG.getNode(ISD::BITCAST, DL, Op.getOperand(0).getValueType(), Or); in lowerFCOPYSIGN64()
2433 ? DAG.getNode(ISD::BITCAST, DL, MVT::i32, Op.getOperand(0)) in lowerFABS32()
2450 return DAG.getNode(ISD::BITCAST, DL, MVT::f32, Res); in lowerFABS32()
2468 SDValue X = DAG.getNode(ISD::BITCAST, DL, MVT::i64, Op.getOperand(0)); in lowerFABS64()
[all …]
DMipsSEISelLowering.cpp99 setOperationAction(ISD::BITCAST, VecTys[i], Legal); in MipsSETargetLowering()
219 setOperationAction(ISD::BITCAST, MVT::i64, Custom); in MipsSETargetLowering()
325 setOperationAction(ISD::BITCAST, Ty, Legal); in addMSAIntType()
381 setOperationAction(ISD::BITCAST, Ty, Legal); in addMSAFloatType()
469 case ISD::BITCAST: return lowerBITCAST(Op, DAG); in LowerOperation()
557 if (N->getOpcode() == ISD::BITCAST) in isVectorAllOnes()
1412 Result = DAG.getNode(ISD::BITCAST, DL, ResVecTy, in lowerMSASplatZExt()
1459 Result = DAG.getNode(ISD::BITCAST, DL, VecTy, Result); in getBuildVectorSplat()
1485 ISD::BITCAST, DL, MVT::v2i64, in lowerMSABinaryBitImmIntr()
2510 Result = DAG.getNode(ISD::BITCAST, SDLoc(Node), ResTy, Result); in lowerBUILD_VECTOR()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp444 WholeValue = DAG.getNode(ISD::BITCAST, dl, VA.getLocVT(), WholeValue); in LowerFormalArguments_32()
452 Arg = DAG.getNode(ISD::BITCAST, dl, MVT::f32, Arg); in LowerFormalArguments_32()
500 WholeValue = DAG.getNode(ISD::BITCAST, dl, VA.getValVT(), WholeValue); in LowerFormalArguments_32()
815 Arg = DAG.getNode(ISD::BITCAST, dl, VA.getLocVT(), Arg); in LowerCall_32()
858 Arg = DAG.getNode(ISD::BITCAST, dl, MVT::v2i32, Arg); in LowerCall_32()
907 Arg = DAG.getNode(ISD::BITCAST, dl, MVT::i32, Arg); in LowerCall_32()
1161 Arg = DAG.getNode(ISD::BITCAST, DL, VA.getLocVT(), Arg); in LowerCall_64()
1520 setOperationAction(ISD::BITCAST, MVT::f32, Expand); in SparcTargetLowering()
1521 setOperationAction(ISD::BITCAST, MVT::i32, Expand); in SparcTargetLowering()
1558 setOperationAction(ISD::BITCAST, MVT::f64, Expand); in SparcTargetLowering()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp597 setOperationAction(ISD::BITCAST, MVT::i16, Custom); in AArch64TargetLowering()
598 setOperationAction(ISD::BITCAST, MVT::f16, Custom); in AArch64TargetLowering()
2730 Op = DAG.getNode(ISD::BITCAST, DL, MVT::f32, Op); in LowerBITCAST()
2937 DAG.getNode(ISD::BITCAST, DL, Op1VT, N00), Op1), in LowerMUL()
2939 DAG.getNode(ISD::BITCAST, DL, Op1VT, N01), Op1)); in LowerMUL()
2955 SDValue Result = DAG.getNode(ISD::BITCAST, dl, MVT::v1i64, in LowerINTRINSIC_WO_CHAIN()
2958 return DAG.getNode(ISD::BITCAST, dl, MVT::i64, Result); in LowerINTRINSIC_WO_CHAIN()
3092 Trunc = DAG.getNode(ISD::BITCAST, DL, MVT::v2i32, Trunc); in LowerTruncateVectorStore()
3154 case ISD::BITCAST: in LowerOperation()
3440 ArgValue = DAG.getNode(ISD::BITCAST, DL, VA.getValVT(), ArgValue); in LowerFormalArguments()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DISDOpcodes.h625 BITCAST, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetLoweringBase.cpp1629 case PtrToInt: return ISD::BITCAST; in InstructionOpcodeToISD()
1630 case IntToPtr: return ISD::BITCAST; in InstructionOpcodeToISD()
1631 case BitCast: return ISD::BITCAST; in InstructionOpcodeToISD()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp182 setOperationAction(ISD::BITCAST, MVT::i32, Custom); in RISCVTargetLowering()
410 case ISD::BITCAST: { in LowerOperation()
920 case ISD::BITCAST: { in ReplaceNodeResults()
1691 Val = DAG.getNode(ISD::BITCAST, DL, VA.getValVT(), Val); in convertLocVTToValVT()
1746 Val = DAG.getNode(ISD::BITCAST, DL, LocVT, Val); in convertValVTToLocVT()

12