[LLVMdev] [LLVMDev] [Modeling] About the structure of my allocator
Jeff Kunkel
jdkunk3 at gmail.com
Thu Sep 2 14:44:07 PDT 2010
Thank you!
The pieces are starting to fall into place finally.
I need to track which MachineBasicBlocks branch into
other MachineBasicBlocks. How do I do it?
I see a MachineOperand can hold a MachineBasicBlock*. Does this mean the
instruction may branch to the MachineBasicBlock, or can it be something like
an object reference?
- Thanks,
Jeff Kunkel
On Thu, Sep 2, 2010 at 1:56 PM, Jeff Kunkel <jdkunk3 at gmail.com> wrote:
> I need to model my registers for my allocator. I need to identify the
> super-register and the sub-register conflicts. Something like:
>
> For each set of registers R in the set of aligned registers defined by the
> input request virtual register alpha. Now each register block r in R can
> have zero, one, or more registers defined in the block started at the
> aligned size and ending at the aligned size plus the request register
> alpha's size. The final step is to weigh and choose a block to put alpha
> into.
>
> How do I model the registers R and register blocks r to obtain my desired
> information?
>
> - Thanks
> - Jeff Kunkel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100902/0a2743e0/attachment.html>
More information about the llvm-dev
mailing list