/external/llvm/unittests/IR/ |
D | IRBuilderTest.cpp | 139 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 148 EXPECT_FALSE(Builder.getFastMathFlags().any()); in TEST_F() 154 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 161 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 167 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 168 EXPECT_TRUE(Builder.getFastMathFlags().UnsafeAlgebra); in TEST_F() 185 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 186 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F() 203 EXPECT_TRUE(Builder.getFastMathFlags().any()); in TEST_F() 204 EXPECT_TRUE(Builder.getFastMathFlags().AllowReciprocal); in TEST_F() [all …]
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 207 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction 209 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags() 214 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags() 234 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags() 251 FastMathFlags FM = getFastMathFlags(); in andIRFlags() 252 FM &= FP->getFastMathFlags(); in andIRFlags()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 548 SimplifyFMulInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFMul() 653 Builder->setFastMathFlags(Log2->getFastMathFlags()); in visitFMul() 669 Builder->setFastMathFlags(I.getFastMathFlags()); in visitFMul() 710 Builder->setFastMathFlags(I.getFastMathFlags()); in visitFMul() 1249 if (Value *V = SimplifyFDivInst(Op0, Op1, I.getFastMathFlags(), in visitFDiv() 1290 Res->setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1325 R->setFastMathFlags(I.getFastMathFlags()); in visitFDiv() 1342 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv() 1343 Flags &= cast<Instruction>(Op0)->getFastMathFlags(); in visitFDiv() 1354 FastMathFlags Flags = I.getFastMathFlags(); in visitFDiv() [all …]
|
D | InstCombineSelect.cpp | 882 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 883 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 901 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect() 902 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect() 1027 Builder->setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst() 1070 Builder->setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst() 1119 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
|
D | InstCombineAddSub.cpp | 474 if (I0) Flags &= I->getFastMathFlags(); in performFactorization() 475 if (I1) Flags &= I->getFastMathFlags(); in performFactorization() 780 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc() 1303 SimplifyFAddInst(LHS, RHS, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFAdd() 1678 SimplifyFSubInst(Op0, Op1, I.getFastMathFlags(), DL, TLI, DT, AC)) in visitFSub() 1682 if (I.getFastMathFlags().noSignedZeros() && match(Op0, m_Zero())) { in visitFSub()
|
D | InstructionCombining.cpp | 160 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation() 307 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative() 308 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative() 309 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
|
D | InstCombineCompares.cpp | 4550 I.getFastMathFlags(), DL, TLI, DT, AC, &I)) in visitFCmpInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Reassociate.cpp | 224 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd() 236 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul() 247 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg() 740 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree() 762 FastMathFlags Flags = I->getFastMathFlags(); in RewriteExprTree() 1946 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr() 1950 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
|
D | GVN.cpp | 1724 CmpI->getFastMathFlags().noNaNs())) { in processAssumeIntrinsic()
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 83 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
D | CostModel.cpp | 509 FMF = FPMO->getFastMathFlags(); in getInstructionCost()
|
D | InstructionSimplify.cpp | 4097 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 4107 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 4117 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 4133 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 4145 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction() 4183 I->getFastMathFlags(), DL, TLI, DT, AC, I); in SimplifyInstruction()
|
D | InlineCost.cpp | 769 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
|
D | ValueTracking.cpp | 3914 FMF = CmpI->getFastMathFlags(); in matchSelectPattern()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 310 FastMathFlags getFastMathFlags() const;
|
D | Operator.h | 298 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
|
D | IRBuilder.h | 193 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Instruction.h | 335 FastMathFlags getFastMathFlags() const;
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 903 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeUnaryDoubleFP() 937 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeBinaryDoubleFP() 1027 B.setFastMathFlags(CI->getFastMathFlags()); in optimizePow() 1050 B.setFastMathFlags(CI->getFastMathFlags()); in optimizePow() 1297 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | llvm_util.cc | 105 if (ir_builder->getFastMathFlags().noNaNs()) { in EmitFloatMax() 116 if (ir_builder->getFastMathFlags().noNaNs()) { in EmitFloatMin()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 1129 FMFCI = FPMOCI->getFastMathFlags(); in areInstsCompatible() 1141 FMFCJ = FPMOCJ->getFastMathFlags(); in areInstsCompatible()
|
D | SLPVectorizer.cpp | 1712 FMF = FPMO->getFastMathFlags(); in getEntryCost()
|
D | LoopVectorize.cpp | 3337 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 150 if (!ir_builder->getFastMathFlags().noNaNs()) { in EmitReducePrecisionFloat()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 2486 if (FPOp->getFastMathFlags().unsafeAlgebra()) in isVectorReductionOp() 2532 if (!isa<PHINode>(FPOp) && !FPOp->getFastMathFlags().unsafeAlgebra()) in isVectorReductionOp() 2609 FMF = FPOp->getFastMathFlags(); in visitBinary()
|