diff options
author | Sam Parker <sam.parker@arm.com> | 2020-01-28 13:06:07 +0000 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-01-28 13:15:44 +0000 |
commit | 7ad879caa052f84f323d505aadf078eb806d6de3 (patch) | |
tree | a33c9c1fb08906d75b6f97b65f4750d5acb8f6c0 /llvm/lib/CodeGen/ReachingDefAnalysis.cpp | |
parent | aec6210367de714caf876fe19c4b475889890e21 (diff) | |
download | llvm-7ad879caa052f84f323d505aadf078eb806d6de3.zip llvm-7ad879caa052f84f323d505aadf078eb806d6de3.tar.gz llvm-7ad879caa052f84f323d505aadf078eb806d6de3.tar.bz2 |
[NFC][RDA] typedef SmallPtrSetImpl<MachineInstr*>
Diffstat (limited to 'llvm/lib/CodeGen/ReachingDefAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/ReachingDefAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/ReachingDefAnalysis.cpp b/llvm/lib/CodeGen/ReachingDefAnalysis.cpp index b08e6e5..e21df32 100644 --- a/llvm/lib/CodeGen/ReachingDefAnalysis.cpp +++ b/llvm/lib/CodeGen/ReachingDefAnalysis.cpp @@ -227,7 +227,7 @@ ReachingDefAnalysis::getClearance(MachineInstr *MI, MCPhysReg PhysReg) const { } void ReachingDefAnalysis::getReachingLocalUses(MachineInstr *Def, int PhysReg, - SmallPtrSetImpl<MachineInstr*> &Uses) const { + InstSet &Uses) const { MachineBasicBlock *MBB = Def->getParent(); MachineBasicBlock::iterator MI = MachineBasicBlock::iterator(Def); while (++MI != MBB->end()) { @@ -252,7 +252,7 @@ void ReachingDefAnalysis::getReachingLocalUses(MachineInstr *Def, int PhysReg, bool ReachingDefAnalysis::getLiveInUses(MachineBasicBlock *MBB, int PhysReg, - SmallPtrSetImpl<MachineInstr*> &Uses) const { + InstSet &Uses) const { for (auto &MI : *MBB) { if (MI.isDebugInstr()) continue; @@ -269,7 +269,7 @@ ReachingDefAnalysis::getLiveInUses(MachineBasicBlock *MBB, int PhysReg, void ReachingDefAnalysis::getGlobalUses(MachineInstr *MI, int PhysReg, - SmallPtrSetImpl<MachineInstr*> &Uses) const { + InstSet &Uses) const { MachineBasicBlock *MBB = MI->getParent(); // Collect the uses that each def touches within the block. |