search for: etherzhhb

Displaying 20 results from an estimated 140 matches for "etherzhhb".

2016 Sep 18
2
builtins name mangling in SPIR 2.0
I don't see any problem mangling it to be honest even though there seems to be only one prototype anyways. We could add restrict in as well. Cheers, Anastasia ________________________________ From: Hongbin Zheng <etherzhhb at gmail.com> Sent: 17 September 2016 05:32:54 To: Liu, Yaxun (Sam) Cc: cfe-dev at lists.llvm.org; llvm-dev; Bader, Alexey (alexey.bader at intel.com); Anastasia Stulova Subject: Re: builtins name mangling in SPIR 2.0 On Fri, Sep 16, 2016 at 8:10 AM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com&...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
...is mangled according to its prototype as follows: int printf(constant char * restrict fmt, ... ) Note that the ellipsis formal argument (...) is mangled to argument type specifier z It seems printf should be mangled. Alexey/Anastasia, What do you think? Thanks. Sam From: Hongbin Zheng [mailto:etherzhhb at gmail.com] Sent: Friday, September 16, 2016 1:54 AM To: Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> Cc: cfe-dev at lists.llvm.org; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: builtins name mangling in SPIR 2.0 Hi Sam and others, I saw that in [1], printf is mangled to _Z6printfP...
2017 Apr 26
2
Collectively dominance
Hi Daniel, Thanks a lot for all these explanation, I will try it out. Hongbin On Tue, Apr 25, 2017 at 7:04 PM, Daniel Berlin <dberlin at dberlin.org> wrote: > > > On Tue, Apr 25, 2017 at 6:42 PM, Hongbin Zheng <etherzhhb at gmail.com> > wrote: > >> >> >> On Tue, Apr 25, 2017 at 6:32 PM, Daniel Berlin <dberlin at dberlin.org> >> wrote: >> >>> >>> >>> On Tue, Apr 25, 2017 at 6:17 PM, Hongbin Zheng <etherzhhb at gmail.com> >>> wrote...
2017 Apr 26
1
Collectively dominance
...there is a much faster way, as the sets are mostly shared except in the cyclic case, and in all reducible cyclic cases, removal of back-arcs does not affect dominance (because in any reducible flowgraph, v dominates u whenever u,v is a back-arc) On Tue, Apr 25, 2017 at 7:38 PM, Hongbin Zheng <etherzhhb at gmail.com> wrote: > Hi Daniel, > > Thanks a lot for all these explanation, I will try it out. > > Hongbin > > On Tue, Apr 25, 2017 at 7:04 PM, Daniel Berlin <dberlin at dberlin.org> > wrote: > >> >> >> On Tue, Apr 25, 2017 at 6:42 PM, Hongbi...
2016 Sep 12
2
builtins name mangling in SPIR 2.0
...header file under clang/lib/Headers/opencl-c.h, > get_global_id will be mangled. > > > > If you want to declare get_global_id in your own header, add > __attribute__((overloadable)), then it will be mangled. > > > > Sam > > > > *From:* Hongbin Zheng [mailto:etherzhhb at gmail.com] > *Sent:* Monday, September 12, 2016 4:21 PM > *To:* cfe-dev at lists.llvm.org; llvm-dev <llvm-dev at lists.llvm.org>; Liu, > Yaxun (Sam) <Yaxun.Liu at amd.com> > *Subject:* builtins name mangling in SPIR 2.0 > > > > Hi all, > > > > Acco...
2016 Aug 03
3
LLVM bc converter from LLVM 3.9 to LLVM 3.1
> On Aug 2, 2016, at 8:38 PM, Stephen Hines via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi Hongbin, > > On Tue, Aug 2, 2016 at 8:26 PM, Hongbin Zheng <etherzhhb at gmail.com <mailto:etherzhhb at gmail.com>> wrote: > Hi Steve, > > Several people told me that LLVM TOT bcreader can read odder version of bitcode without any problem. Do you know the oldest version of bitcode that the TOT bitcode reader supports? > > The current policy...
2010 Apr 13
2
[LLVMdev] The "scope" of passes
hi again :) On Tue, Apr 13, 2010 at 8:57 AM, ether zhhb <etherzhhb at gmail.com> wrote: > hi john, > > thanks very much, i will try it out. > > --best regards > ether > > > On Mon, Apr 12, 2010 at 10:03 PM, John Criswell <criswell at uiuc.edu> wrote: > >> ether zhhb wrote: >> >>> hi all, >>> &gt...
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...>>> one to do the bitcode version downgrade, right? >> >> I think so. >> >> I don't know much about it and don't want to give you misleading >> information; I'm cc-ing Stephen. >> >> >> On 2 August 2016 at 16:53, Hongbin Zheng <etherzhhb at gmail.com> wrote: >> >>> Thanks Jakub. Looks Like I didn't rely all. >>> >>> I also have a look at the code, looks like it directly parse the bitcode >>> and build in memory representation in a different LLVM version than the >>> bitcode....
2017 Apr 26
2
Collectively dominance
On Tue, Apr 25, 2017 at 6:32 PM, Daniel Berlin <dberlin at dberlin.org> wrote: > > > On Tue, Apr 25, 2017 at 6:17 PM, Hongbin Zheng <etherzhhb at gmail.com> > wrote: > >> Hi Daniel, >> >> I mean "*As a set*, B + C dominate D". >> >> On Tue, Apr 25, 2017 at 5:42 PM, Daniel Berlin <dberlin at dberlin.org> >> wrote: >> >>> When you say collectively, you mean "wo...
2010 Apr 13
0
[LLVMdev] The "scope" of passes
On Mon, Apr 12, 2010 at 6:41 PM, ether zhhb <etherzhhb at gmail.com> wrote: > that's because FunctionPass implement the "addLowerLevelRequiredPass" > function, but others not. > > so, is there any special reason that only "addLowerLevelRequiredPass" is > allow? > There is no reason to not allow it. It is n...
2010 Apr 13
2
[LLVMdev] The "scope" of passes
Devang Patel wrote: > On Mon, Apr 12, 2010 at 6:41 PM, ether zhhb <etherzhhb at gmail.com> wrote: > > >> that's because FunctionPass implement the "addLowerLevelRequiredPass" >> function, but others not. >> >> so, is there any special reason that only "addLowerLevelRequiredPass" is >> allow? >> >>...
2011 May 13
0
[LLVMdev] building Polly on Ubuntu
...Polly that you have includes a JSON library were that uses exceptions. This conflict was introduced by a recent update of our JSON library and should have been solved by the following two commits: ------------------------------------------------------------------------- Author: Hongbin Zheng <etherzhhb at gmail.com> Date: Sat Apr 30 02:47:34 2011 +0000 JSON: Do not use throw when exception is disabled. svn-id: https://llvm.org/svn/llvm-project/polly/trunk at 130575 Author: Hongbin Zheng <etherzhhb at gmail.com> Date: Sat Apr 30 02:30:58 2011 +0000 JSON: Disable except...
2010 Apr 19
2
[LLVMdev] The "scope" of passes
...: > hi John, > > sorry for reply so late. > > On Tue, Apr 13, 2010 at 10:38 PM, John Criswell <criswell at uiuc.edu > <mailto:criswell at uiuc.edu>> wrote: > > Devang Patel wrote: > > On Mon, Apr 12, 2010 at 6:41 PM, ether zhhb > <etherzhhb at gmail.com <mailto:etherzhhb at gmail.com>> wrote: > > > > that's because FunctionPass implement the > "addLowerLevelRequiredPass" > function, but others not. > > so, is there any special reas...
2011 May 14
1
[LLVMdev] building Polly on Ubuntu
...s a JSON library were >that uses exceptions. > >This conflict was introduced by a recent update of our JSON library and >should have been solved by the following two commits: > >------------------------------------------------------------------------- >Author: Hongbin Zheng <etherzhhb at gmail.com> >Date: Sat Apr 30 02:47:34 2011 +0000 > > JSON: Do not use throw when exception is disabled. > > svn-id: https://llvm.org/svn/llvm-project/polly/trunk at 130575 > >Author: Hongbin Zheng <etherzhhb at gmail.com> >Date: Sat Apr 30 02:30:58 2011...
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...ailto:mehdi.amini at apple.com>> wrote: > >> On Aug 2, 2016, at 8:38 PM, Stephen Hines via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> >> Hi Hongbin, >> >> On Tue, Aug 2, 2016 at 8:26 PM, Hongbin Zheng <etherzhhb at gmail.com <mailto:etherzhhb at gmail.com>> wrote: >> Hi Steve, >> >> Several people told me that LLVM TOT bcreader can read odder version of bitcode without any problem. Do you know the oldest version of bitcode that the TOT bitcode reader supports? >> >>...
2017 Apr 26
2
Store unswitch
...[10]; > > void unswitch2(int i, int x, int y0, int y1) { > if (x) { > a[i] = y0; > a[i + 1] = y1; > } else { > a[i + 1] = y0; > a[i] = y1; > } > } > > https://godbolt.org/g/Ldd5qV > > On Tue, Apr 25, 2017 at 10:22 PM, Hongbin Zheng <etherzhhb at gmail.com> > wrote: > >> Thanks, >> >> Looks like inst combine do the job >> >> On Tue, Apr 25, 2017 at 9:36 PM, Davide Italiano <davide at freebsd.org> >> wrote: >> >>> On Tue, Apr 25, 2017 at 9:24 PM, Hongbin Zheng via llvm-dev...
2011 May 13
3
[LLVMdev] building Polly on Ubuntu
Hello, I am trying to build Polly on Ubuntu11.04 on Windows XP via VMWare, according to the Polly wiki(now moved). I succeeded last month, but now it fails at "make". Please tell me what is wrong. Here is the corresponding log. [ 67%] Built target count Scanning dependencies of target not [ 67%] Building CXX object utils/not/CMakeFiles/not.dir/not.cpp.o Linking CXX executable
2016 Aug 03
2
LLVM bc converter from LLVM 3.9 to LLVM 3.1
...ct? According to your description, I guess the BitCodeWriter should be the one > to do the bitcode version downgrade, right? I think so. I don't know much about it and don't want to give you misleading information; I'm cc-ing Stephen. On 2 August 2016 at 16:53, Hongbin Zheng <etherzhhb at gmail.com> wrote: > Thanks Jakub. Looks Like I didn't rely all. > > I also have a look at the code, looks like it directly parse the bitcode > and build in memory representation in a different LLVM version than the > bitcode. Is this correct? > > According to your de...
2017 Apr 26
3
Store unswitch
Thanks, Looks like inst combine do the job On Tue, Apr 25, 2017 at 9:36 PM, Davide Italiano <davide at freebsd.org> wrote: > On Tue, Apr 25, 2017 at 9:24 PM, Hongbin Zheng via llvm-dev > <llvm-dev at lists.llvm.org> wrote: > > Hi, > > > > Is there a pass in LLVM that can optimize: > > > > if (x) > > a[i] = y0; > > else > >
2010 Apr 17
0
[LLVMdev] The "scope" of passes
hi John, sorry for reply so late. On Tue, Apr 13, 2010 at 10:38 PM, John Criswell <criswell at uiuc.edu> wrote: > Devang Patel wrote: > >> On Mon, Apr 12, 2010 at 6:41 PM, ether zhhb <etherzhhb at gmail.com> wrote: >> >> >> >>> that's because FunctionPass implement the "addLowerLevelRequiredPass" >>> function, but others not. >>> >>> so, is there any special reason that only "addLowerLevelRequiredPass" is &gt...