/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 3272 EVT TruncVT = N1.getValueType(); in visitSHL() local 3275 TruncC = TruncC.trunc(TruncVT.getSizeInBits()); in visitSHL() 3277 DAG.getNode(ISD::AND, N->getDebugLoc(), TruncVT, in visitSHL() 3280 TruncVT, N100), in visitSHL() 3281 DAG.getConstant(TruncC, TruncVT))); in visitSHL() 3424 EVT TruncVT = in visitSRA() local 3435 TLI.isOperationLegalOrCustom(ISD::SIGN_EXTEND, TruncVT) && in visitSRA() 3437 TLI.isTruncateFree(VT, TruncVT)) { in visitSRA() 3443 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, N0.getDebugLoc(), TruncVT, in visitSRA() 3457 EVT TruncVT = N1.getValueType(); in visitSRA() local [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.h | 546 SDValue combineTruncateExtract(const SDLoc &DL, EVT TruncVT, SDValue Op,
|
D | SystemZISelLowering.cpp | 4820 const SDLoc &DL, EVT TruncVT, SDValue Op, DAGCombinerInfo &DCI) const { in combineTruncateExtract() argument 4825 TruncVT.getSizeInBits() % 8 == 0) { in combineTruncateExtract() 4831 unsigned TruncBytes = TruncVT.getStoreSize(); in combineTruncateExtract() 4845 EVT ResVT = (TruncBytes < 4 ? MVT::i32 : TruncVT); in combineTruncateExtract()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.h | 594 SDValue combineTruncateExtract(const SDLoc &DL, EVT TruncVT, SDValue Op,
|
D | SystemZISelLowering.cpp | 5215 const SDLoc &DL, EVT TruncVT, SDValue Op, DAGCombinerInfo &DCI) const { in combineTruncateExtract() argument 5220 TruncVT.getSizeInBits() % 8 == 0) { in combineTruncateExtract() 5226 unsigned TruncBytes = TruncVT.getStoreSize(); in combineTruncateExtract() 5240 EVT ResVT = (TruncBytes < 4 ? MVT::i32 : TruncVT); in combineTruncateExtract()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 4473 EVT TruncVT = TLI->getValueType(*DL, I->getType()); in optimizeLoadExt() local 4474 unsigned TruncBitWidth = TruncVT.getSizeInBits(); in optimizeLoadExt() 4503 EVT TruncVT = TLI->getValueType(*DL, TruncTy); in optimizeLoadExt() local 4506 if (!LoadResultVT.bitsGT(TruncVT) || !TruncVT.isRound() || in optimizeLoadExt() 4507 !TLI->isLoadExtLegal(ISD::ZEXTLOAD, LoadResultVT, TruncVT)) in optimizeLoadExt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 5454 EVT TruncVT = TLI->getValueType(*DL, I->getType()); in optimizeLoadExt() local 5455 unsigned TruncBitWidth = TruncVT.getSizeInBits(); in optimizeLoadExt() 5483 EVT TruncVT = TLI->getValueType(*DL, TruncTy); in optimizeLoadExt() local 5486 if (!LoadResultVT.bitsGT(TruncVT) || !TruncVT.isRound() || in optimizeLoadExt() 5487 !TLI->isLoadExtLegal(ISD::ZEXTLOAD, LoadResultVT, TruncVT)) in optimizeLoadExt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 758 ArrayRef<int> ShuffleMask, EVT SrcVT, EVT TruncVT) const override;
|
D | X86ISelLowering.cpp | 17351 MVT TruncVT = MVT::v4i1; in LowerFP_TO_INT() local 17356 TruncVT = MVT::v8i1; in LowerFP_TO_INT() 17363 Res = DAG.getNode(ISD::TRUNCATE, dl, TruncVT, Res); in LowerFP_TO_INT() 38451 EVT TruncVT = EVT::getIntegerVT(*DAG.getContext(), 32); in combineSIntToFP() local 38453 TruncVT = EVT::getVectorVT(*DAG.getContext(), TruncVT, in combineSIntToFP() 38456 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, TruncVT, Op0); in combineSIntToFP() 38955 EVT TruncVT = EVT::getVectorVT(*DAG.getContext(), MVT::i16, in matchPMADDWD() local 38958 DAG.getNode(ISD::TRUNCATE, DL, TruncVT, Ops[0]), in matchPMADDWD() 38959 DAG.getNode(ISD::TRUNCATE, DL, TruncVT, Ops[1])); in matchPMADDWD() 39866 ArrayRef<int> ShuffleMask, EVT SrcVT, EVT TruncVT) const { in isDesirableToCombineBuildVectorToShuffleTruncate()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 4374 EVT TruncVT = N->getValueType(0); in distributeTruncateThroughAnd() local 4377 TruncC = TruncC.trunc(TruncVT.getScalarSizeInBits()); in distributeTruncateThroughAnd() 4380 return DAG.getNode(ISD::AND, DL, TruncVT, in distributeTruncateThroughAnd() 4381 DAG.getNode(ISD::TRUNCATE, DL, TruncVT, N00), in distributeTruncateThroughAnd() 4382 DAG.getConstant(TruncC, DL, TruncVT)); in distributeTruncateThroughAnd() 4682 EVT TruncVT = EVT::getIntegerVT(Ctx, OpSizeInBits - N1C->getZExtValue()); in visitSRA() local 4685 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorNumElements()); in visitSRA() 4695 TLI.isOperationLegalOrCustom(ISD::SIGN_EXTEND, TruncVT) && in visitSRA() 4697 TLI.isTruncateFree(VT, TruncVT)) { in visitSRA() 4704 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, in visitSRA()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 6221 EVT TruncVT = N->getValueType(0); in distributeTruncateThroughAnd() local 6223 SDValue Trunc00 = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, N00); in distributeTruncateThroughAnd() 6224 SDValue Trunc01 = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, N01); in distributeTruncateThroughAnd() 6227 return DAG.getNode(ISD::AND, DL, TruncVT, Trunc00, Trunc01); in distributeTruncateThroughAnd() 6613 EVT TruncVT = EVT::getIntegerVT(Ctx, OpSizeInBits - N1C->getZExtValue()); in visitSRA() local 6616 TruncVT = EVT::getVectorVT(Ctx, TruncVT, VT.getVectorNumElements()); in visitSRA() 6626 TLI.isOperationLegalOrCustom(ISD::SIGN_EXTEND, TruncVT) && in visitSRA() 6628 TLI.isTruncateFree(VT, TruncVT)) { in visitSRA() 6634 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, DL, TruncVT, in visitSRA()
|
D | LegalizeVectorTypes.cpp | 3128 EVT TruncVT = EVT::getVectorVT(Ctx, ToMaskVT.getVectorElementType(), in convertMask() local 3130 Mask = DAG.getNode(ISD::TRUNCATE, SDLoc(Mask), TruncVT, Mask); in convertMask()
|
D | LegalizeIntegerTypes.cpp | 718 EVT TruncVT = EVT::getVectorVT(*DAG.getContext(), in PromoteIntRes_TRUNCATE() local 720 SDValue WideTrunc = DAG.getNode(ISD::TRUNCATE, dl, TruncVT, WideInOp); in PromoteIntRes_TRUNCATE()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 2957 ArrayRef<int> ShuffleMask, EVT SrcVT, EVT TruncVT) const { in isDesirableToCombineBuildVectorToShuffleTruncate() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.cpp | 5544 EVT TruncVT = EVT::getIntegerVT(*DAG.getContext(), MemVT.getSizeInBits()); in widenLoad() local 5548 TruncVT = MemVT.changeTypeToInteger(); in widenLoad() 5554 DAG.getValueType(TruncVT)); in widenLoad() 5557 Cvt = DAG.getZeroExtendInReg(NewLoad, SL, TruncVT); in widenLoad()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4588 MVT TruncVT = MVT::getIntegerVT(EltSize); in SkipExtension() local 4593 Ops.push_back(DAG.getConstant(CInt.trunc(EltSize), TruncVT)); in SkipExtension() 4596 MVT::getVectorVT(TruncVT, NumElts), Ops.data(), NumElts); in SkipExtension()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2161 MVT TruncVT = MVT::getIntegerVT(EltSize); in skipExtensionForVectorMULL() local 2170 return DAG.getBuildVector(MVT::getVectorVT(TruncVT, NumElts), dl, Ops); in skipExtensionForVectorMULL()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2489 MVT TruncVT = MVT::getIntegerVT(EltSize); in skipExtensionForVectorMULL() local 2498 return DAG.getBuildVector(MVT::getVectorVT(TruncVT, NumElts), dl, Ops); in skipExtensionForVectorMULL()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 6600 MVT TruncVT = MVT::getIntegerVT(EltSize); in SkipExtensionForVMULL() local 6610 return DAG.getBuildVector(MVT::getVectorVT(TruncVT, NumElts), dl, Ops); in SkipExtensionForVMULL()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7434 MVT TruncVT = MVT::getIntegerVT(EltSize); in SkipExtensionForVMULL() local 7444 return DAG.getBuildVector(MVT::getVectorVT(TruncVT, NumElts), dl, Ops); in SkipExtensionForVMULL()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 17198 MVT TruncVT = MVT::getIntegerVT(MaskVT.getSizeInBits()); in getMaskNode() local 17200 DAG.getNode(ISD::TRUNCATE, dl, TruncVT, Mask)); in getMaskNode()
|