Home | History | Annotate | Download | only in InstCombine

Lines Matching defs:Fold

270     // Try to fold constant mul into select arguments.
552 // Try to fold constant mul into select arguments.
677 // The purpose is two-fold:
715 /// Try to fold a divide or remainder of a select instruction.
902 // See if we can fold away this div instruction.
939 fold this
943 Value *OperandToFold; ///< Which operand to fold.
1276 Constant *Fold = nullptr;
1282 Fold = ConstantExpr::getFDiv(C1, C2);
1285 Fold = ConstantExpr::getFMul(C1, C2);
1288 Fold = ConstantExpr::getFDiv(C1, C2);
1292 if (Fold && isNormalFp(Fold)) {
1293 Instruction *R = CreateDiv ? BinaryOperator::CreateFDiv(Fold, X)
1294 : BinaryOperator::CreateFMul(X, Fold);
1370 // See if we can fold away this rem instruction.