Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] VMKit and PoolAlloc"
2009 Jul 22
2
[LLVMdev] DSA: AuxFunctionCall
What is this used for? Does DSA put anything here? If I want to add
call sites here during my pass, will it confuse pool allocation if it
runs afterwards? If so, is there any way I could clear it at the end of
my pass?
Thanks,
--Patrick
--
If I'm not here, I've gone out to find myself. If I get back before I return, please keep me here.
2010 Feb 13
2
[LLVMdev] Taking the address of an array?
Hello,
I'm trying to write an annotation pass which will pass a C function a
number of parameters including one of type [16 x i8*]. However, when I
write the C function, this parameter type is compiled to type i8**
because of the semantics of arrays in C. I think that to convert this
parameter to i8**, I would need to take the address of the array. Is
there any way I can do this? If
2009 Jul 22
0
[LLVMdev] DSA: AuxFunctionCall
On Tue, Jul 21, 2009 at 10:58 PM, Patrick Simmons<simmon12 at illinois.edu> wrote:
> What is this used for? Does DSA put anything here? If I want to add
> call sites here during my pass, will it confuse pool allocation if it
> runs afterwards? If so, is there any way I could clear it at the end of
> my pass?
This is used for unprocessed callsites. Clearing it between DSA
2009 Jul 14
2
[LLVMdev] Quick DSA Question
Okay, are C standard library functions typically external in a fully
linked LLVM bytecode file?
--Patrick
Andrew Lenharth wrote:
> If the function is external, then DSA won't create a graph for it.
>
> Andrew
>
> On Mon, Jul 13, 2009 at 4:54 PM, Patrick Alexander
> Simmons<simmon12 at cs.uiuc.edu> wrote:
>
>> I'm noticing that DSA graphs are not
2009 Jul 04
2
[LLVMdev] Pool Allocation Segfaulting with opt
Hi,
I'm trying to run the pool allocation pass through opt, and I'm running
into problems. It segfaults frequently; for example, it does this when
the input is a simple Hello World program:
[simmon12 at apoc testcases]$ opt -load
/home/vadve/simmon12/llvm/llvm/projects/llvm-poolalloc/Debug/lib/libLLVMDataStructure.so
-load
2010 Jul 10
2
[LLVMdev] Disabling certain backends in test-suite?
Hello,
I'm trying to add some tests from PARSEC to MultiSource, and I can't
figure out how to disable the lli and cbe backends. Because the code
uses inline assembly, only the llc backend works. Does anyone know how
to do this?
Thanks,
--Patrick
--
If I'm not here, I've gone out to find myself. If I get back before I return, please keep me here.
2009 Jul 07
5
[LLVMdev] Stable release of pool allocation?
I've been attempting to write my pass (which depends on DSA and pool
allocation) against the SVN trunk of LLVM and the llvm-poolalloc
project. However, I was thinking it might be better to use the latest
stable releases of these codebases. I know that this is the 2.5 branch
for LLVM, but are there any stable releases of pool allocation? If so,
would there be any disadvantage to my
2009 Feb 07
3
[LLVMdev] Problem Running llvm-suite
Hi,
I'm trying to run the tests in llvm-suite, but I've run into trouble.
First, I had the llvm-suite checkout in a directory alongside the llvm
compiler checkout, but, when I ran "make" from llvm-suite, it complained
about there not being a Makefile two levels above it, so I moved
llvm-suite into the "test" subdirectory inside the llvm compiler
checkout. I ran
2010 Mar 16
4
[LLVMdev] Getting the DSNode from a Pool Descriptor?
I figure (hopefully correctly) that I can iterate over all pool
descriptors in a program by iterating over all users of poolinit and
looking at the first argument. However, once I have a pool descriptor,
I need to get its corresponding DSNode in the function in which it is
complete (or in the global graph if it is a global). How do I do this?
Thanks,
--Patrick
2010 Mar 17
1
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Depending on the value of dsa_pass_to_use, either EquivBUDataStructures
or EQTDDataStructures is used. In the case that the top-down DSA is
used, information is pushed down to nodes in callees. However,
if bottom-up DSA is used, information has only been merged upwards and
the nodes are not necessarily equivalent.
Harmen
Andrew Lenharth wrote:
> On Tue, Mar 16, 2010 at 3:46 PM, Patrick
2010 Aug 05
2
[LLVMdev] PARSEC Patch
I have completed work merging PARSEC into the LLVM test suite
infrastructure? The patch is available at
[http://zion.cs.uiuc.edu/~simmon12/parsec.patch]. If there are no
objections, would someone please commit this patch to test-suite?
Best regards,
--Patrick
2010 Mar 19
3
[LLVMdev] Getting the DSNode from a Pool Descriptor?
Thanks for all your help so far.
My problem is that what I have are the pool descriptors, which I by
traversing the uses of poolinit and accessing the first argument of each
call. I need to find the DSNode (in the original function) to which
this pool descriptor corresponds. The rub is that this pool descriptor
of course does not exist except in the clone.
If I call getFuncInfo(), I get a
2010 Feb 13
2
[LLVMdev] Taking the address of an array?
I read this before posting; however, that article says that the first
operand to this instruction must be a pointer type. The type I have is
[16 x i8*], not [16 x i8*]*.
--Patrick
Óscar Fuentes wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.compilers.llvm.devel as well.
>
> Patrick Simmons <simmon12 at illinois.edu>
2011 Dec 17
2
[LLVMdev] Unable to build vmkit
Hello, I am using Ubuntu 11.10 64-bit. Following the instructions on the
VMKit website I grabbed llvm, clang, and vmkit via svn (and GNU
Classpath via the link of the page). Compilation of llvm, clang and
classpath went fine. I had problems compiling vmkit, which seem to be
related to a TargetOptions being required as a parameter when creating a
TargetMachine in LLVM. This led to a couple other
2009 Sep 15
3
[LLVMdev] IDE on *nix
2009/9/15 Patrick Simmons <simmon12 at illinois.edu>:
> cmake -G "Eclipse CDT4 - Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug"
> -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="X86;PowerPC;CBackend"
> /home/renato/llvm-sources
Thanks Patrick, I'll give it a try.
At least now I know that it can be done. My previous attempts all
ended up in memory
2009 Jul 13
2
[LLVMdev] Quick DSA Question
I'm noticing that DSA graphs are not created for library functions like
"puts". The bytecode file runs with lli, so I think I did my linking
okay. Is this normal, or does it mean I'm somehow not giving the
algorithm the complete program information it needs?
Thanks,
--Patrick
2011 Oct 19
0
[LLVMdev] Error when installing VMKit
Hi Bakiras,
On Wed, Oct 19, 2011 at 11:02 AM, bakiras <h.bakiras at gmail.com> wrote:
> Hi everyone,
>
> I am Harris Bakiras the new VMKit engineer.
>
Welcome :)
>
> I followed the VMKit "Getting Started" instructions to install VMKit on
> my Linux Ubuntu 11.10 64-bit but I get the following error :
>
> make[1]: Entering directory
2013 Feb 24
2
[LLVMdev] [vmkit] Errors compiling vmkt
Hi Harris,
A question has arisen, what is the difference between VMKit2 and VMKit,
and why, in the first place the new VMKit2 fork was been created?
Thanks for answer :)
Best regards,
Minas
On Tue, Feb 12, 2013 at 2:36 PM, Harris Bakiras <h.bakiras at gmail.com> wrote:
> Hi Chris,
>
> For the moment you can install VMKit following these instructions:
>
>
2010 Jul 10
0
[LLVMdev] Disabling certain backends in test-suite?
If you disable them at configure time, they won't be run.
You probably want:
--enable-targets=host
--disable-jit
Reid
On Sat, Jul 10, 2010 at 8:56 PM, Patrick Simmons <simmon12 at illinois.edu> wrote:
> Hello,
>
> I'm trying to add some tests from PARSEC to MultiSource, and I can't
> figure out how to disable the lli and cbe backends. Because the code
> uses
2010 Feb 13
0
[LLVMdev] Taking the address of an array?
Patrick Simmons <simmon12 at illinois.edu> writes:
[snip]
> Is there any way I can do this? If not, is there any way for me to
> accomplish what I want here?
http://www.llvm.org/docs/LangRef.html#i_getelementptr