search for: loopextractor

Displaying 13 results from an estimated 13 matches for "loopextractor".

2020 Jul 01
2
Inner Loop extraction in LLVM
Hello everyone, Quick question about loop extraction in llvm. I've been using the LoopExtractor pass in llvm/lib/Transforms/IPO/LoopExtractor.cpp to extract top level loops from programs. I'm wondering if extracting inner-most loops is any more complex than using the BlockExtractor pass in llvm/lib/Transforms/IPO/BlockExtractor.cpp and making sure that the basic blocks in the extracted r...
2020 Jul 01
2
Inner Loop extraction in LLVM
...analyses. If you want more details or think I haven't grasped the essence of your questions, feel free to say so :) ~ Johannes On 7/1/20 4:23 PM, iulian brumar via llvm-dev wrote: Hello everyone,Quick question about loop extraction in llvm. I've been using the LoopExtractor pass in llvm/lib/Transforms/IPO/LoopExtractor.cpp to extract top level loops from programs.I'm wondering if extracting inner-most loops is any more complex than using the BlockExtractor pass in llvm/lib/Transforms/IPO/BlockExtractor.cpp and making sure that the basic blocks in the extracted reg...
2007 Nov 04
2
[LLVMdev] Seeing double
Is there a reason that BlockExtractorPass is duplicated? See tools/ Bugpoint/ExtractFunction.cpp and lib/Transforms/IPO/LoopExtractor.cpp. — Gordon
2004 Sep 02
0
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
...amed>::DSE::runOnBasicBlock(llvm::BasicBlock&)': /home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:72: warning: passing negative value `-0x000000001' for converting 2 of `bool llvm::AliasSetTracker::add(llvm::Value*, unsigned int)' Compiling LoopExtractor.cpp /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h: In function `llvm::Pass* llvm::callDefaultCtor() [with PassName = <unnamed>::LoopExtractor]': /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h:209: instantiated from `llvm::RegisterOpt<PassName&g...
2004 Sep 01
2
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
LLVM build without big problems in obj dir == src dir case (for example, last night tester build) But I have problem with building CVS version LLVM in obj dir != src dir case. ======= Finished building ModuleMaker debug executable (without symbols) ======= gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/llvm/obj/examples/ModuleMaker' gmake[1]: Leaving directory
2020 Aug 17
2
-loop-extract pass
Can someone explain what *-loop-extract* pass does with an example? Thanks, Harish C -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200817/8b4651b4/attachment.html>
2007 Nov 04
0
[LLVMdev] Seeing double
On Nov 4, 2007, at 8:25 AM, Gordon Henriksen wrote: > Is there a reason that BlockExtractorPass is duplicated? See tools/ > Bugpoint/ExtractFunction.cpp and lib/Transforms/IPO/LoopExtractor.cpp. Huh, how about that. It looks like bugpoint should use the other one and drop its copy. -Chris
2004 Sep 02
1
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
...Block(llvm::BasicBlock&)': > /home/wanderer/pkg/build/llvm/src/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp:72: > warning: passing negative value `-0x000000001' for converting 2 of `bool > llvm::AliasSetTracker::add(llvm::Value*, unsigned int)' > > Compiling LoopExtractor.cpp > /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h: In > function `llvm::Pass* llvm::callDefaultCtor() [with PassName = > <unnamed>::LoopExtractor]': > /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h:209: > instantiated from `llvm::...
2014 Jan 22
2
[LLVMdev] Why should we have the LoopPass and LoopPassManager? Can we get rid of this complexity?
...ass over a narrow chunk of IR: they routinely access and modify IR outside of the loop. There appear to be two chunks of "functionality" provided by loop passes: 1) A worklist of loops to process. This is very rarely used: 1.1) LoopSimplify and LoopUnswitch add loops to the queue. 1.2) LoopExtractor, LoopDeletion, and LoopUnroll delete loops from the queue (but "no-op" would likely be correct if we didn't have the loop pass manager). 2) LoopUnswitch and the pass itself use some hooks to update analyses. This is only actually leveraged by LICM though to update the AliasSetTracker...
2010 Dec 22
0
[LLVMdev] Extracting Single-entry single-exit Regions into functions
Hi, I want to write a pass that pulls single-entry a single-exit (SESE) region into a function. The idea is similar to extracting a loop in LoopExtractor.cpp. Basically, for each region that meet our criteria, 1. Find all basic blocks in that regions 2. Call llvm::ExtractCodeRegion() to replace that region by a call to the extracted function. 3. Delete the region from the RegionPassManager queue 4. Update the RegionInfo to reflect the change To fi...
2007 Dec 21
2
[LLVMdev] Interprocedural optimizations in LLVM
Hi Everyone, Can Someone tell me all the interprocedural optimizations that LLVM 2.1 supports. Thank You, Naineet Patel CSE IITB
2004 Dec 03
2
[LLVMdev] [Fwd: Updated LLVM Visual Studio project files]
...RelativePath="..\..\lib\Transforms\Ipo\Internalize.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\IPConstantPropagation.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\LoopExtractor.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\LowerSetJmp.cpp"> > </File> > <File > RelativePath="..\..\lib\Transforms\Ipo\PruneEH.cpp"> > </File> > <File >...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...g.cpp for Release+Asserts build llvm[3]: Compiling SLPVectorizer.cpp for Release+Asserts build llvm[3]: Compiling ObjCARCContract.cpp for Release+Asserts build llvm[3]: Compiling Internalize.cpp for Release+Asserts build llvm[2]: Compiling GCStrategy.cpp for Release+Asserts build llvm[3]: Compiling LoopExtractor.cpp for Release+Asserts build llvm[3]: Compiling ObjCARCExpand.cpp for Release+Asserts build llvm[2]: Compiling GlobalMerge.cpp for Release+Asserts build llvm[3]: Compiling ObjCARCOpts.cpp for Release+Asserts build llvm[3]: Compiling LowerBitSets.cpp for Release+Asserts build llvm[2]: Compiling IfC...