| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | ConstantInitBuilder.cpp | 142 offset = llvm::ConstantExpr::getTrunc(offset, offsetType); in getRelativeOffset()
|
| H A D | CodeGenFunction.cpp | 508 : llvm::ConstantExpr::getTrunc(PCRelAsInt, Int32Ty); in EncodeAddrForUseInPrologue()
|
| H A D | MicrosoftCXXABI.cpp | 547 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineAndOrXor.cpp | 1319 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() 1329 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() 1521 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() 1634 auto *TruncC1 = ConstantExpr::getTrunc(C1, X->getType()); in visitAnd() 1641 auto *TruncC2 = ConstantExpr::getTrunc(AndRHS, X->getType()); in visitAnd() 1663 Constant *C3 = ConstantExpr::getTrunc(YC, I.getType()); in visitAnd() 1933 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
|
| H A D | InstCombineCasts.cpp | 602 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 608 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 1944 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
|
| H A D | InstCombineMulDivRem.cpp | 850 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() 1000 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
|
| H A D | InstCombinePHI.cpp | 689 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in FoldPHIArgZextsIntoPHI()
|
| H A D | InstCombineSelect.cpp | 1309 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); in foldSelectExtConst()
|
| H A D | InstructionCombining.cpp | 1527 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow()
|
| H A D | InstCombineCompares.cpp | 3772 Constant *Res1 = ConstantExpr::getTrunc(C, SrcTy); in foldICmpWithCastAndCast()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 337 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes() 2001 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction() 2004 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
|
| H A D | Constants.cpp | 1541 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 1584 return getTrunc(C, Ty); in getTruncOrBitCast() 1637 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
|
| H A D | Core.cpp | 1638 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | Constants.h | 954 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 268 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() 274 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|
| H A D | ValueTracking.cpp | 5011 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCast() 5015 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCast()
|
| H A D | InstructionSimplify.cpp | 3405 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst() 3464 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in SimplifyICmpInst()
|
| H A D | ScalarEvolution.cpp | 1240 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr() 8012 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|