Displaying 4 results from an estimated 4 matches for "getregiondepth".
2010 Jan 08
1
[LLVMdev] integrate LLVM Poly into existing LLVM infrastructure
...ructures, so both a loop and
a region could have parent or childrens
3. both of them have a BasicBlocks(header of a loop and "entry" of a
region) that dominates all others
and the Region class will have the most stuffs very similar in LoopBase,
like: ParentRegion, SubRegions, Blocks, getRegionDepth(),
getExitBlock(), getExitingBlock() ......
so, could us just treat "Loop" as some kind of general "Region" of
BasicBlocks, and make Loop and Region inherit from "RegionBase"?
[1] http://llvm.org/doxygen/LoopInfo_8h-source.html
best regards
--ether
2010 Jan 08
1
[LLVMdev] Make LoopBase inherit from "RegionBase"?
...and
> a region could have parent or childrens
> 3. both of them have a BasicBlocks(header of a loop and "entry" of a
> region) that dominates all others
>
> and the Region class will have the most stuffs very similar in LoopBase,
> like: ParentRegion, SubRegions, Blocks, getRegionDepth(),
> getExitBlock(), getExitingBlock() ......
>
> so, could us just treat "Loop" as some kind of general "Region" of
> BasicBlocks, and make Loop and Region inherit from "RegionBase"?
>
>
> [1] http://llvm.org/doxygen/LoopInfo_8h-source.html
>
&...
2010 Jan 12
0
[LLVMdev] Make LoopBase inherit from "RegionBase"?
...could have parent or childrens
Correct.
> 3. both of them have a BasicBlocks(header of a loop and "entry" of a
> region) that dominates all others
Correct.
> and the Region class will have the most stuffs very similar in LoopBase,
> like: ParentRegion, SubRegions, Blocks, getRegionDepth(),
Correct.
> getExitBlock(), getExitingBlock() ......
This might need some thoughts,
> so, could us just treat "Loop" as some kind of general "Region" of
> BasicBlocks, and make Loop and Region inherit from "RegionBase"?
I would like to do so, as I like th...
2010 Jan 12
8
[LLVMdev] Make LoopBase inherit from "RegionBase"?
...could have parent or childrens
Correct.
> 3. both of them have a BasicBlocks(header of a loop and "entry" of a
> region) that dominates all others
Correct.
> and the Region class will have the most stuffs very similar in LoopBase,
> like: ParentRegion, SubRegions, Blocks, getRegionDepth(),
Correct.
> getExitBlock(), getExitingBlock() ......
This might need some thoughts,
> so, could us just treat "Loop" as some kind of general "Region" of
> BasicBlocks, and make Loop and Region inherit from "RegionBase"?
I would like to do so, as I like th...