Lines Matching defs:OutlinableGroup
67 /// The OutlinableGroup holds all the overarching information for outlining
72 struct OutlinableGroup {
598 void OutlinableGroup::findSameConstants(DenseSet<unsigned> &NotSame) {
605 void OutlinableGroup::collectGVNStoreSets(Module &M) {
620 static DISubprogram *getSubprogramOrNull(OutlinableGroup &Group) {
629 Function *IROutliner::createFunction(Module &M, OutlinableGroup &Group,
941 OutlinableGroup &Group = *Region.Parent;
977 "Argument already marked with swifterr for this OutlinableGroup!");
1017 // If the function type definitions for the OutlinableGroup holding the region
1020 // OutlinableGroup since they are all structurally similar to one another.
1180 OutlinableGroup &Group = *Region.Parent;
1280 OutlinableGroup &Group = *Region.Parent;
1436 OutlinableGroup &Group = *Region.Parent;
1537 /// \param Group - The OutlinableGroup containing the information about the
1543 static BasicBlock *findOrCreatePHIBlock(OutlinableGroup &Group, Value *RetVal) {
1685 OutlinableGroup &Group = *Region.Parent;
1794 // region with the arguments of the function for an OutlinableGroup.
1807 OutlinableGroup &Group = *Region.Parent;
1938 OutlinableGroup &Group = *Region.Parent;
2064 /// \param [in] OG - The OutlinableGroup of regions to be outlined.
2073 OutlinableGroup &OG, OutlinableRegion &Region,
2154 Module &M, OutlinableGroup &OG, DenseMap<Value *, BasicBlock *> &EndBBs,
2247 Module &M, OutlinableGroup &CurrentGroup,
2296 Module &M, OutlinableGroup &CurrentGroup,
2403 OutlinableGroup &CurrentGroup) {
2485 IROutliner::findBenefitFromAllRegions(OutlinableGroup &CurrentGroup) {
2509 OutlinableGroup &CurrentGroup = *Region.Parent;
2529 IROutliner::findCostOutputReloads(OutlinableGroup &CurrentGroup) {
2560 OutlinableGroup &CurrentGroup,
2632 void IROutliner::findCostBenefit(Module &M, OutlinableGroup &CurrentGroup) {
2808 std::vector<OutlinableGroup> PotentialGroups(SimilarityCandidates.size());
2811 std::vector<OutlinableGroup *> NegativeCostGroups;
2816 OutlinableGroup &CurrentGroup = PotentialGroups[PotentialGroupIdx++];
2910 [](const OutlinableGroup *LHS, const OutlinableGroup *RHS) {
2915 for (OutlinableGroup *CG : NegativeCostGroups) {
2916 OutlinableGroup &CurrentGroup = *CG;
2930 // Reestimate the cost and benefit of the OutlinableGroup. Continue only if