Searched defs:GraphTraits (Results 1 - 25 of 28) sorted by relevance

12

/external/clang/include/clang/AST/
H A DStmtGraphTraits.h10 // This file defines a template specialization of llvm::GraphTraits to
20 #include "llvm/ADT/GraphTraits.h"
24 //template <typename T> struct GraphTraits;
27 template <> struct GraphTraits<clang::Stmt*> { struct in namespace:llvm
54 template <> struct GraphTraits<const clang::Stmt*> { struct in namespace:llvm
/external/llvm/include/llvm/ADT/
H A DGraphTraits.h1 //===-- llvm/ADT/GraphTraits.h - Graph traits template ----------*- C++ -*-===//
10 // This file defines the little GraphTraits<X> template class that should be
23 // GraphTraits - This class should be specialized by different graph types...
27 struct GraphTraits { struct in namespace:llvm
55 // need to include the appropriate specialization of GraphTraits<> for your
84 // Provide a partial specialization of GraphTraits so that the inverse of an
87 struct GraphTraits<Inverse<Inverse<T> > > { struct in namespace:llvm
88 typedef typename GraphTraits<T>::NodeType NodeType;
89 typedef typename GraphTraits<T>::ChildIteratorType ChildIteratorType;
92 return GraphTraits<
[all...]
/external/llvm/unittests/ADT/
H A DSCCIteratorTest.cpp11 #include "llvm/ADT/GraphTraits.h"
130 // The constant cast is needed when working with GraphTraits, which insists
233 struct GraphTraits<Graph<N> > { struct in namespace:llvm
/external/llvm/include/llvm/Analysis/
H A DPostDominators.h97 template <> struct GraphTraits<PostDominatorTree*> struct in namespace:llvm
98 : public GraphTraits<DomTreeNode*> {
H A DInterval.h23 #include "llvm/ADT/GraphTraits.h"
121 template <> struct GraphTraits<Interval*> { struct in namespace:llvm
136 template <> struct GraphTraits<Inverse<Interval*> > { struct in namespace:llvm
H A DRegionIterator.h14 #include "llvm/ADT/GraphTraits.h"
259 // RegionNode GraphTraits specialization so the bbs in the region can be
266 template<> struct GraphTraits<NodeT*> { \
277 template<> struct GraphTraits<FlatIt<NodeT*> > { \
290 template<> struct GraphTraits<RegionT*> \
291 : public GraphTraits<NodeT*> { \
303 template<> struct GraphTraits<FlatIt<RegionT*> > \
304 : public GraphTraits<FlatIt<NodeT*> > { \
306 GraphTraits<FlatIt<NodeType*> > > nodes_iterator; \
324 template <> struct GraphTraits<RegionInf struct in namespace:llvm
[all...]
H A DCallGraph.h55 #include "llvm/ADT/GraphTraits.h"
392 // GraphTraits specializations for call graphs so that they can be treated as
398 template <> struct GraphTraits<CallGraphNode *> { struct
419 template <> struct GraphTraits<const CallGraphNode *> { struct
431 struct GraphTraits<CallGraph *> : public GraphTraits<CallGraphNode *> { struct in inherits:GraphTraits
451 struct GraphTraits<const CallGraph *> : public GraphTraits< struct in inherits:GraphTraits
H A DLazyCallGraph.h514 // Provide GraphTraits specializations for call graphs.
515 template <> struct GraphTraits<LazyCallGraph::Node *> { struct in namespace:llvm
523 template <> struct GraphTraits<LazyCallGraph *> { struct in namespace:llvm
H A DLoopInfo.h35 #include "llvm/ADT/GraphTraits.h"
155 typedef GraphTraits<const BlockT*> BlockTraits;
171 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
238 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
753 template <> struct GraphTraits<const Loop*> { struct in namespace:llvm
766 template <> struct GraphTraits<Loop*> { struct in namespace:llvm
/external/llvm/include/llvm/CodeGen/
H A DMachineDominators.h175 /// DominatorTree GraphTraits specialization so the DominatorTree can be
179 template<class T> struct GraphTraits;
181 template <> struct GraphTraits<MachineDomTreeNode *> { struct in namespace:llvm
196 template <> struct GraphTraits<MachineDominatorTree*> struct in namespace:llvm
197 : public GraphTraits<MachineDomTreeNode *> {
H A DMachineLoopInfo.h163 template <> struct GraphTraits<const MachineLoop*> { struct in namespace:llvm
176 template <> struct GraphTraits<MachineLoop*> { struct in namespace:llvm
H A DMachineFunction.h475 // GraphTraits specializations for function basic block graphs (CFGs)
478 // Provide specializations of GraphTraits to be able to treat a
483 template <> struct GraphTraits<MachineFunction*> :
484 public GraphTraits<MachineBasicBlock*> {
495 template <> struct GraphTraits<const MachineFunction*> : struct in namespace:llvm
496 public GraphTraits<const MachineBasicBlock*> {
515 // Provide specializations of GraphTraits to be able to treat a function as a
520 template <> struct GraphTraits<Inverse<MachineFunction*> > : struct in namespace:llvm
521 public GraphTraits<Inverse<MachineBasicBlock*> > {
526 template <> struct GraphTraits<Invers struct in namespace:llvm
[all...]
H A DMachineBasicBlock.h17 #include "llvm/ADT/GraphTraits.h"
696 // GraphTraits specializations for machine basic block graphs (machine-CFGs)
699 // Provide specializations of GraphTraits to be able to treat a
703 template <> struct GraphTraits<MachineBasicBlock *> { struct in namespace:llvm
716 template <> struct GraphTraits<const MachineBasicBlock *> { struct in namespace:llvm
729 // Provide specializations of GraphTraits to be able to treat a
735 template <> struct GraphTraits<Inverse<MachineBasicBlock*> > { struct in namespace:llvm
749 template <> struct GraphTraits<Inverse<const MachineBasicBlock*> > { struct in namespace:llvm
H A DScheduleDAG.h20 #include "llvm/ADT/GraphTraits.h"
663 template <> struct GraphTraits<SUnit*> { struct in class:llvm::SUnit
675 template <> struct GraphTraits<ScheduleDAG*> : public GraphTraits<SUnit*> { struct in class:llvm::SUnit
H A DSelectionDAG.h1226 template <> struct GraphTraits<SelectionDAG*> : public GraphTraits<SDNode*> { struct in namespace:llvm
/external/llvm/include/llvm/IR/
H A DDominators.h20 #include "llvm/ADT/GraphTraits.h"
39 DominatorTreeBase<GraphTraits<BasicBlock *>::NodeType> &DT LLVM_COMMA
43 DominatorTreeBase<GraphTraits<Inverse<BasicBlock *> >::NodeType> &DT
114 // DominatorTree GraphTraits specializations so the DominatorTree can be
117 template <> struct GraphTraits<DomTreeNode*> { struct in namespace:llvm
142 template <> struct GraphTraits<DominatorTree*> struct in namespace:llvm
143 : public GraphTraits<DomTreeNode*> {
H A DCFG.h10 // This file defines specializations of GraphTraits that allow Function and
18 #include "llvm/ADT/GraphTraits.h"
268 // GraphTraits specializations for basic block graphs (CFGs)
271 // Provide specializations of GraphTraits to be able to treat a function as a
274 template <> struct GraphTraits<BasicBlock*> { struct in namespace:llvm
287 template <> struct GraphTraits<const BasicBlock*> { struct in namespace:llvm
301 // Provide specializations of GraphTraits to be able to treat a function as a
306 template <> struct GraphTraits<Inverse<BasicBlock*> > { struct in namespace:llvm
318 template <> struct GraphTraits<Inverse<const BasicBlock*> > { struct in namespace:llvm
335 // GraphTraits specialization
342 template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> { struct in namespace:llvm
351 template <> struct GraphTraits<const Function*> : struct in namespace:llvm
368 template <> struct GraphTraits<Inverse<Function*> > : struct in namespace:llvm
374 template <> struct GraphTraits<Inverse<const Function*> > : struct in namespace:llvm
[all...]
/external/clang/include/clang/Analysis/Analyses/
H A DDominators.h19 #include "llvm/ADT/GraphTraits.h"
167 /// DominatorTree GraphTraits specialization so the DominatorTree can be
171 template <> struct GraphTraits< ::clang::DomTreeNode* > { struct in namespace:llvm
196 template <> struct GraphTraits< ::clang::DominatorTree* > struct in namespace:llvm
197 : public GraphTraits< ::clang::DomTreeNode* > {
/external/clang/include/clang/Analysis/
H A DCallGraph.h23 #include "llvm/ADT/GraphTraits.h"
173 template <> struct GraphTraits<clang::CallGraphNode*> { struct in namespace:llvm
191 template <> struct GraphTraits<const clang::CallGraphNode*> { struct in namespace:llvm
199 template <> struct GraphTraits<clang::CallGraph*> struct in namespace:llvm
200 : public GraphTraits<clang::CallGraphNode*> {
225 template <> struct GraphTraits<const clang::CallGraph*> : struct in namespace:llvm
226 public GraphTraits<const clang::CallGraphNode*> {
/external/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp52 struct GraphTraits<BlockFrequencyInfo *> { struct in namespace:llvm
H A DBlockFrequencyInfoImpl.cpp575 template <> struct GraphTraits<IrreducibleGraph> { struct in namespace:llvm
/external/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp53 struct GraphTraits<MachineBlockFrequencyInfo *> { struct in namespace:llvm
/external/clang/lib/Serialization/
H A DModuleManager.cpp423 struct GraphTraits<ModuleManager> { struct in namespace:llvm
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h29 #include "llvm/ADT/GraphTraits.h"
441 // GraphTraits
444 template<> struct GraphTraits<clang::ento::ExplodedNode*> { struct in namespace:llvm
470 template<> struct GraphTraits<const clang::ento::ExplodedNode*> { struct in namespace:llvm
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp383 template<> struct GraphTraits<ArgumentGraphNode*> { struct in namespace:llvm
395 template<> struct GraphTraits<ArgumentGraph*> struct in namespace:llvm
396 : public GraphTraits<ArgumentGraphNode*> {

Completed in 5013 milliseconds

12