mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Pass through the boolean queries
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4244bb5bbd
commit
b79d79297d
@ -94,6 +94,18 @@ namespace {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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
|
// Forwarding functions: just delegate to a real AA implementation, counting
|
||||||
// the number of responses...
|
// the number of responses...
|
||||||
AliasResult alias(const Value *V1, unsigned V1Size,
|
AliasResult alias(const Value *V1, unsigned V1Size,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user