[Alignment][NFC] Migrate Instructions to Align
[llvm-core.git] / include / llvm / Transforms / Utils / CanonicalizeAliases.h
blob8f23a041a24e62c8f43ecc6448c5fe3fbf4dee0c
1 //===-- CanonicalizeAliases.h - Alias Canonicalization Pass -----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file canonicalizes aliases.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_TRANSFORMS_UTILS_CANONICALIZE_ALIASES_H
14 #define LLVM_TRANSFORMS_UTILS_CANONICALIZE_ALIASES_H
16 #include "llvm/IR/Module.h"
17 #include "llvm/IR/PassManager.h"
19 namespace llvm {
21 /// Simple pass that canonicalizes aliases.
22 class CanonicalizeAliasesPass : public PassInfoMixin<CanonicalizeAliasesPass> {
23 public:
24 CanonicalizeAliasesPass() = default;
26 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
29 } // end namespace llvm
31 #endif // LLVM_TRANSFORMS_UTILS_CANONICALIZE_ALIASESH