search for: raad

Displaying 20 results from an estimated 25 matches for "raad".

Did you mean: rad
2009 Mar 06
3
[LLVMdev] Inserting annotations
Hello together, how can i insert annotations in IR ? I want actually write something like: CallInst *call = CallInst::Create( ??? , aBasicBlock); in my pass. Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090305/cd1db761/attachment.html>
2009 Feb 17
1
[LLVMdev] information-transfer between analysis-pases
Ok, but what about a pass like alias-analysis. How are the results stored, so that other passes can use them. -Raad ________________________________ From: Eli Friedman <eli.friedman at gmail.com> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> Sent: Tuesday, February 17, 2009 9:52:58 AM Subject: Re: [LLVMdev] information-transfer between analysis-pases On Tue, Feb 17, 2009 at 12:46 AM,...
2009 Feb 17
3
[LLVMdev] information-transfer between analysis-pases
Hello together, I have seen that the analysis-results are stored in llvm-IR as annotations. For example <; preds = %entry> in basicBlock level and <; <i32*> [#uses=2]> for a variable. Is there any documentation about annotations? Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090217/28764018/attachment.html>
2009 Mar 06
0
[LLVMdev] Inserting annotations
...n inherits annotable according to the documentation of annotable class. What you are asking would require adding annotations at instruction level, which does not seem to be possible. You can maintain external maps between instructions and your annotations, --Kapil On Thu, Mar 5, 2009 at 7:17 PM, RAAD B <raad_7007 at yahoo.com> wrote: > Hello together, > > how can i insert annotations in IR ? > > I want actually write something like: > > CallInst *call = CallInst::Create( ??? , aBasicBlock); > > in my pass. > > > Regards > Raad > > > > &g...
2008 Nov 27
2
[LLVMdev] Disable optimization
Hello together, although i use the "-O0" flag as follow, the llvm perform dead code elimination. How can i disable optimizing completely? KR Raad llvm-gcc -O0 -emit-llvm main.cpp -S -o main.s -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081127/c4ef8aac/attachment.html>
2009 Mar 13
2
[LLVMdev] store the LLVM-bitcode from a pass
...) used "opt -p -load ..../Decorator.so -dec <prog.bc> new_prog.bc" 2) copied the output from the screen and created the file "new_prog.s" 3) used "llvm-as new_prog.s -o new_prog.bc" 4) and then "lli new_prog.bc" And it works. any idea? thanks Raad ________________________________ From: Duncan Sands <baldrick at free.fr> To: llvmdev at cs.uiuc.edu Cc: RAAD B <raad_7007 at yahoo.com> Sent: Friday, March 13, 2009 12:28:52 PM Subject: Re: [LLVMdev] store the LLVM-bitcode from a pass Hi Raad, > opt -load ..../Decorator.so...
2008 Dec 11
0
[LLVMdev] Implementing Java bindings to LLVM
Hello. I read following article in this ML. I'm implementing the library similar with RAAD's plan. - AST node classes for LLVM-IR - LLVM-Assembly writer class - 100% pure Java - Without any optimizations - Without any frontends (parsers) I would like to release my library publicly if all problems below could be solved. (Although it is in the early stage) My library is the mixture...
2009 Feb 17
0
[LLVMdev] information-transfer between analysis-pases
On Tue, Feb 17, 2009 at 12:46 AM, RAAD B <raad_7007 at yahoo.com> wrote: > Hello together, > > I have seen that the analysis-results are stored in llvm-IR as annotations. > For example <; preds = %entry> in basicBlock level and <; <i32*> [#uses=2]> > for a variable. > > Is there any documenta...
2009 Apr 15
1
[LLVMdev] IR from multiple source-files
Hi, how can I create the IR-representation from multiple source-files? Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090415/9040f657/attachment.html>
2008 Nov 27
0
[LLVMdev] Disable optimization
On Thu, Nov 27, 2008 at 6:14 AM, RAAD B <raad_7007 at yahoo.com> wrote: > Hello together, > > although i use the "-O0" flag as follow, the llvm perform dead code > elimination. > How can i disable optimizing completely? Sorry, it's not possible; the gcc front-end does some optimizations which the LLV...
2009 Mar 19
1
[LLVMdev] sample-code for alias-analysis
Hi, i need a sample-code, for which the llvm alias-analysis finds a *must-aliases*. I have tried codes like followings. In all cases, i see just *may-aliases* when i use "opt -aa-eval -print-all-alias-modref-info foo.bc": Regards Raad 1 ========================================== void foo() { int i = 2; int& r = i; } 2 =========================================== void foo(){ int gi; int *gip1 = &gi; int *gip2 = &gi; } 3 ========================================== void foo (double * fa){ int...
2009 Mar 13
2
[LLVMdev] store the LLVM-bitcode from a pass
...;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ________________________________ From: Duncan Sands <baldrick at free.fr> To: llvmdev at cs.uiuc.edu Cc: RAAD B <raad_7007 at yahoo.com> Sent: Friday, March 13, 2009 2:46:48 PM Subject: Re: [LLVMdev] store the LLVM-bitcode from a pass Hi, take a look inside the file new_prog.bc. How does it start? Ciao, Duncan. -------------- next part -------------- An HTML attachment was scrubbed... U...
2008 Nov 28
2
[LLVMdev] Disable optimization
...e, Function, BB ...) but implemented in Java 3) Optimizing the code (should be performed by students :-) ) 4) Transform my data-structure to LLVM-Assembly. 5) Generate machine code using "llvm-as" Could you list me the other optimizations, which are performed by front-end? Raad ________________________________ From: Eli Friedman <eli.friedman at gmail.com> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu> Sent: Thursday, November 27, 2008 10:39:21 PM Subject: Re: [LLVMdev] Disable optimization On Thu, Nov 27, 2008 at 6:14 AM, RAAD B <raad_700...
2009 Mar 13
1
[LLVMdev] store the LLVM-bitcode from a pass
...ether, I use the "opt" as following, to run my pass, which modifies the LLVM-IR by inserting instructions in basic-blocks. opt -load ..../Decorator.so -dec <prog.bc> /dev/null how can i store the modified bitcode on the disc (as bitcode or as human-readable assembly)? Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090313/f74a1ae0/attachment.html>
2009 Mar 15
1
[LLVMdev] using alias-analysis
...s: (i32** %p1, 4) AliasSet[0x8528d48,1] must alias, Mod Pointers: (i32** %p2, 4) AliasSet[0x8522d18,1] must alias, Mod/Ref Pointers: (i32* %0, 4) AliasSet[0x8522d58,1] must alias, Mod/Ref Pointers: (i32* %retval, 4) can i create this map using the info in AliasSetTracker? Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090315/f35f1f4e/attachment.html>
2008 Nov 28
0
[LLVMdev] Disable optimization
On Fri, Nov 28, 2008 at 12:36 AM, RAAD B <raad_7007 at yahoo.com> wrote: > Hi Eli, > > I want to disable optimizations because, i'm going to implement a framework > in JAVA for educational purposes. > > I have planned to do followings: > > 1) Create LLVM-IR and export it as Assembly (without optimiz...
2009 Feb 17
3
[LLVMdev] FP128Ty
I am new to llvm and am stuck up with a problem. I am trying to initialize a Value* of type fp128 having the value 0 I am using the following construct ConstantFP::get(APFloat(APInt(128,0,false))); This is returning a double instead of a float and I am confused. Thanks a lot for your help. -- -- Aparna -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Feb 17
0
[LLVMdev] FP128Ty
On Feb 16, 2009, at 6:12 PM, aparna kotha wrote: > I am new to llvm and am stuck up with a problem. > I am trying to initialize a Value* of type fp128 having the value 0 > > I am using the following construct > > ConstantFP::get(APFloat(APInt(128,0,false))); > > This is returning a double instead of a float and I am confused. > > Thanks a lot for your help. FP128Ty
2009 Mar 13
0
[LLVMdev] store the LLVM-bitcode from a pass
Hi, take a look inside the file new_prog.bc. How does it start? Ciao, Duncan.
2009 Apr 18
0
[LLVMdev] GlobalsModRef
...required arguments, particularly "PointerAccessInfo", for this methods. And is it a good idea to use "GlobalsModRef" in the "doInitialization" of a function-pass? Or it should be at best be used in a "runonModule" of a module-pass ? many thanks in advance Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090418/f8bc805a/attachment.html>