Home
last modified time | relevance | path

Searched refs:getLosslessTrunc (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h225 Constant *getLosslessTrunc(Constant *C, Type *TruncTy, unsigned ExtOp) { in getLosslessTrunc() function
235 return getLosslessTrunc(C, TruncTy, Instruction::ZExt); in getLosslessUnsignedTrunc()
239 return getLosslessTrunc(C, TruncTy, Instruction::SExt); in getLosslessSignedTrunc()
H A DInstCombineSelect.cpp2295 Constant *TruncC = getLosslessTrunc(C, SmallType, ExtOpcode); in foldSelectExtConst()
H A DInstructionCombining.cpp2527 Constant *NarrowC = getLosslessTrunc(WideC, X->getType(), CastOpc); in narrowMathIfNoOverflow()
H A DInstCombineCompares.cpp6347 Constant *Res = getLosslessTrunc(C, SrcTy, CastOp0->getOpcode()); in foldICmpWithZextOrSext()