projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When promoting the result of fp_to_uint/fp_to_sint,
[oota-llvm.git]
/
lib
/
CodeGen
/
SimpleRegisterCoalescing.h
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.h
b/lib/CodeGen/SimpleRegisterCoalescing.h
index 330c476dbf5a92bf1a301feac2718589706f15f3..abe392990d1ce2299dcb48092e9eb5219d6e712f 100644
(file)
--- a/
lib/CodeGen/SimpleRegisterCoalescing.h
+++ b/
lib/CodeGen/SimpleRegisterCoalescing.h
@@
-269,6
+269,11
@@
namespace llvm {
/// live range is dead. Return true if live interval is removed.
bool ShortenDeadCopySrcLiveRange(LiveInterval &li, MachineInstr *CopyMI);
/// live range is dead. Return true if live interval is removed.
bool ShortenDeadCopySrcLiveRange(LiveInterval &li, MachineInstr *CopyMI);
+ /// RemoveDeadDef - If a def of a live interval is now determined dead,
+ /// remove the val# it defines. If the live interval becomes empty, remove
+ /// it as well.
+ bool RemoveDeadDef(LiveInterval &li, MachineInstr *DefMI);
+
/// lastRegisterUse - Returns the last use of the specific register between
/// cycles Start and End or NULL if there are no uses.
MachineOperand *lastRegisterUse(unsigned Start, unsigned End, unsigned Reg,
/// lastRegisterUse - Returns the last use of the specific register between
/// cycles Start and End or NULL if there are no uses.
MachineOperand *lastRegisterUse(unsigned Start, unsigned End, unsigned Reg,