Displaying 9 results from an estimated 9 matches for "verifyinput".
2015 Dec 20
3
How to run InternalizePass
...you turn it on? I
tried setting PrepareForLTO but that doesn't seem to do anything. Here's
what I have so far:
legacy::FunctionPassManager FPM(&M);
legacy::PassManager MPM;
PassManagerBuilder Builder;
Builder.OptLevel = 3;
Builder.PrepareForLTO = true;
Builder.VerifyInput = true;
Builder.VerifyOutput = true;
Builder.populateFunctionPassManager(FPM);
Builder.populateModulePassManager(MPM);
FPM.doInitialization();
for (Function &F : M)
FPM.run(F);
FPM.doFinalization();
MPM.run(M);
-------------- next part --------------
An HTML a...
2015 Sep 16
3
RFC: LTO should use -disable-llvm-verifier
...eGenerator::applyScopeRestrictions(). However, gold does not use
LTOCodeGenerator, and I don't see it explicitly adding an initial
createVerifierPass. So it looks like for gold it is only being called
twice (beginning of optimization pipeline and at the end). So I think
for gold I need to leave VerifyInput on the pass manager builder set
to true unconditionally in order to get an initial round of input
verification. Does that sound right?
Teresa
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/m...
2015 Sep 16
5
RFC: LTO should use -disable-llvm-verifier
.... However, gold does not use
>> LTOCodeGenerator, and I don't see it explicitly adding an initial
>> createVerifierPass. So it looks like for gold it is only being called
>> twice (beginning of optimization pipeline and at the end). So I think
>> for gold I need to leave VerifyInput on the pass manager builder set
>> to true unconditionally in order to get an initial round of input
>> verification. Does that sound right?
>>
>> Teresa
>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>...
2015 Jun 04
5
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
On Thu, Jun 4, 2015 at 3:58 PM, Duncan P. N. Exon Smith <
dexonsmith at apple.com> wrote:
>
> > Personally, I think the right approach is to add a bool to
> createGlobalDCEPass defaulting to true named something like
> IsAfterInlining. In most standard pass pipelines, GlobalDCE runs after
> inlining for obvious reasons, so the default makes sense. The special case
> is
2015 Jun 08
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
...m/Transforms/IPO/PassManagerBuilder.h
===================================================================
--- include/llvm/Transforms/IPO/PassManagerBuilder.h (revision 237590)
+++ include/llvm/Transforms/IPO/PassManagerBuilder.h (working copy)
@@ -121,6 +121,7 @@ class PassManagerBuilder {
bool VerifyInput;
bool VerifyOutput;
bool MergeFunctions;
+ bool LTO;
private:
/// ExtensionList - This is list of all of the extensions that are registered.
Index: lib/Transforms/IPO/CMakeLists.txt
===================================================================
--- lib/Transforms/IPO/CMakeLists.tx...
2015 Jun 08
4
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
...had some comments on the LLVM patch. Duncan, do
> you want to say more there?
>
> --- include/llvm/Transforms/IPO/PassManagerBuilder.h (revision 237590)
> +++ include/llvm/Transforms/IPO/PassManagerBuilder.h (working copy)
> @@ -121,6 +121,7 @@ class PassManagerBuilder {
> bool VerifyInput;
> bool VerifyOutput;
> bool MergeFunctions;
> + bool LTO;
>
> While in the context of clang it makes sense that "LTO" means "generate an
> object file appropriate for later LTO", but in the context of LLVM, it might
> be taken to mean "we are do...
2015 Jun 05
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
On Thu, Jun 4, 2015 at 5:33 PM, Reid Kleckner <rnk at google.com> wrote:
> On Thu, Jun 4, 2015 at 5:17 PM, Teresa Johnson <tejohnson at google.com> wrote:
>>
>> Agreed. Although I assume you mean invoke the new pass under a
>> ThinLTO-only option so that avail extern are not dropped in the
>> compile pass before the LTO link?
>
>
> No, this pass
2018 Sep 12
2
How to make LLVM go faster?
...>SLPVectorize = !is_debug;
PMBuilder->LoopVectorize = !is_debug;
PMBuilder->RerollLoops = !is_debug;
// Leaving NewGVN as default (off) because when on it caused 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->getTargetT...
2015 Sep 03
4
RFC: LTO should use -disable-llvm-verifier
On Thu, Sep 03, 2015 at 01:10:42AM +0000, Eric Christopher wrote:
> On Tue, Sep 1, 2015 at 10:43 AM Duncan P. N. Exon Smith <
> dexonsmith at apple.com> wrote:
>
> >
> > > On 2015-Aug-31, at 18:09, Eric Christopher <echristo at gmail.com> wrote:
> > >
> > >
> > >
> > > On Mon, Aug 31, 2015 at 5:50 PM Duncan P. N. Exon Smith