[llvm] [TableGen][CallingConv] Add CCAssignToRegTuple for synthetic registers. (PR #137826)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 29 13:11:17 PDT 2025


================
@@ -125,6 +133,21 @@ void CallingConvEmitter::emitCallingConv(const Record *CC, raw_ostream &O) {
   O << "}\n";
 }
 
+// Return the name of the specified Init (DefInit or StringInit), with a
+// namespace qualifier if the corresponding record contains one.
+std::string CallingConvEmitter::getQualifiedNameFromInit(const Init *I) {
----------------
jurahul wrote:

nit: call this getRegisterName or getQualifiedRegisterName or something like that to indicate that its not generic now and deals with registers specially?

https://github.com/llvm/llvm-project/pull/137826


More information about the llvm-commits mailing list