Displaying 12 results from an estimated 12 matches for "inlinerpass".
2018 Jul 03
2
Why Clang is yielding different LLVM IR return type for the same function
Hi:
So I have a library function called fooo() in a source file B.c and an external A.c file that is referencing a function fooo() in it.
foo is returning a pointer to a structure
A.ll:
%struct._bar= type { %struct._foo, i32, i32 (%struct.doo*, %struct.doo*, %struct.doo*)* }
declare i8* @fooo() #2
B.ll:
%struct._bar= type { %struct._foo, i32, i32 (%struct.doo*, %struct.doo*, %struct.doo*)* }
2016 Mar 21
2
[Inliner] Loop info in the inliner
.../IPO/Inliner.cpp b/llvm/lib/Transforms/IPO/Inliner.cppindex 568707d..cb51ea8 100644--- a/llvm/lib/Transforms/IPO/Inliner.cpp+++ b/llvm/lib/Transforms/IPO/Inliner.cpp@@ -14,6 +14,7 @@ //===----------------------------------------------------------------------===//
#include "llvm/Transforms/IPO/InlinerPass.h"+#include "llvm/Analysis/LoopInfo.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/Statistic.h" #include "llvm/Analysis/AliasAnalysis.h"@@ -58,6 +59,7 @@ Inliner::Inliner(char &ID, bool InsertLifetime) void Inliner::getAnalysisUsage(Analysis...
2016 Mar 22
0
[Inliner] Loop info in the inliner
...PO/Inliner.cpp
> index 568707d..cb51ea8 100644
> --- a/llvm/lib/Transforms/IPO/Inliner.cpp
> +++ b/llvm/lib/Transforms/IPO/Inliner.cpp
> @@ -14,6 +14,7 @@
> //===----------------------------------------------------------------------===//
>
> #include "llvm/Transforms/IPO/InlinerPass.h"
> +#include "llvm/Analysis/LoopInfo.h"
> #include "llvm/ADT/SmallPtrSet.h"
> #include "llvm/ADT/Statistic.h"
> #include "llvm/Analysis/AliasAnalysis.h"
> @@ -58,6 +59,7 @@ Inliner::Inliner(char &ID, bool InsertLifetime)
> voi...
2016 Jun 16
2
Intended behavior of CGSCC pass manager.
...quadratic on a graph like
> http://reviews.llvm.org/F2073607)
>
> -- Sean Silva
>
>
>>
>> thanks,
>>
>> David
>>
>>
>>
>>
>>> Sean:~/pg/llvm % git grep 'public CallGraphSCCPass'
>>> include/llvm/Transforms/IPO/InlinerPass.h:struct Inliner : public
>>> CallGraphSCCPass {
>>> lib/Transforms/IPO/ArgumentPromotion.cpp: struct ArgPromotion : public
>>> CallGraphSCCPass {
>>> lib/Transforms/IPO/FunctionAttrs.cpp:struct
>>> PostOrderFunctionAttrsLegacyPass : public CallGraphSCC...
2012 Jun 17
1
[LLVMdev] Adding code after compilation
Hi,
I want to be able add a function to a module after it is (partly) compiled in JIT. Let's say we have these functions:
Foo()
{
Stuff;
}
Bar()
{
Foo();
MoreStuff;
}
I want to have a module with Foo optimized and have a callable pointer to Foo. Later, I want to generate Bar, optimize it (so Foo is inlined) and than get a callable pointer to Bar.
Is this possible?
If so, is there a way to
2016 Jun 09
2
Intended behavior of CGSCC pass manager.
...uggest. The inliner doesn't seem to do
anything special with the knowledge that it is visiting an SCC (besides
moving call sites that call within the SCC to the end of its worklist) and
so this may be fine.
Sean:~/pg/llvm % git grep 'public CallGraphSCCPass'
include/llvm/Transforms/IPO/InlinerPass.h:struct Inliner : public
CallGraphSCCPass {
lib/Transforms/IPO/ArgumentPromotion.cpp: struct ArgPromotion : public
CallGraphSCCPass {
lib/Transforms/IPO/FunctionAttrs.cpp:struct
PostOrderFunctionAttrsLegacyPass : public CallGraphSCCPass {
lib/Transforms/IPO/PruneEH.cpp: struct PruneEH : public C...
2016 Jun 16
5
Intended behavior of CGSCC pass manager.
...n SCC {S,T,X,Y}?
(Without a cap both 4.b and 4.c could become quadratic on a graph like
http://reviews.llvm.org/F2073607)
-- Sean Silva
>
> thanks,
>
> David
>
>
>
>
>> Sean:~/pg/llvm % git grep 'public CallGraphSCCPass'
>> include/llvm/Transforms/IPO/InlinerPass.h:struct Inliner : public
>> CallGraphSCCPass {
>> lib/Transforms/IPO/ArgumentPromotion.cpp: struct ArgPromotion : public
>> CallGraphSCCPass {
>> lib/Transforms/IPO/FunctionAttrs.cpp:struct
>> PostOrderFunctionAttrsLegacyPass : public CallGraphSCCPass {
>> lib/...
2019 Aug 07
2
Status of the New Pass Manager
On 8/7/19 6:20 PM, Hiroshi Yamauchi wrote:
> I basically run "clang
> -fexperimental-new-pass-manager -print-after-all ..."
>
> It's conceivable that something is different in our setup or in clang
> (from opt)... I'll see if I can reproduce it outside our setup.
Does it depend on machine architecture?
I generally use x86...
regards,
Fedor.
>
> Thanks.
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...lude/llvm/Target/TargetSelectionDAGInfo.h
-- Installing: /usr/local/llvm-2.8/include/llvm/Target/TargetSubtarget.h
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/IPO
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/IPO/InlinerPass.h
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/IPO.h
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Instrumentation.h
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/RSProfiling.h
-- Installing: /usr/local/llvm-2.8/include/llvm/Transforms/Scalar.h
-- Installing:...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams
<space.ship.traveller at gmail.com> wrote:
> Hi,
>
> I might just be doing something stupid, but when I do
>
> $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release ..
> $ sudo make install
>
> I don't get the expected headers in
> /usr/local/llvm-2.8/include/llvm
>
> It is
2016 Jun 08
2
Intended behavior of CGSCC pass manager.
On Wed, Jun 8, 2016 at 12:31 PM, Xinliang David Li <davidxl at google.com>
wrote:
>
>
> On Wed, Jun 8, 2016 at 4:19 AM, Sean Silva <chisophugis at gmail.com> wrote:
>
>> Hi Chandler, Philip, Mehdi, (and llvm-dev,)
>>
>> (this is partially a summary of some discussions that happened at the
>> last LLVM bay area social, and partially a discussion
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi,
I might just be doing something stupid, but when I do
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release ..
$ sudo make install
I don't get the expected headers in
/usr/local/llvm-2.8/include/llvm
It is simply an empty directory.
What am I doing wrong? This is on Mac OS X, CMake 2.8+
Kind regards,
Samuel