Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Disabling certain optimizations in llvm-gcc and llc"
2011 Oct 27
2
[LLVMdev] Resolving sizeof's; target triples; type optimizations
Hi all,
A few different though somewhat related questions here. I'm really grateful
for your answers!
1. From a previous question I know that sizeof's are resolved into literals
early in the front-end before IR is even emitted. It seems that they are
resolved into whatever value is correct for the host machine. But if one
wishes to then take the IR and emit assembly code for some other
2011 Oct 27
0
[LLVMdev] Resolving sizeof's; target triples; type optimizations
On Thu, Oct 27, 2011 at 7:31 AM, Harel Cain <harel.cain at gmail.com> wrote:
> Hi all,
>
> A few different though somewhat related questions here. I'm really grateful
> for your answers!
>
> 1. From a previous question I know that sizeof's are resolved into literals
> early in the front-end before IR is even emitted. It seems that they are
> resolved into
2011 Oct 27
2
[LLVMdev] Resolving sizeof's; target triples; type optimizations
Thanks for the answers.
> See http://llvm.org/docs/FAQ.html#platformindependent . If you're
> dealing with C code, it isn't too hard to add a new target to clang;
> send an email to cfe-dev if you need help with that. The "target
> datalayout" information is purely a hint to the optimizers.
My experience this far has been mainly with using llvm-gcc and llvmc,
2011 Oct 27
0
[LLVMdev] Resolving sizeof's; target triples; type optimizations
Hello
> In doing this, I'm essentially overriding any "target triple" existing in
> the IR, breaking up the process into a multi-stage operation (llvm-gcc, opt
> and llc running independently) and picking whatever target I want, right?
No. This won't work since, as indicated in the FAQ entry IR derived
from C/C++ is not target neutral, so you cannot 'just'
2016 Jun 23
2
How can I make llvm intrinsic functions declarations survive from optimizations.
Dear LLVM community.
I have a function pass. This pass will insert a llvm intrinsic function
prototype (llvm.memset.p0i8.i32) to the module at the doInitialize
stage. Then at runOnFunction Stage, this pass will find the insert
points and insert calls of this intrinsic function. However, when the
-O2 flag is turned on, the strip unused function optimization will
automatically delete this
2011 Feb 11
1
Writting my own package - 64 bit problem with R_GetCCallable
Hello list,
I've been working on a package of my own. It works fine on the 32bit
linux machines that I've tested it on. Someone using 64bit ubuntu
wanted to try it, and surprising segfaults happened. My test code
results in no segfault, errors, or leaks from my calls when run under
valgrind (I recompiled R with the level 2 valgrind instruments). R
and packages are compiled from source,
2018 Dec 02
4
RFC: Supported Optimizations attribute
Hi folks,
please check out our RFC: Supported Optimizations attribute
https://docs.google.com/document/d/1s0n-JVaSNML1Z9SCZVg2bgisxswIJAK2Tp9DahucW10/edit?usp=sharing
Pasting it here for the record:
RFC: supported_optimizations attribute
Piotr Padlewski - piotr.padlewski at gmail.com
Krzysztof Pszeniczny - kpszeniczny at google.com
December 2018
Introduction
Sometimes a possible class of
2016 Jun 30
1
How can I make llvm intrinsic functions declarations survive from optimizations.
Dear Sanjoy Das and community.
I was tried to fix a bug in the pass InitAllocas from SAFECode. This is a function pass and will insert a prototype of 'llvm.memset.p0i8.i32' in the module at doInitialize() stage of the pass. But, this prototype will be eliminated by strip unused function optimization since there is no call on this function after doInitialization(). Therefore there will be
2011 Jan 27
2
[LLVMdev] Passing command line arguments to optimization passes
Hi all,
I was wondering if there's any way to pass command line arguments to LLVM
optimization passes when run through the opt tool.
For example, suppose I register called MyPass, then I want to run
opt -load libMyPass.so -MyPass 3 < input.bc
and have "3" be available to MyPass as a kind of argv argumnet through some
method.
Or does it take a major rewrite of the opt tool
2011 Jan 27
2
[LLVMdev] Passing command line arguments to optimization passes
A follow-up question:
Is there a way to make different passes accept one command line option that
will affect all of them?
For example, I'd like to have a -optStrength parameter, that can be given to
all of my passes simultaneously.
Thanks a lot,
Guy
Arnaud Allard de Grandmaison wrote:
>
> Hi Harel,
>
> Several existing passes can take command line arguments. Have a look at
2011 Jan 27
0
[LLVMdev] Passing command line arguments to optimization passes
Hi Harel,
Several existing passes can take command line arguments. Have a look at lib/Transforms/Scalar/LoopUnrollPass.cpp for example. Its command line arguments are defined using the cl::opt objects.
Best regards,
--
Arnaud de Grandmaison
________________________________
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Harel Cain
Sent: Thursday, January
2009 Jul 14
3
[LLVMdev] Unexpected failures in the DejaGNU test collection
Hi all,
When using "make check" with the DejaGNU test collection, I encounter
two unexpected failures (they seem to be closely related).
My question: are they well known, and if so what's the problem and how
can I fix it?
This is the error text I get:
FAIL: /var/data/common/trunk/llvm/test/FrontendC/2008-05-19-AlwaysInline.c
Failed with exit(1) at line 1
while running:
2011 Jan 24
2
[LLVMdev] How to create an IntegerType of the native word size
Hi all,
I couldn't find any reasonable way to create the IntegerType that would
match, say, intptr_t, that is the native word size of the machine I'm
building on. More accurately defined, when compiling on a 64 bit Mac OS
machine I want it to be Int64Ty, but if for example I'm using the "-arch
i386" command line option on that machine during compilation, I want it to
be
2010 Jun 22
4
Local channel usage
Hi All,
I?m trying to do ?things? after my Dial application terminates (e.g. play IVR to called party, calling party, etc.). I?m trying to use the local channel for this purpose but so far with no success. I?m using 1.6.1.18 and this is my extensions.conf:
[Internal]
exten => _22,1,Dial(Local/${EXTEN}@CW/n) ; 22 is test number
exten => _22,2,Noop(After Hangup)
[CW]
exten =>
2012 Mar 04
3
[LLVMdev] Passing arguments to opt via clang
Thanks, but I'm not sure I understand. I see no such flag in clang 2.9 nor
couldn't I find any mention of it. What does it do?
Harel Cain
On Sun, Mar 4, 2012 at 15:03, Anton Korobeynikov <anton at korobeynikov.info>wrote:
> > In the good old llvmc, the -Wo flag could be used to pass arguments to
> the
> > optimizer. Is there a similar mechanism anywhere for clang?
2010 Nov 01
1
MoH and stuch channels
Hi All,
I would like to separate the media traffic from the signalling.
Can Asterisk send and receive media (rtp) traffic from a secondary network interface?
Thanks,
Harel
________________________________
This electronic message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named
2011 Jan 28
0
[LLVMdev] Passing command line arguments to optimization passes
You could make the cl:opt object visible outside one of your passes, and use it in your other passes : in other words, it is a global variable shared between several files.
Best regards,
--
Arnaud de Grandmaison
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of guyadini
Sent: Thursday, January 27, 2011 12:38 PM
To: llvmdev at
2010 Dec 05
1
[LLVMdev] Weak private linkage for Objective C
Hi all,
I've been subscribed to this list on-and-off and always found it very
helpful.
I'm facing the problem of compiling a project in Objective C with LLVM in a
Darwin environment. There is a certain Objective C protocol that appears in
two .m files, and so the corresponding l_OBJC_PROTOCOL and
l_OBJC_LABEL_PROTOCOL symbols appear in both .o files.
The problem is that while these
2009 Jul 14
0
[LLVMdev] Unexpected failures in the DejaGNU test collection
On 14/07/2009, at 12.35, Harel Cain wrote:
> When using "make check" with the DejaGNU test collection, I encounter
> two unexpected failures (they seem to be closely related).
> My question: are they well known, and if so what's the problem and how
> can I fix it?
> FAIL: /var/data/common/trunk/llvm/test/FrontendC/2008-05-19-
> AlwaysInline.c
> FAIL:
2016 Nov 29
3
FAX CNG detected but no fax extension
Hello,
I have a question regarding incoming fax to local file (on the Asterisk server).
While the fax is received properly (I have the tiff file generated as expected) I get the warning 'FAX CNG detected but no fax extension' on the consol.
If the fax is received ok then what 'fax extension' does it expect and what should I do there?
My Setup:
Sender -> Public PSTN ->