similar to: [LLVMdev] Cloning a FunctionDecl?

Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Cloning a FunctionDecl?"

2012 Feb 29
2
[LLVMdev] getelementptr being lowered to ptrtoint/.../inttoptr?
Hello, I am working on an application of LLVM where I would strongly prefer that getelementptr not be lowered into pointer arithmetic by any passes other than my own. I'm writing a ModulePass. I am observing a situation where I compile a C++ file with no optimization and I get code as I would expect that uses getelementptr. However, if I enable optimization with -O3, *some* of my
2012 Nov 04
2
[LLVMdev] Volunteers needed to moderate sessions and staff registration desk!
Hello, I am in need of moderators to help moderate each session. If you are interested, please respond to this mail and indicate which slot you can moderate. Its a long shot as you would miss talks, but if anyone wants a break to do work or check email while also staffing the registration desk, please let me know if you can do it during any of the sessions below. Thanks! Options: Moderator #1
2015 Jun 17
2
[LLVMdev] Inline hint for methods defined in-class
Clang adds the InlineHint attribute to functions that are explicitly marked inline, but not if they are defined in the class body. I tried the following patch, which I believe handles the in-class definition case: --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -630,7 +630,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, if (const FunctionDecl *FD =
2015 Jun 17
2
[LLVMdev] Inline hint for methods defined in-class
that looks like a different fix. The case mentioned by Easwaran is class A{ int foo () { return 1; } ... }; where 'foo' is not explicitly declared with 'inline' keyword. David On Wed, Jun 17, 2015 at 4:07 PM, Balaram Makam <bmakam at codeaurora.org> wrote: > AFAIK, this was fixed in r233817. > > -----Original Message----- > From: llvmdev-bounces at
2012 Nov 06
0
[LLVMdev] Volunteers needed to moderate sessions and staff registration desk!
I'm still in need for moderators for the following sessions: > Moderator #3 (11:15-12:45, Regency 1) > Verified LLVM: Formalizing the semantics of the LLVM Intermediate Representation for Verified Program Transformations- Santosh Nagarakatte, University of Pennsylvania/Rutgers University > Integrated Security, using LLVM for Dynamic and Static Security Tasks- Jared Carlson,
2012 Feb 29
0
[LLVMdev] getelementptr being lowered to ptrtoint/.../inttoptr?
On Wed, Feb 29, 2012 at 11:00 AM, Dillon Sharlet <dsharlet at gmail.com> wrote: > Hello, > > I am working onĀ an application of LLVM where I would strongly prefer that > getelementptr not be lowered into pointer arithmetic by any passes other > than my own. I'm writing a ModulePass. > > I am observing a situation where I compile a C++ file with no optimization >
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
> -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On > Behalf Of Easwaran Raman > Sent: Wednesday, June 24, 2015 9:54 AM > To: Xinliang David Li > Cc: <llvmdev at cs.uiuc.edu> List > Subject: Re: [LLVMdev] Inline hint for methods defined in-class > > Ping. > > On Wed, Jun 17, 2015 at 4:13 PM,
2015 Jun 24
4
[LLVMdev] Inline hint for methods defined in-class
The method to identify functions with in-class definitions is one part of my question. Even if there is a way to do that without passing the hint, I'm interested in getting feedback on treating it at-par with functions having the inline hint in inline cost analysis. Thanks, Easwaran On Wed, Jun 24, 2015 at 12:56 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > The problem
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Easwaran Raman [mailto:eraman at google.com] >> Sent: Wednesday, June 24, 2015 1:27 PM >> To: Xinliang David Li >> Cc: Robinson, Paul; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline
2015 Jul 07
6
[LLVMdev] Inline hint for methods defined in-class
I'm reviving this thread after a while and CCing cfe-commits as suggested by David Blaikie. I've also collected numbers building chrome (from chromium, on Linux) with and without this patch as suggested by David. I've re-posted the proposed patch and performance/size numbers collected at the top to make it easily readable for those reading it through cfe-commits. The proposed patch
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
Sorry for misinterpreting, but what is the basis for the simple fact you mentioned? David On Wed, Jun 24, 2015 at 2:43 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Xinliang David Li [mailto:davidxl at google.com] >> Sent: Wednesday, June 24, 2015 2:17 PM >> To: Robinson, Paul >> Cc: Easwaran Raman;
2020 Jun 30
5
[RFC] Semi-Automatic clang-format of files with low frequency
I 100% get that we might not like the decisions clang-format is making, but how does one overcome this when adding new code? The pre-merge checks enforce clang-formatting before commit and that's a common review comment anyway for those who didn't join the pre-merge checking group. I'm just wondering are we not all following the same guidelines? Concerns of clang-format not being good
2015 Jun 24
3
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:35 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > On Wed, Jun 24, 2015 at 2:20 PM, Easwaran Raman <eraman at google.com> wrote: >> >> On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul >> <Paul_Robinson at playstation.sony.com> wrote: >> >> -----Original Message----- >> >> From: Easwaran Raman
2015 Jun 24
6
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: >> -----Original Message----- >> From: Easwaran Raman [mailto:eraman at google.com] >> Sent: Wednesday, June 24, 2015 1:27 PM >> To: Xinliang David Li >> Cc: Robinson, Paul; Xinliang David Li; <llvmdev at cs.uiuc.edu> List >> Subject: Re: [LLVMdev] Inline
2016 Dec 21
2
DeclarationName and the StringRef.
To context was , Basic requirement was to append extra string to the decl name and update all his references to the updated name. , So we are constructing the DeclarationName instance as stated below code snap. and from DeclarationName instance ,we are constructing the DeclarationNameInfo and same info used to create decl spec with FunctionDecl::Create () . Question is , How do ,someone
2016 Dec 21
0
DeclarationName and the StringRef.
On 12/21/2016 5:01 AM, Umesh Kalappa via llvm-dev wrote: > To context was , > > Basic requirement was to append extra string to the decl name and > update all his references to the updated name. , > > So we are constructing the DeclarationName instance as stated below > code snap. > and from DeclarationName instance ,we are constructing the > DeclarationNameInfo
2015 Jun 24
2
[LLVMdev] Inline hint for methods defined in-class
On Wed, Jun 24, 2015 at 2:35 PM, David Blaikie <dblaikie at gmail.com> wrote: > > > On Wed, Jun 24, 2015 at 2:20 PM, Easwaran Raman <eraman at google.com> wrote: >> >> On Wed, Jun 24, 2015 at 2:10 PM, Robinson, Paul >> <Paul_Robinson at playstation.sony.com> wrote: >> >> -----Original Message----- >> >> From: Easwaran Raman
2020 Sep 27
3
How to add a new clang-tidy module
Hi, all, I am planning to add clang-tidy checkers for my company. How to add a new module for my company? Please help, thanks in advance. I try to copy files from cert module, and rename cert to Misra, then add a rule named "m-0-1-1" by ./add_new_checker.py. then I run ninja check-clang-tool, but my case is failed due to below error Running ['clang-tidy',
2017 Jan 03
3
LLVM Performance Workshop at CGO 2017 (early registration ends January 6th)
FYI, The LLVM Performance Workshop will be held at CGO 2017. The workshop is co-located with CC, HPCA, and PPoPP. If you are interested in attending the workshop, please register at the CGO website: http://cgo.org/cgo2017/workshops.html When: Saturday February 4th, 2017 Where: Austin, Texas, USA ---- Hi, CGO workshop and tutorial organizers, This is a friendly reminder that early
2015 Jul 08
9
[LLVMdev] Inline hint for methods defined in-class
On Tue, Jul 7, 2015 at 6:06 PM, Chandler Carruth <chandlerc at gmail.com> wrote: > On Tue, Jul 7, 2015 at 4:11 PM Easwaran Raman <eraman at google.com> wrote: >> >> I'm reviving this thread after a while and CCing cfe-commits as >> suggested by David Blaikie. I've also collected numbers building >> chrome (from chromium, on Linux) with and without