[clang] [llvm] [WIP] Expand variadic functions in IR (PR #89007)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 17 03:35:17 PDT 2024


================
@@ -0,0 +1,43 @@
+//===- ExpandVariadics.h - expand variadic functions ------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+#ifndef LLVM_TRANSFORMS_IPO_EXPANDVARIADICS_H
+#define LLVM_TRANSFORMS_IPO_EXPANDVARIADICS_H
+
+#include "llvm/IR/PassManager.h"
+
+namespace llvm {
+
+class Module;
+class ModulePass;
+class OptimizationLevel;
+
+enum class ExpandVariadicsMode {
+  unspecified,
----------------
arsenm wrote:

Capitalize and document the fields 

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


More information about the cfe-commits mailing list