Home
last modified time | relevance | path

Searched refs:AllowReciprocal (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h184 AllowReciprocal = (1 << 4), enumerator
203 bool allowReciprocal() const { return 0 != (Flags & AllowReciprocal); } in allowReciprocal()
223 Flags = (Flags & ~AllowReciprocal) | B * AllowReciprocal;
281 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | in setHasAllowReciprocal()
282 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal()
316 (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0 && in isFast()
343 return (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0; in hasAllowReciprocal()
/external/llvm/include/llvm/IR/
DOperator.h176 AllowReciprocal = (1 << 4) enumerator
192 bool allowReciprocal() const { return 0 != (Flags & AllowReciprocal); } in allowReciprocal()
199 void setAllowReciprocal() { Flags |= AllowReciprocal; } in setAllowReciprocal()
250 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | in setHasAllowReciprocal()
251 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal()
294 return (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0; in hasAllowReciprocal()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h336 bool AllowReciprocal : 1;
349 AllowReciprocal = false;
361 void setAllowReciprocal(bool b) { AllowReciprocal = b; }
372 bool hasAllowReciprocal() const { return AllowReciprocal; }
380 (NoSignedZeros << 6) | (AllowReciprocal << 7);
392 AllowReciprocal &= Flags->AllowReciprocal;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h366 bool AllowReciprocal : 1;
377 NoSignedZeros(false), AllowReciprocal(false), VectorReduction(false),
424 AllowReciprocal = b;
450 bool hasAllowReciprocal() const { return AllowReciprocal; }
457 return NoSignedZeros && AllowReciprocal && NoNaNs && NoInfs &&
472 AllowReciprocal &= Flags.AllowReciprocal;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DLLVMBitCodes.h419 AllowReciprocal = (1 << 4), enumerator
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1221 bool AllowReciprocal) { in CvtFDivConstToReciprocal() argument
1229 if (!Cvt && AllowReciprocal && FpVal.isFiniteNonZero()) { in CvtFDivConstToReciprocal()
1259 bool AllowReciprocal = I.hasAllowReciprocal(); in visitFDiv() local
1283 Res = CvtFDivConstToReciprocal(X, C, AllowReciprocal); in visitFDiv()
1296 if (Instruction *T = CvtFDivConstToReciprocal(Op0, Op1C, AllowReciprocal)) { in visitFDiv()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp186 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
204 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp232 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
250 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1299 Flags |= FastMathFlags::AllowReciprocal; in getOptimizationFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1357 Flags |= bitc::AllowReciprocal; in getOptimizationFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1062 if (0 != (Val & bitc::AllowReciprocal)) in getDecodedFastMathFlags()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp895 if (0 != (Val & FastMathFlags::AllowReciprocal)) in getDecodedFastMathFlags()