Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp139 llvm::ConstantExpr::getTrunc(Sub, Type::getInt32Ty(M.getContext())); in createRelLookupTable()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DConstantInitBuilder.cpp147 offset = llvm::ConstantExpr::getTrunc(offset, offsetType); in getRelativeOffsetToPosition()
H A DMicrosoftCXXABI.cpp587 return llvm::ConstantExpr::getTrunc(Diff, CGM.IntTy); in getImageRelativeConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp368 C = ConstantExpr::getTrunc(C, Ty); in getReducedOperand()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp645 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp()
651 Constant *NarrowC = ConstantExpr::getTrunc(C, DestTy); in narrowBinOp()
916 ConstantExpr::getTrunc(C, DestTy)); in visitTrunc()
2317 Piece = ConstantExpr::getTrunc(Piece, ElementIntTy); in collectInsertionElements()
H A DInstCombineInternal.h226 Constant *TruncC = ConstantExpr::getTrunc(C, TruncTy); in getLosslessTrunc()
H A DInstCombineShifts.cpp312 NewMask = ConstantExpr::getTrunc(NewMask, NarrowestTy); in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineAndOrXor.cpp1998 Value *NewC = ConstantExpr::getTrunc(C, X->getType()); in narrowMaskedBinOp()
3243 AConst = ConstantExpr::getTrunc(AConst, CmpInst::makeCmpResultType(Ty)); in getSelectCondition()
H A DInstCombineMulDivRem.cpp1812 ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType()); in visitSDiv()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp599 return ConstantExpr::getTrunc( in createHwasanCtorComdat()
1739 auto *GVRelPtr = ConstantExpr::getTrunc( in instrumentGlobal()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2225 return getTrunc(C, Ty, OnlyIfReduced); in getCast()
2240 return getTrunc(C, Ty); in getTruncOrBitCast()
2269 Constant *ConstantExpr::getTrunc(Constant *C, Type *Ty, bool OnlyIfReduced) { in getTrunc() function in ConstantExpr
H A DCore.cpp1853 return wrap(ConstantExpr::getTrunc(unwrap<Constant>(ConstantVal), in LLVMConstTrunc()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1159 LLVM_ABI static Constant *getTrunc(Constant *C, Type *Ty,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp332 return ConstantExpr::getTrunc(C, &Ty, /* OnlyIfReduced */ true); in getWithType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp8797 CastedTo = ConstantExpr::getTrunc(C, SrcTy); in lookThroughCastConst()
8801 CastedTo = ConstantExpr::getTrunc(C, SrcTy, true); in lookThroughCastConst()
H A DScalarEvolution.cpp1160 cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty))); in getTruncateExpr()
9878 return ConstantExpr::getTrunc(CastOp, ST->getType()); in BuildConstantFromSCEV()
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc20907 {"_ZN4llvm12ConstantExpr8getTruncEPNS_8ConstantEPKNS_4TypeE", "llvm::ConstantExpr::getTrunc(llvm::C…