Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] support for __attribute__((noinline))"
2007 Jun 04
0
[LLVMdev] support for __attribute__((noinline))
Hello, Lionel
> I would like to know if there is any plan in the next future to
> support The GCC noinline attribute?
Please fill in bugreport for this. I'll implement it, when time will
permit.
--
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Sep 30
1
[LLVMdev] noinline
Hi,
I was interested in telling the compiler not to inline a given function, and
discovered that the __attribute__((noinline)) implements this using a global
variable @llvm.noinline. It did not work for me initially. I noticed that @
llvm.noinline was being internalized by -internalize, dead-code-eliminated
by -constmerge, causing this information not to reach the -inline pass.
I am not sure if
2014 Feb 25
2
[LLVMdev] noinline attribute problem
Hello,
I have the following simple C code below. It should return '8' as a result.
But the returned result is false as it returns '1'.
When I remove the line of '__attribute__((noinline))' , the returned results
are correct '8'.
Any idea? Please advice as I need to get the assembly code of the
'getTexSize' function alone.
Note: I compile using the
2017 May 19
2
noinline changes between 3.8 and 4.0?
All,
I'm in the process of upgrading an LLVM client from using 3.8 to using 4.0
and am running into the following issue:
// compile with:
// clang++ -std=c++11 -Wno-c++14-extensions -S -emit-llvm
// ~/chrono.cpp -o chrono.ll
#include <chrono>
#include <ratio>
#include <thread>
using namespace std;
using namespace std::chrono;
using tick = ratio<1, 300>;
using
2012 Jan 21
1
[PATCH] include/checkpatch: Prefer __scanf to __attribute__((format(scanf, ...)
It's equivalent to __printf, so prefer __scanf.
Signed-off-by: Joe Perches <joe at perches.com>
---
include/linux/compiler-gcc.h | 3 ++-
include/linux/kernel.h | 8 ++++----
include/xen/xenbus.h | 4 ++--
scripts/checkpatch.pl | 6 ++++++
4 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/include/linux/compiler-gcc.h
2012 Jan 21
1
[PATCH] include/checkpatch: Prefer __scanf to __attribute__((format(scanf, ...)
It's equivalent to __printf, so prefer __scanf.
Signed-off-by: Joe Perches <joe at perches.com>
---
include/linux/compiler-gcc.h | 3 ++-
include/linux/kernel.h | 8 ++++----
include/xen/xenbus.h | 4 ++--
scripts/checkpatch.pl | 6 ++++++
4 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/include/linux/compiler-gcc.h
2023 Mar 16
1
Making headers self-contained for static analysis
People have let me know that the attachment didn't make it through.
Do patches get filtered out?
Please find it there:
https://github.com/lionel-/r-svn/commit/e3de56798b1321a3fa8688a42bbb73d763b78024.patch
I'm also happy to post it on the bugzilla if that makes sense.
Best,
Lionel
On 3/16/23, Lionel Henry <lionel at posit.co> wrote:
> Hello,
>
> I started using clangd to
2013 May 14
2
[LLVMdev] Queue implementation is being trapped
Hello there,
I'm trying to use a simple implementation of a queue (my own implementation
of it, actually), and I'm trying to use the functions defined on my queue
class inside some llvm-ir code. Unfortunately, the names of the functions
are being messed up, then I created some function wrappers just to avoid
having to deal with the C++ weird function renaming.
So, to easily wrapper the
2019 Jun 26
1
R-Forge > GitHub?
????? Thanks.? I'm still having problems:
??? ??????? 1.? I went to "github.com" and logged in with my standard
GitHub account
??? ??????? 2.? Then I clicked "+" in the upper right, just left of my
GitHub ID icon, and selected "Import a repository", as Lionel suggested.
??? ??????? 3.? " Your old repository?s clone URL" =
2020 Sep 30
2
reset "replace battery" flag
On Fri, Sep 25, 2020 at 11:47:42PM +0300, Manuel Wolfshant wrote:
> On 9/25/20 1:36 PM, Lionel Élie Mamane wrote:
>> On Thu, Sep 24, 2020 at 06:51:23PM +0300, Manuel Wolfshant wrote:
>>> On 9/21/20 9:47 PM, Lionel Élie Mamane wrote:
>>> We have a HP R/T 3000 G4 UPS; according to the data returned by
>>> the usbhid-ups driver, it seems to be a "badge
2013 May 14
0
[LLVMdev] Queue implementation is being trapped
On Tue, May 14, 2013 at 11:42 AM, Cristianno Martins <
cristiannomartins at gmail.com> wrote:
> Hello there,
>
> I'm trying to use a simple implementation of a queue (my own
> implementation of it, actually), and I'm trying to use the functions
> defined on my queue class inside some llvm-ir code. Unfortunately, the
> names of the functions are being messed up,
2015 May 15
2
[LLVMdev] DSA / poolalloc: incorrect callgraph for indirect call
Hello,
I am trying to apply DSA (from the poolalloc project - I'm on LLVM 3.2)
on the following C program and found that the generated callgraph
over-approximates the callees for the simple indirect call.
#include <stdio.h>
__attribute__((noinline)) static int f1(int arg1, int arg2) {
return arg1 + arg2;
}
__attribute__((noinline)) static int run_func(int (*fptr)(int, int), int
2019 Jul 23
2
[External] Re: quiet namespace load is noisy
Lionel,
Thanks for your response. I understand that method overriding can be a serious issue, but as you say, this is not something that the user can act upon. Yet the message lands at the user?s feet.
In my case, the messages are cluttering my package vignettes, and may or may not represent what users see if they themselves run the vignette code, depending on what version of ggplot2, etc. they
2019 Jun 26
1
R-Forge > GitHub?
????? Thanks to Duncan, Lionel and Henrik for their quick replies. I
have further questions:
??? ?? ???? 1.? Will GitHub automatically transfer the commits I made
to R-Forge in the past couple of days?? R-Forge is now at Rev. 420, and
GitHub is still at 418.? Will 419 and 420 be automatically mirrored onto
"https://github.com/rforge/ecdat" sometime in the next 24 hours or so??
Is
2018 Nov 13
2
execute sieve command - fails to notice script has exited
Did you look at the server logs as suggested by the logfile?
Aki
> On 13 November 2018 at 18:52 Lionel Elie Mamane <lionel at mamane.lu> wrote:
>
>
> And the Sieve script:
>
> ------- start sieve script ---------
> require ["vnd.dovecot.execute", "fileinto", "mailbox", "vnd.dovecot.debug"];
>
> debug_log "about to
2017 Jun 22
3
How to prevent optimizing away a call + its arguments
On Thu, Jun 22, 2017 at 05:35:51PM +0000, David Blaikie wrote:
> optnone should work, but really noinline should probably (Chandler: Can you
> confirm: is it reasonable to model noinline as "no interprocedural analysis
> across this function boundary" (so FunctionAttrs should do the same thing
> for noinline as it does for optnone, for example? ie: not derive any new
>
2019 Jul 23
2
[External] Re: quiet namespace load is noisy
Dear Russ,
I had the same problem in my vignettes and setting both message and warning
to FALSE seems to remove all unwanted output:
```{r message=FALSE, warning=FALSE}
library("afex")
library("ggplot2")
library("cowplot")
theme_set(theme_grey())
```
Result:
https://cran.r-project.org/web/packages/afex/vignettes/afex_plot_introduction.html
Best,
Henrik
Am Di.,
2017 Sep 01
4
side-effect of calling functions via `::`
>>>>> Lionel Henry <lionel at rstudio.com>
>>>>> on Fri, 1 Sep 2017 13:47:07 +0200 writes:
> A package should probably never register a S3 method unless it owns
> either the generic or the class.
I agree... (and typically it does "own" the class)
> Here `formula.tools` owns neither.
i.e., it neither defines as.character()
2019 Dec 26
3
best way to build from Git
>>>>> G?bor Cs?rdi
>>>>> on Thu, 26 Dec 2019 08:23:10 +0000 writes:
> Hi Frederick, I know some non R-core people use this
> workflow to keep local patches in git branches:
> https://bookdown.org/lionel/contributing/
> Best, Gabor
Thank you, Gabor, and notably, Lionel, for providing the extras.
As Frederik notes / ask as well about
2020 Jun 22
2
How to create a user WIHTOUT beeing prompted for the password
Hi ,
Just AD in fact :-)
More chances ?
Lionel
sent from my Iphone, sorry for typo
> Le 22 juin 2020 ? 11:17, Rowland penny via samba <samba at lists.samba.org> a ?crit :
>
> ?On 22/06/2020 09:27, Lionel Monchecourt via samba wrote:
>> Hi,
>>
>> Everything is in the title, How to create a user WIHTOUT beeing prompted for
>> the password ?
>
> No