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