Home
last modified time | relevance | path

Searched refs:FMFs (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h660 FastMathFlagsTy FMFs; member
691 FMFs = Op->getFastMathFlags(); in VPIRFlags()
704 VPIRFlags(FastMathFlags FMFs) : OpType(OperationType::FPMathOp), FMFs(FMFs) {} in VPIRFlags() argument
744 FMFs.NoNaNs = false; in dropPoisonGeneratingFlags()
745 FMFs.NoInfs = false; in dropPoisonGeneratingFlags()
777 I.setHasAllowReassoc(FMFs.AllowReassoc); in applyFlags()
778 I.setHasNoNaNs(FMFs.NoNaNs); in applyFlags()
779 I.setHasNoInfs(FMFs.NoInfs); in applyFlags()
780 I.setHasNoSignedZeros(FMFs.NoSignedZeros); in applyFlags()
781 I.setHasAllowReciprocal(FMFs.AllowReciprocal); in applyFlags()
[all …]
H A DLoopVectorizationPlanner.h222 std::optional<FastMathFlags> FMFs = std::nullopt) {
224 FMFs ? new VPInstruction(Instruction::Select, {Cond, TrueVal, FalseVal},
225 *FMFs, DL, Name)
H A DVPlanRecipes.cpp400 Res.setAllowReassoc(FMFs.AllowReassoc); in getFastMathFlags()
401 Res.setNoNaNs(FMFs.NoNaNs); in getFastMathFlags()
402 Res.setNoInfs(FMFs.NoInfs); in getFastMathFlags()
403 Res.setNoSignedZeros(FMFs.NoSignedZeros); in getFastMathFlags()
404 Res.setAllowReciprocal(FMFs.AllowReciprocal); in getFastMathFlags()
405 Res.setAllowContract(FMFs.AllowContract); in getFastMathFlags()
406 Res.setApproxFunc(FMFs.ApproxFunc); in getFastMathFlags()
2575 FastMathFlags FMFs = getFastMathFlags(); in computeCost() local
2577 ElementTy->isFloatingPointTy() ? std::make_optional(FMFs) : std::nullopt; in computeCost()
2589 return Ctx.TTI.getMinMaxReductionCost(Id, VectorTy, FMFs, Ctx.CostKind); in computeCost()
H A DLoopVectorize.cpp9097 FastMathFlags FMFs = isa<FPMathOperator>(CurrentLinkI) in adjustRecipesForReductions() local
9101 Kind, FMFs, CurrentLinkI, PreviousLink, VecOp, CondOp, in adjustRecipesForReductions()
9140 std::optional<FastMathFlags> FMFs = in adjustRecipesForReductions() local
9145 Builder.createSelect(Cond, OrigExitingVPV, PhiR, {}, "", FMFs); in adjustRecipesForReductions()