search for: lew

Displaying 20 results from an estimated 49 matches for "lew".

Did you mean: len
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
reg2mem does not eliminate phi nodes the way codegen does, it just converts ssa values to non-ssa values. It's not the same thing. On Tue, Apr 21, 2015 at 10:14 PM, Eric Lu <eirc.lew at gmail.com> wrote: > By the way. When I remove these phi nodes with -reg2mem, some new load > operations will be inserted, but when I try cache load operations with: > visitFunction > visitLoadInst > It seems we can't see these new load operations. > > On Wed, Apr 22,...
2015 Apr 22
3
[LLVMdev] what is the Line number of Phi Node with addr2line
...i-source, then the load will be translated into phi nodes, and all phi nodes are placed in the front of BB. Sometimes, the position is not where the load happens, is there any way to figure out where the load should be placed?( If the phi node translated back to load operations) Best Regards! Eric Lew On 周三, 4月 22, 2015 at 12:24 下午, Daniel Berlin <dberlin at dberlin.org> wrote: Hey Eric, phi nodes don't exist for real, so you can't. The are removed by PHI elimination as part of codegen. What are you trying to achieve? On Tue, Apr 21, 2015 at 9:12 PM, Eric Lu <eirc.lew at g...
2015 Apr 22
2
[LLVMdev] Use clang to generate LLVM IR with -O3, how to visit these load operations after -reg2mem
Best Regards! Eric Lew On 周三, 4月 22, 2015 at 12:11 下午, David Blaikie < dblaikie at gmail.com [dblaikie at gmail.com] > wrote: On Tue, Apr 21, 2015 at 8:34 PM, Eric Lu <eirc.lew at gmail.com> wrote: > Hi, all > > I want to instrument load/store operations in LLVM IR. And I find the LLVM > IR gener...
2015 Jun 12
5
[LLVMdev] How to change the linker of clang
...ild clang with GCC-4.9.2, when compling other application s with clang/clang++, the default linker is ld, can I replace it with other linker tool, if we can, how to do it? I.E. can we use collect2 instead? 2) how to specify the path, if we do not use the default vertion GCC? Best Regards! Eric Lew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150612/a1592180/attachment.html>
2015 Apr 22
2
[LLVMdev] what is the Line number of Phi Node with addr2line
Hi, all When compiling a program with -g -O0, and if we have a PC, then with addr2line, we can get the line number of the instruction. My quesions are: what is the result of Phi node instruction, can we get the similar results ? -- Best Regards! Eric Lew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150422/b32ccd11/attachment.html>
2015 Apr 22
2
[LLVMdev] Use clang to generate LLVM IR with -O3, how to visit these load operations after -reg2mem
...eg2mem flag to remove these phi nodes. The problems are: 1) I use visitLoadInst to collect these load operations, and it seems I cannot reach these loads that are generated by reg2mem? What is the reason? 2) Is there any way to compile with -O3 but not generate phi nodes ? -- Best Regards! Eric Lew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150422/b5c8e2d1/attachment.html>
2013 Jul 15
2
[LLVMdev] Regarding scope information for variable declaration.
...End line information should be derived as is not obvious). Collecting information this way allowed me to get correct scope information, and hence I was able to map the variable declaration to the scope. It worked for me this way.   Regards, Pankaj     ________________________________ From: eric.lew <eirc.lew at gmail.com> To: llvmdev at cs.uiuc.edu Sent: Friday, July 12, 2013 8:30 AM Subject: Re: [LLVMdev] Regarding scope information for variable declaration. I have the same demand. Have you resolved this problems? if so, would you share me the solution? Best Regards. Eric -- Vi...
2013 Jul 12
3
[LLVMdev] How to recognize the declaring code scopes of stack variables
Hi, If I want to know where the stack variables are declared? For example, whether it is declared within a loop or not? Like variables a[100] and temp. int a[100]; for( int i = 0; i < N; i++){ int temp; } Can this be done in LLVM IR? Or should be implemented in Clang. Thanks! Eric -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Jul 15
0
[LLVMdev] Fwd: Regarding scope information for variable declaration.
...ent in Front End. Maybe I will re-implement it later in clang. ---------- Forwarded message ---------- From: Pankaj Gode [via LLVM] <ml-node+s1065342n59345h22 at n5.nabble.com> Date: Mon, Jul 15, 2013 at 2:35 PM Subject: Re: Regarding scope information for variable declaration. To: "eric.lew" <eirc.lew at gmail.com> Hi Eric, I was considering machine instructions to get scope information. And variable declaration does not correspond to machine instruction, hence the problem i.e. no scope associated with it. If 'i' is initialized in the 'if-scope' then we...
2003 Feb 07
2
Data manipulation
...C9 2002 s 1 N N N N 70.00 6 11 2002 m 1 N N N N 22.00 I tried this command to get the subset I want: > knap.fit1<-(lm(Kweed~TREAT[41:60,81:100,101:120,121:140], data=knap)) No luck. Can anyone tell me how to code for this subset. Thanks Lew Stringer M.S. Student- Land Rehabilitation Dept. of Land Resources and Environmental Sciences Montana State University 822 Leon Johnson Hall Bozeman, MT 59717 Lab:(406)994-6811 Fax:(406)994-3933
2002 Mar 15
0
Failed to initialize locking database
Hi Lew, You might get this message if it's a fresh install of samba and there has never been a connection to samba - can't remember for sure. As to your question about error messages, well, you can grep the source (the only -TRUE- -FOR SURE- correct documentation) - but then you've gotta inter...
2013 Jun 28
2
[LLVMdev] does clang and llvm take more time to compile c code
...c -O3 -c *.c -o x.o link: gcc *.o -lm -o mpeg2enc Yes, maybe it is the config introduced problems, I build it with enable debug options. Thanks! Eric On Thu, Jun 27, 2013 at 7:49 PM, Benjamin Kramer <benny.kra at gmail.com>wrote: > > On 27.06.2013, at 13:40, Eric Lu <eirc.lew at gmail.com> wrote: > > > Hello, all > > > > When I compile mpeg2enc of Mediabench, it seems clang and llvm take > longer time than gcc. I meausre the time as follow: > > > > gcc -O3 8.190s > > clang -O3 20.253s > > > > will this means c...
2013 Jun 28
0
[LLVMdev] does clang and llvm take more time to compile c code
On Thu, Jun 27, 2013 at 6:04 PM, Eric Lu <eirc.lew at gmail.com> wrote: > Hi, Ben > gcc version is: 4.7.0 > clang version is: 3.2 > > The command options are: > 1) clang > generated object files: clang -O3 -c *.c -o x.o > link: clang *.o -lm -o mpeg2enc > > 2) gcc > generated object files: gcc -O3 -c *.c -o x....
2013 Jun 18
2
[LLVMdev] -indvars issues?
It seems there is no -enable-iv-rewrite now in llvm3.2, and it suggest -enable-load-pre, but it still does not work. So, how to active the transform? -- View this message in context: http://llvm.1065342.n5.nabble.com/indvars-issues-tp4646p58587.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2013 Jul 12
0
[LLVMdev] Regarding scope information for variable declaration.
I have the same demand. Have you resolved this problems? if so, would you share me the solution? Best Regards. Eric -- View this message in context: http://llvm.1065342.n5.nabble.com/Regarding-scope-information-for-variable-declaration-tp47707p59268.html Sent from the LLVM - Dev mailing list archive at Nabble.com.
2013 Jul 12
0
[LLVMdev] How to recognize the declaring code scopes of stack variables
On Thu, Jul 11, 2013 at 9:33 PM, Eric Lu <eirc.lew at gmail.com> wrote: > Hi, David > yes, it is similar to your description. And do you know any methods to do > this in LLVM IR? I don't know the mid-level optimizers especially well - I doubt there's a thing that does exactly what you need - but a combination of existing passe...
2012 Jul 30
3
[LLVMdev] Regarding scope information for variable declaration.
Hi All,   I have question regarding lexical scope information.   If I have .c source with scope as below. void func() {    //-- some code here..    { //parent scope       if() //high pass       {          int i;          for( i =0; i < FRAM_I; i++)          {          }       }       if() //low pass       {          int i;          for( i =0; i < FRAM_J; i++)          {          }       }
2013 Jun 29
2
[LLVMdev] does clang and llvm take more time to compile c code
..._TYPE="Debug" -DCMAKE_INSTALL_PREFIX=~software/llvmsvn -DCMAKE_EXPORT_COMPILE_COMMANDS=ON /home/xxx/lsoftware/llvm-3.2-svn $make $make install On Fri, Jun 28, 2013 at 12:37 PM, Eric Christopher <echristo at gmail.com>wrote: > On Thu, Jun 27, 2013 at 6:04 PM, Eric Lu <eirc.lew at gmail.com> wrote: > > Hi, Ben > > gcc version is: 4.7.0 > > clang version is: 3.2 > > > > The command options are: > > 1) clang > > generated object files: clang -O3 -c *.c -o x.o > > link: clang *.o -lm -o mpeg2enc > > > > 2) gcc...
2002 Oct 11
2
XP Pro - Domain Login ... great trauma and sorrow
I really think this is a Windows problem, but since my very good friend Bill refuses to return my calls ... The client is WinXP Professional The server is RedHat 7.1 with SAMBA 2.2.2-8 I have rtfm several times both the ENCRYPTION and PDC-Howto, and I think I have implemented all of the requisite registry and passwd/smbpasswd/smb.conf settings. The client will happily JOIN the domain, but my
2013 Jun 20
0
[LLVMdev] -indvars issues?
It works, thank you, Andy. On Thu, Jun 20, 2013 at 12:45 AM, Andrew Trick <atrick at apple.com> wrote: > > On Jun 19, 2013, at 1:04 AM, Eric Lu <eirc.lew at gmail.com> wrote: > > It seems the options still does not work, or I have misunderstood what you > said. > > The command: > clang -g -I/home/lxj/software/llvmsvn/include -emit-llvm $1.c -c -o > $1.bc > opt -debug --debug-pass=Structure -scalar-evolution -loop-rotate...