Lines Matching defs:ip
58 // Explores from instruction ip at string position p looking for a match.
146 // Explores from instruction ip at string position p looking for a match.
165 Prog::Inst* ip = prog_->inst(id);
166 switch (ip->opcode()) {
168 LOG(FATAL) << "Unexpected opcode: " << (int)ip->opcode();
174 if (Visit(ip->out(), p)) {
176 Visit(ip->out1(), p);
179 return Visit(ip->out1(), p);
182 if (ip->Matches(c))
183 return Visit(ip->out(), p+1);
187 if (0 <= ip->cap() && ip->cap() < arraysize(cap_)) {
189 const char* q = cap_[ip->cap()];
190 cap_[ip->cap()] = p;
191 bool ret = Visit(ip->out(), p);
193 cap_[ip->cap()] = q;
196 return Visit(ip->out(), p);
199 if (ip->empty() & ~Prog::EmptyFlags(context_, p))
201 return Visit(ip->out(), p);
204 return Visit(ip->out(), p);