Home
last modified time | relevance | path

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

123

/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/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp114 llvm::unwrap(builder)->setFastMathFlags(flags); in ac_create_builder()
131 b->setFastMathFlags(flags); in ac_enable_signed_zeros()
142 b->setFastMathFlags(flags); in ac_disable_signed_zeros()
/external/llvm-project/llvm/unittests/IR/
DIRBuilderTest.cpp478 Builder.setFastMathFlags(FMF); in TEST_F()
505 Builder.setFastMathFlags(FMF); in TEST_F()
540 Builder.setFastMathFlags(FMF); in TEST_F()
558 Builder.setFastMathFlags(FMF); in TEST_F()
577 Builder.setFastMathFlags(FMF); in TEST_F()
588 Builder.setFastMathFlags(FMF); in TEST_F()
598 Builder.setFastMathFlags(FMF); in TEST_F()
622 Builder.setFastMathFlags(FMF); in TEST_F()
714 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-10.0/llvm/lib/CodeGen/
DExpandReductions.cpp116 Builder.setFastMathFlags(FMF); in expandReductions()
/external/llvm-project/llvm/lib/CodeGen/
DExpandReductions.cpp116 Builder.setFastMathFlags(FMF); in expandReductions()
/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp240 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
252 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
263 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateNeg()
764 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
788 ExpressionChanged->setFastMathFlags(Flags); in RewriteExprTree()
1823 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
/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-subzero/include/llvm/IR/
DInstruction.h310 void setFastMathFlags(FastMathFlags FMF);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp184 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
186 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/external/llvm-project/llvm/lib/IR/
DInstruction.cpp208 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
210 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DReassociate.cpp241 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
253 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
765 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
789 ExpressionChanged->setFastMathFlags(Flags); in RewriteExprTree()
1921 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstruction.h396 void setFastMathFlags(FastMathFlags FMF);
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/
DLLVMOpBase.td335 builder.setFastMathFlags(tempFM); // set fastmath flag
337 builder.setFastMathFlags(origFM); // restore fastmath flag
/external/llvm-project/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1246 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1319 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1355 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1383 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1693 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1848 B.setFastMathFlags(FMF); in optimizeFMinFMax()
1962 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
2057 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp1264 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1337 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1373 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1401 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1702 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1853 B.setFastMathFlags(FMF); in optimizeFMinFMax()
1967 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
2062 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
DLoopUtils.cpp786 Builder.setFastMathFlags(FMF); in createMinMaxOp()
959 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp641 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
782 Builder.setFastMathFlags(FMF); in visitFDiv()
1039 Builder.setFastMathFlags(FMF); in expandDivRem32()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp125 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
135 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
403 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
1330 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()

123