================
@@ -1906,6 +1906,70 @@ def CIR_VTableGetVirtualFnAddrOp :
CIR_Op<"vtable.get_virtual_fn_addr", [
}];
}
+//===----------------------------------------------------------------------===//
+// VTTAddrPointOp
+//===----------------------------------------------------------------------===//
+
+def CIR_VTTAddrPointOp : CIR_Op<"vtt.address_point", [
+ Pure, DeclareOpInterfaceMethods<SymbolUserOpInterface>
+]> {
+ let summary = "Get the VTT address point";
+ let description = [{
+ The `vtt.address_point` operation retrieves an element from the VTT,
----------------
erichkeane wrote:
We should still probably define `VTT` once in this paragraph :) Not everyone
reading this is going to have read EVERYTHING, so the summary/first use should
say 'Virtual Table Table' (or whatever it is).
https://github.com/llvm/llvm-project/pull/155048
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits