Searched defs:GraphTraits (Results 1 - 25 of 29) 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"
128 // The constant cast is needed when working with GraphTraits, which insists
231 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"
38 typedef GraphTraits<BlockT*> BlockTraits;
161 typedef GraphTraits<BlockT*> BlockTraits;
246 // RegionNode GraphTraits specialization so the bbs in the region can be
253 template<> struct GraphTraits<NodeT*> { \
264 template<> struct GraphTraits<FlatIt<NodeT*>> { \
277 template<> struct GraphTraits<RegionT*> \
278 : public GraphTraits<NodeT*> { \
290 template<> struct GraphTraits<FlatIt<RegionT*> > \
291 : public GraphTraits<FlatI
311 template <> struct GraphTraits<RegionInfo*> struct in namespace:llvm
327 template <> struct GraphTraits<RegionInfoPass*> struct in namespace:llvm
[all...]
H A DCallGraph.h55 #include "llvm/ADT/GraphTraits.h"
391 // GraphTraits specializations for call graphs so that they can be treated as
397 template <> struct GraphTraits<CallGraphNode *> { struct
418 template <> struct GraphTraits<const CallGraphNode *> { struct
441 struct GraphTraits<CallGraph *> : public GraphTraits<CallGraphNode *> { struct in inherits:GraphTraits
461 struct GraphTraits<const CallGraph *> : public GraphTraits< struct in inherits:GraphTraits
H A DLazyCallGraph.h520 // Provide GraphTraits specializations for call graphs.
521 template <> struct GraphTraits<LazyCallGraph::Node *> { struct in namespace:llvm
529 template <> struct GraphTraits<LazyCallGraph *> { struct in namespace:llvm
H A DLoopInfo.h35 #include "llvm/ADT/GraphTraits.h"
160 typedef GraphTraits<const BlockT*> BlockTraits;
176 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
243 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
693 template <> struct GraphTraits<const Loop*> { struct in namespace:llvm
706 template <> struct GraphTraits<Loop*> { struct in namespace:llvm
/external/clang/include/clang/Analysis/Analyses/
H A DDominators.h19 #include "llvm/ADT/GraphTraits.h"
165 /// DominatorTree GraphTraits specialization so the DominatorTree can be
169 template <> struct GraphTraits< ::clang::DomTreeNode* > { struct in namespace:llvm
194 template <> struct GraphTraits< ::clang::DominatorTree* > struct in namespace:llvm
195 : public GraphTraits< ::clang::DomTreeNode* > {
/external/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h163 template <> struct GraphTraits<const MachineLoop*> { struct in namespace:llvm
176 template <> struct GraphTraits<MachineLoop*> { struct in namespace:llvm
H A DMachineRegionInfo.h143 template <> struct GraphTraits<MachineRegionInfo*> struct in namespace:llvm
144 : public GraphTraits<FlatIt<MachineRegionNode*> > {
146 GraphTraits<FlatIt<NodeType*> > > nodes_iterator;
149 return GraphTraits<FlatIt<MachineRegion*> >::getEntryNode(RI->getTopLevelRegion());
159 template <> struct GraphTraits<MachineRegionInfoPass*> struct in namespace:llvm
160 : public GraphTraits<MachineRegionInfo *> {
162 GraphTraits<FlatIt<NodeType*> > > nodes_iterator;
165 return GraphTraits<MachineRegionInfo*>::getEntryNode(&RI->getRegionInfo());
168 return GraphTraits<MachineRegionInfo*>::nodes_begin(&RI->getRegionInfo());
171 return GraphTraits<MachineRegionInf
[all...]
H A DMachineDominators.h245 /// DominatorTree GraphTraits specialization so the DominatorTree can be
249 template<class T> struct GraphTraits;
251 template <> struct GraphTraits<MachineDomTreeNode *> { struct in namespace:llvm
266 template <> struct GraphTraits<MachineDominatorTree*> struct in namespace:llvm
267 : public GraphTraits<MachineDomTreeNode *> {
H A DMachineFunction.h491 // GraphTraits specializations for function basic block graphs (CFGs)
494 // Provide specializations of GraphTraits to be able to treat a
499 template <> struct GraphTraits<MachineFunction*> :
500 public GraphTraits<MachineBasicBlock*> {
511 template <> struct GraphTraits<const MachineFunction*> : struct in namespace:llvm
512 public GraphTraits<const MachineBasicBlock*> {
531 // Provide specializations of GraphTraits to be able to treat a function as a
536 template <> struct GraphTraits<Inverse<MachineFunction*> > : struct in namespace:llvm
537 public GraphTraits<Inverse<MachineBasicBlock*> > {
542 template <> struct GraphTraits<Invers struct in namespace:llvm
[all...]
H A DMachineBasicBlock.h17 #include "llvm/ADT/GraphTraits.h"
702 // GraphTraits specializations for machine basic block graphs (machine-CFGs)
705 // Provide specializations of GraphTraits to be able to treat a
709 template <> struct GraphTraits<MachineBasicBlock *> { struct in namespace:llvm
722 template <> struct GraphTraits<const MachineBasicBlock *> { struct in namespace:llvm
735 // Provide specializations of GraphTraits to be able to treat a
741 template <> struct GraphTraits<Inverse<MachineBasicBlock*> > { struct in namespace:llvm
755 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
/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/include/llvm/IR/
H A DDominators.h20 #include "llvm/ADT/GraphTraits.h"
44 DominatorTreeBase<GraphTraits<BasicBlock *>::NodeType> &DT LLVM_COMMA
48 DominatorTreeBase<GraphTraits<Inverse<BasicBlock *> >::NodeType> &DT
126 // DominatorTree GraphTraits specializations so the DominatorTree can be
129 template <> struct GraphTraits<DomTreeNode*> { struct in namespace:llvm
154 template <> struct GraphTraits<DominatorTree*> struct in namespace:llvm
155 : public GraphTraits<DomTreeNode*> {
H A DCFG.h10 // This file defines specializations of GraphTraits that allow Function and
18 #include "llvm/ADT/GraphTraits.h"
286 // GraphTraits specializations for basic block graphs (CFGs)
289 // Provide specializations of GraphTraits to be able to treat a function as a
292 template <> struct GraphTraits<BasicBlock*> { struct in namespace:llvm
305 template <> struct GraphTraits<const BasicBlock*> { struct in namespace:llvm
319 // Provide specializations of GraphTraits to be able to treat a function as a
324 template <> struct GraphTraits<Inverse<BasicBlock*> > { struct in namespace:llvm
336 template <> struct GraphTraits<Inverse<const BasicBlock*> > { struct in namespace:llvm
353 // GraphTraits specialization
360 template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> { struct in namespace:llvm
369 template <> struct GraphTraits<const Function*> : struct in namespace:llvm
386 template <> struct GraphTraits<Inverse<Function*> > : struct in namespace:llvm
392 template <> struct GraphTraits<Inverse<const Function*> > : struct in namespace:llvm
[all...]
/external/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp52 struct GraphTraits<BlockFrequencyInfo *> { struct in namespace:llvm
H A DBlockFrequencyInfoImpl.cpp586 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.cpp465 struct GraphTraits<ModuleManager> { struct in namespace:llvm
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h29 #include "llvm/ADT/GraphTraits.h"
440 // GraphTraits
443 template<> struct GraphTraits<clang::ento::ExplodedNode*> { struct in namespace:llvm
469 template<> struct GraphTraits<const clang::ento::ExplodedNode*> { struct in namespace:llvm
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp386 template<> struct GraphTraits<ArgumentGraphNode*> { struct in namespace:llvm
398 template<> struct GraphTraits<ArgumentGraph*> struct in namespace:llvm
399 : public GraphTraits<ArgumentGraphNode*> {

Completed in 981 milliseconds

12