Lines Matching refs:loc_
44 explicit VarState(ValueType type) : loc_(kStack), type_(type) {} in VarState()
46 : loc_(kRegister), type_(type), reg_(r) { in VarState()
50 : loc_(KIntConst), type_(type), i32_const_(i32_const) { in VarState()
55 if (loc_ != other.loc_) return false;
57 switch (loc_) {
68 bool is_stack() const { return loc_ == kStack; } in is_stack()
69 bool is_gp_reg() const { return loc_ == kRegister && reg_.is_gp(); } in is_gp_reg()
70 bool is_fp_reg() const { return loc_ == kRegister && reg_.is_fp(); } in is_fp_reg()
71 bool is_reg() const { return loc_ == kRegister; } in is_reg()
72 bool is_const() const { return loc_ == KIntConst; } in is_const()
76 Location loc() const { return loc_; } in loc()
79 DCHECK_EQ(loc_, KIntConst); in i32_const()
84 DCHECK_EQ(loc_, KIntConst); in constant()
92 DCHECK_EQ(loc_, kRegister); in reg()
97 void MakeStack() { loc_ = kStack; } in MakeStack()
100 Location loc_;