Lines Matching defs:index
22 bool MIRGraph::SetFp(int index, bool is_fp) {
24 if (is_fp && !reg_location_[index].fp) {
25 reg_location_[index].fp = true;
26 reg_location_[index].defined = true;
32 bool MIRGraph::SetCore(int index, bool is_core) {
34 if (is_core && !reg_location_[index].defined) {
35 reg_location_[index].core = true;
36 reg_location_[index].defined = true;
42 bool MIRGraph::SetRef(int index, bool is_ref) {
44 if (is_ref && !reg_location_[index].defined) {
45 reg_location_[index].ref = true;
46 reg_location_[index].defined = true;
52 bool MIRGraph::SetWide(int index, bool is_wide) {
54 if (is_wide && !reg_location_[index].wide) {
55 reg_location_[index].wide = true;
61 bool MIRGraph::SetHigh(int index, bool is_high) {
63 if (is_high && !reg_location_[index].high_word) {
64 reg_location_[index].high_word = true;