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

/external/llvm/include/llvm/Support/
H A DDataFlow.h10 // 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 DCFG.h10 // 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...]
/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.h91 template <> struct GraphTraits<PostDominatorTree*> struct in namespace:llvm
92 : 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.h54 #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.h35 #include "llvm/ADT/GraphTraits.h"
151 typedef GraphTraits<const BlockT*> BlockTraits;
167 typedef GraphTraits<Inverse<BlockT*> > InvBlockTraits;
699 template <> struct GraphTraits<const Loop*> { struct in namespace:llvm
712 template <> struct GraphTraits<Loop*> { struct in namespace:llvm
H A DDominators.h20 #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;
874 /// DominatorTree GraphTraits specialization so the DominatorTree can be
877 template <> struct GraphTraits<DomTreeNode*> { struct in namespace:llvm
902 template <> struct GraphTraits<DominatorTre struct in namespace:llvm
[all...]
/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.h162 template <> struct GraphTraits<const MachineLoop*> { struct in namespace:llvm
175 template <> struct GraphTraits<MachineLoop*> { struct in namespace:llvm
H A DMachineFunction.h464 // GraphTraits specializations for function basic block graphs (CFGs)
467 // Provide specializations of GraphTraits to be able to treat a
472 template <> struct GraphTraits<MachineFunction*> :
473 public GraphTraits<MachineBasicBlock*> {
484 template <> struct GraphTraits<const MachineFunction*> : struct in namespace:llvm
485 public GraphTraits<const MachineBasicBlock*> {
504 // Provide specializations of GraphTraits to be able to treat a function as a
509 template <> struct GraphTraits<Inverse<MachineFunction*> > : struct in namespace:llvm
510 public GraphTraits<Inverse<MachineBasicBlock*> > {
515 template <> struct GraphTraits<Invers struct in namespace:llvm
[all...]
H A DMachineBasicBlock.h17 #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
H A DScheduleDAG.h20 #include "llvm/ADT/GraphTraits.h"
649 template <> struct GraphTraits<SUnit*> { struct in namespace:llvm
661 template <> struct GraphTraits<ScheduleDAG*> : public GraphTraits<SUnit*> { struct in namespace:llvm
H A DSelectionDAG.h1101 template <> struct GraphTraits<SelectionDAG*> : public GraphTraits<SDNode*> { struct in namespace:llvm
H A DSelectionDAGNodes.h23 #include "llvm/ADT/GraphTraits.h"
1829 template <> struct GraphTraits<SDNode*> { struct
/external/clang/include/clang/Analysis/Analyses/
H A DDominators.h19 #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* > {
/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*> {
H A DCFG.h22 #include "llvm/ADT/GraphTraits.h"
849 // GraphTraits specializations for CFG basic block graphs (source-level CFGs)
865 template <> struct GraphTraits< ::clang::CFGBlock *> { struct in namespace:clang::llvm
879 template <> struct GraphTraits< const ::clang::CFGBlock *> { struct in namespace:clang::llvm
893 template <> struct GraphTraits<Inverse< ::clang::CFGBlock*> > { struct in namespace:clang::llvm
907 template <> struct GraphTraits<Inverse<const ::clang::CFGBlock*> > { struct in namespace:clang::llvm
923 template <> struct GraphTraits< ::clang::CFG* > struct in namespace:clang::llvm
924 : public GraphTraits< ::clang::CFGBlock *> {
934 template <> struct GraphTraits<const ::clang::CFG* > struct in namespace:clang::llvm
935 : public GraphTraits<cons
953 template <> struct GraphTraits<Inverse< ::clang::CFG*> > struct in namespace:clang::llvm
963 template <> struct GraphTraits<Inverse<const ::clang::CFG*> > struct in namespace:clang::llvm
[all...]
/external/clang/lib/Serialization/
H A DModuleManager.cpp404 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.cpp380 template<> struct GraphTraits<ArgumentGraphNode*> { struct in namespace:llvm
392 template<> struct GraphTraits<ArgumentGraph*> struct in namespace:llvm
393 : public GraphTraits<ArgumentGraphNode*> {
/external/llvm/lib/CodeGen/
H A DMachineScheduler.cpp2707 template<> struct GraphTraits< struct in namespace:llvm
2708 ScheduleDAGMI*> : public GraphTraits<ScheduleDAG*> {};

Completed in 350 milliseconds