Displaying 4 results from an estimated 4 matches for "prepareforthinlto".
2018 Mar 30
2
Proper way to do thinlto (from code)
I'm using llvm-c (but if needed can call c++ stuff too if nedeed);
what's the proper way to emit bitcode with thinlto info so the linker
can parallelize ?I'm currently using:
unwrap(PMB)->PrepareForThinLTO = b;
on the pass manager builder, but that doesn't seem to be enough?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180330/6a95f377/attachment.html>
2018 Mar 30
0
Proper way to do thinlto (from code)
...0:50 Carlo Kok via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> I'm using llvm-c (but if needed can call c++ stuff too if nedeed); what's
> the proper way to emit bitcode with thinlto info so the linker can
> parallelize ?
> I'm currently using:
> unwrap(PMB)->PrepareForThinLTO = b;
>
> on the pass manager builder, but that doesn't seem to be enough?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part -----...
2018 Mar 30
1
Proper way to do thinlto (from code)
...-
> dev at lists.llvm.org> wrote:>> __
>> I'm using llvm-c (but if needed can call c++ stuff too if nedeed);
>> what's the proper way to emit bitcode with thinlto info so the linker
>> can parallelize ?>> I'm currently using:
>> unwrap(PMB)->PrepareForThinLTO = b;
>>
>> on the pass manager builder, but that doesn't seem to be enough?
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
--------...
2018 Sep 12
2
How to make LLVM go faster?
...issue #673
//PMBuilder->NewGVN = !is_debug;
PMBuilder->DisableGVNLoadPRE = is_debug;
PMBuilder->VerifyInput = assertions_on;
PMBuilder->VerifyOutput = assertions_on;
PMBuilder->MergeFunctions = !is_debug;
PMBuilder->PrepareForLTO = false;
PMBuilder->PrepareForThinLTO = false;
PMBuilder->PerformThinLTO = false;
TargetLibraryInfoImpl tlii(Triple(module->getTargetTriple()));
PMBuilder->LibraryInfo = &tlii;
if (is_debug) {
PMBuilder->Inliner = createAlwaysInlinerLegacyPass(false);
} else {
target_machine->adj...