[llvm] [FunctionAttrs] Add the "initializes" attribute inference (PR #97373)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 01:54:56 PDT 2024


================
@@ -580,6 +582,206 @@ struct ArgumentUsesTracker : public CaptureTracker {
   const SCCNodeSet &SCCNodes;
 };
 
+// A struct of argument use: a Use and the offset it accesses. This struct
+// is to track uses inside function via GEP. If GEP has a non-constant index,
+// the Offset field is nullopt.
----------------
nikic wrote:

Please use doxygen comments (`///`) for classes.

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


More information about the llvm-commits mailing list