Home
last modified time | relevance | path

Searched refs:addOpcode (Results 1 – 25 of 25) sorted by relevance

/external/javassist/src/main/javassist/bytecode/
DBytecode.java420 public void addOpcode(int code) { in addOpcode() method in Bytecode
469 addOpcode(42 + n); // aload_<n> in addAload()
471 addOpcode(ALOAD); // aload in addAload()
475 addOpcode(WIDE); in addAload()
476 addOpcode(ALOAD); in addAload()
488 addOpcode(75 + n); // astore_<n> in addAstore()
490 addOpcode(ASTORE); // astore in addAstore()
494 addOpcode(WIDE); in addAstore()
495 addOpcode(ASTORE); in addAstore()
507 addOpcode(3 + n); // iconst_<i> -1..5 in addIconst()
[all …]
/external/javassist/src/main/javassist/compiler/
DCodeGen.java324 bytecode.addOpcode(Opcode.RETURN); in atMethodBody()
370 bytecode.addOpcode(POP2); in atStmnt()
372 bytecode.addOpcode(POP); in atStmnt()
434 bytecode.addOpcode(Opcode.GOTO); in atIfStmnt()
460 bytecode.addOpcode(Opcode.GOTO); in atWhileStmnt()
475 bytecode.addOpcode(Opcode.GOTO); in atWhileStmnt()
530 bytecode.addOpcode(Opcode.GOTO); in atForStmnt()
550 bytecode.addOpcode(LOOKUPSWITCH); in atSwitchStmnt()
623 bytecode.addOpcode(Opcode.GOTO); in atBreakStmnt()
665 bytecode.addOpcode(op); in atReturnStmnt2()
[all …]
DMemberCodeGen.java134 b.addOpcode(Opcode.GOTO); in jsrJmp()
212 b.addOpcode(Opcode.GOTO); in doit()
241 bc.addOpcode(Opcode.GOTO); in atTryStmnt()
267 bc.addOpcode(Opcode.GOTO); in atTryStmnt()
285 bc.addOpcode(ATHROW); in atTryStmnt()
314 bc.addOpcode(Opcode.GOTO); in addFinally()
329 bytecode.addOpcode(DUP); in atNewExpr()
412 bytecode.addOpcode(NEWARRAY); in atNewArrayExpr2()
420 bytecode.addOpcode(DUP); in atNewArrayExpr2()
426 bytecode.addOpcode(getArrayWriteOp(type, 0)); in atNewArrayExpr2()
[all …]
DJvstCodeGen.java84 bytecode.addOpcode(ACONST_NULL); in addNullIfVoid()
152 bytecode.addOpcode(POP); in atFieldAssign()
167 code.addOpcode(DUP); in atAssignParamList()
169 code.addOpcode(AALOAD); in atAssignParamList()
227 bytecode.addOpcode(DUP); // dup in atCastToWrapper()
229 bytecode.addOpcode(DUP2_X2); // dup2_x2 in atCastToWrapper()
231 bytecode.addOpcode(DUP2_X1); // dup2_x1 in atCastToWrapper()
233 bytecode.addOpcode(POP2); // pop2 in atCastToWrapper()
436 bytecode.addOpcode(POP2); in atReturnStmnt()
438 bytecode.addOpcode(POP); in atReturnStmnt()
[all …]
DJavac.java261 b.addOpcode(value); in makeDefaultBody()
263 b.addOpcode(op); in makeDefaultBody()
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java1055 code.addOpcode(Bytecode.RETURN); in addClassInitializer()
1072 code.addOpcode(Opcode.ACONST_NULL); in callFind2Methods()
1092 code.addOpcode(Bytecode.RETURN); in addSetter()
1106 code.addOpcode(Bytecode.ARETURN); in addGetter()
1331 code.addOpcode(Opcode.IFNONNULL); in makeConstructor()
1344 code.addOpcode(Opcode.RETURN); in makeConstructor()
1432 code.addOpcode(Opcode.AALOAD); in makeForwarder()
1436 code.addOpcode(Opcode.AALOAD); in makeForwarder()
1516 code.addOpcode(Opcode.LRETURN); in addReturn()
1520 code.addOpcode(Opcode.FRETURN); in addReturn()
[all …]
/external/javassist/src/test/test/javassist/bytecode/analysis/
DScannerTest.java126 /* 30 */ code.addOpcode(Opcode.ATHROW); in generate()
130 /* 33 */ code.addOpcode(Opcode.LOOKUPSWITCH); in generate()
167 /* 128 */ code.addOpcode(Opcode.RETURN); in generate()
182 code.addOpcode(opcode); in addJump()
DAnalyzerTest.java144 code.addOpcode(opcode); in addJump()
208 /* 9 */ code.addOpcode(Opcode.ARETURN); in generateDeadCode()
225 /* 4 */ code.addOpcode(Opcode.ARETURN); in generateInvalidCode()
259 /* 6 */ code.addOpcode(Opcode.ARETURN); in generateJsrMerge()
281 /* 4 */ code.addOpcode(Opcode.ARETURN); in generateJsrMerge2()
/external/javassist/src/main/javassist/
DCtBehavior.java922 code.addOpcode(Opcode.ACONST_NULL); in insertAfterAdvice()
925 code.addOpcode(Opcode.RETURN); in insertAfterAdvice()
934 code.addOpcode(((CtPrimitiveType)rtype).getReturnOp()); in insertAfterAdvice()
936 code.addOpcode(Opcode.ARETURN); in insertAfterAdvice()
1004 b.addOpcode(Opcode.ACONST_NULL); in insertAfterHandler()
1013 b.addOpcode(Opcode.ACONST_NULL); in insertAfterHandler()
1019 b.addOpcode(Opcode.ATHROW); in insertAfterHandler()
DCtNewWrappedMethod.java198 code.addOpcode(pt.getReturnOp()); in compileReturn()
202 code.addOpcode(Bytecode.ARETURN); in compileReturn()
/external/javassist/src/main/javassist/expr/
DNewExpr.java256 bytecode.addOpcode(NEW); in doit()
258 bytecode.addOpcode(DUP); in doit()
DNewArray.java249 bytecode.addOpcode(ACONST_NULL); // initialize $_ in replace2()
283 bytecode.addOpcode(opcode); in doit()
DHandler.java142 b.addOpcode(Opcode.GOTO); in insertBefore()
DCast.java175 bytecode.addOpcode(Opcode.CHECKCAST); in doit()
DInstanceof.java179 bytecode.addOpcode(Opcode.INSTANCEOF); in doit()
DFieldAccess.java226 bytecode.addOpcode(ACONST_NULL); in replace()
DExpr.java234 bytecode.addOpcode(ACONST_NULL); in storeStack()
/external/llvm-project/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp378 unsigned addOpcode; in eliminateCallFramePseudoInstr() local
380 addOpcode = AVR::ADIWRdK; in eliminateCallFramePseudoInstr()
382 addOpcode = AVR::SUBIWRdK; in eliminateCallFramePseudoInstr()
389 MachineInstr *New = BuildMI(MBB, MI, DL, TII.get(addOpcode), AVR::R31R30) in eliminateCallFramePseudoInstr()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp392 unsigned addOpcode; in eliminateCallFramePseudoInstr() local
394 addOpcode = AVR::ADIWRdK; in eliminateCallFramePseudoInstr()
396 addOpcode = AVR::SUBIWRdK; in eliminateCallFramePseudoInstr()
403 MachineInstr *New = BuildMI(MBB, MI, DL, TII.get(addOpcode), AVR::R31R30) in eliminateCallFramePseudoInstr()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenSchedule.h364 void addOpcode(const Record *Opcode) { in addOpcode() function
394 void addOpcode(const Record *OpcodeRec, OpcodeInfo &&Info) { in addOpcode() function
398 Groups.back().addOpcode(OpcodeRec); in addOpcode()
DGICombinerEmitter.cpp477 P->addOpcode(&Target.getInstruction(OpcodeDef)); in parseWipMatchOpcodeMatcher()
DCodeGenSchedule.cpp396 Fn.addOpcode(Info.first, std::move(Info.second)); in processSTIPredicate()
/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DGIMatchDagPredicate.h105 void addOpcode(const CodeGenInstruction *Instr) { Instrs.push_back(Instr); } in addOpcode() function
/external/javassist/src/test/javassist/bytecode/
DBytecodeTest.java130 code.addOpcode(Opcode.ACONST_NULL); in test2byteLocalVar()
137 code.addOpcode(Opcode.IRETURN); in test2byteLocalVar()
793 code.addOpcode(Opcode.SWAP); in testInvokeDynamic()
794 code.addOpcode(Opcode.POP); in testInvokeDynamic()
795 code.addOpcode(Opcode.IRETURN); in testInvokeDynamic()
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp1101 sw::Shader::Opcode addOpcode = getOpcode(sw::Shader::OPCODE_ADD, arg); in visitUnary() local
1104 emit(addOpcode, arg, index, arg, index, &one); in visitUnary()
1127 sw::Shader::Opcode addOpcode = getOpcode(sw::Shader::OPCODE_ADD, arg); in visitUnary() local
1130 emit(addOpcode, result, index, arg, index, &one); in visitUnary()