aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-01-15 22:58:11 +0000
committerOwen Anderson <resistor@mac.com>2008-01-15 22:58:11 +0000
commit77d8049a817bb95191730053a6913668de549c8e (patch)
tree0e3e8c8dab381c0186080304a2ac3ee7b7f2d129 /include
parent27f0779f5af4689d80de6c81784bad327b4be6f8 (diff)
downloadexternal_llvm-77d8049a817bb95191730053a6913668de549c8e.zip
external_llvm-77d8049a817bb95191730053a6913668de549c8e.tar.gz
external_llvm-77d8049a817bb95191730053a6913668de549c8e.tar.bz2
Move some calls to getVRegDef higher in the callgraph, so they don't get executed as frequently in performance sensitive code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/LiveVariables.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h
index 311d37e..a392cda 100644
--- a/include/llvm/CodeGen/LiveVariables.h
+++ b/include/llvm/CodeGen/LiveVariables.h
@@ -303,8 +303,10 @@ public:
/// register.
VarInfo &getVarInfo(unsigned RegIdx);
- void MarkVirtRegAliveInBlock(unsigned reg, MachineBasicBlock *BB);
- void MarkVirtRegAliveInBlock(unsigned reg, MachineBasicBlock *BB,
+ void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
+ MachineBasicBlock *BB);
+ void MarkVirtRegAliveInBlock(VarInfo& VRInfo, MachineBasicBlock* DefBlock,
+ MachineBasicBlock *BB,
std::vector<MachineBasicBlock*> &WorkList);
void HandleVirtRegUse(unsigned reg, MachineBasicBlock *MBB,
MachineInstr *MI);