LLVM
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
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
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
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
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
x
y
z
~
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
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
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
x
z
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
o
p
r
s
t
u
v
w
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
include
llvm
CodeGen
MachineStableHash.h
Go to the documentation of this file.
1
//===------------ MachineStableHash.h - MIR Stable Hashing Utilities ------===//
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
// Stable hashing for MachineInstr and MachineOperand. Useful or getting a
10
// hash across runs, modules, etc.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CODEGEN_MACHINESTABLEHASH_H
15
#define LLVM_CODEGEN_MACHINESTABLEHASH_H
16
17
#include "
llvm/ADT/StableHashing.h
"
18
19
namespace
llvm
{
20
class
MachineBasicBlock;
21
class
MachineFunction;
22
class
MachineInstr;
23
class
MachineOperand;
24
25
stable_hash
stableHashValue
(
const
MachineOperand &MO);
26
stable_hash
stableHashValue
(
const
MachineInstr &
MI
,
bool
HashVRegs =
false
,
27
bool
HashConstantPoolIndices =
false
,
28
bool
HashMemOperands =
false
);
29
stable_hash
stableHashValue
(
const
MachineBasicBlock &
MBB
);
30
stable_hash
stableHashValue
(
const
MachineFunction &MF);
31
32
}
// namespace llvm
33
34
#endif
MBB
MachineBasicBlock & MBB
Definition:
ARMSLSHardening.cpp:71
MI
IRTranslator LLVM IR MI
Definition:
IRTranslator.cpp:112
StableHashing.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::stableHashValue
stable_hash stableHashValue(const MachineOperand &MO)
Definition:
MachineStableHash.cpp:59
llvm::stable_hash
uint64_t stable_hash
An opaque object representing a stable hash code.
Definition:
StableHashing.h:28
Generated on Mon Mar 31 2025 04:06:23 for LLVM by
1.9.6