Lines Matching refs:GraphTraits
10 // This file defines specializations of GraphTraits that allow Function and
18 #include "llvm/ADT/GraphTraits.h"
242 // GraphTraits specializations for basic block graphs (CFGs)
245 // Provide specializations of GraphTraits to be able to treat a function as a
248 template <> struct GraphTraits<BasicBlock*> {
261 template <> struct GraphTraits<const BasicBlock*> {
275 // Provide specializations of GraphTraits to be able to treat a function as a
280 template <> struct GraphTraits<Inverse<BasicBlock*> > {
292 template <> struct GraphTraits<Inverse<const BasicBlock*> > {
309 // GraphTraits specializations for function basic block graphs (CFGs)
312 // Provide specializations of GraphTraits to be able to treat a function as a
316 template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> {
325 template <> struct GraphTraits<const Function*> :
326 public GraphTraits<const BasicBlock*> {
337 // Provide specializations of GraphTraits to be able to treat a function as a
342 template <> struct GraphTraits<Inverse<Function*> > :
343 public GraphTraits<Inverse<BasicBlock*> > {
348 template <> struct GraphTraits<Inverse<const Function*> > :
349 public GraphTraits<Inverse<const BasicBlock*> > {