mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-22 15:39:28 +00:00
LiveInterval: Introduce LiveQuery accessor for dead or live out values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fbeb8d1b9
commit
c080fce9d5
@ -119,6 +119,12 @@ namespace llvm {
|
||||
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
|
||||
/// dead defs, it is the value created by the instruction's def operands.
|
||||
VNInfo *valueDefined() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user