search for: getmodulesummaryindex

Displaying 6 results from an estimated 6 matches for "getmodulesummaryindex".

2016 Oct 28
2
RFC: APIs for bitcode files containing multiple modules
...s used for? This would be the equivalent to the existing llvm::hasGlobalValueSummary() function, which currently controls whether we compile a module with regular LTO or with ThinLTO. Would there be a "readGlobalValueSummary()" > similar to function summaries? > There would be a getModuleSummaryIndex() which again would be similar to llvm::getModuleSummaryIndex(). Note that the module summary already covers all global values, not just functions. >> std::unique_ptr<Module> M1 = R.getLazyModule(Ctx); // lazily load the > >> first module > >> R.next(); > >>...
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
...valent to the existing llvm::hasGlobalValueSummary() > function, which currently controls whether we compile a module with regular > LTO or with ThinLTO. > >> Would there be a "readGlobalValueSummary()" >> similar to function summaries? > > > There would be a getModuleSummaryIndex() which again would be similar to > llvm::getModuleSummaryIndex(). Note that the module summary already covers > all global values, not just functions. > >> >> std::unique_ptr<Module> M1 = R.getLazyModule(Ctx); // lazily load the >> >> first module >> &g...
2016 Oct 28
2
RFC: APIs for bitcode files containing multiple modules
...balValueSummary() >> function, which currently controls whether we compile a module with regular >> LTO or with ThinLTO. >> >>> Would there be a "readGlobalValueSummary()" >>> similar to function summaries? >> >> >> There would be a getModuleSummaryIndex() which again would be similar to >> llvm::getModuleSummaryIndex(). Note that the module summary already covers >> all global values, not just functions. >> >>>>> std::unique_ptr<Module> M1 = R.getLazyModule(Ctx); // lazily load the >>>>> first...
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
...unction, which currently controls whether we compile a module with regular >>> LTO or with ThinLTO. >>> >>>> Would there be a "readGlobalValueSummary()" >>>> similar to function summaries? >>> >>> >>> There would be a getModuleSummaryIndex() which again would be similar to >>> llvm::getModuleSummaryIndex(). Note that the module summary already covers >>> all global values, not just functions. >>> >>>>>> std::unique_ptr<Module> M1 = R.getLazyModule(Ctx); // lazily load the >>&g...
2016 Oct 28
0
RFC: APIs for bitcode files containing multiple modules
On Wed, Oct 26, 2016 at 2:04 PM, Peter Collingbourne via llvm-dev <llvm-dev at lists.llvm.org> wrote: > On Tue, Oct 25, 2016 at 8:36 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: >> >> >> On Oct 25, 2016, at 6:28 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: >> >> Hi all, >> >> As mentioned in my recent RFC entitled
2016 Oct 26
2
RFC: APIs for bitcode files containing multiple modules
On Tue, Oct 25, 2016 at 8:36 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > On Oct 25, 2016, at 6:28 PM, Peter Collingbourne <peter at pcc.me.uk> wrote: > > Hi all, > > As mentioned in my recent RFC entitled "RFC: a more detailed design for > ThinLTO + vcall CFI" I would like to introduce the ability for bitcode > files to contain multiple