Loading [MathJax]/extensions/tex2jax.js
CIRCT
21.0.0git
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
i
k
l
m
n
o
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
m
o
p
r
s
t
u
w
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
f
i
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Variables
c
e
g
i
l
m
n
p
r
s
t
w
Typedefs
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
u
v
Enumerations
Enumerator
a
c
d
f
h
i
n
o
r
Macros
a
c
d
e
g
h
i
r
s
t
v
x
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
include
circt
Dialect
HWArith
HWArithOps.h
Go to the documentation of this file.
1
//===- HWArithOps.h - Declare HWArith dialect operations --------*- 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 operation class for the HWArith IR.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef CIRCT_DIALECT_HWARITH_OPS_H
14
#define CIRCT_DIALECT_HWARITH_OPS_H
15
16
#include "
circt/Dialect/HWArith/HWArithDialect.h
"
17
#include "
circt/Support/LLVM.h
"
18
#include "mlir/Bytecode/BytecodeOpInterface.h"
19
#include "mlir/IR/OpImplementation.h"
20
#include "mlir/Interfaces/InferTypeOpInterface.h"
21
#include "mlir/Interfaces/SideEffectInterfaces.h"
22
23
#define GET_OP_CLASSES
24
#include "circt/Dialect/HWArith/HWArith.h.inc"
25
26
namespace
circt
{
27
namespace
hwarith
{
28
29
// Infer the bitwidth as well as the signedness that is required to store the
30
// sum of two given integer types without over- or underflowing.
31
unsigned
inferAddResultType
(IntegerType::SignednessSemantics &signedness,
32
IntegerType lhs, IntegerType rhs);
33
34
}
// namespace hwarith
27
namespace
hwarith
{
…
}
35
}
// namespace circt
36
37
#endif
// CIRCT_DIALECT_HWARITH_OPS_H
HWArithDialect.h
LLVM.h
circt::hwarith::inferAddResultType
unsigned inferAddResultType(IntegerType::SignednessSemantics &signedness, IntegerType lhs, IntegerType rhs)
Definition
HWArithOps.cpp:194
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
hwarith
Definition
hwarith.py:1
Generated on Sat May 10 2025 00:08:38 for CIRCT by
1.9.8