Displaying 20 results from an estimated 5000 matches similar to: "[LLVMdev] noinline"
2017 Oct 26
2
LLVM v6.0 Internalize and GlobalDCE PASS can not work together?
Hi Hal,
Thanks for your hint!
$ /opt/llvm-svn/bin/opt -S -internalize
-internalize-public-api-list=main -globaldce hello3.ll -o
hello3.dce.ll it works :)
But I argue that `main` Function should be inserted into ExternalNames
by default:
Index: lib/Transforms/IPO/Internalize.cpp
===================================================================
--- lib/Transforms/IPO/Internalize.cpp
2009 Jan 25
0
[LLVMdev] -O4 limitations in llvm/llvm-gcc-4.2 2.5?
Jack Howarth wrote:
> I've had better luck compiling all of pymol 1.1r2 with
> -O4 on darwin9. Everythink links and there appears to be
> no regressions in the resulting code. I take it that LTO
> in llvm 2.5 is still limited to dead code elimination,
> correct?
No.
libLTO does the equivalent to opt -internalize -ipsccp -globalopt
-constmerge -deadargelim -instcombine
2011 Dec 30
1
[LLVMdev] Safe Passes
Which transformation passes are 'safe', meaning it does not worsens the
effectiveness of a later pass or the generated code? I imagine all
passes which either removes data or add attributes are included in this
list, plus some simplification passes:
-adce
-argpromotion
-constmerge
-constprop
-deadargelim
-dse
-functionattrs
-globaldce
-globalopt
-gvn
-instcombine
-internalize
2017 Oct 25
3
LLVM v6.0 Internalize and GlobalDCE PASS can not work together?
Hi LLVM developers,
$ cat hello.c
#include <stdio.h>
void foo() {
}
int main(int argc, char *argv[]) {
for (int i = 0; i < 10; i++) {
printf("%d\n", i);
}
return 0;
}
$ /opt/llvm-svn/bin/clang --version
Fedora clang version 6.0.0 (trunk 316308) (based on LLVM 6.0.0svn)
Target: x86_64-redhat-linux
Thread model: posix
InstalledDir: /opt/llvm-svn/bin
$
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
2007 Jun 04
1
[LLVMdev] support for __attribute__((noinline))
Hi,
I would like to know if there is any plan in the next future to support
The GCC noinline attribute?
Since LLVM does quiet a lot of inlining, these feature is interesting
for us
to do some function profiling.
Thanks,
Lionel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2015 Aug 04
4
Working Documentation Toolchain [GSoC]
Hi,
The basic toolchain is up and running. I encourage community to test
this workflow once. It is an addition to the existing contributing
mediums.
Site: http://clown-olga-13325.bitballoon.com/
Contributing Docs repo : https://github.com/kunaaljain/test-centos-docs
==AIM==
Initial Idea : http://wiki.centos.org/GSoC/2015/Ideas#docs-toolchain
The CentOS Project needs more short-form
2014 Nov 10
2
[LLVMdev] External names for LTO in gold plugin
Hi,
In my work applying -flto to Chrome, I need to set some names to be skipped
by the InternalizePass; otherwise, the linking stage fails (i.e., when
building the chrome binary). In the past, I had a tiny patch that I hadn't
submitted to LLVM: it was something like:
Index: Internalize.cpp
===================================================================
--- Internalize.cpp (revision
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.
2015 Jan 15
2
SAMBA 4 Member Server - Help please
Hi all,
After being pointed towards the sssd service, I setup and configured it and it appears to be running just fine. I can lookup my users and groups properly now once I add their information in the UNIX tab section in AD.
Thank you all to help me get where I am now. I can now continue to work and set this up. I am sure I will have more questions moving forward, but this mailing list has
2008 Aug 23
0
[LLVMdev] Proposal : Function Notes
On Fri, Aug 22, 2008 at 6:40 PM, Devang Patel <dpatel at apple.com> wrote:
> Here is a proposal that I mentioned sometime ago. Any thoughts,comments or
> suggestions on this proposal would be appreciated.
> The proposed solution to this problem to encode Function Notes in the IR.
> define void @f() notes("opt-size,pic,noinline") { ... }
> Here, the notes include a
2015 Jan 15
1
SAMBA 4 Member Server - Help please
No, I was adding their info to ADUC before as well before I sent this email to the list.
David
Rowland Penny <rowlandpenny at googlemail.com> , 1/15/2015 1:46 PM:
On 15/01/15 18:33, David Thompson wrote:
> Hi all,
>
>
> After being pointed towards the sssd service, I setup and configured it and it appears to be running just fine. I can lookup my users and groups properly
2009 Jul 21
0
[LLVMdev] Total size of global data
On Tue, Jul 21, 2009 at 1:02 PM, Scott Ricketts<sricketts at maxentric.com> wrote:
> I wrote a pass that attempts to add up the total size of the global
> data in a module. Currently, it iterates through all of the global
> values and checks their type sizes using TargetData. I have realized
> that this is not quite right because global values can point to the
> same data in
2009 Jan 25
2
[LLVMdev] -O4 limitations in llvm/llvm-gcc-4.2 2.5?
I've had better luck compiling all of pymol 1.1r2 with
-O4 on darwin9. Everythink links and there appears to be
no regressions in the resulting code. I take it that LTO
in llvm 2.5 is still limited to dead code elimination,
correct? Will LTO ever be extended to inlining across
files as well as constant-folding and global data
allocation optimizations? Or does the reliance on gcc-4.2
as the
2015 Jan 14
3
SAMBA 4 Member Server - Help please
Hi all,
I'm quite stuck here at the moment. I have tried this multiple times to get built and can't seem to get it working properly. I have a test virtual server running as a domain controller with Samba 4.1.15 using (9.10.1) bind_dlz as the back end and all works properly. I have the server setup as domain controller and have added a user and I can look that user up with the samba-tool
2008 Aug 22
10
[LLVMdev] Proposal : Function Notes
Here is a proposal that I mentioned sometime ago. Any
thoughts,comments or
suggestions on this proposal would be appreciated.
-
Devang
//
=
=
=----------------------------------------------------------------------
===//
// Function Notes (or Traits)
//
=
=
=----------------------------------------------------------------------
===//
This document describes the
2007 May 18
0
[LLVMdev] API changes (was Antw.: 2.0 Pre-release tarballs online)
On Sat, 19 May 2007, Anton Korobeynikov wrote:
>> * It seems that a C-call like printf("---\n") is transformed to puts
>> ("---") in the LLVM IR instead of keeping it a printf. What are the
>> circumstances in which this happens? Do other similar conversions
>> occur? Can this be turned off (lower optimisation level?)? Manually
>> replacing the
2011 Feb 27
0
[LLVMdev] LLVM IR Type System Rewrite
On 11-02-26 4:25 PM, Chris Lattner wrote:
> Several people have been proding me to write up my thoughts on how to fix the IR type system for LLVM 3.0. Here are some (fairly stream of conscious) thoughts on the matter:
> http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt
Thanks!
> Comments welcome!
Having fewer types makes the job of the passes easier. Right now we
maintain a
2018 Mar 14
2
Debugify and Verify-each mode
Hi Vedant, hi all,
My goal is to measure debug info loss of *each* optimization pass in LLVM.
I am trying to create a debugify-each mode in opt, inspired by
verify-each mode which is supposed to already work.
However, if I understand correctly, the verify-each mode (triggered by
-verify-each option in opt) only works when we provide a pass list or a
pass pipeline. Is this intended? I mean, why