Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp676 cast<Instruction>(V)->setFastMathFlags(Flags); in addFastMathFlag()
713 Builder.setFastMathFlags(FMF); in createMinMaxOp()
834 cast<CallInst>(Rdx)->setFastMathFlags(FMFFast); in createSimpleTargetReduction()
841 cast<CallInst>(Rdx)->setFastMathFlags(FMFFast); in createSimpleTargetReduction()
H A DSimplifyLibCalls.cpp999 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1073 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1109 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1137 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1381 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1545 B.setFastMathFlags(FMF); in optimizeFMinFMax()
1581 B.setFastMathFlags(FMF); in optimizeLog()
1651 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/freebsd-12.1/contrib/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()
758 NewOp->setFastMathFlags(I->getFastMathFlags()); in RewriteExprTree()
782 ExpressionChanged->setFastMathFlags(Flags); in RewriteExprTree()
1797 Builder.setFastMathFlags(FPI->getFastMathFlags()); in OptimizeMul()
1983 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
1987 NI->setFastMathFlags(cast<FPMathOperator>(User)->getFastMathFlags()); in canonicalizeNegConstExpr()
H A DLICM.cpp792 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
798 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp183 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
185 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
H A DIRBuilder.cpp385 Rdx->setFastMathFlags(FMF); in CreateFPMaxReduce()
396 Rdx->setFastMathFlags(FMF); in CreateFPMinReduce()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1253 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
1272 RI->setFastMathFlags(Flags); in foldAddSubSelect()
1732 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1750 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1854 Builder.setFastMathFlags(FMF); in visitSelectInst()
H A DInstructionCombining.cpp236 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
427 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
736 Builder.setFastMathFlags(I.getFastMathFlags()); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineMulDivRem.cpp1163 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
H A DInstCombineAddSub.cpp696 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
H A DInstCombineCalls.cpp2207 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstruction.h376 void setFastMathFlags(FastMathFlags FMF);
H A DOperator.h299 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function
H A DIRBuilder.h220 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() function
1002 I->setFastMathFlags(FMF); in setFPAttrs()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp437 Builder.setFastMathFlags(FMF); in visitFDiv()
618 Builder.setFastMathFlags(FMF); in expandDivRem32()
H A DAMDGPULibCalls.cpp660 B.setFastMathFlags(FPOp->getFastMathFlags()); in fold()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp317 cast<Instruction>(V)->setFastMathFlags(Flags); in addFastMathFlag()
1775 cast<Instruction>(MulOp)->setFastMathFlags(Flags); in getStepVector()
1779 cast<Instruction>(BOp)->setFastMathFlags(Flags); in getStepVector()
2689 cast<Instruction>(MulExp)->setFastMathFlags(Flags); in emitTransformedIndex()
2694 cast<Instruction>(BOp)->setFastMathFlags(Flags); in emitTransformedIndex()
4029 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in widenInstruction()
H A DSLPVectorizer.cpp5747 Builder.setFastMathFlags(Unsafe); in tryToReduce()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3588 I->setFastMathFlags(FMF); in parseFunctionBody()
3624 I->setFastMathFlags(FMF); in parseFunctionBody()
3900 I->setFastMathFlags(FMF); in parseFunctionBody()
4630 I->setFastMathFlags(FMF); in parseFunctionBody()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp5577 Inst->setFastMathFlags(FMF); in ParseInstruction()
5605 Inst->setFastMathFlags(FMF); in ParseInstruction()
5632 Inst->setFastMathFlags(FMF); in ParseInstruction()
6590 CI->setFastMathFlags(FMF); in ParseCall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenFunction.cpp93 Builder.setFastMathFlags(FMF); in CodeGenFunction()
H A DCGExprScalar.cpp209 I->setFastMathFlags(FMF); in propagateFMFlags()