MCPcopy Create free account
hub / github.com/PolyhedraZK/ExpanderCompilerCollection / addVar

Method addVar

ecgo/builder/builder.go:134–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132}
133
134func (builder *builder) addVar() frontend.Variable {
135 return newVariable(builder.addVarId())
136}
137
138func (builder *builder) ceToId(x constraint.Element) int {
139 builder.instructions = append(builder.instructions, irsource.Instruction{

Callers 15

addMethod · 0.95
NegMethod · 0.95
MulMethod · 0.95
DivUncheckedMethod · 0.95
DivMethod · 0.95
XorMethod · 0.95
OrMethod · 0.95
AndMethod · 0.95
IsZeroMethod · 0.95
CommitMethod · 0.95
callSubCircuitMethod · 0.95
newHintForIdMethod · 0.95

Calls 2

addVarIdMethod · 0.95
newVariableFunction · 0.85

Tested by

no test coverage detected