mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
add a helper method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120973 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -183,6 +183,11 @@ public:
|
|||||||
return isNoAlias(Location(V1, V1Size), Location(V2, V2Size));
|
return isNoAlias(Location(V1, V1Size), Location(V2, V2Size));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// isMustAlias - A convenience wrapper.
|
||||||
|
bool isMustAlias(const Location &LocA, const Location &LocB) {
|
||||||
|
return alias(LocA, LocB) == MustAlias;
|
||||||
|
}
|
||||||
|
|
||||||
/// pointsToConstantMemory - If the specified memory location is
|
/// pointsToConstantMemory - If the specified memory location is
|
||||||
/// known to be constant, return true. If OrLocal is true and the
|
/// known to be constant, return true. If OrLocal is true and the
|
||||||
/// specified memory location is known to be "local" (derived from
|
/// specified memory location is known to be "local" (derived from
|
||||||
|
Reference in New Issue
Block a user