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/ |
D | InstCombineAndOrXor.cpp | 1512 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()
|
D | InstCombineCasts.cpp | 602 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()
|
D | InstCombineMulDivRem.cpp | 938 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() 1092 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
|
D | InstCombinePHI.cpp | 701 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in FoldPHIArgZextsIntoPHI()
|
D | InstCombineShifts.cpp | 288 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
|
D | InstCombineSelect.cpp | 1899 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); in foldSelectExtConst()
|
D | InstructionCombining.cpp | 1625 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow()
|
D | InstCombineCompares.cpp | 4389 Constant *Res1 = ConstantExpr::getTrunc(C, SrcTy); in foldICmpWithZextOrSext()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | HWAddressSanitizer.cpp | 1274 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/ |
D | ConstantFold.cpp | 339 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()
|
D | Constants.cpp | 1640 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
|
D | Core.cpp | 1662 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/ |
D | Constants.h | 954 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/ |
D | ConstantFolding.cpp | 273 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() 279 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|
D | ValueTracking.cpp | 5158 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCast() 5162 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCast()
|
D | InstructionSimplify.cpp | 3326 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst() 3385 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
|
D | ScalarEvolution.cpp | 1279 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr() 8134 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|