MCPcopy Create free account
hub / github.com/csmith-project/csmith / find_variable_in_set

Function find_variable_in_set

src/Variable.cpp:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81//////////////////////////////////////////////////////////////////////////////
82
83int find_variable_in_set(const vector<const Variable*>& set, const Variable* v)
84{
85 size_t i;
86 for (i=0; i<set.size(); i++) {
87 if (set[i]->match(v)) {
88 return i;
89 }
90 }
91 return -1;
92}
93
94int find_variable_in_set(const vector<Variable*>& set, const Variable* v)
95{

Callers 15

find_blk_for_varFunction · 0.85
is_var_on_stackMethod · 0.85
is_var_oosMethod · 0.85
update_facts_for_destMethod · 0.85
sanity_check_mapMethod · 0.85
is_var_on_stackMethod · 0.85
find_variable_scopeMethod · 0.85
is_deadMethod · 0.85
mark_dead_varMethod · 0.85
mark_func_endMethod · 0.85

Calls 2

sizeMethod · 0.80
matchMethod · 0.45

Tested by

no test coverage detected