[llvm] [SandboxVec] Add barebones Region class. (PR #108899)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 22:12:34 PDT 2024


================
@@ -0,0 +1,127 @@
+//===- Region.h -------------------------------------------------*- 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_VECTORIZE_SANDBOXVECTORIZER_REGION_H
+#define LLVM_TRANSFORMS_VECTORIZE_SANDBOXVECTORIZER_REGION_H
+
+#include "llvm/ADT/SetVector.h"
+#include "llvm/SandboxIR/SandboxIR.h"
+#include "llvm/Support/InstructionCost.h"
+#include "llvm/Support/raw_ostream.h"
+
+namespace llvm {
+namespace sandboxir {
----------------
tschuett wrote:

You could shorten it to:
```namespace llvm::sandboxir {```


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


More information about the llvm-commits mailing list