Searched refs:TruncC (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| D | InstCombineMulDivRem.cpp | 1217 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() local 1218 if (ConstantExpr::getZExt(TruncC, Ty) != C) in narrowUDivURem() 1223 return new ZExtInst(Builder.CreateBinOp(Opcode, X, TruncC), Ty); in narrowUDivURem() 1228 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); in narrowUDivURem() local 1229 if (ConstantExpr::getZExt(TruncC, Ty) != C) in narrowUDivURem() 1234 return new ZExtInst(Builder.CreateBinOp(Opcode, TruncC, X), Ty); in narrowUDivURem()
|
| D | InstCombineAndOrXor.cpp | 1498 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() local 1499 Constant *ZextTruncC = ConstantExpr::getZExt(TruncC, DestTy); in foldLogicCastConstant() 1502 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 1508 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); in foldLogicCastConstant() local 1509 Constant *SextTruncC = ConstantExpr::getSExt(TruncC, DestTy); in foldLogicCastConstant() 1512 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC); in foldLogicCastConstant() 2082 Constant *TruncC = ConstantInt::get(X->getType(), C->trunc(XWidth)); in visitAnd() local 2083 Value *And = Builder.CreateAnd(BinOp, TruncC); in visitAnd()
|
| D | InstCombineSelect.cpp | 2038 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); in foldSelectExtConst() local 2039 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType); in foldSelectExtConst() 2041 Value *TruncCVal = cast<Value>(TruncC); in foldSelectExtConst()
|
| D | InstCombineCompares.cpp | 6970 APFloat TruncC = *C; in visitFCmpInst() local 6971 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy); in visitFCmpInst() 7000 APFloat Fabs = TruncC; in visitFCmpInst() 7004 Constant *NewC = ConstantFP::get(X->getType(), TruncC); in visitFCmpInst()
|