/freebsd-10-stable/contrib/llvm/include/llvm/ADT/ |
H A D | GraphTraits.h | 1 //===-- 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...] |
H A D | PostOrderIterator.h | 10 // This file builds on the ADT/GraphTraits.h file to build a generic graph 12 // GraphTraits specialization. 19 #include "llvm/ADT/GraphTraits.h" 88 class SetType = llvm::SmallPtrSet<typename GraphTraits<GraphT>::NodeType*, 8>, 90 class GT = GraphTraits<GraphT> > 180 template<class T, class SetType=std::set<typename GraphTraits<T>::NodeType*> > 198 class SetType = std::set<typename GraphTraits<T>::NodeType*>, 217 class SetType = std::set<typename GraphTraits<T>::NodeType*> > 258 template<class GraphT, class GT = GraphTraits<GraphT> >
|
H A D | DepthFirstIterator.h | 10 // This file builds on the ADT/GraphTraits.h file to build generic depth 36 #include "llvm/ADT/GraphTraits.h" 63 class SetType = llvm::SmallPtrSet<typename GraphTraits<GraphT>::NodeType*, 8>, 64 bool ExtStorage = false, class GT = GraphTraits<GraphT> > 211 template <class T, class SetTy = std::set<typename GraphTraits<T>::NodeType*> > 230 class SetTy = llvm::SmallPtrSet<typename GraphTraits<T>::NodeType*, 8>, 248 template <class T, class SetTy = std::set<typename GraphTraits<T>::NodeType*> >
|
/freebsd-10-stable/contrib/llvm/include/llvm/Support/ |
H A D | DataFlow.h | 10 // This file defines specializations of GraphTraits that allows Use-Def and 17 #include "llvm/ADT/GraphTraits.h" 23 // Provide specializations of GraphTraits to be able to treat def-use/use-def 26 template <> struct GraphTraits<const Value*> { struct in namespace:llvm 43 template <> struct GraphTraits<Value*> { struct in namespace:llvm 60 template <> struct GraphTraits<Inverse<const User*> > { struct in namespace:llvm 81 template <> struct GraphTraits<Inverse<User*> > { struct in namespace:llvm
|
H A D | CFG.h | 10 // This file defines specializations of GraphTraits that allow Function and 18 #include "llvm/ADT/GraphTraits.h" 250 // GraphTraits specializations for basic block graphs (CFGs) 253 // Provide specializations of GraphTraits to be able to treat a function as a 256 template <> struct GraphTraits<BasicBlock*> { struct in namespace:llvm 269 template <> struct GraphTraits<const BasicBlock*> { struct in namespace:llvm 283 // Provide specializations of GraphTraits to be able to treat a function as a 288 template <> struct GraphTraits<Inverse<BasicBlock*> > { struct in namespace:llvm 300 template <> struct GraphTraits<Inverse<const BasicBlock*> > { struct in namespace:llvm 317 // GraphTraits specialization 324 template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> { struct in namespace:llvm 333 template <> struct GraphTraits<const Function*> : struct in namespace:llvm 350 template <> struct GraphTraits<Inverse<Function*> > : struct in namespace:llvm 356 template <> struct GraphTraits<Inverse<const Function*> > : struct in namespace:llvm [all...] |
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/ |
H A D | BlockFrequencyImpl.h | 49 typedef GraphTraits< Inverse<BlockT *> > GT; 134 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), 135 PE = GraphTraits< Inverse<BlockT *> >::child_end(BB); 171 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), 172 PE = GraphTraits< Inverse<BlockT *> >::child_end(BB); 219 PI = GraphTraits< Inverse<BlockT *> >::child_begin(Head), 220 PE = GraphTraits< Inverse<BlockT *> >::child_end(Head); 296 PI = GraphTraits< Inverse<BlockT *> >::child_begin(BB), 297 PE = GraphTraits< Inverse<BlockT *> >::child_end(BB); 330 for (typename GraphTraits<Block [all...] |
H A D | RegionIterator.h | 14 #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 D | PostDominators.h | 91 template <> struct GraphTraits<PostDominatorTree*> struct in namespace:llvm 92 : public GraphTraits<DomTreeNode*> {
|
H A D | CallGraph.h | 54 #include "llvm/ADT/GraphTraits.h" 304 // GraphTraits specializations for call graphs so that they can be treated as 310 template <> struct GraphTraits<CallGraphNode*> { struct 333 template <> struct GraphTraits<const CallGraphNode*> { struct 342 template<> struct GraphTraits<CallGraph*> : public GraphTraits<CallGraphNode*> { struct in inherits:GraphTraits 363 template<> struct GraphTraits<const CallGraph*> : struct in inherits:GraphTraits 364 public GraphTraits<const CallGraphNode*> {
|
H A D | Interval.h | 23 #include "llvm/ADT/GraphTraits.h" 124 template <> struct GraphTraits<Interval*> { struct in namespace:llvm 139 template <> struct GraphTraits<Inverse<Interval*> > { struct in namespace:llvm
|
H A D | LoopInfoImpl.h | 34 typedef GraphTraits<BlockT*> BlockTraits; 63 typedef GraphTraits<BlockT*> BlockTraits; 88 typedef GraphTraits<BlockT*> BlockTraits; 112 typedef GraphTraits<BlockT*> BlockTraits; 134 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits; 156 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits; 245 typedef GraphTraits<BlockT*> BlockTraits; 253 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits; 348 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits; 408 typedef GraphTraits<Block [all...] |
H A D | DominatorInternals.h | 151 void Calculate(DominatorTreeBase<typename GraphTraits<NodeT>::NodeType>& DT, 153 typedef GraphTraits<NodeT> GraphT; 174 MultipleRoots |= (DT.isPostDominator() && N != GraphTraits<FuncT*>::size(&F)); 207 typedef GraphTraits<Inverse<NodeT> > InvTraits;
|
H A D | Dominators.h | 20 #include "llvm/ADT/GraphTraits.h" 183 void Calculate(DominatorTreeBase<typename GraphTraits<N>::NodeType>& DT, 247 typedef GraphTraits<Inverse<N> > InvTraits; 553 this->Split<Inverse<NodeT*>, GraphTraits<Inverse<NodeT*> > >(*this, NewBB); 555 this->Split<NodeT*, GraphTraits<NodeT*> >(*this, NewBB); 588 friend void Calculate(DominatorTreeBase<typename GraphTraits<N>::NodeType>& DT, 664 typedef GraphTraits<FT*> TraitsTy; 894 /// DominatorTree GraphTraits specialization so the DominatorTree can be 897 template <> struct GraphTraits<DomTreeNode*> { struct in namespace:llvm 922 template <> struct GraphTraits<DominatorTre struct in namespace:llvm [all...] |
H A D | IntervalIterator.h | 88 template<class NodeTy, class OrigContainer_t, class GT = GraphTraits<NodeTy*>, 89 class IGT = GraphTraits<Inverse<NodeTy*> > >
|
H A D | LoopInfo.h | 35 #include "llvm/ADT/GraphTraits.h" 152 typedef GraphTraits<const BlockT*> BlockTraits; 168 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits; 713 template <> struct GraphTraits<const Loop*> { struct in namespace:llvm 726 template <> struct GraphTraits<Loop*> { struct in namespace:llvm
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | StmtGraphTraits.h | 10 // 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
|
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/ |
H A D | MachineDominators.h | 175 /// 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 D | MachineFunction.h | 463 // GraphTraits specializations for function basic block graphs (CFGs) 466 // Provide specializations of GraphTraits to be able to treat a 471 template <> struct GraphTraits<MachineFunction*> : 472 public GraphTraits<MachineBasicBlock*> { 483 template <> struct GraphTraits<const MachineFunction*> : struct in namespace:llvm 484 public GraphTraits<const MachineBasicBlock*> { 503 // Provide specializations of GraphTraits to be able to treat a function as a 508 template <> struct GraphTraits<Inverse<MachineFunction*> > : struct in namespace:llvm 509 public GraphTraits<Inverse<MachineBasicBlock*> > { 514 template <> struct GraphTraits<Invers struct in namespace:llvm [all...] |
H A D | MachineLoopInfo.h | 162 template <> struct GraphTraits<const MachineLoop*> { struct in namespace:llvm 175 template <> struct GraphTraits<MachineLoop*> { struct in namespace:llvm
|
H A D | MachineBasicBlock.h | 17 #include "llvm/ADT/GraphTraits.h" 669 // GraphTraits specializations for machine basic block graphs (machine-CFGs) 672 // Provide specializations of GraphTraits to be able to treat a 676 template <> struct GraphTraits<MachineBasicBlock *> { struct in namespace:llvm 689 template <> struct GraphTraits<const MachineBasicBlock *> { struct in namespace:llvm 702 // Provide specializations of GraphTraits to be able to treat a 708 template <> struct GraphTraits<Inverse<MachineBasicBlock*> > { struct in namespace:llvm 722 template <> struct GraphTraits<Inverse<const MachineBasicBlock*> > { struct in namespace:llvm
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Analysis/ |
H A D | CallGraph.h | 23 #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*> {
|
H A D | CFG.h | 22 #include "llvm/ADT/GraphTraits.h" 881 // GraphTraits specializations for CFG basic block graphs (source-level CFGs) 897 template <> struct GraphTraits< ::clang::CFGBlock *> { struct in namespace:clang::llvm 911 template <> struct GraphTraits< const ::clang::CFGBlock *> { struct in namespace:clang::llvm 925 template <> struct GraphTraits<Inverse< ::clang::CFGBlock*> > { struct in namespace:clang::llvm 939 template <> struct GraphTraits<Inverse<const ::clang::CFGBlock*> > { struct in namespace:clang::llvm 955 template <> struct GraphTraits< ::clang::CFG* > struct in namespace:clang::llvm 956 : public GraphTraits< ::clang::CFGBlock *> { 966 template <> struct GraphTraits<const ::clang::CFG* > struct in namespace:clang::llvm 967 : public GraphTraits<cons 985 template <> struct GraphTraits<Inverse< ::clang::CFG*> > struct in namespace:clang::llvm 995 template <> struct GraphTraits<Inverse<const ::clang::CFG*> > struct in namespace:clang::llvm [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
H A D | Dominators.h | 19 #include "llvm/ADT/GraphTraits.h" 166 /// DominatorTree GraphTraits specialization so the DominatorTree can be 170 template <> struct GraphTraits< ::clang::DomTreeNode* > { struct in namespace:llvm 195 template <> struct GraphTraits< ::clang::DominatorTree* > struct in namespace:llvm 196 : public GraphTraits< ::clang::DomTreeNode* > {
|
/freebsd-10-stable/contrib/llvm/include/llvm/IR/ |
H A D | Type.h | 34 template<class GraphType> struct GraphTraits; 450 // Provide specializations of GraphTraits to be able to treat a type as a 454 template <> struct GraphTraits<Type*> { 467 template <> struct GraphTraits<const Type*> {
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfo.cpp | 50 struct GraphTraits<BlockFrequencyInfo *> { struct in namespace:llvm
|