[clang] [CIR] Add support for the IdiomRecognizer pass (PR #208854)
Rithik Sharma via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 13 21:00:39 PDT 2026
================
@@ -1296,11 +1296,52 @@ def CIR_CXXAssignAttr : CIR_Attr<"CXXAssign", "cxx_assign"> {
// FuncInfoAttr
//===----------------------------------------------------------------------===//
+// The standard library entities the identity tag can name. Each entry
+// pairs with one raised operation in CIRStdOps.td.
+def CIR_KnownFuncKind : CIR_I32EnumAttr<"KnownFuncKind",
+ "known standard library entity", [
+ I32EnumAttrCase<"StdFind", 1, "std_find">,
----------------
SharmaRithik wrote:
Done, the spelling is std::find now, the term of art rather than std_find. My earlier not possible only held for the default printer, the quoting printer handles the colons. Thanks to Andy and Cursor for the idea.
https://github.com/llvm/llvm-project/pull/208854
More information about the cfe-commits
mailing list