Searched refs:getLosslessTrunc (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 225 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 D | InstCombineSelect.cpp | 2295 Constant *TruncC = getLosslessTrunc(C, SmallType, ExtOpcode); in foldSelectExtConst()
|
| H A D | InstructionCombining.cpp | 2527 Constant *NarrowC = getLosslessTrunc(WideC, X->getType(), CastOpc); in narrowMathIfNoOverflow()
|
| H A D | InstCombineCompares.cpp | 6347 Constant *Res = getLosslessTrunc(C, SrcTy, CastOp0->getOpcode()); in foldICmpWithZextOrSext()
|