Searched refs:TruncC (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineInternal.h | 223 Constant *TruncC = ConstantExpr::getTrunc(C, TruncTy); in getLosslessTrunc() local 225 ConstantFoldCastOperand(ExtOp, TruncC, C->getType(), DL); in getLosslessTrunc() 227 return TruncC; in getLosslessTrunc()
|
| H A D | InstCombineMulDivRem.cpp | 1355 Constant *TruncC = IC.getLosslessUnsignedTrunc(C, X->getType()); in narrowUDivURem() local 1356 if (!TruncC) in narrowUDivURem() 1361 return new ZExtInst(IC.Builder.CreateBinOp(Opcode, X, TruncC), Ty); in narrowUDivURem() 1366 Constant *TruncC = IC.getLosslessUnsignedTrunc(C, X->getType()); in narrowUDivURem() local 1367 if (!TruncC) in narrowUDivURem() 1372 return new ZExtInst(IC.Builder.CreateBinOp(Opcode, TruncC, X), Ty); in narrowUDivURem()
|
| H A D | InstCombineAndOrXor.cpp | 1643 if (Constant *TruncC = IC.getLosslessUnsignedTrunc(C, SrcTy)) { in foldLogicCastConstant() local 1645 Value *NewOp = IC.Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1651 if (Constant *TruncC = IC.getLosslessSignedTrunc(C, SrcTy)) { in foldLogicCastConstant() local 1653 Value *NewOp = IC.Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 2336 Constant *TruncC = ConstantInt::get(X->getType(), C->trunc(XWidth)); in visitAnd() local 2337 Value *And = Builder.CreateAnd(BinOp, TruncC); in visitAnd()
|
| H A D | InstCombineSelect.cpp | 2097 Constant *TruncC = getLosslessTrunc(C, SmallType, ExtOpcode); in foldSelectExtConst() local 2098 if (TruncC && ExtInst->hasOneUse()) { in foldSelectExtConst() 2099 Value *TruncCVal = cast<Value>(TruncC); in foldSelectExtConst()
|
| H A D | InstCombineCompares.cpp | 7787 APFloat TruncC = *C; in visitFCmpInst() local 7788 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst() 7817 APFloat Fabs = TruncC; in visitFCmpInst() 7821 Constant *NewC = ConstantFP::get(X->getType(), TruncC); in visitFCmpInst()
|