forked from OSchip/llvm-project
Forward method request to chained aa implementation
llvm-svn: 11024
This commit is contained in:
parent
a96066186e
commit
4ab96324af
|
@ -53,6 +53,10 @@ namespace {
|
||||||
|
|
||||||
void getMustAliases(Value *P, std::vector<Value*> &RetVals);
|
void getMustAliases(Value *P, std::vector<Value*> &RetVals);
|
||||||
|
|
||||||
|
bool pointsToConstantMemory(const Value *P) {
|
||||||
|
return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DSGraph *getGraphForValue(const Value *V);
|
DSGraph *getGraphForValue(const Value *V);
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,6 +63,10 @@ namespace {
|
||||||
// alias - This is the only method here that does anything interesting...
|
// alias - This is the only method here that does anything interesting...
|
||||||
AliasResult alias(const Value *V1, unsigned V1Size,
|
AliasResult alias(const Value *V1, unsigned V1Size,
|
||||||
const Value *V2, unsigned V2Size);
|
const Value *V2, unsigned V2Size);
|
||||||
|
|
||||||
|
bool pointsToConstantMemory(const Value *P) {
|
||||||
|
return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P);
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void ResolveFunctionCall(Function *F, const DSCallSite &Call,
|
void ResolveFunctionCall(Function *F, const DSCallSite &Call,
|
||||||
|
|
Loading…
Reference in New Issue