reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
 1535   if (BO && BO->hasOneUse()) {
 1535   if (BO && BO->hasOneUse()) {
 1536     Type *LHSMinType = getMinimumFPType(BO->getOperand(0));
 1537     Type *RHSMinType = getMinimumFPType(BO->getOperand(1));
 1538     unsigned OpWidth = BO->getType()->getFPMantissaWidth();
 1543     switch (BO->getOpcode()) {
 1566           Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty);
 1567           Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty);
 1568           Instruction *RI = BinaryOperator::Create(BO->getOpcode(), LHS, RHS);
 1569           RI->copyFastMathFlags(BO);
 1580           Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty);
 1581           Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty);
 1582           return BinaryOperator::CreateFMulFMF(LHS, RHS, BO);
 1593           Value *LHS = Builder.CreateFPTrunc(BO->getOperand(0), Ty);
 1594           Value *RHS = Builder.CreateFPTrunc(BO->getOperand(1), Ty);
 1595           return BinaryOperator::CreateFDivFMF(LHS, RHS, BO);
 1607            LHS = Builder.CreateFPTrunc(BO->getOperand(0), LHSMinType);
 1608            RHS = Builder.CreateFPTrunc(BO->getOperand(1), LHSMinType);
 1610            LHS = Builder.CreateFPTrunc(BO->getOperand(0), RHSMinType);
 1611            RHS = Builder.CreateFPTrunc(BO->getOperand(1), RHSMinType);
 1614         Value *ExactResult = Builder.CreateFRemFMF(LHS, RHS, BO);