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

References

lib/Analysis/ConstantFolding.cpp
 2072         return ConstantFP::get(Ty->getContext(), maximum(C1, C2));
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
13250   return visitFMinMax(DAG, N, maximum);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 2208           Res = maximum(*C1, *C2);
unittests/ADT/APFloatTest.cpp
  579   EXPECT_EQ(2.0, maximum(f1, f2).convertToDouble());
  580   EXPECT_EQ(2.0, maximum(f2, f1).convertToDouble());
  581   EXPECT_EQ(0.0, maximum(zp, zn).convertToDouble());
  582   EXPECT_EQ(0.0, maximum(zn, zp).convertToDouble());
  583   EXPECT_TRUE(std::isnan(maximum(f1, nan).convertToDouble()));
  584   EXPECT_TRUE(std::isnan(maximum(nan, f1).convertToDouble()));