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

Declarations

include/llvm/IR/Instruction.h
  410   bool hasNoNaNs() const;

References

lib/Analysis/ValueTracking.cpp
 3051       return CI->hasNoNaNs() && (CI->hasNoSignedZeros() ||
lib/CodeGen/CodeGenPrepare.cpp
 6457       return !Use->hasNoNaNs();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 5927     assert(!I.hasNoNaNs() && "fcmp should have simplified");
 5932     assert(!I.hasNoNaNs() && "fcmp should have simplified");
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  486     if (I.hasNoNaNs() &&
  496     if (I.hasNoNaNs() && I.hasNoSignedZeros() && Op0 == Op1 &&
 1280   if (I.hasNoNaNs() && I.hasAllowReassoc() &&
 1289   if (I.hasNoNaNs() && I.hasNoInfs() &&
lib/Transforms/InstCombine/InstCombineSelect.cpp
 2355       match(TrueVal, m_Instruction(FSub)) && FSub->hasNoNaNs() &&
 2363       match(FalseVal, m_Instruction(FSub)) && FSub->hasNoNaNs() &&
 2375       FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() &&
 2387       FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() &&
 2512   if (isa<FPMathOperator>(SI) && SI.hasNoNaNs() && SI.hasNoSignedZeros()) {
lib/Transforms/Utils/SimplifyLibCalls.cpp
 1547   if (Pow->hasOneUse() && Pow->hasApproxFunc() && Pow->hasNoNaNs() &&
lib/Transforms/Vectorize/SLPVectorizer.cpp
 6154             cast<Instruction>(Select->getCondition())->hasNoNaNs());
 6163             cast<Instruction>(Select->getCondition())->hasNoNaNs());
 6218                                cast<Instruction>(Cond)->hasNoNaNs());
 6233                                cast<Instruction>(Cond)->hasNoNaNs());
unittests/IR/IRBuilderTest.cpp
   86   EXPECT_FALSE(II->hasNoNaNs());
   92   EXPECT_FALSE(II->hasNoNaNs());
   98   EXPECT_FALSE(II->hasNoNaNs());
  104   EXPECT_FALSE(II->hasNoNaNs());
  110   EXPECT_FALSE(II->hasNoNaNs());
  116   EXPECT_FALSE(II->hasNoNaNs());
  122   EXPECT_FALSE(II->hasNoNaNs());
  394   EXPECT_TRUE(IFMF->hasNoNaNs());
  409   EXPECT_FALSE(FAdd->hasNoNaNs());
  419   EXPECT_FALSE(FAdd->hasNoNaNs());
  429   EXPECT_TRUE(FAdd->hasNoNaNs());
  446   EXPECT_TRUE(FAdd->hasNoNaNs());
  454   EXPECT_TRUE(FAdd->hasNoNaNs());
  547   EXPECT_FALSE(FCall->hasNoNaNs());
  552   EXPECT_FALSE(FCall->hasNoNaNs());
  561   EXPECT_TRUE(FCall->hasNoNaNs());
  566   EXPECT_TRUE(FCall->hasNoNaNs());
  579   EXPECT_TRUE(FDiv->hasNoNaNs());
unittests/IR/InstructionsTest.cpp
 1056   EXPECT_TRUE(FNeg->hasNoNaNs());