mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[Analysis] s/uint64_t/LocationSize; NFC
Let the gradual cleanup from D44748 continue. :) llvm-svn: 350007
This commit is contained in:
parent
6fae7ed86a
commit
654eb909d7
@ -363,7 +363,8 @@ public:
|
||||
|
||||
/// A convenience wrapper around the \c isMustAlias helper interface.
|
||||
bool isMustAlias(const Value *V1, const Value *V2) {
|
||||
return alias(V1, 1, V2, 1) == MustAlias;
|
||||
return alias(V1, LocationSize::precise(1), V2, LocationSize::precise(1)) ==
|
||||
MustAlias;
|
||||
}
|
||||
|
||||
/// Checks whether the given location points to constant memory, or if
|
||||
@ -568,7 +569,7 @@ public:
|
||||
|
||||
/// getModRefInfo (for cmpxchges) - A convenience wrapper.
|
||||
ModRefInfo getModRefInfo(const AtomicCmpXchgInst *CX, const Value *P,
|
||||
unsigned Size) {
|
||||
LocationSize Size) {
|
||||
return getModRefInfo(CX, MemoryLocation(P, Size));
|
||||
}
|
||||
|
||||
@ -578,7 +579,7 @@ public:
|
||||
|
||||
/// getModRefInfo (for atomicrmws) - A convenience wrapper.
|
||||
ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const Value *P,
|
||||
unsigned Size) {
|
||||
LocationSize Size) {
|
||||
return getModRefInfo(RMW, MemoryLocation(P, Size));
|
||||
}
|
||||
|
||||
|
@ -230,7 +230,8 @@ namespace {
|
||||
llvm::TargetLibraryInfo TLI(TLII);
|
||||
llvm::AliasAnalysis AA(TLI);
|
||||
llvm::AliasSetTracker X(AA);
|
||||
X.add(nullptr, 0, llvm::AAMDNodes()); // for -print-alias-sets
|
||||
X.add(nullptr, llvm::LocationSize::unknown(),
|
||||
llvm::AAMDNodes()); // for -print-alias-sets
|
||||
(void) llvm::AreStatisticsEnabled();
|
||||
(void) llvm::sys::RunningOnValgrind();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user