aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-11-30 21:23:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-11-30 21:23:43 +0000
commit16ebb8ce739817c4def3872a2b5f800ce21cb5e6 (patch)
tree4a95387e7cb0e065698be99469963612be86a669 /include/llvm/CodeGen/LiveIntervalAnalysis.h
parent323ea0994d931be2cc3610fc1be0ae424b384527 (diff)
downloadexternal_llvm-16ebb8ce739817c4def3872a2b5f800ce21cb5e6.zip
external_llvm-16ebb8ce739817c4def3872a2b5f800ce21cb5e6.tar.gz
external_llvm-16ebb8ce739817c4def3872a2b5f800ce21cb5e6.tar.bz2
Do not fold reload into an instruction with multiple uses. It issues one extra load.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveIntervalAnalysis.h')
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 0318def..725beb7 100644
--- a/include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h
@@ -274,8 +274,9 @@ namespace llvm {
/// MI. If it is successul, MI is updated with the newly created MI and
/// returns true.
bool tryFoldMemoryOperand(MachineInstr* &MI, VirtRegMap &vrm,
- MachineInstr *DefMI, unsigned index, unsigned i,
- bool isSS, int slot, unsigned reg);
+ MachineInstr *DefMI, unsigned InstrIdx,
+ unsigned OpIdx, unsigned NumUses,
+ bool isSS, int Slot, unsigned Reg);
/// anyKillInMBBAfterIdx - Returns true if there is a kill of the specified
/// VNInfo that's after the specified index but is within the basic block.