Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
llvm-epi-0.8
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Roger Ferrer
llvm-epi-0.8
Commits
1661358d
Commit
1661358d
authored
20 years ago
by
Chris Lattner
Browse files
Options
Downloads
Patches
Plain Diff
Add a new pass for code generators to use
llvm-svn: 14562
parent
1d6b5f38
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/include/llvm/CodeGen/Passes.h
+9
-1
9 additions, 1 deletion
llvm/include/llvm/CodeGen/Passes.h
with
9 additions
and
1 deletion
llvm/include/llvm/CodeGen/Passes.h
+
9
−
1
View file @
1661358d
...
@@ -23,7 +23,15 @@ namespace llvm {
...
@@ -23,7 +23,15 @@ namespace llvm {
class
FunctionPass
;
class
FunctionPass
;
class
PassInfo
;
class
PassInfo
;
class
TargetMachine
;
class
TargetMachine
;
/// createUnreachableBlockEliminationPass - The LLVM code generator does not
/// work well with unreachable basic blocks (what live ranges make sense for a
/// block that cannot be reached?). As such, a code generator should either
/// not instruction select unreachable blocks, or it can run this pass as it's
/// last LLVM modifying pass to clean up blocks that are not reachable from
/// the entry block.
FunctionPass
*
createUnreachableBlockEliminationPass
();
/// MachineFunctionPrinter pass - This pass prints out the machine function to
/// MachineFunctionPrinter pass - This pass prints out the machine function to
/// standard error, as a debugging tool.
/// standard error, as a debugging tool.
FunctionPass
*
createMachineFunctionPrinterPass
(
std
::
ostream
*
OS
,
FunctionPass
*
createMachineFunctionPrinterPass
(
std
::
ostream
*
OS
,
...
...
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