/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/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/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/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/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()
|