mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Forward method request to chained aa implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7f430a5049
commit
92e41d5982
@ -53,6 +53,10 @@ namespace {
|
||||
|
||||
void getMustAliases(Value *P, std::vector<Value*> &RetVals);
|
||||
|
||||
bool pointsToConstantMemory(const Value *P) {
|
||||
return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
|
||||
}
|
||||
|
||||
private:
|
||||
DSGraph *getGraphForValue(const Value *V);
|
||||
};
|
||||
|
@ -63,6 +63,10 @@ namespace {
|
||||
// alias - This is the only method here that does anything interesting...
|
||||
AliasResult alias(const Value *V1, unsigned V1Size,
|
||||
const Value *V2, unsigned V2Size);
|
||||
|
||||
bool pointsToConstantMemory(const Value *P) {
|
||||
return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
|
||||
}
|
||||
|
||||
private:
|
||||
void ResolveFunctionCall(Function *F, const DSCallSite &Call,
|
||||
|
Loading…
x
Reference in New Issue
Block a user