Searched refs:TruncC (Results 1 – 4 of 4) sorted by relevance
| /freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineMulDivRem.cpp | 850 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() local 851 if (ConstantExpr::getZExt(TruncC, Ty) != C) in narrowUDivURem() 858 Value *NarrowOp = isa<Constant>(D) ? Builder.CreateBinOp(Opcode, X, TruncC) in narrowUDivURem() 859 : Builder.CreateBinOp(Opcode, TruncC, X); in narrowUDivURem()
|
| H A D | InstCombineAndOrXor.cpp | 1319 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() local 1320 Constant *ZextTruncC = ConstantExpr::getZExt(TruncC, DestTy); in foldLogicCastConstant() 1323 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1329 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() local 1330 Constant *SextTruncC = ConstantExpr::getSExt(TruncC, DestTy); in foldLogicCastConstant() 1333 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant()
|
| H A D | InstCombineSelect.cpp | 1309 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); in foldSelectExtConst() local 1310 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst() 1312 Value *TruncCVal = cast<Value>(TruncC); in foldSelectExtConst()
|
| H A D | InstCombineCompares.cpp | 5533 APFloat TruncC = *C; in visitFCmpInst() local 5534 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst() 5538 APFloat Fabs = TruncC; in visitFCmpInst() 5543 Constant *NewC = ConstantFP::get(X->getType(), TruncC); in visitFCmpInst()
|