Displaying 4 results from an estimated 4 matches for "applyscoperestrictions".
2015 Sep 16
3
RFC: LTO should use -disable-llvm-verifier
...t always defaults to false. Is that intentional?
- You mentioned that the verifier was currently being run 3 times: (1)
after parsing, (2) at the beginning of the optimization pipeline, and
(3) at the end of it. It looks to me like (1) is done via the
createVerifierPass() added in
LTOCodeGenerator::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 bu...
2015 Sep 16
5
RFC: LTO should use -disable-llvm-verifier
...t;
>> - You mentioned that the verifier was currently being run 3 times: (1)
>> after parsing, (2) at the beginning of the optimization pipeline, and
>> (3) at the end of it. It looks to me like (1) is done via the
>> createVerifierPass() added in
>> LTOCodeGenerator::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 leav...
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
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...std::string &errMsg) {
- if (this->determineTarget(errMsg))
- return true;
+void LTOCodeGenerator::performIPO(std::string &errMsg, bool PerformPartition) {
Module* mergedModule = _linker.getModule();
// Mark which symbols can not be internalized
- this->applyScopeRestrictions();
+ applyScopeRestrictions();
// Instantiate the pass manager to organize the passes.
PassManager passes;
@@ -390,13 +544,30 @@
// Make sure everything is still good.
passes.add(createVerifierPass());
+ ModPartSchemeMgr MPSM;
+ if (PerformPartition)
+ passes.add(new ModPartAn...