search for: varonrotem

Displaying 20 results from an estimated 24 matches for "varonrotem".

2009 May 10
1
[LLVMdev] LLVM related question
Thank you you answer. On Sun, May 10, 2009 at 12:48 AM, Eli Friedman <eli.friedman at gmail.com>wrote: > On Sat, May 9, 2009 at 8:37 AM, Rotem Varon <varonrotem at gmail.com> wrote: > > Its not x86 IR nor x86 assembly. I have x86 IR "like" instructions ( add > > R1, R2, R3 and so...) > >> > >> If it's really > >> x86 assembly, you can use LLVM's code generator to get x86 assembly, > > &...
2009 May 10
2
[LLVMdev] llvm to x86 IR conversion
Hi, I am running a basic block pass (and iterating through each instruction). Is it possible to convert the basic block instruction form llvm IR to x86 IRWITHIN the path ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090510/9c636a9a/attachment.html>
2009 May 10
0
[LLVMdev] llvm to x86 IR conversion
On Sun, May 10, 2009 at 15:17, Rotem Varon <varonrotem at gmail.com> wrote: > I am running a basic block pass (and iterating through each instruction). > Is it possible to convert the basic block instruction form llvm IR to x86 IR > WITHIN the path ? > It seems to me that phi nodes would mean that you can't convert any unit smaller...
2009 May 10
1
[LLVMdev] llvm to x86 IR conversion
...instruction). Is it possible to convert the basic block instruction form llvm IR to x86 IRWITHIN the path ? I mean: is LLVM API exists for this purpose ? Again, thanks. On Sun, May 10, 2009 at 10:30 PM, me22 <me22.ca at gmail.com> wrote: > On Sun, May 10, 2009 at 15:17, Rotem Varon <varonrotem at gmail.com> wrote: > > I am running a basic block pass (and iterating through each instruction). > > Is it possible to convert the basic block instruction form llvm IR to x86 > IR > > WITHIN the path ? > > > > It seems to me that phi nodes would mean that you c...
2009 May 18
3
[LLVMdev] IDE for llvm
Hi, I am new in the "Linux business" and i need to add an optimization to the LLVM compiler. I would like to know what is the bast way to debug (IDE) the LLVM compiler ? To be more precise, what is the equivalent to Microsoft visual studio on Linux platform? is it eclipse? I want features like: syntax highlight, go to def, etc. Thanks. -------------- next part -------------- An HTML
2009 May 09
2
[LLVMdev] LLVM related question
...ill start with that i am vary grateful for your time.And continue with, i am sorry if my Qs aren't quite accurate( i just started with the LLVM compiler). On Sat, May 9, 2009 at 5:23 PM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Sat, May 9, 2009 at 5:35 AM, Rotem Varon <varonrotem at gmail.com> wrote: > > I need to add a new optimization to the LLVM compiler. > > Knowing what the optimization does would be very helpful here. > > > The optimization ALREADY written for x86 IR (i mean that the code that > > handles the optimization is designated to...
2009 May 30
0
[LLVMdev] Value liveout (uses)
I believe Dan has added a pass to compute livein / liveout values. Evan Sent from my iPhone On May 30, 2009, at 5:03 AM, Rotem Varon <varonrotem at gmail.com> wrote: > Thank you. > > Is it possible to determine the liveout of the operands (see example > bellow) ? > > %5 = add i32 %4, %3 > > For '%5': i can simply use " i->isUsedOutsideOfBlock() " > For '%3' and '%4...
2009 May 09
0
[LLVMdev] LLVM related question
On Sat, May 9, 2009 at 5:35 AM, Rotem Varon <varonrotem at gmail.com> wrote: > I need to add a new optimization to the LLVM compiler. Knowing what the optimization does would be very helpful here. > The optimization ALREADY written for x86 IR (i mean that the code that > handles the optimization is designated to work on assembly 86) . It&...
2009 May 09
0
[LLVMdev] LLVM related question
On Sat, May 9, 2009 at 8:37 AM, Rotem Varon <varonrotem at gmail.com> wrote: > Its not x86 IR nor  x86 assembly. I have x86 IR "like" instructions ( add > R1, R2, R3    and so...) >> >>  If it's really >> x86 assembly, you can use LLVM's code generator to get x86 assembly, > > Do you mean the "llvm...
2009 May 31
1
[LLVMdev] Value liveout (uses)
...livein/liveout information. It's intended to be used as a heuristic. Dan On May 30, 2009, at 3:51 PM, Evan Cheng wrote: > I believe Dan has added a pass to compute livein / liveout values. > > Evan > > Sent from my iPhone > > On May 30, 2009, at 5:03 AM, Rotem Varon <varonrotem at gmail.com> wrote: > >> Thank you. >> >> Is it possible to determine the liveout of the operands (see >> example bellow) ? >> >> %5 = add i32 %4, %3 >> >> For '%5': i can simply use " i->isUsedOutsideOfBlock() "...
2009 May 09
2
[LLVMdev] LLVM related question
Hi, I am a student (software engineering), and i am using the LLVM in my project (I am sorry of the lack of details, but i want to take the minimum of your time, if you want more details don't hesitate...). I need to add a new optimization to the LLVM compiler. The optimization ALREADY written for x86 IR (i mean that the code that handles the optimization is designated to work on assembly 86)
2009 May 30
4
[LLVMdev] Value liveout (uses)
Thank you. Is it possible to determine the liveout of the operands (see example bellow) ? %5 = add i32 %4, %3 For '%5': i can simply use " i->isUsedOutsideOfBlock() " For '%3' and '%4' : this is the question ... >From your answer, is it possible to determine *which* value is liveout ( in binary instruction)? On Sat, May 30, 2009 at 2:57 AM,
2009 May 18
0
[LLVMdev] IDE for llvm
...s Eclipse though. I don't know if anybody has done the configuration files for LLVM-GCC on those IDEs yet but it should definitely be possible to modify from the standard GCC profiles. If you find something better, let us know. --Sam ________________________________ From: Rotem Varon <varonrotem at gmail.com> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> Sent: Monday, May 18, 2009 3:26:44 PM Subject: [LLVMdev] IDE for llvm Hi, I am new in the "Linux business" and i need to add an optimization to the LLVM compiler. I would like to know what is the bast way...
2009 May 23
1
[LLVMdev] New transformation
Hi, I am writing a new transformation (Basic block pass). In the "\llvm-2.5\lib\VMCore\AsmWriter.cpp " file there are some of function i want to use. What do i need to add to the transformation code, so i will be able to use those functions? I tried to use a function and got this error : 'AssemblyWriter' was not declared in this scope. Thanks. -------------- next part
2009 Jun 06
3
[LLVMdev] addRequired(), Loop Unrolling
Hi, I am trying to set loop unrolling as a required pass. AU.addRequired<LoopUnroll>(); should I include any header file? How can I be possessive that "LoopUnroll" is the name I need ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090606/aaab7bd1/attachment.html>
2009 May 30
4
[LLVMdev] Value liveout (uses)
Hi, How can i know, if a value have uses outside of the current basic block (liveout), without iterating through all the basic block ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090530/71681bc2/attachment.html>
2009 May 09
2
[LLVMdev] Instruction Conversion
Hi, Let say i am writing a code inside basic block pass and iterating all the instructions inside, and i encountered in this instruction : %3 = add i32 %1, 2 I want to convert this instruction to something like this: add R1, 2, R3 I know the opocode, but i what i need is, the operands %1 and 2 (in this example). I will be grateful if some one will tell me how to do so . -------------- next
2009 May 23
2
[LLVMdev] Basic Block API
Hi, Is there an API for getting (within a basic block pass) the number of basic block in the program ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090523/944abb17/attachment.html>
2009 May 27
0
[LLVMdev] Rebuild DDG
Hi, Lets say i have made some changes to the LLVM IR (in a basic block pass). Now, I want to rebuild the DDG. Is there an API for that purpose? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090527/1916836f/attachment.html>
2009 Jun 05
1
[LLVMdev] Analysis Pass
Hi, I am trying to set a prerequisite pass. void PassName::getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); AU.addRequired<LiveVariables>(); } But when i am running the pass with the opt i get this error: undefined symbol: _ZN4llvm13LiveVariables2IDE If you need more information ... Thank you. -------------- next part -------------- An HTML