Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLVM bpEVL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Albano
LLVM bpEVL
Commits
f58183da
Commit
f58183da
authored
18 years ago
by
Devang Patel
Browse files
Options
Downloads
Patches
Plain Diff
collectRequiredAnalysisPasses().
Include RequiredTrainsitiveSet also. llvm-svn: 32508
parent
be6bd55e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/lib/VMCore/PassManager.cpp
+8
-0
8 additions, 0 deletions
llvm/lib/VMCore/PassManager.cpp
with
8 additions
and
0 deletions
llvm/lib/VMCore/PassManager.cpp
+
8
−
0
View file @
f58183da
...
@@ -678,6 +678,14 @@ void PMDataManager::collectRequiredAnalysisPasses(std::vector<Pass *> &RP,
...
@@ -678,6 +678,14 @@ void PMDataManager::collectRequiredAnalysisPasses(std::vector<Pass *> &RP,
assert
(
AnalysisPass
&&
"Analysis pass is not available"
);
assert
(
AnalysisPass
&&
"Analysis pass is not available"
);
RP
.
push_back
(
AnalysisPass
);
RP
.
push_back
(
AnalysisPass
);
}
}
const
std
::
vector
<
AnalysisID
>
&
IDs
=
AnUsage
.
getRequiredTransitiveSet
();
for
(
std
::
vector
<
AnalysisID
>::
const_iterator
I
=
IDs
.
begin
(),
E
=
IDs
.
end
();
I
!=
E
;
++
I
)
{
Pass
*
AnalysisPass
=
findAnalysisPass
(
*
I
,
true
);
assert
(
AnalysisPass
&&
"Analysis pass is not available"
);
RP
.
push_back
(
AnalysisPass
);
}
}
}
// All Required analyses should be available to the pass as it runs! Here
// All Required analyses should be available to the pass as it runs! Here
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment