| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | RelLookupTableConverter.cpp | 118 llvm::ConstantExpr::getTrunc(Sub, Type::getInt32Ty(M.getContext())); in createRelLookupTable()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | ConstantInitBuilder.cpp | 147 offset = llvm::ConstantExpr::getTrunc(offset, offsetType); in getRelativeOffsetToPosition()
|
| H A D | MicrosoftCXXABI.cpp | 581 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 695 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 701 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp() 911 ShAmt = ConstantExpr::getTrunc(ShAmt, A->getType()); in visitTrunc() 921 ShAmt = ConstantExpr::getTrunc(ShAmt, A->getType()); in visitTrunc() 950 ConstantExpr::getTrunc(C, DestTy)); in visitTrunc() 2276 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
|
| H A D | InstCombineMulDivRem.cpp | 1217 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() 1228 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() 1382 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
|
| H A D | InstCombineAndOrXor.cpp | 1498 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() 1508 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() 1711 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp() 2677 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
|
| H A D | InstCombinePHI.cpp | 827 Constant *Trunc = ConstantExpr::getTrunc(C, NarrowType); in foldPHIArgZextsIntoPHI()
|
| H A D | InstCombineShifts.cpp | 294 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
|
| H A D | InstCombineCalls.cpp | 1338 Constant *NarrowC = ConstantExpr::getTrunc(C, X->getType()); in visitCallInst() 1361 Constant *NarrowC = ConstantExpr::getTrunc(C, X->getType()); in visitCallInst()
|
| H A D | InstCombineSelect.cpp | 2038 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); in foldSelectExtConst()
|
| H A D | InstructionCombining.cpp | 1924 Constant *NarrowC = ConstantExpr::getTrunc(WideC, X->getType()); in narrowMathIfNoOverflow()
|
| H A D | InstCombineCompares.cpp | 4899 Constant *Res1 = ConstantExpr::getTrunc(C, SrcTy); in foldICmpWithZextOrSext()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ConstantFold.cpp | 340 return ConstantExpr::getTrunc(Res, IntegerType::get(C->getContext(), in ExtractConstantBytes() 1894 Constant *CE1Inverse = ConstantExpr::getTrunc(CE1, CE1Op0->getType()); in ConstantFoldCompareInstruction() 1897 Constant *C2Inverse = ConstantExpr::getTrunc(C2, CE1Op0->getType()); in ConstantFoldCompareInstruction()
|
| H A D | Constants.cpp | 1984 return getTrunc(C, Ty, OnlyIfReduced); in getCast() 2027 return getTrunc(C, Ty); in getTruncOrBitCast() 2037 return getTrunc(C, Ty); in getSExtOrTrunc() 2091 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
|
| H A D | Core.cpp | 1680 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | HWAddressSanitizer.cpp | 522 return ConstantExpr::getTrunc( in createHwasanCtorComdat() 1549 auto *GVRelPtr = ConstantExpr::getTrunc( in instrumentGlobal()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Constants.h | 1057 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 278 Constant *CE = ConstantExpr::getTrunc(Elt, DstIntTy); in FoldBitCast() 284 Result.push_back(ConstantExpr::getTrunc(Elt, DstEltTy)); in FoldBitCast()
|
| H A D | ValueTracking.cpp | 6467 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCast() 6471 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCast()
|
| H A D | InstructionSimplify.cpp | 3770 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in simplifyICmpInst() 3839 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy); in simplifyICmpInst()
|
| H A D | ScalarEvolution.cpp | 1214 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr() 9792 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 300 return ConstantExpr::getTrunc(C, &Ty, /* OnlyIfReduced */ true); in getWithType()
|
| /openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/ |
| H A D | llvm.mli | 1181 See the method [llvm::ConstantExpr::getTrunc]. *)
|