MLIR
21.0.0git
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
a
c
f
h
i
k
m
n
o
p
r
s
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
v
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
f
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
Related Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Variables
_
a
b
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
m
n
o
r
s
t
u
v
y
Enumerations
Enumerator
a
b
c
e
f
g
i
m
n
s
t
w
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
y
z
include
mlir
Tools
mlir-translate
MlirTranslateMain.h
Go to the documentation of this file.
1
//===- MlirTranslateMain.h - MLIR Translation Driver main -------*- 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
// Main entry function for mlir-translate for when built as standalone binary.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef MLIR_TOOLS_MLIRTRANSLATE_MLIRTRANSLATEMAIN_H
14
#define MLIR_TOOLS_MLIRTRANSLATE_MLIRTRANSLATEMAIN_H
15
16
#include "
mlir/Support/LLVM.h
"
17
#include "llvm/ADT/StringRef.h"
18
19
namespace
mlir
{
20
/// Translate to/from an MLIR module from/to an external representation (e.g.
21
/// LLVM IR, SPIRV binary, ...). This is the entry point for the implementation
22
/// of tools like `mlir-translate`. The translation to perform is parsed from
23
/// the command line. The `toolName` argument is used for the header displayed
24
/// by `--help`.
25
LogicalResult
mlirTranslateMain
(
int
argc,
char
**argv, StringRef toolName);
26
}
// namespace mlir
27
28
#endif
// MLIR_TOOLS_MLIRTRANSLATE_MLIRTRANSLATEMAIN_H
LLVM.h
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::mlirTranslateMain
LogicalResult mlirTranslateMain(int argc, char **argv, StringRef toolName)
Translate to/from an MLIR module from/to an external representation (e.g.
Generated on Wed May 7 2025 08:33:24 for MLIR by
1.9.1