Home
last modified time | relevance | path

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

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