Home | History | Annotate | Download | only in courgette

Lines Matching full:program

27   bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) {
34 // The purpose of adjustment is to assign indexes to Labels of a program 'p' to
35 // make the sequence of indexes similar to a 'model' program 'm'. Labels
49 LabelInfo* assignment_; // Label from other program corresponding to this.
98 // * The strongest match will be for parts of the program that have not
99 // changed. If part of a program has not changed, then the number of
104 // if both the program and the model have a label that is referred to much
108 // * If a label from the program corresponds to a label in the model, it is
128 // We dynamically build a trie for both the program and model, growing the trie
574 bool Adjust(const AssemblyProgram& model, AssemblyProgram* program) {
576 prog_ = program;
594 void CollectTraces(const AssemblyProgram* program, Trace* abs32, Trace* rel32,
596 const InstructionVector& instructions = program->instructions();
599 if (Label* label = program->InstructionAbs32Label(instruction))
601 if (Label* label = program->InstructionRel32Label(instruction))
652 AssemblyProgram* prog_; // Program to be adjusted, owned by caller.
653 const AssemblyProgram* model_; // Program to be mimicked, owned by caller.
683 Status Adjust(const AssemblyProgram& model, AssemblyProgram* program) {
685 bool ok = method->Adjust(model, program);