#ifndef BOLT_CORE_BINARY_DOMTREE_H
#define BOLT_CORE_BINARY_DOMTREE_H
#include "bolt/Core/BinaryBasicBlock.h"
#include "llvm/IR/Dominators.h"
namespace llvm {
namespace bolt {
BinaryDomTreeNode;
BinaryDominatorTree;
}
template <>
struct GraphTraits<bolt::BinaryDomTreeNode *>
: public DomTreeGraphTraitsBase<bolt::BinaryDomTreeNode,
bolt::BinaryDomTreeNode::iterator> { … };
template <>
struct GraphTraits<const bolt::BinaryDomTreeNode *>
: public DomTreeGraphTraitsBase<const bolt::BinaryDomTreeNode,
bolt::BinaryDomTreeNode::const_iterator> { … };
template <>
struct GraphTraits<bolt::BinaryDominatorTree *>
: public GraphTraits<bolt::BinaryDomTreeNode *> { … };
}
#endif