Home
last modified time | relevance | path

Searched refs:setFastMathFlags (Results 1 – 25 of 42) sorted by relevance

12

/external/mesa3d/src/amd/common/
Dac_llvm_helper.cpp98 llvm::unwrap(builder)->setFastMathFlags(flags); in ac_create_builder()
106 llvm::unwrap(builder)->setFastMathFlags(flags); in ac_create_builder()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DIRBuilderTest.cpp166 Builder.setFastMathFlags(FMF); in TEST_F()
193 Builder.setFastMathFlags(FMF); in TEST_F()
228 Builder.setFastMathFlags(FMF); in TEST_F()
246 Builder.setFastMathFlags(FMF); in TEST_F()
265 Builder.setFastMathFlags(FMF); in TEST_F()
276 Builder.setFastMathFlags(FMF); in TEST_F()
286 Builder.setFastMathFlags(FMF); in TEST_F()
310 Builder.setFastMathFlags(FMF); in TEST_F()
402 Builder.setFastMathFlags(FMF); in TEST_F()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp145 Builder.setFastMathFlags(FMF); in TEST_F()
151 Builder.setFastMathFlags(FMF); in TEST_F()
182 Builder.setFastMathFlags(FMF); in TEST_F()
200 Builder.setFastMathFlags(FMF); in TEST_F()
227 Builder.setFastMathFlags(FMF); in TEST_F()
318 Builder.setFastMathFlags(FMF); in TEST_F()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp653 Builder->setFastMathFlags(Log2->getFastMathFlags()); in visitFMul()
669 Builder->setFastMathFlags(I.getFastMathFlags()); in visitFMul()
710 Builder->setFastMathFlags(I.getFastMathFlags()); in visitFMul()
1290 Res->setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1325 R->setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1344 RI->setFastMathFlags(Flags); in visitFDiv()
1356 RI->setFastMathFlags(Flags); in visitFDiv()
1365 SimpR->setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
DInstCombineSelect.cpp884 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
903 RI->setFastMathFlags(Flags); in foldAddSubSelect()
1027 Builder->setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1070 Builder->setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1120 Builder->setFastMathFlags(FMF); in visitSelectInst()
DInstCombineAddSub.cpp486 II->setFastMathFlags(Flags); in performFactorization()
491 II->setFastMathFlags(Flags); in performFactorization()
497 II->setFastMathFlags(Flags); in performFactorization()
780 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp743 Builder.setFastMathFlags(FMF); in createMinMaxOp()
858 cast<Instruction>(MulExp)->setFastMathFlags(Flags); in transform()
863 cast<Instruction>(BOp)->setFastMathFlags(Flags); in transform()
1527 cast<Instruction>(V)->setFastMathFlags(Flags); in addFastMathFlag()
1642 cast<CallInst>(Rdx)->setFastMathFlags(FMFFast); in createSimpleTargetReduction()
1649 cast<CallInst>(Rdx)->setFastMathFlags(FMFFast); in createSimpleTargetReduction()
DSimplifyLibCalls.cpp994 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeUnaryDoubleFP()
1014 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1042 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeBinaryDoubleFP()
1059 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1176 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1210 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1363 B.setFastMathFlags(FMF); in optimizeFMinFMax()
1399 B.setFastMathFlags(FMF); in optimizeLog()
1469 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp239 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
251 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
262 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg()
757 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
781 ExpressionChanged->setFastMathFlags(Flags); in RewriteExprTree()
1807 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
1993 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
1997 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
DLICM.cpp502 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
507 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp224 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()
764 ExpressionChanged->setFastMathFlags(Flags); in RewriteExprTree()
1946 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
1950 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
/external/llvm/lib/IR/
DInstruction.cpp164 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
166 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp903 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()
1193 B.setFastMathFlags(FMF); in optimizeFMinFMax()
1229 B.setFastMathFlags(FMF); in optimizeLog()
1297 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
DLoopUtils.cpp644 Builder.setFastMathFlags(FMF); in createMinMaxOp()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.h310 void setFastMathFlags(FastMathFlags FMF);
/external/llvm/include/llvm/IR/
DInstruction.h285 void setFastMathFlags(FastMathFlags FMF);
DOperator.h256 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstruction.cpp183 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
185 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
DIRBuilder.cpp384 Rdx->setFastMathFlags(FMF); in CreateFPMaxReduce()
395 Rdx->setFastMathFlags(FMF); in CreateFPMinReduce()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp1203 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
1222 RI->setFastMathFlags(Flags); in foldAddSubSelect()
1653 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1696 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1787 Builder.setFastMathFlags(FMF); in visitSelectInst()
DInstCombineAddSub.cpp498 II->setFastMathFlags(Flags); in performFactorization()
503 II->setFastMathFlags(Flags); in performFactorization()
509 II->setFastMathFlags(Flags); in performFactorization()
790 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DInstruction.h355 void setFastMathFlags(FastMathFlags FMF);
DOperator.h299 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp438 Builder.setFastMathFlags(FMF); in visitFDiv()
619 Builder.setFastMathFlags(FMF); in expandDivRem32()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dllvm_ir_runtime.cc77 b.setFastMathFlags(fast_math_flags); in RewriteCalls()

12