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

/external/llvm/include/llvm/Support/
H A DDataFlow.h10 // This file defines specializations of GraphTraits that allows Use-Def and
18 #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 DCFG.h10 // 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*> { struct in namespace:llvm
261 template <> struct GraphTraits<const BasicBlock*> { struct in namespace:llvm
275 // Provide specializations of GraphTraits to be able to treat a function as a
280 template <> struct GraphTraits<Inverse<BasicBlock*> > { struct in namespace:llvm
292 template <> struct GraphTraits<Inverse<const BasicBlock*> > { struct in namespace:llvm
309 // GraphTraits specialization
316 template <> struct GraphTraits<Function*> : public GraphTraits<BasicBlock*> { struct in namespace:llvm
325 template <> struct GraphTraits<const Function*> : struct in namespace:llvm
342 template <> struct GraphTraits<Inverse<Function*> > : struct in namespace:llvm
348 template <> struct GraphTraits<Inverse<const Function*> > : struct in namespace:llvm
[all...]
/external/clang/include/clang/AST/
H A DStmtGraphTraits.h10 // This file defines a template specialization of llvm::GraphTraits to
19 #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.h86 template <> struct GraphTraits<PostDominatorTree*> struct in namespace:llvm
87 : public GraphTraits<DomTreeNode*> {
H A DInterval.h23 #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 DCallGraph.h56 #include "llvm/ADT/GraphTraits.h"
303 // GraphTraits specializations for call graphs so that they can be treated as
309 template <> struct GraphTraits<CallGraphNode*> { struct
332 template <> struct GraphTraits<const CallGraphNode*> { struct
341 template<> struct GraphTraits<CallGraph*> : public GraphTraits<CallGraphNode*> { struct in inherits:GraphTraits
362 template<> struct GraphTraits<const CallGraph*> : struct in inherits:GraphTraits
363 public GraphTraits<const CallGraphNode*> {
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 DLoopInfo.h37 #include "llvm/ADT/GraphTraits.h"
155 typedef GraphTraits<BlockT*> BlockTraits;
171 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
673 template <> struct GraphTraits<const Loop*> { struct in namespace:llvm
686 template <> struct GraphTraits<Loop*> { struct in namespace:llvm
H A DDominators.h22 #include "llvm/ADT/GraphTraits.h"
183 void Calculate(DominatorTreeBase<typename GraphTraits<N>::NodeType>& DT,
247 typedef GraphTraits<Inverse<N> > InvTraits;
539 this->Split<Inverse<NodeT*>, GraphTraits<Inverse<NodeT*> > >(*this, NewBB);
541 this->Split<NodeT*, GraphTraits<NodeT*> >(*this, NewBB);
574 friend void Calculate(DominatorTreeBase<typename GraphTraits<N>::NodeType>& DT,
650 typedef GraphTraits<FT*> TraitsTy;
875 /// DominatorTree GraphTraits specialization so the DominatorTree can be
878 template <> struct GraphTraits<DomTreeNode*> { struct in namespace:llvm
903 template <> struct GraphTraits<DominatorTre struct in namespace:llvm
[all...]
/external/llvm/include/llvm/CodeGen/
H A DMachineDominators.h173 /// DominatorTree GraphTraits specialization so the DominatorTree can be
177 template<class T> struct GraphTraits;
179 template <> struct GraphTraits<MachineDomTreeNode *> { struct in namespace:llvm
194 template <> struct GraphTraits<MachineDominatorTree*> struct in namespace:llvm
195 : public GraphTraits<MachineDomTreeNode *> {
H A DMachineLoopInfo.h162 template <> struct GraphTraits<const MachineLoop*> { struct in namespace:llvm
175 template <> struct GraphTraits<MachineLoop*> { struct in namespace:llvm
H A DMachineFunction.h431 // GraphTraits specializations for function basic block graphs (CFGs)
434 // Provide specializations of GraphTraits to be able to treat a
439 template <> struct GraphTraits<MachineFunction*> :
440 public GraphTraits<MachineBasicBlock*> {
451 template <> struct GraphTraits<const MachineFunction*> : struct in namespace:llvm
452 public GraphTraits<const MachineBasicBlock*> {
471 // Provide specializations of GraphTraits to be able to treat a function as a
476 template <> struct GraphTraits<Inverse<MachineFunction*> > : struct in namespace:llvm
477 public GraphTraits<Inverse<MachineBasicBlock*> > {
482 template <> struct GraphTraits<Invers struct in namespace:llvm
[all...]
H A DMachineBasicBlock.h18 #include "llvm/ADT/GraphTraits.h"
612 // GraphTraits specializations for machine basic block graphs (machine-CFGs)
615 // Provide specializations of GraphTraits to be able to treat a
619 template <> struct GraphTraits<MachineBasicBlock *> { struct in namespace:llvm
632 template <> struct GraphTraits<const MachineBasicBlock *> { struct in namespace:llvm
645 // Provide specializations of GraphTraits to be able to treat a
651 template <> struct GraphTraits<Inverse<MachineBasicBlock*> > { struct in namespace:llvm
665 template <> struct GraphTraits<Inverse<const MachineBasicBlock*> > { struct in namespace:llvm
H A DScheduleDAG.h23 #include "llvm/ADT/GraphTraits.h"
638 template <> struct GraphTraits<SUnit*> { struct in namespace:llvm
650 template <> struct GraphTraits<ScheduleDAG*> : public GraphTraits<SUnit*> { struct in namespace:llvm
H A DSelectionDAG.h1081 template <> struct GraphTraits<SelectionDAG*> : public GraphTraits<SDNode*> { struct in namespace:llvm
H A DSelectionDAGNodes.h25 #include "llvm/ADT/GraphTraits.h"
1791 template <> struct GraphTraits<SDNode*> { struct in class:llvm::SDNode
/external/clang/include/clang/Analysis/Analyses/
H A DDominators.h20 #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"
183 template <> struct GraphTraits<clang::CallGraphNode*> { struct in namespace:llvm
201 template <> struct GraphTraits<const clang::CallGraphNode*> { struct in namespace:llvm
209 template <> struct GraphTraits<clang::CallGraph*> struct in namespace:llvm
210 : public GraphTraits<clang::CallGraphNode*> {
235 template <> struct GraphTraits<const clang::CallGraph*> : struct in namespace:llvm
236 public GraphTraits<const clang::CallGraphNode*> {
H A DCFG.h19 #include "llvm/ADT/GraphTraits.h"
805 // GraphTraits specializations for CFG basic block graphs (source-level CFGs)
828 template <> struct GraphTraits< ::clang::CFGBlock *> { struct in namespace:clang::llvm
842 template <> struct GraphTraits< const ::clang::CFGBlock *> { struct in namespace:clang::llvm
856 template <> struct GraphTraits<Inverse< ::clang::CFGBlock*> > { struct in namespace:clang::llvm
870 template <> struct GraphTraits<Inverse<const ::clang::CFGBlock*> > { struct in namespace:clang::llvm
886 template <> struct GraphTraits< ::clang::CFG* > struct in namespace:clang::llvm
887 : public GraphTraits< ::clang::CFGBlock *> {
897 template <> struct GraphTraits<const ::clang::CFG* > struct in namespace:clang::llvm
898 : public GraphTraits<cons
916 template <> struct GraphTraits<Inverse< ::clang::CFG*> > struct in namespace:clang::llvm
926 template <> struct GraphTraits<Inverse<const ::clang::CFG*> > struct in namespace:clang::llvm
[all...]
/external/clang/lib/Serialization/
H A DModuleManager.cpp214 struct GraphTraits<ModuleManager> { struct in namespace:llvm
/external/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp313 template<> struct GraphTraits<ArgumentGraphNode*> { struct in namespace:llvm
325 template<> struct GraphTraits<ArgumentGraph*> struct in namespace:llvm
326 : public GraphTraits<ArgumentGraphNode*> {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h30 #include "llvm/ADT/GraphTraits.h"
431 // GraphTraits
434 template<> struct GraphTraits<clang::ento::ExplodedNode*> { struct in namespace:llvm
460 template<> struct GraphTraits<const clang::ento::ExplodedNode*> { struct in namespace:llvm

Completed in 233 milliseconds