Home
last modified time | relevance | path

Searched refs:TruncVT (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp3272 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/
DSystemZISelLowering.h546 SDValue combineTruncateExtract(const SDLoc &DL, EVT TruncVT, SDValue Op,
DSystemZISelLowering.cpp4820 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/
DSystemZISelLowering.h594 SDValue combineTruncateExtract(const SDLoc &DL, EVT TruncVT, SDValue Op,
DSystemZISelLowering.cpp5215 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/
DCodeGenPrepare.cpp4473 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/
DCodeGenPrepare.cpp5454 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/
DX86ISelLowering.h758 ArrayRef<int> ShuffleMask, EVT SrcVT, EVT TruncVT) const override;
DX86ISelLowering.cpp17351 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/
DDAGCombiner.cpp4374 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/
DDAGCombiner.cpp6221 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()
DLegalizeVectorTypes.cpp3128 EVT TruncVT = EVT::getVectorVT(Ctx, ToMaskVT.getVectorElementType(), in convertMask() local
3130 Mask = DAG.getNode(ISD::TRUNCATE, SDLoc(Mask), TruncVT, Mask); in convertMask()
DLegalizeIntegerTypes.cpp718 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/
DTargetLowering.h2957 ArrayRef<int> ShuffleMask, EVT SrcVT, EVT TruncVT) const { in isDesirableToCombineBuildVectorToShuffleTruncate() argument
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp5544 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/
DARMISelLowering.cpp4588 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/
DAArch64ISelLowering.cpp2161 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/
DAArch64ISelLowering.cpp2489 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/
DARMISelLowering.cpp6600 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/
DARMISelLowering.cpp7434 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/
DX86ISelLowering.cpp17198 MVT TruncVT = MVT::getIntegerVT(MaskVT.getSizeInBits()); in getMaskNode() local
17200 DAG.getNode(ISD::TRUNCATE, dl, TruncVT, Mask)); in getMaskNode()