Lines Matching refs:acc

49     GateAccessor acc(const_cast<Circuit*>(circuit));
56 auto startGate = acc.GetStateRoot();
57 acc.SetMark(startGate, MarkCode::VISITED);
64 if (acc.GetOpCode(curGate) != OpCode::LOOP_BACK) {
65 auto uses = acc.Uses(curGate);
67 if (useIt.GetIndex() < acc.GetStateCount(*useIt) &&
68 acc.IsState(*useIt) && acc.GetMark(*useIt) == MarkCode::NO_MARK) {
69 acc.SetMark(*useIt, MarkCode::VISITED);
97 acc.GetInStates(bbGatesList[idx], preGates);
133 GateAccessor acc(const_cast<Circuit*>(circuit));
215 acc.GetOuts(acc.GetArgRoot(), argList);
217 return acc.TryGetValue(lhs) > acc.TryGetValue(rhs);
223 auto uses = acc.Uses(bbGate);
226 if (acc.IsFixed(succGate)) {
227 result[bbGatesAddrToIdx.at(acc.GetIn(succGate, 0))].push_back(succGate);
243 GateAccessor acc(const_cast<Circuit*>(circuit));
258 } else if (acc.IsProlog(gate) || acc.IsRoot(gate) || acc.IsVirtualState(gate)) {
261 } else if (acc.IsFixed(gate)) {
262 returnValue = bbGatesAddrToIdx.at(acc.GetIn(gate, 0));
264 } else if (acc.IsState(gate)) {
283 acc.GetIns(schedulableGate, rootPredGates);
322 acc.GetIns(predGate, newPredGates);
347 GateAccessor acc(const_cast<Circuit*>(circuit));
350 auto uses = acc.Uses(item.first);
353 if (acc.IsFixed(succGate)) {
366 GateAccessor acc(const_cast<Circuit*>(circuit));
380 acc.GetIns(gate, rootPrevGates);
390 if (!acc.IsSchedulable(prevGate)) {
399 acc.GetIns(prevGate, newPrevGates);
416 acc.GetIns(gate, rootPrevGates);
427 if (!acc.IsSchedulable(prevGate)) {
433 if (acc.IsState(curGate)) { // cur_opcode would not be STATE_ENTRY
435 } else if (acc.IsSelector(curGate)) {
437 curLowerBound = bbGatesAddrToIdx.at(acc.GetIn(acc.GetIn(curGate, 0), idx - 1));
438 } else if (acc.IsFixed(curGate)) {
440 curLowerBound = bbGatesAddrToIdx.at(acc.GetIn(curGate, 0));
457 acc.GetIns(prevGate, newPrevGates);
466 GateAccessor acc(const_cast<Circuit*>(circuit));
473 auto opcode = acc.GetOpCode((*cfg)[bbIdx].front());
479 auto ins = acc.Ins(head);
482 if (acc.IsState(predState) ||
483 acc.GetOpCode(predState) == OpCode::STATE_ENTRY) {
491 auto uses = acc.Uses(h);
494 if (acc.IsState(succState) ||
495 acc.GetOpCode(succState) == OpCode::STATE_ENTRY) {
502 acc.Print((*cfg)[bbIdx][instIdx - 1]);