Home
last modified time | relevance | path

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

/external/llvm-project/llvm/include/llvm/IR/
DOperator.h184 AllowReciprocal = (1 << 4), enumerator
209 bool allowReciprocal() const { return 0 != (Flags & AllowReciprocal); } in allowReciprocal()
229 Flags = (Flags & ~AllowReciprocal) | B * AllowReciprocal;
287 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | in setHasAllowReciprocal()
288 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal()
322 (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0 && in isFast()
349 return (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0; in hasAllowReciprocal()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DOperator.h184 AllowReciprocal = (1 << 4), enumerator
209 bool allowReciprocal() const { return 0 != (Flags & AllowReciprocal); } in allowReciprocal()
229 Flags = (Flags & ~AllowReciprocal) | B * AllowReciprocal;
287 (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | in setHasAllowReciprocal()
288 (B * FastMathFlags::AllowReciprocal); in setHasAllowReciprocal()
322 (SubclassOptionalData & FastMathFlags::AllowReciprocal) != 0 && in isFast()
349 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-project/clang/include/clang/Basic/
DFPOptions.def24 OPTION(AllowReciprocal, bool, 1, NoSignedZero)
25 OPTION(AllowApproxFunc, bool, 1, AllowReciprocal)
/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-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h370 bool AllowReciprocal : 1;
388 NoSignedZeros(false), AllowReciprocal(false), VectorReduction(false),
435 AllowReciprocal = b;
465 bool hasAllowReciprocal() const { return AllowReciprocal; }
473 return NoSignedZeros && AllowReciprocal && NoNaNs && NoInfs && NoFPExcept &&
488 AllowReciprocal &= Flags.AllowReciprocal;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/
DLLVMBitCodes.h451 AllowReciprocal = (1 << 4), enumerator
/external/llvm-project/llvm/include/llvm/Bitcode/
DLLVMBitCodes.h463 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/llvm-project/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h365 bool AllowReciprocal : 1;
381 NoInfs(false), NoSignedZeros(false), AllowReciprocal(false),
403 void setAllowReciprocal(bool b) { AllowReciprocal = b; }
416 bool hasAllowReciprocal() const { return AllowReciprocal; }
431 AllowReciprocal &= Flags.AllowReciprocal;
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp544 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F()
562 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-10.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1412 Flags |= bitc::AllowReciprocal; in getOptimizationFlags()
/external/llvm-project/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1446 Flags |= bitc::AllowReciprocal; in getOptimizationFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1170 if (0 != (Val & bitc::AllowReciprocal)) in getDecodedFastMathFlags()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp895 if (0 != (Val & FastMathFlags::AllowReciprocal)) in getDecodedFastMathFlags()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1176 if (0 != (Val & bitc::AllowReciprocal)) in getDecodedFastMathFlags()