[LoopAccesses] Create the analysis pass
[oota-llvm.git] / include / llvm / Analysis / Loads.h
index 25c59288f34b35659d26d75244b2aea33c0ca1dc..0fe34539f8f7324b4b5f0a874724e706a0bbe7b6 100644 (file)
@@ -44,14 +44,14 @@ bool isSafeToLoadUnconditionally(Value *V, Instruction *ScanFrom,
 /// If it is set to 0, it will scan the whole block. You can also optionally
 /// specify an alias analysis implementation, which makes this more precise.
 ///
-/// If TBAATag is non-null and a load or store is found, the TBAA tag from the
-/// load or store is recorded there.  If there is no TBAA tag or if no access
+/// If AATags is non-null and a load or store is found, the AA tags from the
+/// load or store are recorded there.  If there are no AA tags or if no access
 /// is found, it is left unmodified.
 Value *FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
                                 BasicBlock::iterator &ScanFrom,
                                 unsigned MaxInstsToScan = 6,
                                 AliasAnalysis *AA = nullptr,
-                                MDNode **TBAATag = nullptr);
+                                AAMDNodes *AATags = nullptr);
 
 }