OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:instr_set
(Results
1 - 3
of
3
) sorted by null
/external/mesa3d/src/compiler/nir/
nir_instr_set.h
45
void nir_instr_set_destroy(struct set *
instr_set
);
53
bool nir_instr_set_add_or_rewrite(struct set *
instr_set
, nir_instr *instr);
59
void nir_instr_set_remove(struct set *
instr_set
, nir_instr *instr);
nir_opt_cse.c
37
* tree recursively. Note that the
instr_set
is guaranteed to only ever
42
cse_block(nir_block *block, struct set *
instr_set
)
47
if (nir_instr_set_add_or_rewrite(
instr_set
, instr)) {
55
progress |= cse_block(child,
instr_set
);
59
nir_instr_set_remove(
instr_set
, instr);
67
struct set *
instr_set
= nir_instr_set_create(NULL);
local
71
bool progress = cse_block(nir_start_block(impl),
instr_set
);
77
nir_instr_set_destroy(
instr_set
);
nir_instr_set.c
500
nir_instr_set_destroy(struct set *
instr_set
)
502
_mesa_set_destroy(
instr_set
, NULL);
506
nir_instr_set_add_or_rewrite(struct set *
instr_set
, nir_instr *instr)
511
struct set_entry *entry = _mesa_set_search(
instr_set
, instr);
529
_mesa_set_add(
instr_set
, instr);
534
nir_instr_set_remove(struct set *
instr_set
, nir_instr *instr)
539
struct set_entry *entry = _mesa_set_search(
instr_set
, instr);
541
_mesa_set_remove(
instr_set
, entry);
Completed in 85 milliseconds