Displaying 8 results from an estimated 8 matches for "dsgraphtraits".
Did you mean:
dotgraphtraits
2002 Nov 18
0
[LLVMdev] Fixed DSGraph iteration, depth first search, etc...
...t DSNode *N1 = ...;
df_iterator<const DSNode*> X1 = df_begin(N1), XE1 = df_end(N1);
DSNode *N2 = ...;
df_iterator<DSNode*> X2 = df_begin(N2), XE2 = df_end(N2);
You need the following #includes:
#include "Support/DepthFirstIterator.h"
#include "llvm/Analysis/DSGraphTraits.h"
You need this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20021118/001623.html
and this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20021118/001628.html
Unfortunately, I hadn't commited a bunch of stuff before I did this, so
there are some...
2017 May 24
3
GraphTraits dereferencing
...h:139:13: error: no type named 'type' in 'std::__1::result_of<std::__1::pointer_to_unary_function<llvm::DSNode *, llvm::DSNode &>
(llvm::DSNode &)>'
::type value_type;
~~^~~~
/Users/jaredcarlson/Projects/crab-llvm/dsa-seahorn/include/dsa/DSGraphTraits.h:122:25: note: in instantiation of template class
'llvm::mapped_iterator<llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::DSNode, true, false, void>, false, false>, std::__1::pointer_to_unary_function<llvm::DSNode *, llvm::DSNode &> >'
req...
2005 Mar 21
1
[LLVMdev] LLVM CVS Build Broken + one line fix
...this, let me know. The build
error that this solves is:
llvm[3]: Compiling DataStructure.cpp for Debug build
In file included from
/home/ejones/llvm/llvm3/include/llvm/Analysis/DataStructure/DSGraph.h:
20,
from
/home/ejones/llvm/llvm3/include/llvm/Analysis/DataStructure/
DSGraphTraits.h:19,
from DataStructure.cpp:14:
/home/ejones/llvm/llvm3/include/llvm/ADT/EquivalenceClasses.h: In
constructor
`llvm::EquivalenceClasses<ElemTy>::ECValue::ECValue(const ElemTy&)':
/home/ejones/llvm/llvm3/include/llvm/ADT/EquivalenceClasses.h:72: parse
error...
2002 Nov 08
2
[LLVMdev] Re: LLVMdev digest, Vol 1 #44 - 2 msgs
llvm,
What is the best way to implement a traversal of the DS graph, starting at
a scalar and processing all nodes to which the scalar allows access?
Currently the links vector is not public and there is no apparent way to
bound the getLink call (ie a getNumLinks call)....
Dave
2002 Nov 08
0
[LLVMdev] Iterating on the DSGraph...
...gt; a scalar and processing all nodes to which the scalar allows access?
> Currently the links vector is not public and there is no apparent way to
> bound the getLink call (ie a getNumLinks call)....
Warning, untested code follows, but you should get the idea:
#include "llvm/Analysis/DSGraphTraits.h"
DSNode *N = ...
// Visit all children of a node...
for (DSNode::iterator I = N->begin(), E = N->end(); I != E; ++I)
if (I->getNode())
visit(I->getNode(), I->getOffset());
// Depth first traversal from a node:
#include "Support/DepthFirstIterator.h"...
2002 Nov 08
1
[LLVMdev] Iterating on the DSGraph... (fwd)
...nodes to which the scalar allows access?
> > Currently the links vector is not public and there is no apparent way to
> > bound the getLink call (ie a getNumLinks call)....
>
> Warning, untested code follows, but you should get the idea:
>
>
> #include "llvm/Analysis/DSGraphTraits.h"
>
> DSNode *N = ...
>
> // Visit all children of a node...
> for (DSNode::iterator I = N->begin(), E = N->end(); I != E; ++I)
> if (I->getNode())
> visit(I->getNode(), I->getOffset());
>
> // Depth first traversal from a node:
> #...
2004 Dec 03
0
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...Analysis\Dominators.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraph.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraphTraits.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Analysis\DataStructure\DSNode.h">
> > </File>
> > <File
> > RelativePath="..\..\include\llvm\Analysis\DataStructure\DSSupport.h">...
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...Path="..\..\include\llvm\Analysis\Dominators.h">
> </File>
> <File
> RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraph.h">
> </File>
> <File
> RelativePath="..\..\include\llvm\Analysis\DataStructure\DSGraphTraits.h">
> </File>
> <File
> RelativePath="..\..\include\llvm\Analysis\DataStructure\DSNode.h">
> </File>
> <File
> RelativePath="..\..\include\llvm\Analysis\DataStructure\DSSupport.h">
> </File>
>...