search for: inlinining

Displaying 20 results from an estimated 41 matches for "inlinining".

Did you mean: inlining
2018 Mar 23
2
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...inlining a number of Modules (selectively, but that seems unrelated), works the first time, but crashes the second with the "mapping to a source type" assertion. I'm not 100% sure yet, but my understanding of what happens is the following: 1) "main1" module gets created 2) inlinining loads module "a", clones it, links module "a'" into "main1". This module contains an opaque struct definition "t" that is now referenced by "main1'". 3) inlinining loads module "b", clones it, links module "b'"...
2018 Mar 26
0
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...tively, but that seems unrelated), works the first time, but > crashes the second with the "mapping to a source type" assertion. > > I'm not 100% sure yet, but my understanding of what happens is the > following: > > 1) "main1" module gets created > 2) inlinining loads module "a", clones it, links module "a'" into > "main1". This module contains an opaque struct definition "t" that is now > referenced by "main1'". > 3) inlinining loads module "b", clones it, links module "...
2018 Mar 27
2
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...works the first time, but > > crashes the second with the "mapping to a source type" assertion. > > > > I'm not 100% sure yet, but my understanding of what happens is the > > following: > > > > 1) "main1" module gets created > > 2) inlinining loads module "a", clones it, links module "a'" into > > "main1". This module contains an opaque struct definition "t" that is now > > referenced by "main1'". > > 3) inlinining loads module "b", clones it, link...
2017 Apr 10
3
Relationship between clang, opt and llc
Hi folks, I am wondering about the relationship clang, opt and llc. I understand that this has been asked, e.g., http://stackoverflow.com/questions/40350990/relationship-between-clang-opt-llc-and-llvm-linker. Sorry for posting a similar question again, but I still have something that hasn't been resolved yet. More specifically I am wondering about the following two approaches compiling
2015 Jul 31
1
[LLVMdev] RFC - Making SamplePGO a module pass
...inliner. What Dehao has found in his experience with GCC is that in order to help the inliner, SamplePGO needs to become a module pass. Mainly, it needs to be able to affect inlining decisions. If a branch into a call site has many samples, we want to tell the inliner about it so it increases the inlinining score for that call site. Additionally, SamplePGO may need to actually perform some inlining before the inliner runs. This is needed to better match the samples obtained from optimized binaries. For example, suppose the binary had 3 functions A(), B() and C() all calling function foo(). When th...
2017 Apr 11
2
Relationship between clang, opt and llc
> On Apr 10, 2017, at 5:21 PM, Craig Topper via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > clang -O0 does not disable all optimization passes modify the IR.; In fact it causes most functions to get tagged with noinline to prevent inlinining It also disable lifetime instrinsics emission and TBAA, etc. > > What you really need to do is > > clang -O3 -c emit-llvm -o source.bc -v > > Find the -cc1 command line from that output. Execute that command with --disable-llvm-passes. leave the -O3 and everything else. Tha...
2017 Apr 11
3
Relationship between clang, opt and llc
...i.amini at apple.com> wrote: > > On Apr 10, 2017, at 5:21 PM, Craig Topper via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > clang -O0 does not disable all optimization passes modify the IR.; In fact > it causes most functions to get tagged with noinline to prevent inlinining > > > It also disable lifetime instrinsics emission and TBAA, etc. > > > > What you really need to do is > > clang -O3 -c emit-llvm -o source.bc -v > > Find the -cc1 command line from that output. Execute that command with > --disable-llvm-passes. leave the -O3 a...
2018 Jan 05
0
Relationship between clang, opt and llc
...>> >> On Apr 10, 2017, at 5:21 PM, Craig Topper via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >> clang -O0 does not disable all optimization passes modify the IR.; In >> fact it causes most functions to get tagged with noinline to prevent >> inlinining >> >> >> It also disable lifetime instrinsics emission and TBAA, etc. >> >> >> >> What you really need to do is >> >> clang -O3 -c emit-llvm -o source.bc -v >> >> Find the -cc1 command line from that output. Execute that command with...
2018 Mar 27
0
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...but >>> crashes the second with the "mapping to a source type" assertion. >>> >>> I'm not 100% sure yet, but my understanding of what happens is the >>> following: >>> >>> 1) "main1" module gets created >>> 2) inlinining loads module "a", clones it, links module "a'" into >>> "main1". This module contains an opaque struct definition "t" that is now >>> referenced by "main1'". >>> 3) inlinining loads module "b", clones i...
2018 Jan 05
2
Relationship between clang, opt and llc
...Apr 10, 2017, at 5:21 PM, Craig Topper via llvm-dev < >>> llvm-dev at lists.llvm.org> wrote: >>> >>> clang -O0 does not disable all optimization passes modify the IR.; In >>> fact it causes most functions to get tagged with noinline to prevent >>> inlinining >>> >>> >>> It also disable lifetime instrinsics emission and TBAA, etc. >>> >>> >>> >>> What you really need to do is >>> >>> clang -O3 -c emit-llvm -o source.bc -v >>> >>> Find the -cc1 command line...
2018 Jan 06
4
Relationship between clang, opt and llc
...via llvm-dev < >>>>> llvm-dev at lists.llvm.org> wrote: >>>>> >>>>> clang -O0 does not disable all optimization passes modify the IR.; In >>>>> fact it causes most functions to get tagged with noinline to prevent >>>>> inlinining >>>>> >>>>> >>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>> >>>>> >>>>> >>>>> What you really need to do is >>>>> >>>>> clang -O3 -c emit-l...
2018 Jan 06
0
Relationship between clang, opt and llc
...21 PM, Craig Topper via llvm-dev < >>>> llvm-dev at lists.llvm.org> wrote: >>>> >>>> clang -O0 does not disable all optimization passes modify the IR.; In >>>> fact it causes most functions to get tagged with noinline to prevent >>>> inlinining >>>> >>>> >>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>> >>>> >>>> >>>> What you really need to do is >>>> >>>> clang -O3 -c emit-llvm -o source.bc -v >>>>...
2018 Jan 06
0
Relationship between clang, opt and llc
...t;>>>>> llvm-dev at lists.llvm.org> wrote: >>>>>> >>>>>> clang -O0 does not disable all optimization passes modify the IR.; In >>>>>> fact it causes most functions to get tagged with noinline to prevent >>>>>> inlinining >>>>>> >>>>>> >>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>> >>>>>> >>>>>> >>>>>> What you really need to do is >>>>>> >>...
2017 Jun 15
2
[RFC] Profile guided section layout
On Thu, Jun 15, 2017 at 2:33 PM, Xinliang David Li <xinliangli at gmail.com> wrote: > > > On Thu, Jun 15, 2017 at 2:30 PM, Sean Silva <chisophugis at gmail.com> wrote: > >> >> >> On Thu, Jun 15, 2017 at 11:09 AM, Xinliang David Li via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> >>> >>> On Thu, Jun
2018 Jan 06
3
Relationship between clang, opt and llc
...t;> llvm-dev at lists.llvm.org> wrote: >>>>>>> >>>>>>> clang -O0 does not disable all optimization passes modify the IR.; >>>>>>> In fact it causes most functions to get tagged with noinline to prevent >>>>>>> inlinining >>>>>>> >>>>>>> >>>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>>> >>>>>>> >>>>>>> >>>>>>> What you really need to do is >&...
2018 Jan 06
1
Relationship between clang, opt and llc
...t;> llvm-dev at lists.llvm.org> wrote: >>>>>>> >>>>>>> clang -O0 does not disable all optimization passes modify the IR.; >>>>>>> In fact it causes most functions to get tagged with noinline to prevent >>>>>>> inlinining >>>>>>> >>>>>>> >>>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>>> >>>>>>> >>>>>>> >>>>>>> What you really need to do is >&...
2018 Jan 07
2
Relationship between clang, opt and llc
...t;> llvm-dev at lists.llvm.org> wrote: >>>>>>> >>>>>>> clang -O0 does not disable all optimization passes modify the IR.; >>>>>>> In fact it causes most functions to get tagged with noinline to prevent >>>>>>> inlinining >>>>>>> >>>>>>> >>>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>>> >>>>>>> >>>>>>> >>>>>>> What you really need to do is >&...
2018 Jan 06
0
Relationship between clang, opt and llc
...at lists.llvm.org> wrote: >>>>>>>> >>>>>>>> clang -O0 does not disable all optimization passes modify the IR.; >>>>>>>> In fact it causes most functions to get tagged with noinline to prevent >>>>>>>> inlinining >>>>>>>> >>>>>>>> >>>>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> What yo...
2018 Jan 07
2
Relationship between clang, opt and llc
...at lists.llvm.org> wrote: >>>>>>>> >>>>>>>> clang -O0 does not disable all optimization passes modify the IR.; >>>>>>>> In fact it causes most functions to get tagged with noinline to prevent >>>>>>>> inlinining >>>>>>>> >>>>>>>> >>>>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> What yo...
2018 Jan 08
0
Relationship between clang, opt and llc
...at lists.llvm.org> wrote: >>>>>>>> >>>>>>>> clang -O0 does not disable all optimization passes modify the IR.; >>>>>>>> In fact it causes most functions to get tagged with noinline to prevent >>>>>>>> inlinining >>>>>>>> >>>>>>>> >>>>>>>> It also disable lifetime instrinsics emission and TBAA, etc. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> What yo...