search for: vectorizebb

Displaying 7 results from an estimated 7 matches for "vectorizebb".

Did you mean: vectorize
2012 Apr 04
2
[LLVMdev] Fwd: [Review Request][PATCH] Add the function "vectorizeBasicBlock"
...InsertionPt,                      Instruction *I, Instruction *J); -    virtual bool runOnBasicBlock(BasicBlock &BB) { -      AA = &getAnalysis<AliasAnalysis>(); -      SE = &getAnalysis<ScalarEvolution>(); -      TD = getAnalysisIfAvailable<TargetData>(); - +    bool vectorizeBB(BasicBlock &BB) {       bool changed = false;       // Iterate a sufficient number of times to merge types of size 1 bit,       // then 2 bits, then 4, etc. up to half of the target vector width of the @@ -303,6 +305,14 @@ namespace {       DEBUG(dbgs() << "BBV: done!\n");      ...
2012 Apr 04
0
[LLVMdev] [Review Request][PATCH] Add the function "vectorizeBasicBlock"
...nstruction *I, Instruction *J); > > -    virtual bool runOnBasicBlock(BasicBlock &BB) { > -      AA = &getAnalysis<AliasAnalysis>(); > -      SE = &getAnalysis<ScalarEvolution>(); > -      TD = getAnalysisIfAvailable<TargetData>(); > - > +    bool vectorizeBB(BasicBlock &BB) { >       bool changed = false; >       // Iterate a sufficient number of times to merge types of size > 1 bit, // then 2 bits, then 4, etc. up to half of the target vector > width of the @@ -303,6 +305,14 @@ namespace { >       DEBUG(dbgs() << "BBV: do...
2013 Jul 28
0
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
...next part -------------- Index: include/clang/Frontend/CodeGenOptions.def =================================================================== --- include/clang/Frontend/CodeGenOptions.def (revision 187135) +++ include/clang/Frontend/CodeGenOptions.def (working copy) @@ -112,6 +112,7 @@ CODEGENOPT(VectorizeBB , 1, 0) ///< Run basic block vectorizer. CODEGENOPT(VectorizeLoop , 1, 0) ///< Run loop vectorizer. CODEGENOPT(VectorizeSLP , 1, 0) ///< Run SLP vectorizer. +CODEGENOPT(IsPreIPO , 1, 0) ///< Indicate in pre-IPO phase /// Attempt to use register sized acces...
2013 Jul 18
3
[LLVMdev] IR Passes and TargetTransformInfo: Straw Man
Andy and I briefly discussed this the other day, we have not yet got chance to list a detailed pass order for the pre- and post- IPO scalar optimizations. This is wish-list in our mind: pre-IPO: based on the ordering he propose, get rid of the inlining (or just inline tiny func), get rid of all loop xforms... post-IPO: get rid of inlining, or maybe we still need it, only
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
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)
...590) +++ lib/Frontend/CompilerInvocation.cpp (working copy) @@ -489,6 +489,8 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, Opts.MergeFunctions = Args.hasArg(OPT_fmerge_functions); + Opts.LTO = Args.hasArg(OPT_flto); + Opts.MSVolatile = Args.hasArg(OPT_fms_volatile); Opts.VectorizeBB = Args.hasArg(OPT_vectorize_slp_aggressive); Index: test/CodeGen/available-externally-suppress.c =================================================================== --- test/CodeGen/available-externally-suppress.c (revision 237590) +++ test/CodeGen/available-externally-suppress.c (working copy) @@...