Displaying 1 result from an estimated 1 matches for "registerbynam".
Did you mean:
registerbyname
2014 Mar 28
9
[LLVMdev] Named Register Implementation
...eads and writes to intrinsics without any
reference to a global variable.
- I'm letting the name to be an argument (as opposed to metadata) for
simplicity. It might be better to use metadata or some other way.
Is that a reasonable expectation of the implementation?
Now, onto specifics...
1. RegisterByName
I couldn't find a way to get a register by name. I could teach the
TableGen backend to print an additional table with a StringSwitch on
<Target>GenRegisterInfo.inc and add a method getRegisterByName(char
*), but that would expose a huge number of unwanted register classes
which could op...