Home
last modified time | relevance | path

Searched refs:getTrunc (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1512 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant()
1522 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant()
1714 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp()
1831 auto *TruncC1 = ConstantExpr::getTrunc(C1, X->getType()); in visitAnd()
1838 auto *TruncC2 = ConstantExpr::getTrunc(AndRHS, X->getType()); in visitAnd()
1860 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd()
2158 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
DInstCombineCasts.cpp602 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp()
608 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp()
2009 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
DInstCombineMulDivRem.cpp938 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem()
1092 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
DInstCombinePHI.cpp701 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in FoldPHIArgZextsIntoPHI()
DInstCombineShifts.cpp288 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
DInstCombineSelect.cpp1899 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); in foldSelectExtConst()
DInstructionCombining.cpp1625 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow()
DInstCombineCompares.cpp4389 Constant *Res1 = ConstantExpr::getTrunc(C, SrcTy); in foldICmpWithZextOrSext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp1274 auto *GVRelPtr = ConstantExpr::getTrunc( in instrumentGlobal()
1360 return ConstantExpr::getTrunc( in instrumentGlobals()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantFold.cpp339 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes()
2122 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction()
2125 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
DConstants.cpp1640 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
1683 return getTrunc(C, Ty); in getTruncOrBitCast()
1736 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
DCore.cpp1662 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstants.h954 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp273 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast()
279 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
DValueTracking.cpp5158 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCast()
5162 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCast()
DInstructionSimplify.cpp3326 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
3385 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
DScalarEvolution.cpp1279 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr()
8134 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()