Displaying 5 results from an estimated 5 matches for "mcregist".
Did you mean:
mcregister
2020 Sep 29
2
Relation between Register and MCRegister
> On 29 Sep 2020, at 09:28, Quentin Colombet <qcolombet at apple.com> wrote:
>
> + Daniel who added the MCRegister class.
>
> Ah sorry, I replied too fast.
> I mixed up MCPhysReg with MCRegister.
>
> I was not aware we had such class.
>
> From a look at it, MCRegister are essentially the same thing as Register. I am guessing that the difference is Register is used in the CodeGen layer,...
2020 Sep 30
2
Relation between Register and MCRegister
...aniel Sanders <daniel_l_sanders at apple.com <mailto:daniel_l_sanders at apple.com>> wrote:
> Yes so long as you're including the invalid space too (IIRC it matters for DBG_VALUE in particular) the reason I didn't do that is that there's a lot more ctors than consumers of MCRegister. It seemed cheaper to do the checks when they're consumed and pretty much every consumer I encountered started with `assert(Reg.isPhysicalRegister() && ...)`.
>
> Not sure I follow - asserts are elided in release builds - or is there a different cost?
Even though the release b...
2020 Sep 29
2
Relation between Register and MCRegister
Yes so long as you're including the invalid space too (IIRC it matters for DBG_VALUE in particular) the reason I didn't do that is that there's a lot more ctors than consumers of MCRegister. It seemed cheaper to do the checks when they're consumed and pretty much every consumer I encountered started with `assert(Reg.isPhysicalRegister() && ...)`.
> On 29 Sep 2020, at 11:02, Mircea Trofin <mtrofin at google.com> wrote:
>
> Thanks! To test my understanding...
2020 Sep 29
2
Relation between Register and MCRegister
On Tue, Sep 29, 2020 at 9:08 AM Quentin Colombet <qcolombet at apple.com>
wrote:
> Hi,
>
> Register can represent virtual or physical registers.
> MCRegister can only represent physical registers.
>
That's what I thought, but MCRegister has some stack slot APIs.
> Eventually all Register instances are replaced by a MCRegister.
>
What happens in that case to the stack slot APIs?
>
> Cheers,
> -Quentin
>
> > On Sep 2...
2020 Sep 29
2
Relation between Register and MCRegister
Hello,
I'm trying to understand what the relation between these two types is: do
we need them both? Register seems to be delegating to MCRegister without
owning any new additional responsibilities.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200928/b447b7cc/attachment.html>