Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Maximum inlining threshold"
2011 Oct 15
0
[LLVMdev] Maximum inlining threshold
Hi Dmitry,
> We want to apply the deepest possible inlining to the target code. Looks like
you could give every function the alwaysinline attribute.
Ciao, Duncan.
2011 Oct 21
4
[LLVMdev] inline functions
Hi all,
I have an LLVM bitcode file, with several functions in it.
I'm trying to inline these functions as much as possible, so that I can
obtain a big single function.
There is opt -inline, but it is not sufficient.
Any idea ?
--
Julien Henry
http://www-verimag.imag.fr/~jhenry/
2011 Oct 21
0
[LLVMdev] inline functions
Hi Julien,
> I have an LLVM bitcode file, with several functions in it.
> I'm trying to inline these functions as much as possible, so that I can
> obtain a big single function.
> There is opt -inline, but it is not sufficient.
mark your functions with the alwaysinline attribute.
Ciao, Duncan.
2010 Feb 02
2
[LLVMdev] function inlining
Hi!
I have a llvm::Module that references an external function
and a second mdoule that implements the function.
The implementation consists of only one instruction.
How can I explicitly inline this function?
-Jochen
2010 Feb 02
0
[LLVMdev] function inlining
On Tue, Feb 2, 2010 at 11:40 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de> wrote:
> Hi!
>
> I have a llvm::Module that references an external function
> and a second mdoule that implements the function.
> The implementation consists of only one instruction.
> How can I explicitly inline this function?
>
> -Jochen
>
>
2018 Sep 17
3
Obtaining the origin function for a local var after inlining
(I think I've asked a similar question off-list a couple of times, but
never got an answer)
Hi folks,
For [K]MSAN we need to figure out which inlined function a local var
originally belonged to in the source file.
E.g. when a local buffer %buf is declared in @bar(), but @bar() is
inlined into @foo(), then there's a local %buf.i in @foo(), but we
need to determine that the local came from
2012 May 28
1
[LLVMdev] VMKIT: Error while producing LLVMruntime.inc (using llvm-as and llc)
vmkit fails to build because llvm-as with llc -march=cpp generate wrong
code for
AttrListPtr AttrListPtr::get(ArrayRef< AttributeWithIndex >Attrs)
http://llvm.org/doxygen/classllvm_1_1AttrListPtr.html#a3a19622d131e9f0d981398f54cf6acfc
bellow you can see the faulty generated code
llvm-as ./vmkit/lib/vmkit/Compiler/LLVMRuntime.ll -o - | llc -march=cpp
-cppgen=contents -o - | grep
2012 Nov 20
0
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
On Nov 13, 2012, at 12:20 AM, Bill Wendling wrote:
> IR Changes
> ----------
>
> The attributes will be specified within the IR. This allows us to generate code
> that the user wants. This also has the advantage that it will no longer be
> necessary to specify all of the command line options when compiling the bit code
> (via 'llc' or 'clang'). E.g.,
2012 Nov 13
9
[LLVMdev] [RFC] Passing Options to Different Parts of the Compiler Using Attributes
Hi!
This is a proposal to expand the Attributes class to support many different options that will be accessible by all parts of the compiler. Please read and give any feedback you may have.
Thanks!
-bw
Passing Options to Different Parts of the Compiler
Problem
=======
There is a growing need to pass information from the front-end to different parts
of the compiler, especially
2003 Feb 28
2
Thanks Samba Community!!!
You folks are the greatest.
Rolled out my first Samba "member server" today.
Read the stuff from SWAT, and it worked the first time on RH7.3, after it
failed on RH8
You folks are the best, we're struggling to stay afloat and M$ squeezes us
for more.
(RH is pushing me to Debian by the day!!!)
There will be a lot more Samba in the farm soon.
My deepest grattitude.
Respectully,
2012 Jun 22
1
[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
Yest. thanks. I just resolved this error by installing MPFR, MPC and GMP(by
the way, these are not listed
as prerequisites in the website.). But other errors come:
/home/xxx/llvm/tools/dragonegg/src/TypeConversion.cpp: In function
> ‘llvm::FunctionType* ConvertArgListToFnType(tree_node*,
> llvm::ArrayRef<tree_node*>, tree_node*, bool, llvm::CallingConv::ID&,
>
2012 Jun 22
0
[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
>> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/real.h:27:18:
>> fatal error: mpfr.h: No such file or directory
>
> I did some search but found few relevant results.
> Any idea what's going on?
Do you have MPFR installed?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2010 Jan 08
4
[LLVMdev] Inlining
On 01/08/2010 02:10 PM, John McCall wrote:
> 'llc' is an IR-to-assembly compiler; at -O3 it does some pretty neat
> machine-code and object-file optimizations, but it does not apply
> high-level optimizations like CSE or inlining. 'opt' is the tool
> which does IR-to-IR optimization.
A vital clue, but I'm still not getting it:
---
gemini:~/Projects/Nil/nil(0)$
2012 Jun 22
2
[LLVMdev] Compile error of latest Dragonegg on Ubuntu with GCC 4.5
Hi,
When I tried to compile Dragonegg using the SVN trunk code,
I encountered failure with error message:
In file included from
> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/rtl.h:28:0,
> from /home/xxx/llvm/dragonegg/src/Convert.cpp:63:
> /usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/plugin/include/real.h:27:18:
> fatal error: mpfr.h: No such
2011 Apr 26
1
[LLVMdev] inserting a fucntion call at the end of basic bloc
2011/4/26 Duncan Sands <baldrick at free.fr>
> Hi Nabila,
>
>
> where did the "noalias" attribute and "tail call" (rather than "call")
>> come
>> from? Are you setting these yourself or running some optimization pass
>> after
>> your pass?
>>
>>
>> i have written a module pass and i have compiled
2010 Jan 08
4
[LLVMdev] Inlining
OK, I wanted to understand function inlining in LLVM but had avoided
going to the effort of finding out if the inlining was really happening.
The advice I got to "use the assembly source, Luke" suggested I go
ahead and investigate inlining for a bit of practice, since (so I
figured) even a monkey with really weak x86-fu could tell whether a
function call was happening or not.
If this
2010 Jan 09
2
[LLVMdev] Inlining
On 01/08/2010 09:17 PM, Nick Lewycky wrote:
> Try using 'internal' linkage instead of 'linkonce'.
That did it, thanks.
---
gemini:~/Projects/LLVM/Tests/Inline(0)$ cat testInline.optdis.ll
; ModuleID = 'testInline.optbc'
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind readnone {
ret i32 42
}
gemini:~/Projects/LLVM/Tests/Inline(0)$
---
> If you're
2010 Jan 08
0
[LLVMdev] Inlining
On Jan 8, 2010, at 1:52 PM, Dustin Laurence wrote:
> gemini:~/Projects/Nil/nil(0)$ make testInline.s testInline
> llvm-as testInline.ll
> llc -O3 -f testInline.bc
'llc' is an IR-to-assembly compiler; at -O3 it does some pretty neat machine-code and object-file optimizations, but it does not apply high-level optimizations like CSE or inlining. 'opt' is the tool which
2013 Jan 31
3
[LLVMdev] Question about changes to llvm::Argument::addAttr(AttributeSet AS) API
Hi,
I recently upgraded to the latest LLVM build and encountered a problem where the API for Argument::addAttr has changed.
Previously it was Argument::addAttr(Attribute A) and I was able to work with this.
The latest build has changed the method addAttr so that it requires an AttributeSet argument (Argument::addAttr(AttributeSet AS).
I'm not sure how to adjust to this change. The
2018 Sep 19
2
Obtaining the origin function for a local var after inlining
On Tue, Sep 18, 2018 at 1:56 AM Adrian Prantl <aprantl at apple.com> wrote:
>
>
>
> > On Sep 17, 2018, at 6:59 AM, Alexander Potapenko via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> >
> > (I think I've asked a similar question off-list a couple of times, but
> > never got an answer)
> >
> > Hi folks,
> >
> > For [K]MSAN