similar to: [LLVMdev] question about compile path

Displaying 20 results from an estimated 900 matches similar to: "[LLVMdev] question about compile path"

2005 Feb 03
0
[LLVMdev] question about compile path
Qiuyu Zhang wrote: > Hi, > > I have a question about install path. > Some one installs llvm1.4 under /opt/llvm as root. However, when I > create a project under my home directory, I cannot do Make correctly. It > should be enviroment issue, but I cannot fix it. This should be possible. The easiest way to do this is to copy one of the samples in llvm/projects (such as
2010 Aug 05
2
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Good summer, all! This patch enables ENABLE_SHARED=1 to build DLL based LLVM toolchain. I have checked this on Cygwin-1.5, Cygwin-1.7, mingw(msysgit) and mingw-cross-fedora12. I can separate this patch into some parts; cleanups, adding definitions and adding rules. Any feedbacks are welcome. Have fun! ...Takumi * Pros - reduction of linking time of toolchain. - capability of -load
2010 Aug 05
0
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Hi Takumi, > Any feedbacks are welcome. > Have fun! This seems to be pretty useful addition to LLVM on windows! And it seems the only painless way to make plugins working, yay! For me the patch looks pretty good. One minor thing: could you please rename SharedDir => SharedLibDir Thanks! -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg
2004 Oct 23
1
[LLVMdev] UPDATE: Makefile.rules Changes (IMPORTANT)
If you're on the new Makefile system, you will want to update your Makefile.rules. The patch below provides some important fixes for parallel builds and dependencies. It also adds some new features like the -local targets. For example, you can now build "all-local" to build the local directory without recursing into subdirectories. See the comments below for details of the change.
2005 May 19
3
[LLVMdev] [Cygwin] llvm 'make install' build errors
Reid, I think it is the first time it is run that the errors occcur !? Not sure but that would seem logical. Aaron
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 Nov 29
2
[LLVMdev] Could I get bytecode of SPEC ?
Hi, Under directory, /llvm/test/programs/external/spec, It seems there are several makefiles for SPEC. I am just wondering could I get the SPEC code or bytecode. Thanks in advance. Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041128/4d33a3bf/attachment.html>
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
2
[LLVMdev] How could I get memory address for each basic block?
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. >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
2005 Feb 03
3
[LLVMdev] question about compile path [patch adding .cc support]
> Doing it this way > allows you to re-use the LLVM build system, as opposed to building your > own set of Makefiles. I have pre-LLVM projects in C++ with often used at Unix C++ source file extention .cc I modify LLVM build system (original LLVM Makefile.rules already partly support .cc extention, for example, in Sources and FakeSources make vars setup code). Is attached patch
2004 Sep 20
2
[LLVMdev] Re: How could I get memory address for each assemble code?
Thanks John and Chris. I could get the address information by the way you guys mentioned. But it is not what I want, because it will lose information about the entry of basic block. Actually what I want to get is the address of each entry of basic block. Now I am trying to declare the label of basic block as global type, hopefully I can get it from symbol table. Can I get it by this way? Thanks
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 Nov 29
0
[LLVMdev] Could I get bytecode of SPEC ?
On Nov 29, 2004, at 12:46 AM, Zhang Qiuyu wrote: > Hi, >   > Under directory, /llvm/test/programs/external/spec, It seems there are > several makefiles for SPEC. I am  just wondering could I get the SPEC > code or bytecode. Thanks in advance. Because of the SPEC licensing restrictions, we cannot distribute SPEC to non-UIUC users. I expect UCLA would have a site-wide license so
2005 Jan 27
1
[LLVMdev] Question about inserting IR code
Hi, From the file HowToUseJIT.cpp, I learned how to insert some calcuation IR code like Add/Sub/Mul etc by using Instruction *Add = BinaryOperator::createAdd(One, ArgX, "addresult", BB); By following this way, it works well when I insert some IR code whose operand is integer type like IntTy, however, when I tried to insert similar thing whose operands are float point, I got the
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
2004 Sep 13
2
[LLVMdev] How could I get memory address for each assemble instruction?
Hi all, I am trying to disassemble *.bc to assemble code by using llvm-dis command, but what I got is like the following. So how could I get the assemble code like objdump? I mean the memory address for each instruction. Thanks Qiuyu llvm-dis: .text .align 16 .globl adpcm_coder .type adpcm_coder, @function adpcm_coder: .LBBadpcm_coder_0: # entry sub %ESP, 116 mov DWORD PTR [%ESP + 12],
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
2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
Thanks Chris, but the method you mentioned is not what I want. Maybe I didn't make it clear. As you said, /runtime/libprofile is runtime library for the following function. llvm_start_func_profiling llvm_start_block_profiling llvm_start_basic_block_tracing llvm_trace_basic_block And those above functions can be inserted into basic block etc for getting profile. However, those
2010 Aug 05
3
[LLVMdev] [PATCH] Capability of Win32.DLL with ENABLE_SHARED
Anton, Thanks for your comment. 2nd patch attached. - s/SharedDir/SharedLibDir/g - move prefix=cyg sunk into if(cygwin or mingw) arigato gozaimasu...Takumi * Additional issues - You may build LLVMHello.dll but I don't modify lib/Transforms/Makefile. Because making LLVMHello.dll requires the library LLVM.dll, but it oughta be on the way to making libs at building
2005 Feb 02
1
[LLVMdev] RE: Question about Global Variable
Thanks for your reply. After I change Cstr to gI, it compiled successfully. Thanks again. Another question is for constructing getelementpt. // C code char gStrA[10] = "test str"; // here is Global variable,gStrA and initializer "test str" char gStrB[10]= "test str2"; main(){ int = i; char *pGVars[20]; // here, the pGVar is for storing the address of each