mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
ADd support for printing eqgraphs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
RegisterAnalysis<EquivClassGraphs> X("equivdatastructure",
|
||||
RegisterAnalysis<EquivClassGraphs> X("eqdatastructure",
|
||||
"Equivalence-class Bottom-up Data Structure Analysis");
|
||||
Statistic<> NumEquivBUInlines("equivdatastructures",
|
||||
"Number of graphs inlined");
|
||||
@ -58,7 +58,7 @@ static void CheckAllGraphs(Module *M, GT &ECGraphs) {
|
||||
|
||||
// getSomeCalleeForCallSite - Return any one callee function at a call site.
|
||||
//
|
||||
Function *EquivClassGraphs:: getSomeCalleeForCallSite(const CallSite &CS) const{
|
||||
Function *EquivClassGraphs::getSomeCalleeForCallSite(const CallSite &CS) const{
|
||||
Function *thisFunc = CS.getCaller();
|
||||
assert(thisFunc && "getSomeCalleeForCallSite(): Not a valid call site?");
|
||||
DSGraph &DSG = getDSGraph(*thisFunc);
|
||||
|
Reference in New Issue
Block a user