#include "bolt/Core/CallGraph.h"
#define DEBUG_TYPE …
#if defined(__x86_64__) && !defined(_MSC_VER)
#if (!defined USE_SSECRC)
#define USE_SSECRC
#endif
#else
#undef USE_SSECRC
#endif
static LLVM_ATTRIBUTE_UNUSED inline size_t hash_int64_fallback(int64_t k) { … }
static LLVM_ATTRIBUTE_UNUSED inline size_t hash_int64(int64_t k) { … }
static inline size_t hash_int64_pair(int64_t k1, int64_t k2) { … }
namespace llvm {
namespace bolt {
int64_t CallGraph::Arc::Hash::operator()(const Arc &Arc) const { … }
CallGraph::NodeId CallGraph::addNode(uint32_t Size, uint64_t Samples) { … }
const CallGraph::Arc &CallGraph::incArcWeight(NodeId Src, NodeId Dst, double W,
double Offset) { … }
void CallGraph::normalizeArcWeights() { … }
void CallGraph::adjustArcWeights() { … }
}
}