Lines Matching refs:idx
65 void SetIndex(OutIdx idx);
109 // | idx=1 | idx=0 | | g0 | g1 |
119 // | | | idx=0 | | g2 |
130 // | idx=2 | idx=1 | idx=0 | | g2 | g0 | g1 |
150 void NewIn(size_t idx, Gate *in);
151 void ModifyIn(size_t idx, Gate *in);
152 void DeleteIn(size_t idx);
155 [[nodiscard]] Out *GetOut(size_t idx);
157 [[nodiscard]] const Out *GetOutConst(size_t idx) const;
165 [[nodiscard]] In *GetIn(size_t idx);
166 [[nodiscard]] const In *GetInConst(size_t idx) const;
167 [[nodiscard]] Gate *GetInGate(size_t idx);
168 [[nodiscard]] const Gate *GetInGateConst(size_t idx) const;
169 // note: behavior of GetInGate(idx) is undefined when Ins[idx] is deleted or not assigned
170 // note: use IsInGateNull(idx) to check first if Ins[idx] may be deleted or not assigned
171 [[nodiscard]] bool IsInGateNull(size_t idx) const;
187 size_t PrintInGate(size_t numIns, size_t idx, size_t size, bool inListPreview, size_t highlightIdx,
265 void CheckInputOpcode(size_t idx, OpCode expected) const;
266 void CheckInputMachineType(size_t idx, MachineType expected, bool isArch64) const;
267 void CheckNotInputMachineType(size_t idx, MachineType notExpected) const;
268 void CheckState(size_t idx) const;
269 void CheckGeneralState(size_t idx) const;