Forward method request to chained aa implementation

llvm-svn: 11024
This commit is contained in:
Chris Lattner 2004-01-30 22:20:55 +00:00
parent a96066186e
commit 4ab96324af
2 changed files with 8 additions and 0 deletions

View File

@ -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);
};

View File

@ -64,6 +64,10 @@ namespace {
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,
DSNodeHandle &RetVal);