search for: yaxun

Displaying 20 results from an estimated 46 matches for "yaxun".

Did you mean: arun
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<mailto:Yaxun.Liu at amd.com>> wrote: + Alexey Anastasia...
2016 Sep 16
2
builtins name mangling in SPIR 2.0
...r * 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 _Z6printfPrU3AS2cz, while in clang's opencl-c.h[2], printf does not have the...
2012 Oct 02
3
[LLVMdev] [llvm-commits] patch to enable response file support in ParseCommandLineOptions
...se file support and removes the argument for controlling/disabling response file support. The patch also contains a simple test. I did regression check and there are no regressions. + llvmdev Sam From: Chris Lattner [mailto:clattner at apple.com] Sent: Sunday, September 30, 2012 2:20 PM To: Liu, Yaxun (Sam) Cc: llvm-commits at cs.uiuc.edu Subject: Re: [llvm-commits] patch to enable response file support in ParseCommandLineOptions On Sep 21, 2012, at 2:07 PM, "Liu, Yaxun (Sam)" <Yaxun.Liu at amd.com<mailto:Yaxun.Liu at amd.com>> wrote: Hi, I am sending a patch to enable...
2015 Jul 07
2
[LLVMdev] [RFC] Proposal for Adding SPIRV Target
...R-V production/consumption code now, and the time sink doing the above approach would incur, we are going to open source the current work on the Khronos GitHub page as a first step. We intend to revisit introducing a SPIR-V backend to LLVM in the future. Cheers, -Neil. On 18/06/15 20:25, Liu, Yaxun (Sam) wrote: > > *From:*Eli Bendersky [mailto:eliben at google.com] > *Sent:* Thursday, June 18, 2015 1:43 PM > *To:* Mehdi Amini > *Cc:* Liu, Yaxun (Sam); llvmdev at cs.uiuc.edu > *Subject:* Re: [LLVMdev] [RFC] Proposal for Adding SPIRV Target > > On Thu, Jun 18, 2015 at 10...
2015 Jun 18
2
[LLVMdev] [RFC] Proposal for Adding SPIRV Target
On Thu, Jun 18, 2015 at 10:26 AM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > On Jun 18, 2015, at 9:31 AM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote: > > > > *From:* Mehdi Amini [mailto:mehdi.amini at apple.com <mehdi.amini at apple.com>] > > *Sent:* Thursday, June 18, 2015 11:24 AM > *To:* Liu, Yaxun (Sam) > *Cc:* llvmdev at cs.uiuc.edu > *Subject:* Re: [LLVMdev] [RFC] P...
2015 Jul 07
2
[LLVMdev] [RFC] Proposal for Adding SPIRV Target
...oach would incur, we are >> going to open source the current work on the Khronos GitHub page as a >> first step. >> >> We intend to revisit introducing a SPIR-V backend to LLVM in the future. >> >> Cheers, >> -Neil. >> >> On 18/06/15 20:25, Liu, Yaxun (Sam) wrote: >>> *From:*Eli Bendersky [mailto:eliben at google.com] >>> *Sent:* Thursday, June 18, 2015 1:43 PM >>> *To:* Mehdi Amini >>> *Cc:* Liu, Yaxun (Sam); llvmdev at cs.uiuc.edu >>> *Subject:* Re: [LLVMdev] [RFC] Proposal for Adding SPIRV Target &...
2012 Oct 03
0
[LLVMdev] [llvm-commits] patch to enable response file support in ParseCommandLineOptions
...shows the usage of "response file" is not rare. Also it has been used in the LLVM documentation: http://llvm.org/docs/CommandLine.html#response-files Sam -----Original Message----- From: Matt Beaumont-Gay [mailto:matthewbg at google.com] Sent: Tuesday, October 02, 2012 1:35 PM To: Liu, Yaxun (Sam) Cc: Chris Lattner; llvm-commits at cs.uiuc.edu; llvmdev at cs.uiuc.edu Subject: Re: [llvm-commits] patch to enable response file support in ParseCommandLineOptions Can we call this a "parameters file"? I find "response file" to be non-obvious. On Tue, Oct 2, 2012 at 8:18...
2016 May 10
3
[OpenCL] Question about pre-linking passes required to build OpenCL program
+ llvm-dev From: Sumner, Brian Sent: Tuesday, May 10, 2016 3:11 PM To: Anastasia Stulova <Anastasia.Stulova at arm.com>; Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>; cfe-dev (cfe-dev at lists.llvm.org) <cfe-dev at lists.llvm.org>; Pan, Xiuli <xiuli.pan at intel.com>; Bader, Alexey (alexey.bader at intel.com) <alexey.bader at intel.com> Cc: Stellard, Thomas <Tom.Stellard at amd.com>; Mekhanoshin, Stanis...
2012 Oct 02
1
[LLVMdev] [llvm-commits] patch to enable response file support in ParseCommandLineOptions
Can we call this a "parameters file"? I find "response file" to be non-obvious. On Tue, Oct 2, 2012 at 8:18 AM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote: > Thanks Chris for the comment. > > > > Since there is no objection, I attached a new patch which enables response > file support and removes the argument for controlling/disabling response > file support. The patch also contains a simp...
2016 Sep 12
2
builtins name mangling in SPIR 2.0
Thanks a lot. On Mon, Sep 12, 2016 at 1:42 PM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote: > If you use the default 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. &g...
2012 Sep 20
2
[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
...vm_shutdown_obj Y; // Call llvm_shutdown() on exit. - cl::ParseCommandLineOptions(argc, argv, "llvm linker\n"); + cl::ParseCommandLineOptions(argc, argv, "llvm linker\n", true); unsigned BaseArg = 0; std::string ErrorMessage; Sam -----Original Message----- From: Liu, Yaxun (Sam) Sent: Thursday, September 20, 2012 2:59 PM To: 'Nick Lewycky' Cc: 'llvmdev at cs.uiuc.edu' Subject: RE: [LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file Just found llvm-link (and other llvm commands) have already...
2015 Jun 18
2
[LLVMdev] [RFC] Proposal for Adding SPIRV Target
From: Mehdi Amini [mailto:mehdi.amini at apple.com] Sent: Thursday, June 18, 2015 11:24 AM To: Liu, Yaxun (Sam) Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] [RFC] Proposal for Adding SPIRV Target On Jun 18, 2015, at 6:23 AM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com<mailto:Yaxun.Liu at amd.com>> wrote: Hi Mehdi, Thank you for your comments. My comments are below. Sam From: Mehdi Ami...
2012 Sep 21
2
[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
...t of response file (@file) in all llvm tools. The only issue I can think of is that some users may have file names starting with "@". Sam -----Original Message----- From: NAKAMURA Takumi [mailto:geek4civic at gmail.com] Sent: Thursday, September 20, 2012 10:14 PM To: Nick Lewycky; Liu, Yaxun (Sam) Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file Could we enable ReadResponseFiles=true by default? 2012/9/21 Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>: > Well, although cl::ParseCom...
2012 Sep 21
0
[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
Could we enable ReadResponseFiles=true by default? 2012/9/21 Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>: > Well, although cl::ParseCommandLineOptions contains support for @file. By default it is disabled, which is the case for llvm-link. > > To enable @file support in llvm-link, a small change is needed: > > --- llvm-link.cpp.orig 2012-09-20 16:10:50...
2017 Dec 14
3
[RFC] Add TargetTransformInfo::isAllocaPtrValueNonZero and let ValueTracking depend on TargetTransformInfo
...s non-zero value, -A5z means alloca is in address space 5 and may have zero value. Then we can add function DataLayout::isAllocaPtrValueNonZero() to check whether alloca always has non-zero value. Sam From: Hal Finkel [mailto:hfinkel at anl.gov] Sent: Thursday, December 14, 2017 4:06 PM To: Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] [RFC] Add TargetTransformInfo::isAllocaPtrValueNonZero and let ValueTracking depend on TargetTransformInfo Hi, Sam, Our general design has been that TTI is for cost modeling, not for providing...
2012 Sep 13
0
[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
Liu, Yaxun (Sam) wrote: > I am proposing to add an option to llvm-link allow it to get a list of > input bitcode file names from a file. > > The reason is that there is a limitation for command line length which > limits the number of input bitcode files that can be passed to > llvm-link. By...
2012 Sep 13
6
[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
I am proposing to add an option to llvm-link allow it to get a list of input bitcode file names from a file. The reason is that there is a limitation for command line length which limits the number of input bitcode files that can be passed to llvm-link. By adding this option we can bypass such limitation. The name of the option can be discussed. My initial proposal would be -input-file-list.
2015 May 17
6
[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter
> On May 16, 2015, at 12:21 PM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote: > > I am thinking maybe the functionality of the bi-way conversion can be kept at llvm/lib/Bitcode/SPIRV, which will facilitate OpenCL vendors to do conversions between LLVM and SPIR-V. On the other hand, we create a llvm/Target/SPIR-V, which uses ll...
2015 Jun 18
2
[LLVMdev] [RFC] Proposal for Adding SPIRV Target
Hi Mehdi, Thank you for your comments. My comments are below. Sam From: Mehdi Amini [mailto:mehdi.amini at apple.com] Sent: Wednesday, June 17, 2015 12:43 PM To: Liu, Yaxun (Sam) Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] [RFC] Proposal for Adding SPIRV Target Hi Liu, Thanks for the detailed proposal. On Jun 17, 2015, at 5:44 AM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com<mailto:Yaxun.Liu at amd.com>> wrote: Here is the revised proposal for the LLV...
2012 Oct 04
0
[LLVMdev] RFC: Adding an option to llvm-link to allow it to get a list of input bitcode file names from a file
On 21 September 2012 10:44, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote: > I have no objection to that. Actually I am curious why it is disabled by default. > > If we enable ReadResponseFiles=true by default, we will automatically get support of response file (@file) in all llvm tools. The only issue I can think of is t...