Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandReductions.cpp116 Builder.setFastMathFlags(FMF); in expandReductions()
H A DExpandVectorPredication.cpp107 NewInst->setFastMathFlags(OldFMOp->getFastMathFlags()); in transferDecorations()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DInstruction.cpp230 void Instruction::setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function in Instruction
232 cast<FPMathOperator>(this)->setFastMathFlags(FMF); in setFastMathFlags()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A 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()
H A DLowerMatrixIntrinsics.cpp1215 Builder.setFastMathFlags(FMF); in emitMatrixMultiply()
1732 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitBinaryOperator()
1778 Builder.setFastMathFlags(getFastMathFlags(Inst)); in VisitUnaryOperator()
H A DLICM.cpp963 ReciprocalDivisor->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
969 Product->setFastMathFlags(I.getFastMathFlags()); in hoistRegion()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1237 B.setFastMathFlags(CI->getFastMathFlags()); in replaceUnaryCall()
1310 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeDoubleFP()
1346 B.setFastMathFlags(CI->getFastMathFlags()); in optimizeCAbs()
1374 B.setFastMathFlags(Call->getFastMathFlags()); in optimizeTrigReflections()
1685 B.setFastMathFlags(Pow->getFastMathFlags()); in optimizePow()
1841 B.setFastMathFlags(FMF); in optimizeFMinFMax()
1955 B.setFastMathFlags(FastMathFlags::getFast()); in optimizeLog()
2050 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
H A DLoopUtils.cpp1009 B.setFastMathFlags(Desc.getFastMathFlags()); in createTargetReduction()
H A DSimplifyCFG.cpp1611 Builder.setFastMathFlags(PN.getFastMathFlags()); in HoistThenElseCodeToIf()
2885 Builder.setFastMathFlags(PN->getFastMathFlags()); in FoldTwoEntryPHINode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp621 Builder.setFastMathFlags(FPOp->getFastMathFlags()); in foldBinOpIntoSelect()
767 Builder.setFastMathFlags(FMF); in visitFDiv()
1049 Builder.setFastMathFlags(FMF); in expandDivRem32()
H A DAMDGPULibCalls.cpp637 B.setFastMathFlags(FPOp->getFastMathFlags()); in fold()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp125 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
135 Builder.setFastMathFlags(I.getFastMathFlags()); in foldMulSelectToNegate()
418 Builder.setFastMathFlags(I.getFastMathFlags()); in foldFPSignBitOps()
1395 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
H A DInstCombineSelect.cpp1762 NegInst->setFastMathFlags(Flags); in foldAddSubSelect()
1781 RI->setFastMathFlags(Flags); in foldAddSubSelect()
2424 CopySign->setFastMathFlags(Sel.getFastMathFlags()); in foldSelectToCopysign()
2854 Builder.setFastMathFlags(FCmp->getFastMathFlags()); in visitSelectInst()
3003 Builder.setFastMathFlags(FMF); in visitSelectInst()
H A DInstructionCombining.cpp303 I.setFastMathFlags(FMF); in ClearSubclassDataAfterReassociation()
524 NewBO->setFastMathFlags(Flags); in SimplifyAssociativeOrCommutative()
853 Builder.setFastMathFlags(FMF); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineAddSub.cpp695 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
H A DInstCombineCasts.cpp1845 Builder.setFastMathFlags(Op->getFastMathFlags()); in visitFPTrunc()
H A DInstCombineCalls.cpp1413 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h449 void setFastMathFlags(FastMathFlags FMF);
H A DOperator.h309 void setFastMathFlags(FastMathFlags FMF) { in setFastMathFlags() function
H A DIRBuilder.h305 void setFastMathFlags(FastMathFlags NewFMF) { FMF = NewFMF; } in setFastMathFlags() function
1158 I->setFastMathFlags(FMF); in setFPAttrs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp4049 I->setFastMathFlags(FMF); in parseFunctionBody()
4085 I->setFastMathFlags(FMF); in parseFunctionBody()
4289 I->setFastMathFlags(FMF); in parseFunctionBody()
4372 I->setFastMathFlags(FMF); in parseFunctionBody()
4824 I->setFastMathFlags(FMF); in parseFunctionBody()
5342 I->setFastMathFlags(FMF); in parseFunctionBody()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp5894 Inst->setFastMathFlags(FMF); in parseInstruction()
5923 Inst->setFastMathFlags(FMF); in parseInstruction()
5955 Inst->setFastMathFlags(FMF); in parseInstruction()
5984 Inst->setFastMathFlags(FMF); in parseInstruction()
6005 Inst->setFastMathFlags(FMF); in parseInstruction()
7069 CI->setFastMathFlags(FMF); in parseCall()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2479 Builder.setFastMathFlags(ID.getInductionBinOp()->getFastMathFlags()); in widenIntOrFpInduction()
3557 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in createInductionResumeValues()
3796 B.setFastMathFlags(II.getInductionBinOp()->getFastMathFlags()); in fixupIVUsers()
4418 Builder.setFastMathFlags(RdxDesc.getFastMathFlags()); in fixReduction()
4925 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in widenInstruction()
H A DSLPVectorizer.cpp7780 Builder.setFastMathFlags(RdxFMF); in tryToReduce()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenFunction.cpp132 Builder.setFastMathFlags(FMF); in SetFastMathFlags()