m2isar.transforms.infer_operands
Infer missing instruction operand declarations from their behavior.
Attributes
Classes
Collect instruction fields and their usage from a behavior tree. |
Functions
|
|
|
Add behavior-referenced fields missing from an instruction's operands. |
Module Contents
- class OperandAnalyzer[source]
Bases:
m2isar.metamodel.utils.ExprVisitor.ExprVisitorCollect instruction fields and their usage from a behavior tree.
- generate(expr: m2isar.metamodel.behav.BaseNode, context=None)[source]
- _(expr: m2isar.metamodel.behav.NamedReference, context=None)[source]
- infer_operands(instruction: m2isar.metamodel.arch.Instruction)[source]
Add behavior-referenced fields missing from an instruction’s operands.