Displaying 4 results from an estimated 4 matches for "simpleregions".
2011 Jan 27
2
[LLVMdev] Update PHINode after extracting code
...B
> And extract BB1, BB2 and PhiBB.
> If you have any ideas or if you think this will not work, please let me
> know.
> Thanks.
> Vu
Hi Vu,
I believe this is the right approach. If I am right and you work on the
RegionInfo pass I believe what you want is only to extract so called
simpleRegions that have just a single entry and exit edge.
Have a look at the email from Andreas Simbuerger two weeks ago:
[llvm-commits] [PATCH] Add SeSeRegionInfo transform pass
This should contain the functions needed to transform a refined region
into a simple region. Either we get this patch committed a...
2011 Jan 27
0
[LLVMdev] Update PHINode after extracting code
...you have any ideas or if you think this will not work, please let me
>> know.
>> Thanks.
>> Vu
>>
>
> Hi Vu,
>
> I believe this is the right approach. If I am right and you work on the
> RegionInfo pass I believe what you want is only to extract so called
> simpleRegions that have just a single entry and exit edge.
>
> Have a look at the email from Andreas Simbuerger two weeks ago:
>
> [llvm-commits] [PATCH] Add SeSeRegionInfo transform pass
>
> This should contain the functions needed to transform a refined region into
> a simple region. Eithe...
2011 Jan 27
0
[LLVMdev] Update PHINode after extracting code
I guess I didn't have a clear question.
Suppose we have BB1 and BB2 both point to BB3.
BB1 has variable x. BB2 also as variable x.
BB3 will have PHINode for x with 2 value from BB1 and BB2.
BB1 BB2
\ /
BB3
Now if BB1 and BB2 is extracted into a function
(using ExtractCodeRegion), they will be replaced by
a basic block called codeRepl (which has a call to the extracted
2011 Jan 25
2
[LLVMdev] Update PHINode after extracting code
Hi all,
I have problem with ExtractCodeRegion (CodeExtractor.cpp).
My original program is as follows.
bb:
...
%tmp.15 = load %struct.MYSQL_ROWS** %3, align 4
...
bb1:
...
%tmp.1 = load %struct.MYSQL_ROWS** %6, align 4
...
bb4: ; preds = %bb1, %bb,
%entry
%tmp.0 = phi %struct.MYSQL_ROWS* [ null, %entry ], [ %tmp.15, %bb ], [
%tmp.1, %bb1 ]