Searched refs:TruncC (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp1001 Constant *TruncC = ConstantExpr::getTrunc(C, X->getType()); local
1002 if (ConstantExpr::getZExt(TruncC, Ty) != C)
1009 Value *NarrowOp = isa<Constant>(D) ? Builder.CreateBinOp(Opcode, X, TruncC)
1010 : Builder.CreateBinOp(Opcode, TruncC, X);
H A DInstCombineAndOrXor.cpp1559 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); local
1560 Constant *ZextTruncC = ConstantExpr::getZExt(TruncC, DestTy);
1563 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC);
1569 Constant *TruncC = ConstantExpr::getTrunc(C, SrcTy); local
1570 Constant *SextTruncC = ConstantExpr::getSExt(TruncC, DestTy);
1573 Value *NewOp = Builder.CreateBinOp(LogicOpc, X, TruncC);
H A DInstCombineSelect.cpp1942 Constant *TruncC = ConstantExpr::getTrunc(C, SmallType); local
1943 Constant *ExtC = ConstantExpr::getCast(ExtOpcode, TruncC, SelType);
1945 Value *TruncCVal = cast<Value>(TruncC);
H A DInstCombineCompares.cpp6233 APFloat TruncC = *C; local
6234 TruncC.convert(FPSem, APFloat::rmNearestTiesToEven, &Lossy);
6238 APFloat Fabs = TruncC;
6242 Constant *NewC = ConstantFP::get(X->getType(), TruncC);

Completed in 78 milliseconds