Lines Matching defs:IdealVariable
64 // IdealVariable i(kit), j(kit);
82 class IdealVariable: public StackObj {
88 IdealVariable(IdealKit &k);
94 friend class IdealVariable;
128 void declare(IdealVariable* v) { v->set_id(_var_ct++); }
159 void set(IdealVariable& v, Node* rhs) { _cvstate->set_req(first_var + v.id(), rhs); }
160 Node* value(IdealVariable& v) { return _cvstate->in(first_var + v.id()); }
161 void dead(IdealVariable& v) { set(v, (Node*)NULL); }
167 void loop(GraphKit* gkit, int nargs, IdealVariable& iv, Node* init, BoolTest::mask cmp, Node* limit,
189 void increment(IdealVariable& v, Node* j) { set(v, AddI(value(v), j)); }
190 void decrement(IdealVariable& v, Node* j) { set(v, SubI(value(v), j)); }