<html><head><base href="x-msg://85/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 1, 2012, at 5:20 AM, Medic, Vladimir wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Optima; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div ocsi="0" fpstyle="1" style="word-wrap: break-word; "><div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 10pt; ">Hi Jakob,<br>if I'm not mistaken, these are defined inside of anonymous namespace and are not visible outside _Target_GenRegisterInfo.inc. If I try to include this in more than one module I get link error.<br></div></div></span></blockquote><div><br></div><div>Right. You are supposed to access them via the interface MCRegisterInfo makes available.</div><div><br></div><div>You don't say where you need this, but in the Mips code generator library, there are also global variables available: Mips::CPURegsRegClass etc. Outside that library, you need an MCRegisterInfo pointer. Use that to get an MCRegisterClass pointer.</div><div><br></div><div>/jakob</div></div></body></html>