(id->regp id aignet) gets the register bit from the node with ID
Logically this is
In the execution this is mostly a stobj array lookup in the node array.
Function:
(defun id->regp (id aignet) (declare (xargs :stobjs (aignet))) (declare (xargs :guard (natp id))) (declare (xargs :guard (id-existsp id aignet))) (let ((__function__ 'id->regp)) (declare (ignorable __function__)) (mbe :logic (non-exec (regp (stype (car (lookup-id id aignet))))) :exec (snode->regp^ (id->slot1 id aignet)))))