mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-06 04:18:00 +00:00
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -302,8 +302,8 @@ private:
|
||||
void DetermineInsertionPoint(AllocaInst *AI, unsigned AllocaNum,
|
||||
AllocaInfo &Info);
|
||||
void ComputeLiveInBlocks(AllocaInst *AI, AllocaInfo &Info,
|
||||
const SmallPtrSet<BasicBlock *, 32> &DefBlocks,
|
||||
SmallPtrSet<BasicBlock *, 32> &LiveInBlocks);
|
||||
const SmallPtrSetImpl<BasicBlock *> &DefBlocks,
|
||||
SmallPtrSetImpl<BasicBlock *> &LiveInBlocks);
|
||||
void RenamePass(BasicBlock *BB, BasicBlock *Pred,
|
||||
RenamePassData::ValVector &IncVals,
|
||||
std::vector<RenamePassData> &Worklist);
|
||||
@@ -766,8 +766,8 @@ void PromoteMem2Reg::run() {
|
||||
/// inserted phi nodes would be dead).
|
||||
void PromoteMem2Reg::ComputeLiveInBlocks(
|
||||
AllocaInst *AI, AllocaInfo &Info,
|
||||
const SmallPtrSet<BasicBlock *, 32> &DefBlocks,
|
||||
SmallPtrSet<BasicBlock *, 32> &LiveInBlocks) {
|
||||
const SmallPtrSetImpl<BasicBlock *> &DefBlocks,
|
||||
SmallPtrSetImpl<BasicBlock *> &LiveInBlocks) {
|
||||
|
||||
// To determine liveness, we must iterate through the predecessors of blocks
|
||||
// where the def is live. Blocks are added to the worklist if we need to
|
||||
|
||||
Reference in New Issue
Block a user