Basic constructor macro for svtv-override-triple structures.
(make-svtv-override-triple [:test <test>] [:val <val>] [:refvar <refvar>])
This is the usual way to construct svtv-override-triple structures. It simply conses together a structure with the specified fields.
This macro generates a new svtv-override-triple structure from scratch. See also change-svtv-override-triple, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-svtv-override-triple (&rest args) (std::make-aggregate 'svtv-override-triple args '((:test) (:val) (:refvar)) 'make-svtv-override-triple nil))
Function:
(defun svtv-override-triple (test val refvar) (declare (xargs :guard (and (svex-p test) (svex-p val) (maybe-svar-p-p refvar)))) (declare (xargs :guard t)) (let ((__function__ 'svtv-override-triple)) (declare (ignorable __function__)) (b* ((test (mbe :logic (svex-fix test) :exec test)) (val (mbe :logic (svex-fix val) :exec val)) (refvar (mbe :logic (maybe-svar-p-fix refvar) :exec refvar))) (list test val refvar))))