pub enum CoreAirId {
Show 65 variants
SyscallCore = 48,
SyscallCoreUser = 49,
DivRem = 52,
DivRemUser = 53,
Add = 54,
AddUser = 55,
Addi = 56,
AddiUser = 57,
Addw = 58,
AddwUser = 59,
Sub = 60,
SubUser = 61,
Subw = 62,
SubwUser = 63,
Bitwise = 64,
BitwiseUser = 65,
Mul = 66,
MulUser = 67,
ShiftRight = 68,
ShiftRightUser = 69,
ShiftLeft = 70,
ShiftLeftUser = 71,
Lt = 72,
LtUser = 73,
LoadByte = 74,
LoadByteUser = 75,
LoadHalf = 76,
LoadHalfUser = 77,
LoadWord = 78,
LoadWordUser = 79,
LoadX0 = 80,
LoadX0User = 81,
LoadDouble = 82,
LoadDoubleUser = 83,
StoreByte = 84,
StoreByteUser = 85,
StoreHalf = 86,
StoreHalfUser = 87,
StoreWord = 88,
StoreWordUser = 89,
StoreDouble = 90,
StoreDoubleUser = 91,
UType = 92,
UTypeUser = 93,
Branch = 94,
BranchUser = 95,
Jal = 96,
JalUser = 97,
Jalr = 98,
JalrUser = 99,
SyscallInstrs = 100,
SyscallInstrsUser = 101,
MemoryBump = 102,
StateBump = 103,
MemoryLocal = 106,
Global = 107,
AluX0 = 110,
AluX0User = 111,
Mprotect = 112,
InstructionDecode = 114,
InstructionFetch = 115,
PageProt = 116,
PageProtLocal = 117,
TrapExec = 120,
TrapMem = 121,
}Expand description
RV64IM AIR Identifiers.
These identifiers are for the various chips in the rv64im prover. We need them in the executor to compute the memory cost of the current shard of execution.
The CoreAirIds are the AIRs that are not part of precompile shards and not the program or
byte AIR.
Variants§
SyscallCore = 48
The syscall core chip.
SyscallCoreUser = 49
The syscall core chip for user mode.
DivRem = 52
The div rem chip.
DivRemUser = 53
The div rem chip for user mode.
Add = 54
The add chip.
AddUser = 55
The add chip for user mode.
Addi = 56
The addi chip.
AddiUser = 57
The addi chip for user mode.
Addw = 58
The addw chip.
AddwUser = 59
The addw chip for user mode.
Sub = 60
The sub chip.
SubUser = 61
The sub chip for user mode.
Subw = 62
The subw chip.
SubwUser = 63
The subw chip for user mode.
Bitwise = 64
The bitwise chip.
BitwiseUser = 65
The bitwise chip for user mode.
Mul = 66
The mul chip.
MulUser = 67
The mul chip for user mode.
ShiftRight = 68
The shift right chip.
ShiftRightUser = 69
The shift right chip for user mode.
ShiftLeft = 70
The shift left chip.
ShiftLeftUser = 71
The shift left chip for user mode.
Lt = 72
The lt chip.
LtUser = 73
The lt chip for user mode.
LoadByte = 74
The load byte chip.
LoadByteUser = 75
The load byte chip for user mode.
LoadHalf = 76
The load half chip.
LoadHalfUser = 77
The load half chip for user mode.
LoadWord = 78
The load word chip.
LoadWordUser = 79
The load word chip for user mode.
LoadX0 = 80
The load x0 chip.
LoadX0User = 81
The load x0 chip for user mode.
LoadDouble = 82
The load double chip.
LoadDoubleUser = 83
The load double chip for user mode.
StoreByte = 84
The store byte chip.
StoreByteUser = 85
The store byte chip for user mode.
StoreHalf = 86
The store half chip.
StoreHalfUser = 87
The store half chip for user mode.
StoreWord = 88
The store word chip.
StoreWordUser = 89
The store word chip for user mode.
StoreDouble = 90
The store double chip.
StoreDoubleUser = 91
The store double chip for user mode.
UType = 92
The utype chip.
UTypeUser = 93
The utype chip for user mode.
Branch = 94
The branch chip.
BranchUser = 95
The branch chip for user mode.
Jal = 96
The jal chip.
JalUser = 97
The jal chip for user mode.
Jalr = 98
The jalr chip.
JalrUser = 99
The jalr chip for user mode.
SyscallInstrs = 100
The syscall instructions chip.
SyscallInstrsUser = 101
The syscall instructions chip for user mode.
MemoryBump = 102
The memory bump chip.
StateBump = 103
The state bump chip.
MemoryLocal = 106
The memory local chip.
Global = 107
The global chip.
AluX0 = 110
The ALU x0 chip (all ALU ops with rd = x0).
AluX0User = 111
The ALU x0 chip (all ALU ops with rd = x0) for user mode.
Mprotect = 112
The mprotect chip.
InstructionDecode = 114
The instruction decode chip.
InstructionFetch = 115
The instruction fetch chip.
PageProt = 116
The page prot chip.
PageProtLocal = 117
The page prot local chip.
TrapExec = 120
The trap exec chip.
TrapMem = 121
The trap memory chip.
Trait Implementations§
Source§impl DeepSizeOf for CoreAirId
impl DeepSizeOf for CoreAirId
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Source§impl<'de> Deserialize<'de> for CoreAirId
impl<'de> Deserialize<'de> for CoreAirId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<CoreAirId> for RiscvAirId
impl From<CoreAirId> for RiscvAirId
Source§impl IntoEnumIterator for CoreAirId
impl IntoEnumIterator for CoreAirId
type Iterator = CoreAirIdIter
fn iter() -> CoreAirIdIter ⓘ
Source§impl Ord for CoreAirId
impl Ord for CoreAirId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq<CoreAirId> for RiscvAirId
impl PartialEq<CoreAirId> for RiscvAirId
Source§impl PartialEq<RiscvAirId> for CoreAirId
impl PartialEq<RiscvAirId> for CoreAirId
Source§fn eq(&self, other: &RiscvAirId) -> bool
fn eq(&self, other: &RiscvAirId) -> bool
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CoreAirId
impl PartialOrd for CoreAirId
Source§impl TryFrom<RiscvAirId> for CoreAirId
impl TryFrom<RiscvAirId> for CoreAirId
Source§type Error = CoreAirIdConvertError
type Error = CoreAirIdConvertError
Source§fn try_from(
parent: RiscvAirId,
) -> Result<Self, <Self as TryFrom<RiscvAirId>>::Error>
fn try_from( parent: RiscvAirId, ) -> Result<Self, <Self as TryFrom<RiscvAirId>>::Error>
impl Copy for CoreAirId
impl Eq for CoreAirId
impl StructuralPartialEq for CoreAirId
Auto Trait Implementations§
impl Freeze for CoreAirId
impl RefUnwindSafe for CoreAirId
impl Send for CoreAirId
impl Sync for CoreAirId
impl Unpin for CoreAirId
impl UnsafeUnpin for CoreAirId
impl UnwindSafe for CoreAirId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.Source§impl<Challenger, A> FromChallenger<Challenger, A> for Challengerwhere
Challenger: Clone,
impl<Challenger, A> FromChallenger<Challenger, A> for Challengerwhere
Challenger: Clone,
fn from_challenger(challenger: &Challenger, _backend: &A) -> Challenger
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.