clang
24.0.0git
include
clang
CIR
Dialect
Analysis
CIRAliasAnalysis.h
Go to the documentation of this file.
1
//===- CIRAliasAnalysis.h - CIR Alias Analysis Suite ------------*- 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 declares the registration function for the full suite of CIR alias
10
// analysis implementations. Callers that want all CIR analyses should use
11
// registerCIRAliasAnalyses() rather than adding individual implementations.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef CLANG_CIR_DIALECT_ANALYSIS_CIRALIASANALYSIS_H
16
#define CLANG_CIR_DIALECT_ANALYSIS_CIRALIASANALYSIS_H
17
18
#include "mlir/Analysis/AliasAnalysis.h"
19
20
namespace
cir
{
21
22
/// Register all CIR alias analysis implementations with `aa`.
23
///
24
/// Passes that want full CIR alias information should call this rather than
25
/// adding individual implementations:
26
///
27
/// mlir::AliasAnalysis aa(funcOp);
28
/// cir::registerCIRAliasAnalyses(aa);
29
///
30
void
registerCIRAliasAnalyses
(mlir::AliasAnalysis &aa);
31
32
}
// namespace cir
33
34
#endif
// CLANG_CIR_DIALECT_ANALYSIS_CIRALIASANALYSIS_H
cir
Definition
ABIArgInfo.h:22
cir::registerCIRAliasAnalyses
void registerCIRAliasAnalyses(mlir::AliasAnalysis &aa)
Register all CIR alias analysis implementations with aa.
Definition
CIRAliasAnalysis.cpp:12
Generated on
for clang by
1.14.0