Lines Matching defs:gate
66 Status& GetStatus(GateRef gate)
68 ASSERT(acc_.GetId(gate) < status_.size());
69 return status_[acc_.GetId(gate)];
71 const Status& GetStatus(GateRef gate) const
73 ASSERT(acc_.GetId(gate) < status_.size());
74 return status_[acc_.GetId(gate)];
76 void SetStatus(GateRef gate, State state, int id = INVALID_ID)
78 status_[acc_.GetId(gate)] = Status{id, state};
80 void UpdateStatus(GateRef gate, State state)
82 int id = state == State::INVALID_OPT ? INVALID_ID : GetStatus(gate).id;
83 status_[acc_.GetId(gate)] = Status{id, state};
85 bool IsInvalidGate(GateRef gate) const
87 return GetStatus(gate).state == State::INVALID_OPT;
97 void FindBuilderBegin(GateRef gate);
98 void FindInBuilder(GateRef gate);
101 void StatusTransfer(GateRef gate);
102 bool HasConcatOrPhiUse(GateRef gate);
103 bool CheckStringAddUses(GateRef gate);
104 bool IsLiteralString(GateRef gate);
105 bool IsLoopHeader(GateRef gate);
106 bool LoopContains(GateRef loopPhi, GateRef gate);