Home
last modified time | relevance | path

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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
HDRelLookupTableConverter.cpp118 llvm::ConstantExpr::getTrunc(Sub, Type::getInt32Ty(M.getContext())); in createRelLookupTable()
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDConstantInitBuilder.cpp147 offset = llvm::ConstantExpr::getTrunc(offset, offsetType); in getRelativeOffsetToPosition()
HDMicrosoftCXXABI.cpp591 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
HDTruncInstCombine.cpp369 C = ConstantExpr::getTrunc(C, Ty); in getReducedOperand()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
HDInstCombineCasts.cpp569 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp()
575 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp()
843 ConstantExpr::getTrunc(C, DestTy)); in visitTrunc()
2255 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
HDInstCombineInternal.h225 Constant *TruncC = ConstantExpr::getTrunc(C, TruncTy); in getLosslessTrunc()
HDInstCombineShifts.cpp312 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
HDInstCombineAndOrXor.cpp1943 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp()
3185 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
HDInstCombineMulDivRem.cpp1644 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
HDHWAddressSanitizer.cpp566 return ConstantExpr::getTrunc( in createHwasanCtorComdat()
1718 auto *GVRelPtr = ConstantExpr::getTrunc( in instrumentGlobal()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDConstants.h1125 static Constant *getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced = false);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
HDConstants.cpp2197 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
2212 return getTrunc(C, Ty); in getTruncOrBitCast()
2241 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
HDCore.cpp1854 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDAttributor.cpp331 return ConstantExpr::getTrunc(C, &Ty, /* OnlyIfReduced */ true); in getWithType()
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
HDValueTracking.cpp8630 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCast()
8634 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCast()
HDScalarEvolution.cpp1154 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr()
9823 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()