Home
last modified time | relevance | path

Searched refs:hasNoNaNs (Results 1 – 25 of 60) sorted by relevance

123

/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp87 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
93 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
99 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
105 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
111 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
117 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
123 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
129 EXPECT_FALSE(II->hasNoNaNs()); in TEST_F()
460 EXPECT_TRUE(IFMF->hasNoNaNs()); in TEST_F()
475 EXPECT_FALSE(FAdd->hasNoNaNs()); in TEST_F()
[all …]
/external/llvm/unittests/IR/
DIRBuilderTest.cpp142 EXPECT_FALSE(FAdd->hasNoNaNs()); in TEST_F()
157 EXPECT_TRUE(FAdd->hasNoNaNs()); in TEST_F()
164 EXPECT_TRUE(FAdd->hasNoNaNs()); in TEST_F()
218 EXPECT_FALSE(FCall->hasNoNaNs()); in TEST_F()
223 EXPECT_FALSE(FCall->hasNoNaNs()); in TEST_F()
232 EXPECT_TRUE(FCall->hasNoNaNs()); in TEST_F()
237 EXPECT_TRUE(FCall->hasNoNaNs()); in TEST_F()
249 EXPECT_TRUE(FDiv->hasNoNaNs()); in TEST_F()
/external/llvm/lib/IR/
DInstruction.cpp181 bool Instruction::hasNoNaNs() const { in hasNoNaNs() function in Instruction
183 return cast<FPMathOperator>(this)->hasNoNaNs(); in hasNoNaNs()
/external/llvm/include/llvm/IR/
DInstruction.h296 bool hasNoNaNs() const;
DOperator.h275 bool hasNoNaNs() const { in hasNoNaNs() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h321 bool hasNoNaNs() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp204 bool Instruction::hasNoNaNs() const { in hasNoNaNs() function in Instruction
206 return cast<FPMathOperator>(this)->hasNoNaNs(); in hasNoNaNs()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp228 bool Instruction::hasNoNaNs() const { in hasNoNaNs() function in Instruction
230 return cast<FPMathOperator>(this)->hasNoNaNs(); in hasNoNaNs()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h410 bool hasNoNaNs() const;
DOperator.h333 bool hasNoNaNs() const { in hasNoNaNs() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp486 if (I.hasNoNaNs() && in visitFMul()
496 if (I.hasNoNaNs() && I.hasNoSignedZeros() && Op0 == Op1 && in visitFMul()
1288 if (I.hasNoNaNs() && I.hasAllowReassoc() && in visitFDiv()
1297 if (I.hasNoNaNs() && I.hasNoInfs() && in visitFDiv()
DInstCombineSelect.cpp2475 match(TrueVal, m_Instruction(FSub)) && FSub->hasNoNaNs() && in visitSelectInst()
2483 match(FalseVal, m_Instruction(FSub)) && FSub->hasNoNaNs() && in visitSelectInst()
2495 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2507 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2634 if (isa<FPMathOperator>(SI) && SI.hasNoNaNs() && SI.hasNoSignedZeros()) { in visitSelectInst()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp501 if (I.hasNoNaNs() && in visitFMul()
526 if (I.hasNoNaNs() && I.hasNoSignedZeros() && Op0 == Op1 && in visitFMul()
1345 if (I.hasNoNaNs() && I.hasAllowReassoc() && in visitFDiv()
1354 if (I.hasNoNaNs() && I.hasNoInfs() && in visitFDiv()
DInstCombineSelect.cpp2729 match(TrueVal, m_Instruction(FSub)) && FSub->hasNoNaNs() && in visitSelectInst()
2737 match(FalseVal, m_Instruction(FSub)) && FSub->hasNoNaNs() && in visitSelectInst()
2749 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2761 FNeg->hasNoNaNs() && FNeg->hasNoSignedZeros() && in visitSelectInst()
2890 if (isa<FPMathOperator>(SI) && SI.hasNoNaNs() && SI.hasNoSignedZeros()) { in visitSelectInst()
/external/llvm-project/llvm/include/llvm/IR/
DOperator.h333 bool hasNoNaNs() const { in hasNoNaNs() function
DInstruction.h449 bool hasNoNaNs() const;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp529 if (getFlags().hasNoNaNs()) in print_details()
DInstrEmitter.cpp862 if (Flags.hasNoNaNs()) in EmitMachineNode()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp556 if (getFlags().hasNoNaNs()) in print_details()
DInstrEmitter.cpp929 if (Flags.hasNoNaNs()) in EmitMachineNode()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h394 setNoNaNs(FPMO.hasNoNaNs());
462 bool hasNoNaNs() const { return NoNaNs; }
/external/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h387 setNoNaNs(FPMO.hasNoNaNs());
413 bool hasNoNaNs() const { return NoNaNs; }
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp3088 (!SignBitOnly || cast<FPMathOperator>(I)->hasNoNaNs())) in cannotBeOrderedLessThanZeroImpl()
3149 return CI->hasNoNaNs() && (CI->hasNoSignedZeros() || in cannotBeOrderedLessThanZeroImpl()
3178 (!SignBitOnly || cast<FPMathOperator>(I)->hasNoNaNs()) && in cannotBeOrderedLessThanZeroImpl()
3254 if (FPMathOp->hasNoNaNs()) in isKnownNeverNaN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp6469 cast<Instruction>(Select->getCondition())->hasNoNaNs()); in getOperationData()
6478 cast<Instruction>(Select->getCondition())->hasNoNaNs()); in getOperationData()
6533 cast<Instruction>(Cond)->hasNoNaNs()); in getOperationData()
6548 cast<Instruction>(Cond)->hasNoNaNs()); in getOperationData()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp3314 (!SignBitOnly || cast<FPMathOperator>(I)->hasNoNaNs())) in cannotBeOrderedLessThanZeroImpl()
3389 return CI->hasNoNaNs() && (CI->hasNoSignedZeros() || in cannotBeOrderedLessThanZeroImpl()
3418 (!SignBitOnly || cast<FPMathOperator>(I)->hasNoNaNs()) && in cannotBeOrderedLessThanZeroImpl()
3506 if (FPMathOp->hasNoNaNs()) in isKnownNeverNaN()

123