Displaying 4 results from an estimated 4 matches for "opblock".
Did you mean:
pblock
2006 Apr 29
2
[LLVMdev] Register allocation in LLVM
...uction:
- to remove instructions from Basic Blocks:
MachineInstr *MPhi = MBB.remove(MBB.begin());
delete MPhi;
- to create new instructions:
BuildMI, http://llvm.org/docs/CodeGenerator.html
- to discover the origin block of each operand in the phi function:
MachineBasicBlock &opBlock =
*MPhi->getOperand(i).getMachineBasicBlock();
Thank you in advance,
Fernando
2006 May 01
0
[LLVMdev] Register allocation in LLVM
...from Basic Blocks:
> MachineInstr *MPhi = MBB.remove(MBB.begin());
> delete MPhi;
>
> - to create new instructions:
> BuildMI, http://llvm.org/docs/CodeGenerator.html
>
> - to discover the origin block of each operand in the phi function:
> MachineBasicBlock &opBlock =
> *MPhi->getOperand(i).getMachineBasicBlock();
Yup!
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
2006 May 01
2
[LLVMdev] Register allocation in LLVM
...achineInstr *MPhi = MBB.remove(MBB.begin());
>> delete MPhi;
>>
>> - to create new instructions:
>> BuildMI, http://llvm.org/docs/CodeGenerator.html
>>
>> - to discover the origin block of each operand in the phi function:
>> MachineBasicBlock &opBlock =
>> *MPhi->getOperand(i).getMachineBasicBlock();
>
> Yup!
>
> -Chris
>
> --
> http://nondot.org/sabre/
> http://llvm.org/
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs...
2012 Jul 04
2
[LLVMdev] Assertion in PHIElimination.cpp
...rst
// terminator instruction at the end of the block may also use the value.
// In this case, we should mark *it* as being the killing block, not the
// copy.
Again, no reason is given why only the first terminator is allowed to
use the register.
The offending code is:
(gdb) p opBlock.dump()
BB#8: derived from LLVM BB %for.cond
Predecessors according to CFG: BB#7 BB#22 BB#19 BB#16 BB#11 BB#27 BB#26 BB#25 BB#24 BB#23
%vreg18<def> = COPY %vreg80<kill>; GEXR16:%vreg18,%vreg80
ADJCALLSTACKDOWN 0, %SP<imp-def>, %EX<imp-def>, %SP<imp-use&...