Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
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
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
630e42e1
Commit
630e42e1
authored
10 years ago
by
Matthias Braun
Browse files
Options
Downloads
Patches
Plain Diff
LiveInterval: Introduce LiveQuery accessor for dead or live out values.
llvm-svn: 223885
parent
e3d3b88c
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/LiveInterval.h
+6
-0
6 additions, 0 deletions
llvm/include/llvm/CodeGen/LiveInterval.h
with
6 additions
and
0 deletions
llvm/include/llvm/CodeGen/LiveInterval.h
+
6
−
0
View file @
630e42e1
...
@@ -119,6 +119,12 @@ namespace llvm {
...
@@ -119,6 +119,12 @@ namespace llvm {
return
isDeadDef
()
?
nullptr
:
LateVal
;
return
isDeadDef
()
?
nullptr
:
LateVal
;
}
}
/// Returns the value alive at the end of the instruction, if any. This can
/// be a live-through value, a live def or a dead def.
VNInfo
*
valueOutOrDead
()
const
{
return
LateVal
;
}
/// Return the value defined by this instruction, if any. This includes
/// Return the value defined by this instruction, if any. This includes
/// dead defs, it is the value created by the instruction's def operands.
/// dead defs, it is the value created by the instruction's def operands.
VNInfo
*
valueDefined
()
const
{
VNInfo
*
valueDefined
()
const
{
...
...
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