Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/IR/
H A DInstruction.cpp233 FastMathFlags Instruction::getFastMathFlags() const { in getFastMathFlags() function in Instruction
235 return cast<FPMathOperator>(this)->getFastMathFlags(); in getFastMathFlags()
239 copyFastMathFlags(I->getFastMathFlags()); in copyFastMathFlags()
259 copyFastMathFlags(FP->getFastMathFlags()); in copyIRFlags()
280 FastMathFlags FM = getFastMathFlags(); in andIRFlags()
281 FM &= FP->getFastMathFlags(); in andIRFlags()
/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()
780 FastMathFlags Flags = I->getFastMathFlags(); 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()
H A DGVN.cpp1432 CmpI->getFastMathFlags().noNaNs())) { in processAssumeIntrinsic()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DExpandReductions.cpp98 if (!II->getFastMathFlags().isFast()) in expandReductions()
H A DMachineInstr.cpp539 const FastMathFlags Flags = FP->getFastMathFlags(); in copyIRFlags()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DLoopUnrollAnalyzer.cpp82 SimplifyFPBinOp(I.getOpcode(), LHS, RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
H A DInstructionSimplify.cpp5208 I->getFastMathFlags(), Q); in SimplifyInstruction()
5218 I->getFastMathFlags(), Q); in SimplifyInstruction()
5228 I->getFastMathFlags(), Q); in SimplifyInstruction()
5241 I->getFastMathFlags(), Q); in SimplifyInstruction()
5251 I->getFastMathFlags(), Q); in SimplifyInstruction()
5283 I->getOperand(1), I->getFastMathFlags(), Q); in SimplifyInstruction()
H A DTargetTransformInfo.cpp1160 FMF = FPMO->getFastMathFlags(); in getInstructionThroughput()
H A DInlineCost.cpp1073 CRHS ? CRHS : RHS, FI->getFastMathFlags(), DL); in visitBinaryOperator()
H A DValueTracking.cpp5100 FMF = CmpI->getFastMathFlags(); in matchSelectPattern()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp1251 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1252 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
1270 FastMathFlags Flags = AddOp->getFastMathFlags(); in foldAddSubSelect()
1271 Flags &= SubOp->getFastMathFlags(); in foldAddSubSelect()
1732 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1750 Builder.setFastMathFlags(FCI->getFastMathFlags()); in visitSelectInst()
1853 auto FMF = cast<FPMathOperator>(SI.getCondition())->getFastMathFlags(); in visitSelectInst()
H A DInstCombineMulDivRem.cpp349 I.getFastMathFlags(), in visitFMul()
1109 I.getFastMathFlags(), in visitFDiv()
1163 B.setFastMathFlags(I.getFastMathFlags()); in visitFDiv()
1360 I.getFastMathFlags(), in visitFRem()
H A DInstructionCombining.cpp234 FastMathFlags FMF = I.getFastMathFlags(); in ClearSubclassDataAfterReassociation()
424 FastMathFlags Flags = I.getFastMathFlags(); in SimplifyAssociativeOrCommutative()
425 Flags &= Op0->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
426 Flags &= Op1->getFastMathFlags(); in SimplifyAssociativeOrCommutative()
736 Builder.setFastMathFlags(I.getFastMathFlags()); in SimplifySelectsFeedingBinaryOp()
H A DInstCombineAddSub.cpp696 NewInstr->setFastMathFlags(Instr->getFastMathFlags()); in createInstPostProc()
1272 I.getFastMathFlags(), in visitFAdd()
1750 I.getFastMathFlags(), in visitFSub()
H A DInstCombineCalls.cpp2207 Builder.setFastMathFlags(II->getFastMathFlags()); in visitCallInst()
2597 cast<Instruction>(Arg0)->getFastMathFlags().noInfs())) { in visitCallInst()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DInstruction.h410 FastMathFlags getFastMathFlags() const;
H A DIRBuilder.h211 FastMathFlags getFastMathFlags() const { return FMF; } in getFastMathFlags() function
1226 FMFSource->getFastMathFlags());
1243 FMFSource->getFastMathFlags());
1260 FMFSource->getFastMathFlags());
1277 FMFSource->getFastMathFlags());
1294 FMFSource->getFastMathFlags());
H A DOperator.h358 FastMathFlags getFastMathFlags() const { in getFastMathFlags() function
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
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()
1651 B.setFastMathFlags(I->getFastMathFlags()); in optimizeSqrt()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp428 FastMathFlags FMF = FPOp->getFastMathFlags(); in visitFDiv()
562 FQ->copyFastMathFlags(Builder.getFastMathFlags()); in expandDivRem24()
H A DAMDGPULibCalls.cpp660 B.setFastMathFlags(FPOp->getFastMathFlags()); in fold()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp3116 FMF = FPMO->getFastMathFlags(); in getVectorIntrinsicCost()
4029 Builder.setFastMathFlags(Cmp->getFastMathFlags()); in widenInstruction()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2707 if (FPOp->getFastMathFlags().isFast()) in isVectorReductionOp()
2757 if (!isa<PHINode>(FPOp) && !FPOp->getFastMathFlags().isFast()) in isVectorReductionOp()
8353 FMF = I.getFastMathFlags(); in visitVectorReduce()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp207 llvm::FastMathFlags FMF = I->getFastMathFlags(); in propagateFMFlags()

12