Home
last modified time | relevance | path

Searched refs:VPRegionBlock (Results 1 – 12 of 12) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanPredicator.cpp134 VPRegionBlock *Region) { in createOrPropagatePredicates()
187 void VPlanPredicator::predicateRegionRec(VPRegionBlock *Region) { in predicateRegionRec()
196 assert(!isa<VPRegionBlock>(Block) && "Nested region not expected"); in predicateRegionRec()
207 void VPlanPredicator::linearizeRegionRec(VPRegionBlock *Region) { in linearizeRegionRec()
213 assert(!isa<VPRegionBlock>(CurrBlock) && "Nested region not expected"); in linearizeRegionRec()
236 predicateRegionRec(cast<VPRegionBlock>(Plan.getEntry())); in predicate()
239 linearizeRegionRec(cast<VPRegionBlock>(Plan.getEntry())); in predicate()
247 VPDomTree.recalculate(*(cast<VPRegionBlock>(Plan.getEntry()))); in VPlanPredicator()
H A DVPlanVerifier.cpp45 static void verifyBlocksInRegion(const VPRegionBlock *Region) { in verifyBlocksInRegion()
95 static void verifyRegion(const VPRegionBlock *Region) { in verifyRegion()
110 static void verifyRegionRec(const VPRegionBlock *Region) { in verifyRegionRec()
117 if (const auto *SubRegion = dyn_cast<VPRegionBlock>(VPB)) in verifyRegionRec()
123 const VPRegionBlock *TopRegion) const { in verifyHierarchicalCFG()
H A DVPlanTransforms.cpp24 auto *TopRegion = cast<VPRegionBlock>(Plan->getEntry()); in VPInstructionsToVPRecipes()
154 VPValue *getPredicatedMask(VPRegionBlock *R) { in getPredicatedMask()
164 static VPBasicBlock *getPredicatedThenBlock(VPRegionBlock *R) { in getPredicatedThenBlock()
184 SetVector<VPRegionBlock *> DeletedRegions; in mergeReplicateRegions()
189 SmallVector<VPRegionBlock *, 8> CandidateRegions( in mergeReplicateRegions()
190 VPBlockUtils::blocksOnly<VPRegionBlock>(depth_first( in mergeReplicateRegions()
196 for (VPRegionBlock *Region1 : CandidateRegions) { in mergeReplicateRegions()
205 dyn_cast_or_null<VPRegionBlock>(MiddleBasicBlock->getSingleSuccessor()); in mergeReplicateRegions()
263 for (VPRegionBlock *ToDelete : DeletedRegions) in mergeReplicateRegions()
H A DVPlanPredicator.h59 VPRegionBlock *Region);
62 void predicateRegionRec(VPRegionBlock *Region);
65 void linearizeRegionRec(VPRegionBlock *Region);
H A DVPlanHCFGBuilder.cpp46 VPRegionBlock *TopRegion = nullptr;
77 VPRegionBlock *buildPlainCFG();
241 VPRegionBlock *PlainCFGBuilder::buildPlainCFG() { in buildPlainCFG()
243 TopRegion = new VPRegionBlock("TopRegion", false /*isReplicator*/); in buildPlainCFG()
338 VPRegionBlock *VPlanHCFGBuilder::buildPlainCFG() { in buildPlainCFG()
346 VPRegionBlock *TopRegion = buildPlainCFG(); in buildHierarchicalCFG()
H A DVPlanVerifier.h28 class VPRegionBlock; variable
37 void verifyHierarchicalCFG(const VPRegionBlock *TopRegion) const;
H A DVPlan.cpp142 while (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getEntryBasicBlock()
149 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getEntryBasicBlock()
163 while (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getExitBasicBlock()
170 while (VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in getExitBasicBlock()
441 void VPRegionBlock::dropAllReferences(VPValue *NewValue) { in dropAllReferences()
448 void VPRegionBlock::execute(VPTransformState *State) { in execute()
498 void VPRegionBlock::print(raw_ostream &O, const Twine &Indent, in print()
924 return (isa<VPRegionBlock>(Block) ? "cluster_N" : "N") + in getUID()
961 else if (const VPRegionBlock *Region = dyn_cast<VPRegionBlock>(Block)) in dumpBlock()
1028 void VPlanPrinter::dumpRegion(const VPRegionBlock *Region) { in dumpRegion()
[all …]
H A DVPlan.h60 class VPRegionBlock; variable
398 VPRegionBlock *Parent = nullptr;
470 VPRegionBlock *getParent() { return Parent; } in getParent()
1714 class VPRegionBlock : public VPBlockBase {
1739 ~VPRegionBlock() override { in ~VPRegionBlock()
1871 using GraphRef = VPRegionBlock *;
1888 struct GraphTraits<const VPRegionBlock *>
1890 using GraphRef = const VPRegionBlock *;
1907 struct GraphTraits<Inverse<VPRegionBlock *>>
1909 using GraphRef = VPRegionBlock *;
[all …]
H A DVPlanHCFGBuilder.h60 VPRegionBlock *buildPlainCFG();
H A DVPRecipeBuilder.h161 VPRegionBlock *createReplicateRegion(Instruction *I, VPRecipeBase *PredRecipe,
H A DVPlanValue.h406 class VPRegionBlock; variable
H A DLoopVectorize.cpp9001 VPRegionBlock *VPRecipeBuilder::createReplicateRegion(Instruction *Instr, in createReplicateRegion()
9024 VPRegionBlock *Region = new VPRegionBlock(Entry, Exit, RegionName, true); in createReplicateRegion()
9305 auto GetReplicateRegion = [](VPRecipeBase *R) -> VPRegionBlock * { in buildVPlanWithVPRecipes()
9306 auto *Region = dyn_cast_or_null<VPRegionBlock>(R->getParent()->getParent()); in buildVPlanWithVPRecipes()