search for: qiuyu

Displaying 20 results from an estimated 37 matches for "qiuyu".

Did you mean: qiu
2005 Feb 03
2
[LLVMdev] question about compile path
...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. The environment is as the following, /opt/llvm : // llvm 1. 4 /home/qiuyu/ ://my home directory /home/qiuyu/project/statBB ://my project directory I create a simple pass to test it. The content of Makefile is LEVEL = /opt/llvm LIBRARYNAME = StatBB SHARED_LIBRARY = 1 include $(LEVEL)/Makefile.common Once I do make, I got a error like " /bin/sh: line 1: cd: /ho...
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 possi...
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://ww...
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
2
[LLVMdev] How could I get memory address for each basic block?
...k 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 block, I don't know how to do it. Thanks for any >response. >Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040819/c10dc5d2/attachment.html>
2004 Sep 20
2
[LLVMdev] Re: How could I get memory address for each assemble code?
...this the sort of answer you're looking for? >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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040920/83de85e4/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 can ask Brian Gaeke > (gaeke at uiuc.edu) to give you some information about how that is do...
2004 May 14
2
[LLVMdev] Can I disable the optimizaiton for llvmgcc?
...test.c -o test, bytecode file test.bc is optimized ( llvm-dis< test.bc). Does it mean there is default optimaztion option when running llvmgcc and can I disable the option for optimiztion? By the way, I can get the almost exactly matched assemble code by using original gcc -c test.c. Thanks, Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040514/a585cbd7/attachment.html>
2005 May 11
3
[LLVMdev] Question About inserting Instruction?
...Instuction pointer) and push_back to instList. But I failed to do it. Instruction *NewInst = ; NewBB->getInstList().push_back(NewInst); So I was wondering if it is allowed in LLVM or not, if so, how to do that? Let me know if my question is not clear. Thanks Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050511/baa0ed3b/attachment.html>
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], %ESI mov %EAX, DWORD PTR [%ESP + 120] mov %ECX, DWORD PTR [%ESP + 124] mov %EDX, DWORD PTR [%ESP + 128] mov %ESI, DWORD PTR [%ESP +...
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 h...
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-U...
2005 Jan 27
1
[LLVMdev] Question about inserting IR code
...oint type operand by this way, right? If so, is there any way I can insert IR code whose operand are float point. I am trying to find some else class (not binaryOperator) to solve this problem, but I didn't make it. Thanks. BTW, allocaInst/storeInst/loadInst those works well for float point. Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050126/99e1044b/attachment.html>
2004 Sep 21
0
[LLVMdev] Re: Re: How could I get memory address for each assemble
...e limitation is that for some case, for example, the instruction look like call %eax jmp %eax I cannot grab the entry address of BB :(. When I use llvm, llvm can get the entry for this case, how could llvm get. I haven't read the code. Any opinion is welcome. Hope it useful. Qiuyu > This can be done with a quick hack. Just modify the assembly printer to > emit a symbol that encodes the basic block uniquely. I have had to do > something similar, and I take the function name (with full type > information) and the label of the BB and hash them with crc32. This &...
2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
...de function to recover original bytecode m.bc. Actually, I would to compile m1.bc and decode library to executed file, and once I run m1, at first the decode function at entry of main should be run before any code running. So now the decode part is llvm pass, could I do it like what I want? Thanks Qiuyu decode pass: using namespace llvm; #define endl "\n" namespace { struct DecodeStr : public FunctionPass{ virtual bool runOnFunction(Function &F); private: void DecodeString(Module *M); void get_randKey(Module *M); Constant *randKey; }; RegisterOpt<DecodeSt...
2005 Feb 02
1
[LLVMdev] RE: Question about Global Variable
...= xor sbyte %tmp.39, 39 ; <sbyte> [#uses=1] store sbyte %tmp.40, sbyte* %tmp.34 %tmp.41 = load int* %i ; <int> [#uses=1] %inc = add int %tmp.41, 1 ; <int> [#uses=1] store int %inc, int* %i br label %loopentry Qiuyu > On Sun, 30 Jan 2005, Qiuyu Zhang wrote: > > Hi, > > > > Sorry for bothering you guys again. > > > > I got problem when I am trying to recover the Global Variable Initial value. What I did is like the following > > > > ConstantArray *Cstr = dyn_cast&lt...
2004 Oct 10
1
[LLVMdev] Re: Hide visible string in variable
Hi, > On Mon, 27 Sep 2004, Zhang Qiuyu wrote: > > > Is there a way to modify the string such as char a or char b? Could I > > use the way like "Replace an instruction with another Value" in Programm > > Manual? In fact, what I am interested in is string with visible > > expression, not all string,...
2004 Aug 19
1
[LLVMdev] Could insert a label into basic block?
...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 block, I don't know how to do it. Thanks for any response. Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040819/eb80cf5b/attachment.html>
2004 Sep 20
1
[LLVMdev] Is there any way to modify basic block like adding junk code or ...
...of codes(in same basic block) which is no dependency? I saw some options like -dce -deadargelim for 'opt' , but what I want is to reverse to do it. I mean adding some dead code or junk code. Actually what I want is to implement a ploymorphic engine. Coud I do those by using llvm? Thanks. Qiuyu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20040920/2364050d/attachment.html>
2004 Sep 22
0
[LLVMdev] The story is for why I need grab the entry address of BB :)
...is that I don't know how complex process ptrace did. So I really want to write some assemble code or C to do it if I can. If I can finish the first step, I will find some optimization method based on BB to improve the performance. And then .... Is it clear for my project? :-) Thanks again. Qiuyu > On Mon, 20 Sep 2004, Zhang Qiuyu wrote: > > > 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 &...