Displaying 8 results from an estimated 8 matches for "localdatastructures".
2013 Aug 07
1
[LLVMdev] DSA - LocalDataStructures pass does not create DSGraphs
...wrote a quick patch
to make poolalloc 3.2 compile with llvm 3.3 (mostly adaptions to file
relocations were necessary). The patch is attached as it is quite small.
With the foundations working a simple test before getting serious seemed to be
a good idea. So I tried to perform the LocalAnalysis (LocalDataStructures pass
in poolalloc) on the running example (LLVM-IR obtained by clang) of Chris
Lattner's PHD thesis (p. 44) (code attached).
When this pass(LocalDataStructures) is run I can call dumpCallGraph() on it
and get the correct result. But calls to hasDSGraph(const Function &F) all
return fal...
2008 Apr 23
2
[LLVMdev] how to dump DSA graph in gdb?
...a lot print and dump functions in Printer.cpp,
such as
void DSGraph::writeGraphToFile(std::ostream &O,
const std::string &GraphName) const {
but i don't know how to use it, also there are other functions:
// print - Print out the analysis results...
void LocalDataStructures::print(std::ostream &O, const Module *M) const {
if (DontPrintAnything) return;
printCollection(*this, O, M, "ds.");
}
..........
how these functions can be used in gdb? furthermore, are there any options
which i can type in command line for DSA?, such as:
opt -load=xxxxxx -print...
2010 Dec 13
1
[LLVMdev] How can I determine safely if a CallSite is "live" in a DSGraphs context
Hi,
I believe shouldHaveNodeForValue() should return false for
ConstantPointerNullValue.
Fixed in r121707.
Arushi
On Mon, Dec 13, 2010 at 12:10 PM, Kevin Streit
<kevin.streit at googlemail.com>wrote:
> I'm using BUDataStructures... But I tried LocalDatastructures and it didn't
> work either...
> On Dec 13, 2010 6:52 PM, "Arushi Aggarwal" <arushi987 at gmail.com> wrote:
> > Hi,
> >
> > Which DSA pass are you using, local/bu/td? I can try looking at this once
> I
> > know that.
> >
> > Arushi
&...
2009 Jul 04
2
[LLVMdev] Pool Allocation Segfaulting with opt
...namespace)::GraphBuilder::MergeConstantInitIntoNode(llvm::DSNodeHandle&,
llvm::Type const*, llvm::Constant*) + 229
9 libLLVMDataStructure.so 0x0022bfb7 (anonymous
namespace)::GraphBuilder::mergeInGlobalInitializer(llvm::GlobalVariable*)
+ 149
10 libLLVMDataStructure.so 0x0022c08c
llvm::LocalDataStructures::runOnModule(llvm::Module&) + 190
11 opt 0x083fdf4e
llvm::MPPassManager::runOnModule(llvm::Module&) + 270
Segmentation fault
I'm using the latest SVN checkouts for both LLVM and llvm-poolalloc.
Should I perhaps use the 2.5 branch of LLVM instead?
Oh, also, what...
2008 Apr 23
0
[LLVMdev] how to dump DSA graph in gdb?
...ns in Printer.cpp, such as
> void DSGraph::writeGraphToFile(std::ostream &O,
> const std::string &GraphName) const {
>
> but i don't know how to use it, also there are other functions:
> // print - Print out the analysis results...
> void LocalDataStructures::print(std::ostream &O, const Module *M) const {
> if (DontPrintAnything) return;
> printCollection(*this, O, M, "ds.");
> }
> ..........
> how these functions can be used in gdb? furthermore, are there any options which i can type in command line for DSA?, such as:...
2008 Apr 23
2
[LLVMdev] how to dump DSA graph in gdb?
...; > void DSGraph::writeGraphToFile(std::ostream &O,
> > const std::string &GraphName) const {
> >
> > but i don't know how to use it, also there are other functions:
> > // print - Print out the analysis results...
> > void LocalDataStructures::print(std::ostream &O, const Module *M) const
> {
> > if (DontPrintAnything) return;
> > printCollection(*this, O, M, "ds.");
> > }
> > ..........
> > how these functions can be used in gdb? furthermore, are there any
> options which i can type...
2008 Apr 23
0
[LLVMdev] how to dump DSA graph in gdb?
...as
>> void DSGraph::writeGraphToFile(std::ostream &O,
>> const std::string &GraphName) const {
>>
>> but i don't know how to use it, also there are other functions:
>> // print - Print out the analysis results...
>> void LocalDataStructures::print(std::ostream &O, const Module *M) const {
>> if (DontPrintAnything) return;
>> printCollection(*this, O, M, "ds.");
>> }
>> ..........
>> how these functions can be used in gdb? furthermore, are there any options which i can type in command lin...
2009 Jul 06
0
[LLVMdev] Pool Allocation Segfaulting with opt
...rgeConstantInitIntoNode(llvm::DSNodeHandle&,
> llvm::Type const*, llvm::Constant*) + 229
> 9 libLLVMDataStructure.so 0x0022bfb7 (anonymous
> namespace)::GraphBuilder::mergeInGlobalInitializer(llvm::GlobalVariable*)
> + 149
> 10 libLLVMDataStructure.so 0x0022c08c
> llvm::LocalDataStructures::runOnModule(llvm::Module&) + 190
> 11 opt 0x083fdf4e
> llvm::MPPassManager::runOnModule(llvm::Module&) + 270
> Segmentation fault
>
> I'm using the latest SVN checkouts for both LLVM and llvm-poolalloc.
> Should I perhaps use the 2.5 branch of...