git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120380
91177308-0d34-0410-b5e6-
96231b3b80d8
class Pass;
class AnalysisUsage;
class MemTransferInst;
+class MemIntrinsic;
class AliasAnalysis {
protected:
Location getLocation(const StoreInst *SI);
Location getLocation(const VAArgInst *VI);
static Location getLocationForSource(const MemTransferInst *MTI);
- static Location getLocationForDest(const MemTransferInst *MTI);
+ static Location getLocationForDest(const MemIntrinsic *MI);
/// Alias analysis result - Either we know for sure that it does not alias, we
/// know for sure it must alias, or we don't know anything: The two pointers
}
AliasAnalysis::Location
-AliasAnalysis::getLocationForDest(const MemTransferInst *MTI) {
+AliasAnalysis::getLocationForDest(const MemIntrinsic *MTI) {
uint64_t Size = UnknownSize;
if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength()))
Size = C->getValue().getZExtValue();