search for: inlinin

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

Did you mean: inlining
2018 Mar 23
2
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
Hi, (sorry if the CC's are inappropriate, they seemed relevant based on a git log of IRMover.cpp) I'm using LLVM to implement Just-in-Time compilation for PostgreSQL. One part of that is doing inlining of operators. For that I'm using bitcode pre-generated using clang. The current code uses a single LLVMContext & Orc to generate the code. That largely workes well. But inlining presents a bit of a problem. (end of setup) I've tried two approaches to inlining: In the first I'm...
2018 Mar 26
0
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > > (sorry if the CC's are inappropriate, they seemed relevant based on a > git log of IRMover.cpp) > > I'm using LLVM to implement Just-in-Time compilation for PostgreSQL. One > part of that is doing inlining of operators. For that I'm using bitcode > pre-generated using clang. > > The current code uses a single LLVMContext & Orc to generate the > code. That largely workes well. But inlining presents a bit of a > problem. > > (end of setup) > > I've tried two...
2018 Mar 27
2
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...already.) grepping around I only found additions or lookups in the relevant datastructures. > > > Therefore the first approach seems preferable by far. > > > > What I'm observing is that creating the same Module contents (modulo > > some constants) twice and then inlining a number of Modules > > It's not exactly clear to me what you mean by "inlining a module". > Are you linking one module into another, and then inlining those > functions? Or just linking? Sorry for the imprecision. Yes, I'm using IRMover to link subsets of a module...
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
...ses that want to use profile data (block layout and regalloc). However, it does nothing to help module passes. Notably, the 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...
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....
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 -O...
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 w...
2018 Mar 27
0
IRMover asserts "mapping to a source type" when repeatedly linking - usage or LLVM bug?
...tly passed in and the ones used by modules the LLVMContext knows about. > >> >>> Therefore the first approach seems preferable by far. >>> >>> What I'm observing is that creating the same Module contents (modulo >>> some constants) twice and then inlining a number of Modules >> >> It's not exactly clear to me what you mean by "inlining a module". >> Are you linking one module into another, and then inlining those >> functions? Or just linking? > > Sorry for the imprecision. Yes, I'm using IRMover t...
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 l...
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 emi...
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
...directly from the profile? The profile should contain call >>>>> sites and their sample counts and you could match these up with relocations >>>>> (calls) in the section? >>>> >>>> >>> The main reason is that IPO transformations such as inlining and >>> clonining will change the hotness of functions, so the original profile can >>> not be directly for the purpose of function layout. There is a similar >>> support in Gold plugin for Google GCC. >>> >> >> Will this cause issues with ThinLTO?...
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 &g...
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 &g...
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 &g...
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...
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...
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...