Home
last modified time | relevance | path

Searched refs:PhiR (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp1055 auto *PhiR = cast<VPHeaderPHIRecipe>(&R); in execute() local
1061 isa<VPCanonicalIVPHIRecipe>(PhiR) || in execute()
1062 isa<VPFirstOrderRecurrencePHIRecipe, VPEVLBasedIVPHIRecipe>(PhiR) || in execute()
1063 (isa<VPReductionPHIRecipe>(PhiR) && in execute()
1064 cast<VPReductionPHIRecipe>(PhiR)->isOrdered()); in execute()
1066 isa<VPCanonicalIVPHIRecipe, VPEVLBasedIVPHIRecipe>(PhiR) || in execute()
1067 (isa<VPReductionPHIRecipe>(PhiR) && in execute()
1068 cast<VPReductionPHIRecipe>(PhiR)->isInLoop()); in execute()
1072 Value *Phi = State->get(PhiR, Part, NeedsScalar); in execute()
1074 State->get(PhiR->getBackedgeValue(), in execute()
H A DLoopVectorize.cpp7216 auto *PhiR = cast<VPReductionPHIRecipe>(RedResult->getOperand(0)); in createAndCollectMergePhiForReduction() local
7217 const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor(); in createAndCollectMergePhiForReduction()
7222 dyn_cast<PHINode>(PhiR->getStartValue()->getUnderlyingValue()); in createAndCollectMergePhiForReduction()
7225 auto *Cmp = cast<ICmpInst>(PhiR->getStartValue()->getUnderlyingValue()); in createAndCollectMergePhiForReduction()
7256 auto *OrigPhi = cast<PHINode>(PhiR->getUnderlyingValue()); in createAndCollectMergePhiForReduction()
8811 auto *PhiR = dyn_cast<VPReductionPHIRecipe>(&R); in adjustRecipesForReductions() local
8812 if (!PhiR || !PhiR->isInLoop() || (MinVF.isScalar() && !PhiR->isOrdered())) in adjustRecipesForReductions()
8815 const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor(); in adjustRecipesForReductions()
8822 Worklist.insert(PhiR); in adjustRecipesForReductions()
8843 VPSingleDefRecipe *PreviousLink = PhiR; // Aka Worklist[0]. in adjustRecipesForReductions()
[all …]
H A DVPlanTransforms.cpp974 auto *PhiR = dyn_cast<VPReductionPHIRecipe>(&R); in clearReductionWrapFlags() local
975 if (!PhiR) in clearReductionWrapFlags()
977 const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor(); in clearReductionWrapFlags()
982 for (VPUser *U : collectUsersRecursively(PhiR)) in clearReductionWrapFlags()
H A DVPlanRecipes.cpp551 auto *PhiR = cast<VPReductionPHIRecipe>(getOperand(0)); in generatePerPart() local
552 auto *OrigPhi = cast<PHINode>(PhiR->getUnderlyingValue()); in generatePerPart()
554 const RecurrenceDescriptor &RdxDesc = PhiR->getRecurrenceDescriptor(); in generatePerPart()
562 RdxParts[Part] = State.get(LoopExitingDef, Part, PhiR->isInLoop()); in generatePerPart()
579 if (PhiR->isOrdered()) { in generatePerPart()
599 !PhiR->isInLoop()) { in generatePerPart()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DModuloSchedule.cpp1655 Register PhiR = MI.getOperand(0).getReg(); in moveStageBetweenBlocks() local
1656 auto RC = MRI.getRegClass(PhiR); in moveStageBetweenBlocks()
1660 .addReg(PhiR) in moveStageBetweenBlocks()
1664 Remaps[PhiR] = NR; in moveStageBetweenBlocks()
1918 Register PhiR = MI->getOperand(0).getReg(); in rewriteUsesOf() local
1923 MRI.setRegClass(R, MRI.getRegClass(PhiR)); in rewriteUsesOf()
1924 MRI.replaceRegWith(PhiR, R); in rewriteUsesOf()
1927 MI->getOperand(0).setReg(PhiR); in rewriteUsesOf()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitSimplify.cpp3108 Register PhiR = MRI->createVirtualRegister(PhiRC); in moveGroup() local
3109 BuildMI(LB, At, At->getDebugLoc(), HII->get(TargetOpcode::PHI), PhiR) in moveGroup()
3114 RegMap.insert(std::make_pair(G.Inp.Reg, PhiR)); in moveGroup()