mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 19:49:49 +00:00
Pass through the boolean queries
llvm-svn: 12409
This commit is contained in:
parent
0ea40c6fac
commit
60c61e337a
@ -93,6 +93,18 @@ namespace {
|
||||
case ModRef: MR++; return ModRef;
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME: We could count these too...
|
||||
bool pointsToConstantMemory(const Value *P) {
|
||||
return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
|
||||
}
|
||||
bool doesNotAccessMemory(Function *F) {
|
||||
return getAnalysis<AliasAnalysis>().doesNotAccessMemory(F);
|
||||
}
|
||||
bool onlyReadsMemory(Function *F) {
|
||||
return getAnalysis<AliasAnalysis>().onlyReadsMemory(F);
|
||||
}
|
||||
|
||||
|
||||
// Forwarding functions: just delegate to a real AA implementation, counting
|
||||
// the number of responses...
|
||||
|
Loading…
Reference in New Issue
Block a user