Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Passing command line arguments to optimization passes"
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
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 12
2
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
Hi all,
This is a problem that occurs for me only on Darwin (MacOS) and not on
Linux.
When llvm 2.8 (or 2.9) is compiled with ENABLE_OPTIMIZED=1, the "opt" tool
fails to load LLVM passes in dynamic libraries (.dylib) files, regardless of
how they themselves were built. When opt is built with ENABLE_OPTIMIZED=0,
all is well.
Here is some informative output. Seems to me the problem is
2020 Apr 20
2
How to optimize a large project in llvm pass?
Hi,
I have written MyPass.cpp and I use "EP_FullLinkTimeOptimizationLast".
I compile it and get libMypass.so.
MyPass.so rely on some other code, such as,Init.c and Helper.c.
So, I use following commands to get a static library libmypass-rt.a.
"
$ clang -fsanitize=safe-stack -c -emit-llvm -fpic -Wall -Wextra -O2 -I
../include -o obj/helpers.o helpers.c
$ clang -fsanitize=safe-stack
2010 Dec 12
0
[LLVMdev] Optimized "opt" on Darwin fails to load dynamic libraries with passes
I see now that this clearly to the problem raised elswhere, for example:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-December/036764.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-November/036289.html
So clearly a repeating issue on the MacOS platform.
Harel
On Sun, Dec 12, 2010 at 5:10 PM, Harel Cain <harel.cain at gmail.com> wrote:
> Hi all,
>
> This is a problem
2006 Jul 08
1
survfit, unused argument(s) (error ...)
Hi
It seems that survfit() doesn't accept the argumnet 'error' as below
>survfit(fit, error='greenwood')
Error in survfit.coxph(fit, error = "greenwood") :
unused argument(s) (error ...)
Isn't is allowed to do that for a coxph object?
Regards Soren
Windows XP, SP2
R 2.3.0
2016 Nov 24
2
Running "different tests" on cmake based test-suite build
On 11/24/16 3:12 AM, Arnaud De Grandmaison via llvm-dev wrote:
>
> Hi Sandeep,
>
> The CMake version of the test-suite has been improved (see
> https://reviews.llvm.org/D21360) so that it’s easy to plug additional
> test suites. A starting point would be to look at how the
> TEST_SUITE_SUBDIRS variable in the top level CMakeLists.txt is used.
>
I think this bug report
2011 Jan 27
1
Callback when available
Hi All,
I would like to implement a call-back option when called user is busy.
Consider this scenario:
1. A caller is calling a number which is busy on another call.
2. The system will prompt the caller ("press 3 to be called back" etc.) to be called back when called user is available.
3. Caller hangs up.
>>problem: how to monitor called user status after calling user has
2015 May 02
5
[LLVMdev] Modifying LoopUnrollingPass
Hi Zhoulai,
I am trying to modify "LoopUnrollPass" in llvm which produces multiple
copies of loop equal to the loop unroll factor.Currently, using multicore
architecture, say 3 for example and the execution goes like:
for 3 cores if there are 9 iterations of loop
core instruction
1 0,3,6
2 1,4,7
3 2,5,8
But I want to to
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:
2012 Apr 03
1
[LLVMdev] Possible typo in LoopUnrollPass.cpp
hi,
In "LoopUnrollPass.cpp", when trying to reduce unroll count to meet
the unroll threshold requirement in line 200 and line 206, variable
"CurrentThreshold" is used in the computation, instead of the variable
"Threshold", which is defined by:
// Determine the current unrolling threshold. While this is normally set
// from UnrollThreshold, it is overridden to
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 =>
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
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
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
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 ->
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
2012 Feb 20
2
[LLVMdev] Invalid relocation types for Thumb in LLVM version 2.9
Hi all,
I'm trying to figure out a problem with relocation types 1 and 8 (as
observed using otool -r on ARM/Thumb object files). Earlier, when I used
LLVM 2.8 with llc to generate thumb (-march=thumb -mattr=+thumb2) assembly
listings, then assemble those using the gcc of iPhone 4.2 SDK, there wasn't
any problem.
However starting with LLVM 2.9, the same toolchain emits slightly different