Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Trunc

818   // trunc(X) - trunc(Y) -> trunc(X - Y) if everything simplifies.
824 // It does! Now see if "trunc V" simplifies.
826 // It does, return the simplified "trunc V".
2068 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy);
2069 Constant *RExt = ConstantExpr::getCast(CastInst::ZExt, Trunc, DstTy);
2075 SrcOp, Trunc, Q, MaxRecurse-1))
2127 Constant *Trunc = ConstantExpr::getTrunc(CI, SrcTy);
2128 Constant *RExt = ConstantExpr::getCast(CastInst::SExt, Trunc, DstTy);
2133 if (Value *V = SimplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse-1))
2838 return ConstantFoldInstOperands(Instruction::Trunc, Ty, C, Q.TD, Q.TLI);
2946 case Intrinsic::trunc:
3134 case Instruction::Trunc: