similar to: [LLVMdev] How could I get memory address for each basic block?

Displaying 20 results from an estimated 11000 matches similar to: "[LLVMdev] How could I get memory address for each basic block?"

2004 Aug 19
3
[LLVMdev] How could I get memory address for each basic block?
Qiuyu, The dynamic optimization project (an internal research project in our group) uses some way to map LLVM basic blocks to native code addresses. If this is what you want, perhaps you can ask Brian Gaeke (gaeke at uiuc.edu) to give you some information about how that is done. --Vikram http://www.cs.uiuc.edu/~vadve http://llvm.cs.uiuc.edu/ On Aug 19, 2004, at 5:11 PM, Misha Brukman
2004 Aug 19
0
[LLVMdev] How could I get memory address for each basic block?
On Thu, Aug 19, 2004 at 01:13:42PM -0700, Zhang Qiuyu wrote: > On the pervious mail, I am trying to add label for each basic basic > because I think I could get address by using nm if nm can show the > address of each label, but it seems not . so do you guys have some > idea how to get address for each basic block? Thanks. LLVM does not have a notion of C-style 'labels' that
2004 Aug 19
0
[LLVMdev] How could I get memory address for each basic block?
I'd be interested to hear how that's being done - if Brian would reply to the list about it, I'd appreciate it. -mike On Aug 19, 2004, at 3:39 PM, Vikram S. Adve wrote: > Qiuyu, > > The dynamic optimization project (an internal research project in our > group) uses some way to map LLVM basic blocks to native code > addresses. If this is what you want, perhaps you
2004 Aug 19
1
[LLVMdev] Could insert a label into basic block?
Hi, I am trying to get the memory address of each basic block. So far I am trying to add the label into each basic block, actually I need add the label at front of each basic block and then I can use command 'nm' to find the memory address for each basic block. That's the way I got. I don't know if there is another way to do it. Thanks. So now I need add label to each basic
2004 Sep 21
1
[LLVMdev] Re:Re:Is there any way to modify basic block like adding junk code
Thanks Chris. I did inserting function into code before using the way you mentioned, such as call a external function. But coud I insert some assemble instructions into *.bc ? what I want to do is to implement polymorphic engine like ADM. It can change the binary code which looks like different but the functionality is exactly same. The simple way to do it is to add some junk code like NOP(
2004 May 14
2
[LLVMdev] Can I disable the optimizaiton for llvmgcc?
Hi all LLVMor, I just tried to compile a simple code and analyze the number of the basic blocks. But after compile, what I got, the bytecode is seems to be optimized bytecode. So the information of basic blocks is not what I expected. I want ot use the code as example to see how some of code optimization methods work. However, after compiling file using llvm test.c -o test, bytecode file
2005 May 11
3
[LLVMdev] Question About inserting Instruction?
Hi, I am working on a project with LLVM. What I need to do is to generate/insert some dummy/dead basic blocls which never have chance to be executed and put some instructions in those dummy/dead basic blocks. So far, the dummy/dead BB insertion is done. I am trying insert instructions in those dummy/dead BB. Actually, I can insert the legal instructions to dummy/dead BB, however, I really want
2005 Sep 19
2
[LLVMdev] LLVM-TV web page link is broken?
Sorry, I don't personally have any of that stuff anymore -- I seem to recall that page didn't have a whole lot on it, though. I think Misha has messed around with llvm-tv more recently than I have. If you really want that particular page, it looks like you can get (a version of) it from the Internet Archive... http://web.archive.org/web/20041102220954/llvm.cs.uiuc.edu/~gaeke/llvm-tv/
2004 Aug 21
2
[LLVMdev] Can't get llvmg++ to work
On Fri, 20 Aug 2004 08:52:28 -0700 Reid Spencer <reid at x10sys.com> wrote: > Hi Jeff, > > On Fri, 2004-08-20 at 08:07, Jeff Cohen wrote: > > OK. I've built the front end without any heartaches, but I did > > encountered the following glitches: > > > > The documentation of --with-llvmgccdir is a bit ambiguous. I had to > > try several paths
2005 Sep 19
0
[LLVMdev] LLVM-TV web page link is broken?
On Mon, 19 Sep 2005, Brian R. Gaeke wrote: > Sorry, I don't personally have any of that stuff anymore -- I seem > to recall that page didn't have a whole lot on it, though. I think > Misha has messed around with llvm-tv more recently than I have. If > you really want that particular page, it looks like you can get (a > version of) it from the Internet Archive... > >
2004 Aug 21
0
[LLVMdev] Can't get llvmg++ to work
On Sat, Aug 21, 2004 at 04:15:49PM -0700, Jeff Cohen wrote: > I don't know if it's under cvs. It's the "getting started" page > (http://llvm.cs.uiuc.edu/docs/GettingStarted.html) in section "Getting > Started Quickly (A Summary)". But careful reading of the remainder of > the page does give the correct path. http://llvm.cs.uiuc.edu/docs/* is a copy of
2004 Aug 03
2
[LLVMdev] Compiler Driver Decisions
> On Mon, Aug 02, 2004 at 06:05:16PM -0700, Reid Spencer wrote: > > On Mon, 2004-08-02 at 18:04, Chris Lattner wrote: > > llvmcd - llvm compiler driver > > llvmci - llvm compiler invoker > > llvmcs - llvm compiler system (or perhaps "compilation system") > > llvmct - llvm compiler tool > > llvmx - llvm eXecutive > > I like llvmcs. Contrary
2006 Mar 30
3
[LLVMdev] Running LLVM Analysis on real-world projects.
I have made few attempts to compile some software packages with llvm. My approach is to define Make variables as follows : export AS=llvm-as export LD=llvm-ld export AR=llvm-ar export CXX=llvm-g++ and then run configure and make. This approach works with very small code bases only. For most of the projects, it bails out with errors. Some of them are very clear, like llvm does not support
2005 Jan 11
2
[LLVMdev] Loop IR insertion
Hi, I am trying to insert a Loop IR into the existed bytecode file. insertion part by C code, char *p[n]; // pointer array for storing the address of strings int i; for(i=0;i<n;i++){ (p[i])[2] = (p[i])[2] ^ 0x27; } My questions are 1. for local variable 'char *p[n]' , it is represented by IR as alloca ...., so could I insert local variable (pointer array) directly as same way
2005 Nov 01
3
[LLVMdev] [fwd] Re: LLVM Compiler Infrastructure
Hi, Yiping! I am not sure of the answer to your question, but I am forwarding it to the LLVMdev list where I am sure someone will be able to answer you. Please send development questions directly to LLVMdev and you will get a response quicker, as it is read by many LLVM developers. ----- Forwarded message from Yiping Fan <fanyp at cs.ucla.edu> ----- Date: Mon, 31 Oct 2005 17:20:24 -0800
2004 Aug 03
0
[LLVMdev] Compiler Driver Decisions
On Tue, Aug 03, 2004 at 12:26:50PM -0500, Brian Gaeke wrote: > > On Mon, Aug 02, 2004 at 06:05:16PM -0700, Reid Spencer wrote: > > > On Mon, 2004-08-02 at 18:04, Chris Lattner wrote: > > > llvmcd - llvm compiler driver > > > llvmci - llvm compiler invoker > > > llvmcs - llvm compiler system (or perhaps "compilation system") > > > llvmct
2013 Jul 19
2
[LLVMdev] llva-emu
Hi All, can anyone tell me where I can find the sources for the llva-emu project? I've tried to contact  Michael Brukman or Brian Gaeke but no reply. thank you for any help, dacian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130719/94fcf74b/attachment.html>
2004 Aug 20
2
[LLVMdev] Can't get llvmg++ to work
On Thu, 19 Aug 2004 08:45:23 -0700 Reid Spencer <reid at x10sys.com> wrote: > > Also, as a general note, make sure you follow precisely the steps for > building the c front end. If you discover any BSDisms that aren't > documented, we'd love to hear about them. > > Thanks, > > Reid. > OK. I've built the front end without any heartaches, but I did
2006 Mar 30
0
[LLVMdev] Running LLVM Analysis on real-world projects.
On Thu, Mar 30, 2006 at 04:27:55PM +0530, Pratik Mehta wrote: > I have made few attempts to compile some software packages with llvm. > My approach is to define Make variables as follows : > > export AS=llvm-as > export LD=llvm-ld > export AR=llvm-ar > export CXX=llvm-g++ > > and then run configure and make. > > This approach works with very small code bases
2005 May 11
0
[LLVMdev] Re:RE: Question about inserting instructions
On Wed, May 11, 2005 at 01:30:29PM -0700, Qiuyu Zhang wrote: [snip] > push %eax > das > clc > > all of them are legal one-byte x86 machine instructions. [snip] > If there is a way to be able to get that, I am supposed that like > the following, > > 1. generate some dummy BB on IR level ( working on *.bc by writing a