search for: welson

Displaying 20 results from an estimated 52 matches for "welson".

Did you mean: nelson
2012 Mar 01
1
[LLVMdev] Linking problem in a pass
...inside an anonymous name space. Also, all the XYZ methods are defined in the .cpp file. Looking at the error message: opt: symbol lookup error: path/to/pass.so: undefined symbol: _ZN12DataTransferD1Ev Where DataTransfer is the class name. Maybe I am missing certain type of constructors? Thanks, Welson On Thu, Mar 1, 2012 at 10:00 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Welson, are you saying that the .o file containing the class is being > linked > into the .so file, but nonetheless you get "undefined symbol XYZ" errors > where > XYZ is that class?...
2012 Jan 28
1
[LLVMdev] How to get the string value?
...lVariable *GV = dyn_cast<GlobalVariable>(firstop)){ Constant *v = GV->getInitializer(); if (ConstantArray *CA = dyn_cast<ConstantArray>(v)) { StringRef portName(CA->getAsString()); That's some learning experience :-) Regards, Welson On Sat, Jan 28, 2012 at 6:41 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Welson, > > > Yes, it is a ConstantExpr! Thank you! >> >> Now trying to find a clue in ConstantExpr's functions to get that string >> :-) >> > > you can get the p...
2012 Mar 01
2
[LLVMdev] Linking problem in a pass
...I added the .cpp files for each .h file, then the .o files are being generated, shown in the Debug directory. Actually, if I add "VERBOSE = 1" in the Makefile, it shows the linking command is actually linking all the .o files into the pass.so file. Any help will be appreciated. Thanks! Welson On Thu, Mar 1, 2012 at 6:45 AM, John Criswell <criswell at illinois.edu> wrote: > On 2/29/12 11:03 PM, Welson Sun wrote: > > My pass uses another class which is defined in a separate .h file, which > sits in the same folder as the pass .cpp file. The pass compiles fine, but &g...
2012 Mar 01
0
[LLVMdev] Linking problem in a pass
Hi Welson, are you saying that the .o file containing the class is being linked into the .so file, but nonetheless you get "undefined symbol XYZ" errors where XYZ is that class? Maybe you defined the class inside an anonymous name space? Alternatively, if XYZ refers to a method of the class, maybe...
2012 Jan 27
3
[LLVMdev] How to get the string value?
Thanks Duncan, Yes, it is a ConstantExpr! Thank you! Now trying to find a clue in ConstantExpr's functions to get that string :-) Regards, Welson On Thu, Jan 26, 2012 at 9:04 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi Welson Sun, > > > Hi, if I have some LLVM code like this: > > > > @.str = private unnamed_addr constant [7 x i8] c"in_arr\00", align 1 > > @.str1 = private unnamed_addr co...
2012 Jan 28
0
[LLVMdev] How to get the string value?
Hi Welson, > Yes, it is a ConstantExpr! Thank you! > > Now trying to find a clue in ConstantExpr's functions to get that string :-) you can get the pointer operand by doing: getOperand(0) The i'th index is getOperand(i+1). Ciao, Duncan. > > Regards, > Welson > > On Thu, Ja...
2012 Feb 16
2
[LLVMdev] Wrong AliasAnalysis::getModRefInfo result
Hi Welson, the default alias analysis is -no-aa. As the name suggests it just returns MayAlias for everything. Maybe you are using that one? Best wishes, Duncan.
2012 Sep 21
2
[LLVMdev] Alias Analysis accuracy
Yeah. Is there a way to specify noalias between these arguments? On Fri, Sep 21, 2012 at 2:46 PM, Krzysztof Parzyszek < kparzysz at codeaurora.org> wrote: > On 9/21/2012 4:35 PM, Welson Sun wrote: > >> Dear LLVM, >> >> I would like to understand how to improve the LLVM alias analysis >> accuracy. I am currently using llvmgcc 2.9 and llvm 3.0. Here is the C >> code: >> >> void foo(int a[SIZE], int b[SIZE], int c[SIZE]) >> { >&gt...
2012 Feb 16
0
[LLVMdev] Wrong AliasAnalysis::getModRefInfo result
Thanks Duncan! You are right! If I type the command "opt -basicaa -mypass ...", then the output makes sense. Now, how can you specify which AA to use in the code? Regards, Welson On Thu, Feb 16, 2012 at 12:05 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi Welson, the default alias analysis is -no-aa. As the name suggests it > just returns MayAlias for everything. Maybe you are using that one? > > Best wishes, Duncan. > ________________________...
2012 Sep 19
1
[LLVMdev] Alias analysis result
Hi Welson, > In case "my_pass" is compiled into a standalone executable, how can I run the > specific alias analysis in the code? I suggest you work out what passing -basic-aa to opt does, how it works, and do the same in your code. Ciao, Duncan. > > Thanks > > On Thu, Mar 8,...
2012 Apr 18
2
[LLVMdev] STLport
...12:04 PM, Villmow, Micah <Micah.Villmow at amd.com>wrote: > We are able to compile it internally, but it required some changes to > LLVM to get it to work.**** > > ** ** > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Welson Sun > *Sent:* Tuesday, April 17, 2012 11:48 AM > *To:* LLVM Developers Mailing List > *Subject:* [LLVMdev] STLport**** > > ** ** > > I am curious to see if anyone has ever been successfully compiled LLVM > with STLport? **** > > ** ** > > I tried compiling LLVM 3...
2012 Sep 21
0
[LLVMdev] Alias Analysis accuracy
I think you may add restrict type qualifier. Sam From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Welson Sun Sent: Friday, September 21, 2012 5:50 PM To: Krzysztof Parzyszek Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Alias Analysis accuracy Yeah. Is there a way to specify noalias between these arguments? On Fri, Sep 21, 2012 at 2:46 PM, Krzysztof Parzyszek <kparzysz at codeaurora.org<mai...
2012 Sep 21
3
[LLVMdev] Alias Analysis accuracy
...n Fri, Sep 21, 2012 at 2:52 PM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote: > I think you may add restrict type qualifier.**** > > ** ** > > Sam**** > > ** ** > > *From:* llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] *On > Behalf Of *Welson Sun > *Sent:* Friday, September 21, 2012 5:50 PM > *To:* Krzysztof Parzyszek > *Cc:* llvmdev at cs.uiuc.edu > *Subject:* Re: [LLVMdev] Alias Analysis accuracy**** > > ** ** > > Yeah. Is there a way to specify noalias between these arguments?**** > > On Fri, Sep 21, 201...
2012 Mar 14
2
[LLVMdev] Linking static external library into an LLVM pass library?
.... For example, to link libsample.a, you would set USEDLIBS to sample.a. Note that this works only for statically linked libraries. But, what is that "lib" directory? How can I specify external libxyz.a file that doesn't live in this libs directory? Anybody has done this? Thanks! Welson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120314/5581b22d/attachment.html>
2012 Sep 21
0
[LLVMdev] Alias Analysis accuracy
...as: i32* %14, i32* %3 MayAlias: i32* %14, i32* %5 MayAlias: i32* %14, i32* %8 PartialAlias: i32* %11, i32* %14 a, b and c are no longer alias, as expected. However, they all may alias to %0. I guess basicaa doesn't handle data flow analysis? On Fri, Sep 21, 2012 at 2:57 PM, Welson Sun <welson.sun at gmail.com> wrote: > Can you give an example? And is this limited to C (not C++) only? > > > On Fri, Sep 21, 2012 at 2:52 PM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>wrote: > >> I think you may add restrict type qualifier.**** >> >> **...
2012 Apr 17
2
[LLVMdev] STLport
I am curious to see if anyone has ever been successfully compiled LLVM with STLport? I tried compiling LLVM 3.0 with STLport-5.2.1, and failed. Thanks, Welson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120417/e3322a36/attachment.html>
2012 Apr 18
0
[LLVMdev] STLport
Sure, here is our diff against 3.0. The reason we are using it is because of problems with statically linking libstdc++ on certain Linux distributions. From: Welson Sun [mailto:welson.sun at gmail.com] Sent: Tuesday, April 17, 2012 7:49 PM To: Villmow, Micah Cc: LLVM Developers Mailing List Subject: Re: [LLVMdev] STLport Good to hear that. Doesn't seem to be a popular combination since googling results little information on this. Is it possible for you to...
2012 Mar 01
2
[LLVMdev] Linking problem in a pass
...n using the pass "opt -load ...", there is an error: opt symbol lookup error .... undefined symbol xxx, where xxx is the class name. It looks like that class file's object file is not linked into the pass.so file. How should I change the Makefile to make the linking happen? Thanks, Welson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120229/fcb2b0ec/attachment.html>
2016 Jul 22
2
HEAD compilation causes gcc internal error
...re likely a gcc bug. However, same toolchain compiled without any problems a week ago. Also, in some organizations, upgrading gcc is very hard if not impossible. On Fri, Jul 22, 2016 at 11:11 AM, Paulo Matos via llvm-dev < llvm-dev at lists.llvm.org> wrote: > > > On 22/07/16 20:08, Welson Sun via llvm-dev wrote: > > This is gcc4.8.0 compiling HEAD synced on July 22: > > > > My guess is that you're better off posting this to the GCC mailing list. > It's not LLVM's fault GCC crashed on this. On the other hand, you might > want to try reproducing thi...
2012 Apr 18
1
[LLVMdev] STLport
...cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > -- Welson Phone: (408) 418-8385 Email: welson.sun at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120418/93889597/attachment.html>