Displaying 4 results from an estimated 4 matches for "machinesuperblock".
2012 Sep 04
2
[LLVMdev] Fwd: Create superblock in LLVM IR
...bel %if.end
if.end: ; preds = %if.else,
%if.then
...
ret i32 %add7
2. Create class named SuperBlock, which will be very similar to
BasicBlock class and has vector of contained BasicBlocks. Of course, in
this case, we will have to create MachineSuperBlock class, because we
want to use llc, how I noted above. Result can looks like that:
Example:
define i32 @foo(i32 %a, i32 %b) nounwind uwtable {
superblock.entry.start:
entry:
...
br i1 %cond, label %if.then, label %if.else
if.then: ; preds =...
2012 Sep 06
0
[LLVMdev] Create superblock in LLVM IR
....end: ; preds = %if.else, %if.then
> ...
> ret i32 %add7
>
> 2. Create class named SuperBlock, which will be very similar to BasicBlock class and has vector of contained BasicBlocks. Of course, in this case, we will have to create MachineSuperBlock class, because we want to use llc, how I noted above. Result can looks like that:
> Example:
> define i32 @foo(i32 %a, i32 %b) nounwind uwtable {
> superblock.entry.start:
> entry:
> ...
> br i1 %cond, label %if.then, label %if.else
> if.then:...
2012 Sep 17
2
[LLVMdev] Create superblock in LLVM IR
...; preds = %if.else,
>> %if.then
>> ...
>> ret i32 %add7
>>
>> 2. Create class named SuperBlock, which will be very similar to
>> BasicBlock class and has vector of contained BasicBlocks. Of course,
>> in this case, we will have to create MachineSuperBlock class, because
>> we want to use llc, how I noted above. Result can looks like that:
>> Example:
>> define i32 @foo(i32 %a, i32 %b) nounwind uwtable {
>> superblock.entry.start:
>> entry:
>> ...
>> br i1 %cond, label %if.then, label %if.else...
2012 Sep 17
0
[LLVMdev] Create superblock in LLVM IR
...; preds = %if.else, %if.then
>>> ...
>>> ret i32 %add7
>>>
>>> 2. Create class named SuperBlock, which will be very similar to BasicBlock class and has vector of contained BasicBlocks. Of course, in this case, we will have to create MachineSuperBlock class, because we want to use llc, how I noted above. Result can looks like that:
>>> Example:
>>> define i32 @foo(i32 %a, i32 %b) nounwind uwtable {
>>> superblock.entry.start:
>>> entry:
>>> ...
>>> br i1 %cond, label %if.then, l...