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

References

include/llvm/ADT/APFloat.h
 1247   return (B.compare(A) == APFloat::cmpLessThan) ? B : A;
 1258   return (A.compare(B) == APFloat::cmpLessThan) ? B : A;
 1271   return (B.compare(A) == APFloat::cmpLessThan) ? B : A;
 1284   return (A.compare(B) == APFloat::cmpLessThan) ? B : A;
lib/Analysis/ConstantFolding.cpp
 2521           return Op.compare(APFloat(-745.0)) != APFloat::cmpLessThan &&
 2522                  Op.compare(APFloat(709.0)) != APFloat::cmpGreaterThan;
 2524           return Op.compare(APFloat(-103.0f)) != APFloat::cmpLessThan &&
 2525                  Op.compare(APFloat(88.0f)) != APFloat::cmpGreaterThan;
 2533           return Op.compare(APFloat(-1074.0)) != APFloat::cmpLessThan &&
 2534                  Op.compare(APFloat(1023.0)) != APFloat::cmpGreaterThan;
 2536           return Op.compare(APFloat(-149.0f)) != APFloat::cmpLessThan &&
 2537                  Op.compare(APFloat(127.0f)) != APFloat::cmpGreaterThan;
 2567         return Op.compare(APFloat(Op.getSemantics(), "-1")) !=
 2569                Op.compare(APFloat(Op.getSemantics(), "1")) !=
 2580           return Op.compare(APFloat(-710.0)) != APFloat::cmpLessThan &&
 2581                  Op.compare(APFloat(710.0)) != APFloat::cmpGreaterThan;
 2583           return Op.compare(APFloat(-89.0f)) != APFloat::cmpLessThan &&
 2584                  Op.compare(APFloat(89.0f)) != APFloat::cmpGreaterThan;
lib/Analysis/InstructionSimplify.cpp
 3584          C2->compare(*C) == APFloat::cmpLessThan) ||
 3586          C2->compare(*C) == APFloat::cmpGreaterThan)) {
lib/Analysis/ValueTracking.cpp
 4515         FC1->compare(*FC2) == APFloat::cmpResult::cmpLessThan)
 4525         FC1->compare(*FC2) == APFloat::cmpResult::cmpGreaterThan)
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 2039     APFloat::cmpResult R = N1CFP->getValueAPF().compare(N2CFP->getValueAPF());
lib/IR/ConstantFold.cpp
 1880     APFloat::cmpResult R = C1V.compare(C2V);
lib/IR/Metadata.cpp
  935   if (AVal.compare(BVal) == APFloat::cmpLessThan)
lib/Support/APFloat.cpp
 4291   auto Result = Floats[0].compare(RHS.Floats[0]);
 4294     return Floats[1].compare(RHS.Floats[1]);
 4389           Floats[0].compare(Floats[0] + Floats[1]) != cmpEqual);
lib/Target/AMDGPU/SIISelLowering.cpp
 9074   APFloat::cmpResult Cmp = K0->getValueAPF().compare(K1->getValueAPF());
 9917   APFloat::cmpResult Cmp0 = F.compare(Zero);
 9925   APFloat::cmpResult Cmp1 = F.compare(One);
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1383   APFloat::cmpResult Cmp0 = Max3.compare(Src0);
 1388   APFloat::cmpResult Cmp1 = Max3.compare(Src1);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 5630       if (RHS.compare(RHSRoundInt) != APFloat::cmpEqual) {
 5718     if (SMax.compare(RHS) == APFloat::cmpLessThan) {  // smax < 13123.0
 5730     if (UMax.compare(RHS) == APFloat::cmpLessThan) {  // umax < 13123.0
 5743     if (SMin.compare(RHS) == APFloat::cmpGreaterThan) { // smin > 12312.0
 5754     if (SMin.compare(RHS) == APFloat::cmpGreaterThan) { // umin > 12312.0
 6100           ((Fabs.compare(APFloat::getSmallestNormalized(FPSem)) !=
lib/Transforms/Scalar/Float2Int.cpp
  328         if (Res != APFloat::opOK || NewF.compare(F) != APFloat::cmpEqual) {
lib/Transforms/Scalar/Reassociate.cpp
 1078         if (F1.compare(F2) == APFloat::cmpEqual) {
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1701     if (ExpoA.compare(LimF) == APFloat::cmpLessThan) {
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
 1541   return ExpectedValue.compare(Node.getValue()) == llvm::APFloat::cmpEqual;
tools/clang/lib/AST/ExprConstant.cpp
11515         LHS.getComplexFloatReal().compare(RHS.getComplexFloatReal());
11517         LHS.getComplexFloatImag().compare(RHS.getComplexFloatImag());
11541       switch (LHS.compare(RHS)) {
tools/lldb/source/Utility/Scalar.cpp
 2794     result = a->m_float.compare(b->m_float);
 2833     result = a->m_float.compare(b->m_float);
unittests/ADT/APFloatTest.cpp
 3786             APFloat(APFloat::PPCDoubleDouble(), "10").compare(A));
 3794               APFloat(APFloat::PPCDoubleDouble(), "2").compare(A));
 3800               APFloat(APFloat::PPCDoubleDouble(), "2").compare(A));
 3839     EXPECT_EQ(Expected, A1.compare(A2))