search for: loop1_header_bb

Displaying 2 results from an estimated 2 matches for "loop1_header_bb".

2020 Jul 01
2
Inner Loop extraction in LLVM
Hi Johannes, This is very helpful and thank you for the quick response. I imagine that the usual nested loop structure is something like: loop1_header_bb bbs_between_loop1_header_and_loop2_header loop2_header_bb loop_body_bbs br loop2_header_bb instructions_before_loop1_end_and_after_loop2_end br loop1_header_bb In this case you mean that loop2_header_bb might need to be split before extracting loop 2 into its own function? I'm not sure yet abo...
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