reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1435 assert((I.getOpcode() == Instruction::FAdd || 1436 I.getOpcode() == Instruction::FSub) && "Expecting fadd/fsub"); 1437 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && 1437 assert(I.hasAllowReassoc() && I.hasNoSignedZeros() && 1440 if (Instruction *Lerp = factorizeLerp(I, Builder)) 1443 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); 1443 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1); 1461 bool IsFAdd = I.getOpcode() == Instruction::FAdd; 1462 Value *XY = IsFAdd ? Builder.CreateFAddFMF(X, Y, &I) 1463 : Builder.CreateFSubFMF(X, Y, &I); 1471 return IsFMul ? BinaryOperator::CreateFMulFMF(XY, Z, &I) 1472 : BinaryOperator::CreateFDivFMF(XY, Z, &I);