Home
last modified time | relevance | path

Searched refs:hasAllowReciprocal (Results 1 – 24 of 24) sorted by relevance

/external/llvm/unittests/IR/
DIRBuilderTest.cpp171 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
178 EXPECT_FALSE(FDiv->hasAllowReciprocal()); in TEST_F()
189 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
196 EXPECT_FALSE(FCmp->hasAllowReciprocal()); in TEST_F()
207 EXPECT_TRUE(FCmp->hasAllowReciprocal()); in TEST_F()
250 EXPECT_FALSE(FDiv->hasAllowReciprocal()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp176 EXPECT_FALSE(FAdd->hasAllowReciprocal()); in TEST_F()
186 EXPECT_TRUE(FAdd->hasAllowReciprocal()); in TEST_F()
215 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
223 EXPECT_FALSE(FDiv->hasAllowReciprocal()); in TEST_F()
235 EXPECT_TRUE(FDiv->hasAllowReciprocal()); in TEST_F()
242 EXPECT_FALSE(FCmp->hasAllowReciprocal()); in TEST_F()
253 EXPECT_TRUE(FCmp->hasAllowReciprocal()); in TEST_F()
334 EXPECT_FALSE(FDiv->hasAllowReciprocal()); in TEST_F()
/external/llvm/lib/IR/
DInstruction.cpp199 bool Instruction::hasAllowReciprocal() const { in hasAllowReciprocal() function in Instruction
201 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
DAsmWriter.cpp1107 if (FPO->hasAllowReciprocal()) in WriteOptimizationInfo()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h330 bool hasAllowReciprocal() const;
/external/llvm/include/llvm/IR/
DInstruction.h305 bool hasAllowReciprocal() const;
DOperator.h293 bool hasAllowReciprocal() const { in hasAllowReciprocal() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstruction.cpp218 bool Instruction::hasAllowReciprocal() const { in hasAllowReciprocal() function in Instruction
220 return cast<FPMathOperator>(this)->hasAllowReciprocal(); in hasAllowReciprocal()
DAsmWriter.cpp1251 if (FPO->hasAllowReciprocal()) in WriteOptimizationInfo()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstruction.h378 bool hasAllowReciprocal() const;
DOperator.h342 bool hasAllowReciprocal() const { in hasAllowReciprocal() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1124 if (!(C->hasExactInverseFP() || (I.hasAllowReciprocal() && C->isNormalFP()))) in foldFDivConstantDivisor()
1150 if (!I.hasAllowReassoc() || !I.hasAllowReciprocal()) in foldFDivConstantDividend()
1198 if (I.hasAllowReassoc() && I.hasAllowReciprocal()) { in visitFDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp490 if (getFlags().hasAllowReciprocal()) in print_details()
DInstrEmitter.cpp854 if (Flags.hasAllowReciprocal()) in EmitMachineNode()
DDAGCombiner.cpp11230 if (!UnsafeMath && !Flags.hasAllowReciprocal()) in combineRepeatedFPDivisors()
11253 if (UnsafeMath || U->getFlags().hasAllowReciprocal()) in combineRepeatedFPDivisors()
11306 if (Options.UnsafeFPMath || Flags.hasAllowReciprocal()) { in visitFDIV()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h386 setAllowReciprocal(FPMO.hasAllowReciprocal());
450 bool hasAllowReciprocal() const { return AllowReciprocal; }
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLICM.cpp498 I.hasAllowReciprocal()) { in hoistRegion()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1259 bool AllowReciprocal = I.hasAllowReciprocal(); in visitFDiv()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h372 bool hasAllowReciprocal() const { return AllowReciprocal; }
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp2145 if (Unsafe || Flags->hasAllowReciprocal()) { in LowerFastFDIV()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1298 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1356 if (FPMO->hasAllowReciprocal()) in getOptimizationFlags()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8722 if (!UnsafeMath && !Flags->hasAllowReciprocal()) in combineRepeatedFPDivisors()
8745 if (UnsafeMath || U->getFlags()->hasAllowReciprocal()) in combineRepeatedFPDivisors()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp5731 bool Unsafe = DAG.getTarget().Options.UnsafeFPMath || Flags.hasAllowReciprocal(); in lowerFastUnsafeFDIV()