Lines Matching refs:InstructionHandle

38  * href="InstructionHandle.html">InstructionHandles</a> objects that
48 * @see InstructionHandle
52 private InstructionHandle start = null, end = null;
102 public static InstructionHandle findHandle(InstructionHandle[] ihs,
132 public InstructionHandle findHandle(int pos) {
133 InstructionHandle[] ihs = getInstructionHandles();
144 InstructionHandle[] ihs = new InstructionHandle[code.length];
161 InstructionHandle ih;
186 InstructionHandle ih = findHandle(ihs, pos, count, target);
220 public InstructionHandle append(InstructionHandle ih, InstructionList il) {
227 InstructionHandle next = ih.next, ret = il.start;
254 public InstructionHandle append(Instruction i, InstructionList il) {
255 InstructionHandle ih;
271 public InstructionHandle append(InstructionList il) {
295 private void append(InstructionHandle ih) {
316 public InstructionHandle append(Instruction i) {
317 InstructionHandle ih = InstructionHandle.getInstructionHandle(i);
344 public InstructionHandle append(Instruction i, Instruction j) {
355 public InstructionHandle append(Instruction i, CompoundInstruction c) {
365 public InstructionHandle append(CompoundInstruction c) {
376 public InstructionHandle append(InstructionHandle ih, CompoundInstruction c) {
387 public InstructionHandle append(InstructionHandle ih, Instruction i) {
398 public BranchHandle append(InstructionHandle ih, BranchInstruction i) {
416 public InstructionHandle insert(InstructionHandle ih, InstructionList il) {
423 InstructionHandle prev = ih.prev, ret = il.start;
448 public InstructionHandle insert(InstructionList il) {
462 private void insert(InstructionHandle ih) {
485 public InstructionHandle insert(Instruction i, InstructionList il) {
486 InstructionHandle ih;
501 public InstructionHandle insert(Instruction i) {
502 InstructionHandle ih = InstructionHandle.getInstructionHandle(i);
528 public InstructionHandle insert(Instruction i, Instruction j) {
539 public InstructionHandle insert(Instruction i, CompoundInstruction c) {
549 public InstructionHandle insert(CompoundInstruction c) {
560 public InstructionHandle insert(InstructionHandle ih, Instruction i) {
571 public InstructionHandle insert(InstructionHandle ih, CompoundInstruction c) {
582 public BranchHandle insert(InstructionHandle ih, BranchInstruction i) {
603 public void move(InstructionHandle start, InstructionHandle end, InstructionHandle target) {
613 for(InstructionHandle ih = start; ih != end.next; ih = ih.next) {
623 InstructionHandle prev = start.prev, next = end.next;
660 public void move(InstructionHandle ih, InstructionHandle target) {
672 private void remove(InstructionHandle prev, InstructionHandle next)
675 InstructionHandle first, last; // First and last deleted instruction
703 for(InstructionHandle ih=first; ih != null; ih = ih.next)
707 for(InstructionHandle ih=first; ih != null; ih = next) {
722 InstructionHandle[] targeted = new InstructionHandle[target_vec.size()];
734 public void delete(InstructionHandle ih) throws TargetLostException {
745 InstructionHandle ih;
761 public void delete(InstructionHandle from, InstructionHandle to)
776 InstructionHandle from_ih, to_ih;
794 private InstructionHandle findInstruction1(Instruction i) {
795 for(InstructionHandle ih=start; ih != null; ih = ih.next)
808 private InstructionHandle findInstruction2(Instruction i) {
809 for(InstructionHandle ih=end; ih != null; ih = ih.prev)
816 public boolean contains(InstructionHandle i) {
820 for(InstructionHandle ih=start; ih != null; ih = ih.next)
850 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
861 InstructionHandle[] targets = ((Select)i).getTargets();
884 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
912 for(InstructionHandle ih=start; ih != null; ih = ih.next)
919 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
945 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
986 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
998 private InstructionHandle ih = start;
1001 InstructionHandle i = ih;
1017 public InstructionHandle[] getInstructionHandles() {
1018 InstructionHandle[] ihs = new InstructionHandle[length];
1019 InstructionHandle ih = start;
1049 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
1061 InstructionHandle ih=start;
1062 InstructionHandle ch=il.start;
1071 InstructionHandle itarget = bi.getTarget(); // old target
1074 bc.setTarget((InstructionHandle)map.get(itarget));
1077 InstructionHandle[] itargets = ((Select)bi).getTargets();
1078 InstructionHandle[] ctargets = ((Select)bc).getTargets();
1081 ctargets[j] = (InstructionHandle)map.get(itargets[j]);
1097 for(InstructionHandle ih=start; ih != null; ih = ih.next) {
1121 for(InstructionHandle ih=end; ih != null; ih = ih.prev)
1133 public InstructionHandle getStart() { return start; }
1138 public InstructionHandle getEnd() { return end; }
1157 public void redirectBranches(InstructionHandle old_target,
1158 InstructionHandle new_target) {
1159 for(InstructionHandle ih = start; ih != null; ih = ih.next) {
1164 InstructionHandle target = b.getTarget();
1170 InstructionHandle[] targets = ((Select)b).getTargets();
1189 InstructionHandle old_target,
1190 InstructionHandle new_target) {
1192 InstructionHandle start = lg[i].getStart();
1193 InstructionHandle end = lg[i].getEnd();
1212 InstructionHandle old_target,
1213 InstructionHandle new_target) {