Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Use still stuck around after Def is destroyed"
2011 Oct 26
0
[LLVMdev] Use still stuck around after Def is destroyed:
On Oct 26, 2011, at 12:18 PM, ret val wrote:
> I made a GlobalVariable that is of type ConstantArray. For one of it's
> elements I assigned it the ConstantExpr::getBitCast of another
> GlobalVariable(the "shadow pointer" mentioned). This gives me:
>
> While deleting: i32 (i32)** %Shadow Variable for ptr1
> Use still stuck around after Def is
2011 Oct 27
1
[LLVMdev] Use still stuck around after Def is destroyed:
No, I am not trying to delete anything.
I wanted to created a GlobalVariable that is of Type ConstantArray,
where one of the elements its a BitCast of a GlobalVariable. I have
that, but I get those errors after my pass is done. I dont know why,
my code seems sane enough, and I dont know another way I can go about
this.
On Wed, Oct 26, 2011 at 4:42 PM, Tanya Lattner <lattner at apple.com>
2011 Oct 26
3
[LLVMdev] Use still stuck around after Def is destroyed:
I made a GlobalVariable that is of type ConstantArray. For one of it's
elements I assigned it the ConstantExpr::getBitCast of another
GlobalVariable(the "shadow pointer" mentioned). This gives me:
While deleting: i32 (i32)** %Shadow Variable for ptr1
Use still stuck around after Def is destroyed:i8* bitcast (i32
(i32)** @"Shadow Variable for ptr1" to i8*)
2005 Aug 29
1
[LLVMdev] Re: Forward of moderated message
llvm-bounces at cs.uiuc.edu wrote:
>
> ------------------------------------------------------------------------
>
> Subject:
> Fw: (by sospeng at tom.com)something is wrong , when compiling llvm on debian
> From:
> "4" <sospeng at tom.com>
> Date:
> Mon, 29 Aug 2005 20:05:46 +0800 (CST)
> To:
> llvmdev at cs.uiuc.edu
>
> To:
> llvmdev at
2010 Jul 21
1
[LLVMdev] Is there a guide to LLVM's components?
I constructed an LLVM 2.7 VS solution with cmake, but it has 66 projects:
ALL_BUILD, ".\ALL_BUILD.vcproj"
BrainF, "examples\BrainF\BrainF.vcproj"
Fibonacci, "examples\Fibonacci\Fibonacci.vcproj"
FileCheck, "utils\FileCheck\FileCheck.vcproj"
HowToUseJIT,
2010 Jul 22
2
[LLVMdev] Is there a guide to LLVM's components?
One thing that helps me understand complex software is a dependency graph. I found an LLVM dependency graph at
https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_16/docs/UsingLibraries.html#dependencies
but it's really messy and hard to follow. From that graph I made a cleaner graph by hand (attached)... sorry about the fax-quality scan. But I have some questions about it...
-
2009 Oct 04
4
[LLVMdev] LLVMdev Digest, Vol 64, Issue 5
Where exactly is this mythical Kaleidoscope example? I have llvm 2.5 installed.
examples dsw$ ls
BrainF Fibonacci Makefile ParallelJIT
CMakeLists.txt HowToUseJIT ModuleMaker
> Date: Sat, 3 Oct 2009 21:40:44 +0100
> From: Renato Golin <rengolin at systemcall.org>
> Subject: Re: [LLVMdev] LLVM-Kaleidoscope tutorial
>
> 2009/10/3 Remy Demarest <remy.demarest at
2004 Sep 25
2
[LLVMdev] Sconstruct for win32
Here is the pre-pre-pre alpha of the file, llease be kind <g>
I give up on TableGen... cannot build the flex/bison emitted files ;-(
With my hacked version of the checkout the script build Fibonacci.exe
and HowToUseJIT.exe among with the proper libraries.
I included also a demo version of the HowToUseJIT Visual studio project
generated by the script.
You can debug the program in the
2004 Nov 08
0
[LLVMdev] LLVM for JIT only use
On Sun, Nov 07, 2004 at 11:40:58PM +0100, Basile STARYNKEVITCH wrote:
> I did "make" inside llvm/examples/ and inside
> llvm/examples/HowToUseJIT/ and expected to get an ELF executable.. But
> I've only got the 2 Release/HowToUseJIT.[do] files..
All executables are placed in tools/$(BUILD_TYPE), in your case,
llvm/tools/Release. That is there from the time before we had
2009 Apr 11
2
[LLVMdev] JIT target list empty
I have a program that is pretty much a duplicate of the HowToUseJIT
project, same code compiling type, some libs linked (same order even),
etc... and so forth. However the JIT never runs, always the
interpreter, the machine target list in the JIT Create function is
always empty in my project, yet it is nicely populated and creates a
JIT and all in the HowToUseJIT project. I am curious as to what
2005 Jan 07
0
[LLVMdev] Primer with LLVM
On Fri, Jan 07, 2005 at 12:04:04PM +0100, Francisco Puentes wrote:
> Would be great if we append into the documentation several "patters"
> to show how perform with LLVM. It would accelerate the learn curve for
> beginners like me, avoiding basic errors and mistakes. If I reach a
> good level with LLVM I can make these.
I'm not sure if I understand what you mean. Are
2009 May 13
3
[LLVMdev] MSVC compile error with trunk
Does not seem to be a straight error with LLVM itself, but rather the
tools, linking issues, here are the errors:
Opt:
30> Creating library
R:\SDKs\llvm\trunk_VC8_building\lib\Debug\opt.lib and object
R:\SDKs\llvm\trunk_VC8_building\lib\Debug\opt.exp
30>LLVMScalarOpts.lib(IndVarSimplify.obj) : error LNK2019: unresolved
external symbol "public: bool __thiscall
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
Valery,
That's pretty cute actually. Do you want this "brilliant" :) example in the cvs
repository? I'd be happy to put it in.
Reid.
Valery A.Khamenya wrote:
> Hi LLVMers,
>
> the example attached I have used to prove that JIT and some visible
> optimizations are really invoked.
>
> Proved OK. I got 30% speed-up in comparison to gcc 3.3.3
>
2004 Sep 25
0
[LLVMdev] Sconstruct for win32
On Sat, 2004-09-25 at 12:19, Paolo Invernizzi wrote:
> Here is the pre-pre-pre alpha of the file, llease be kind <g>
>
> I give up on TableGen... cannot build the flex/bison emitted files ;-(
> With my hacked version of the checkout the script build Fibonacci.exe
> and HowToUseJIT.exe among with the proper libraries.
>
> I included also a demo version of the
2008 Mar 26
1
[LLVMdev] PATCH: Use size reduction -- wave1
Hi all,
here comes the patch for the first wave of Use class size reduction.
I have split it into 3 files, corresponding to
- header changes
- implementation changes
- applications
This at the moment does not contain the description how the
size of the Use class will be reduced from 16 to 12 bytes,
I am going to send that in a separate patch.
This wave primarily consists of changes that are
2004 Aug 17
0
[LLVMdev] JIT API example (fibonacci)
On second thought, the makefiles don't (easily) allow this do they? You can
only build one program per directory. Were you suggesting that you wanted me to
move the entire directories under a "small examples" directory?
Reid.
Chris Lattner wrote:
> On Tue, 17 Aug 2004, Reid Spencer wrote:
>
>
>>That's pretty cute actually. Do you want this
2010 Jul 27
5
[LLVMdev] Why are LLVM libraries enormous?
David Piepgrass <dpiepgrass at mentoreng.com> writes:
>> Comparing the size of the static libraries makes little sense, and even
>> less when they are compiled by different tools. What really matters is
>> the size of the executables.
>>
>> I agree that LLVM can be considered a heavyweight dependency on this
>> aspect.
>
> Why is the size of static
2005 Mar 15
2
[LLVMdev] Dynamic Creation of a simple program
Thanks for the information
I am trying to use one of your examples for recursive data structures:
=========================
PATypeHolder StructTy = OpaqueType::get();
std::vector<const Type*> Elts;
Elts.push_back(PointerType::get(StructTy));
Elts.push_back(PointerType::get(Type::SByteTy));
StructType *NewSTy = StructType::get(Elts);
// At this point, NewSTy = "{ opaque*, sbyte*
2004 Aug 18
1
[LLVMdev] JIT API example (fibonacci)
On Tue, 17 Aug 2004, Reid Spencer wrote:
> On second thought, the makefiles don't (easily) allow this do they? You can
> only build one program per directory. Were you suggesting that you wanted me to
> move the entire directories under a "small examples" directory?
You're right. The simples way to do this would be to have:
projects/
SmallExamples/
2005 Mar 15
0
[LLVMdev] Dynamic Creation of a simple program
On Tue, 15 Mar 2005, xavier wrote:
> Thanks for the information
> I am trying to use one of your examples for recursive data structures:
>
> =========================
> PATypeHolder StructTy = OpaqueType::get();
> std::vector<const Type*> Elts;
> Elts.push_back(PointerType::get(StructTy));
> Elts.push_back(PointerType::get(Type::SByteTy));
> StructType *NewSTy =