Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/llvm/unittests/IR/
H A 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()
/aosp_15_r20/external/mesa3d/src/amd/llvm/
H A Dac_llvm_helper.cpp130 unwrap(builder)->setFastMathFlags(flags); in ac_create_builder()
147 b->setFastMathFlags(flags); in ac_enable_signed_zeros()
158 b->setFastMathFlags(flags); in ac_disable_signed_zeros()
/aosp_15_r20/external/llvm/lib/Transforms/InstCombine/
H A 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()
H A 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()
H A 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()
/aosp_15_r20/external/llvm/lib/Transforms/Scalar/
H A 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()
/aosp_15_r20/external/llvm/lib/Transforms/Utils/
H A 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()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A 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()
/aosp_15_r20/external/llvm/lib/IR/
H A DInstruction.cpp164 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
166 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp248 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateAdd()
260 Res->setFastMathFlags(cast<FPMathOperator>(FlagsOp)->getFastMathFlags()); in CreateMul()
782 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
806 ExpressionChanged->setFastMathFlags(Flags); in RewriteExprTree()
1925 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp369 NewSelI->setFastMathFlags(FMF); in foldSelectOpOp()
371 NewFNeg->setFastMathFlags(FMF); in foldSelectOpOp()
501 cast<Instruction>(NewSel)->setFastMathFlags(FMF); in foldSelectIntoOp()
1862 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
1881 RI->setFastMathFlags(Flags); in foldAddSubSelect()
2671 NewFNeg->setFastMathFlags(SI.getFastMathFlags()); in foldSelectWithFCmpToFabs()
3184 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
3307 Builder.setFastMathFlags(FMF); in visitSelectInst()
H A DInstCombineMulDivRem.cpp126 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
136 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
511 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
1636 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A 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()
H A DLoopUtils.cpp786 Builder.setFastMathFlags(FMF); in createMinMaxOp()
959 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DInstruction.cpp184 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
186 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
H A DIRBuilder.cpp390 Rdx->setFastMathFlags(FMF); in CreateFPMaxReduce()
401 Rdx->setFastMathFlags(FMF); in CreateFPMinReduce()
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DExpandReductions.cpp116 Builder.setFastMathFlags(FMF); in expandReductions()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
H A DExpandReductions.cpp114 Builder.setFastMathFlags(FMF); in expandReductions()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp355 State.Builder.setFastMathFlags(FMF); in execute()
430 void VPInstruction::setFastMathFlags(FastMathFlags FMFNew) { in setFastMathFlags() function in VPInstruction
638 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in execute()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1665 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1739 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1778 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1807 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
2111 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
2257 B.setFastMathFlags(FMF); in optimizeFMinFMax()
2371 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
2469 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/
H A DInstruction.cpp289 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
291 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp643 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
789 Builder.setFastMathFlags(FMF); in visitFDiv()
1071 Builder.setFastMathFlags(FMF); in expandDivRem32()
/aosp_15_r20/external/llvm/include/llvm/IR/
H A DInstruction.h285 void setFastMathFlags(FastMathFlags FMF);
H A DOperator.h256 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function
/aosp_15_r20/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
H A DInstruction.h310 void setFastMathFlags(FastMathFlags FMF);

1234