#ifndef LLVM_TRANSFORMS_IPO_PROFILEDCALLGRAPH_H
#define LLVM_TRANSFORMS_IPO_PROFILEDCALLGRAPH_H
#include "llvm/ADT/GraphTraits.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/ProfileData/SampleProfReader.h"
#include "llvm/Transforms/IPO/SampleContextTracker.h"
#include <queue>
#include <set>
namespace llvm {
namespace sampleprof {
struct ProfiledCallGraphNode;
struct ProfiledCallGraphEdge { … };
struct ProfiledCallGraphNode { … };
class ProfiledCallGraph { … };
}
template <> struct GraphTraits<ProfiledCallGraphNode *> { … };
template <>
struct GraphTraits<ProfiledCallGraph *>
: public GraphTraits<ProfiledCallGraphNode *> { … };
}
#endif