diff options
Diffstat (limited to 'include/llvm/Analysis/AliasSetTracker.h')
-rw-r--r-- | include/llvm/Analysis/AliasSetTracker.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index d9e45ce9a1..df674b03d8 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -230,10 +230,10 @@ private: void addPointer(AliasSetTracker &AST, HashNodePair &Entry, unsigned Size, bool KnownMustAlias = false); - void addCallSite(CallSite CS, AliasAnalysis &AA); - void removeCallSite(CallSite CS) { + void addCallSite(CallSite cs, AliasAnalysis &AA); + void removeCallSite(CallSite cs) { for (size_t i = 0, e = CallSites.size(); i != e; ++i) - if (CallSites[i].getInstruction() == CS.getInstruction()) { + if (CallSites[i].getInstruction() == cs.getInstruction()) { CallSites[i] = CallSites.back(); CallSites.pop_back(); } @@ -244,7 +244,7 @@ private: /// alias one of the members in the set. /// bool aliasesPointer(const Value *Ptr, unsigned Size, AliasAnalysis &AA) const; - bool aliasesCallSite(CallSite CS, AliasAnalysis &AA) const; + bool aliasesCallSite(CallSite cs, AliasAnalysis &AA) const; }; inline std::ostream& operator<<(std::ostream &OS, const AliasSet &AS) { @@ -283,7 +283,7 @@ public: bool add(StoreInst *SI); bool add(FreeInst *FI); bool add(VAArgInst *VAAI); - bool add(CallSite CS); // Call/Invoke instructions + bool add(CallSite cs); // Call/Invoke instructions bool add(CallInst *CI) { return add(CallSite(CI)); } bool add(InvokeInst *II) { return add(CallSite(II)); } bool add(Instruction *I); // Dispatch to one of the other add methods... @@ -298,7 +298,7 @@ public: bool remove(StoreInst *SI); bool remove(FreeInst *FI); bool remove(VAArgInst *VAAI); - bool remove(CallSite CS); + bool remove(CallSite cs); bool remove(CallInst *CI) { return remove(CallSite(CI)); } bool remove(InvokeInst *II) { return remove(CallSite(II)); } bool remove(Instruction *I); @@ -383,7 +383,7 @@ private: } AliasSet *findAliasSetForPointer(const Value *Ptr, unsigned Size); - AliasSet *findAliasSetForCallSite(CallSite CS); + AliasSet *findAliasSetForCallSite(CallSite cs); }; inline std::ostream& operator<<(std::ostream &OS, const AliasSetTracker &AST) { |