/art/runtime/interpreter/ |
H A D | interpreter_switch_impl.cc | 33 inst->GetDexPc(insns), \ 45 inst = inst->RelativeAt(displacement); \ 54 inst = inst->_next_function(); \ 94 static bool IsExperimentalInstructionEnabled(const Instruction *inst) { argument 95 DCHECK(inst->IsExperimental()); 113 const Instruction* inst = Instruction::At(insns + dex_pc); local 123 dex_pc = inst->GetDexPc(insns); 125 TraceExecution(shadow_frame, inst, dex_p [all...] |
H A D | interpreter_goto_table_impl.cc | 34 // - "inst" : the current Instruction*. 44 inst = inst->RelativeAt(disp); \ 47 TraceExecution(shadow_frame, inst, dex_pc); \ 48 inst_data = inst->Fetch16(0); \ 49 goto *currentHandlersTable[inst->Opcode(inst_data)]; \ 99 DCHECK(inst->IsExperimental()); \ 103 UnexpectedOpcode(inst, shadow_frame); \ 189 const Instruction* inst = Instruction::At(code_item->insns_ + dex_pc); local 208 shadow_frame.SetVReg(inst [all...] |
H A D | interpreter_common.h | 142 const Instruction* inst, uint16_t inst_data, JValue* result); 149 const Instruction* inst, uint16_t inst_data, JValue* result); 209 const Instruction* inst, 226 const uint32_t method_idx = inst->VRegB_21c(); 232 uint32_t vreg_dest_closure = inst->VRegA_21c(); 378 const Instruction* inst, 388 const uint32_t source_vreg = inst->VRegA_21c(); 389 const uint32_t string_idx = inst->VRegB_21c(); 479 const Instruction* inst, 490 const uint32_t dest_vreg = inst 208 DoCreateLambda(Thread* self, const Instruction* inst, ShadowFrame& shadow_frame, lambda::ClosureBuilder* closure_builder, lambda::Closure* uninitialized_closure) argument 377 DoCaptureVariable(Thread* self, const Instruction* inst, ShadowFrame& shadow_frame, lambda::ClosureBuilder* closure_builder) argument 478 DoLiberateVariable(Thread* self, const Instruction* inst, size_t captured_variable_index, ShadowFrame& shadow_frame) argument 597 DoInvokeLambda(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument 628 DoInvoke(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument 670 DoInvokeVirtualQuick(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument 941 DoUnboxLambda(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) argument [all...] |
/art/compiler/dex/ |
H A D | dex_to_dex_compiler.cc | 75 void CompileReturnVoid(Instruction* inst, uint32_t dex_pc); 79 // the given "inst". 80 Instruction* CompileCheckCast(Instruction* inst, uint32_t dex_pc); 88 void CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, 97 void CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, 117 Instruction* inst = const_cast<Instruction*>(Instruction::At(insns)); local 120 inst = const_cast<Instruction*>(inst->Next()), dex_pc = inst->GetDexPc(insns)) { 121 switch (inst 201 CompileReturnVoid(Instruction* inst, uint32_t dex_pc) argument 219 CompileCheckCast(Instruction* inst, uint32_t dex_pc) argument 247 CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_put) argument 274 CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_range) argument [all...] |
H A D | verified_method.cc | 91 const Instruction* inst = Instruction::At(insns); local 93 for (; inst < end; inst = inst->Next()) { 94 const bool is_virtual_quick = inst->Opcode() == Instruction::INVOKE_VIRTUAL_QUICK; 95 const bool is_range_quick = inst->Opcode() == Instruction::INVOKE_VIRTUAL_RANGE_QUICK; 97 uint32_t dex_pc = inst->GetDexPc(insns); 100 method_verifier->GetQuickInvokedMethod(inst, line, is_range_quick, true); 110 } else if (IsInstructionIGetQuickOrIPutQuick(inst->Opcode())) { 111 uint32_t dex_pc = inst 137 const Instruction* inst = Instruction::At(insns); local 214 const Instruction* inst = Instruction::At(code_item->insns_); local [all...] |
/art/tools/ahat/src/ |
H A D | InstanceUtils.java | 35 private static boolean isInstanceOfClass(Instance inst, String className) { argument 36 ClassObj cls = (inst == null) ? null : inst.getClassObj(); 44 private static byte[] asByteArray(Instance inst) { argument 45 if (! (inst instanceof ArrayInstance)) { 49 ArrayInstance array = (ArrayInstance)inst; 68 public static String asString(Instance inst) { argument 69 return asString(inst, -1); 78 public static String asString(Instance inst, int maxChars) { argument 79 // The inst objec 121 asBitmap(Instance inst) argument 162 getField(Instance inst, String fieldName) argument 183 getRefField(Instance inst, String fieldName) argument 197 getIntField(Instance inst, String fieldName, Integer def) argument 211 getLongField(Instance inst, String fieldName, Long def) argument 224 getByteArrayField(Instance inst, String fieldName) argument 235 getAssociatedBitmapInstance(Instance inst) argument 258 isJavaLangRefReference(Instance inst) argument 269 getReferent(Instance inst) argument 283 getDexCacheLocation(Instance inst, int maxChars) argument 312 getNativeAllocation(Instance inst) argument [all...] |
H A D | Value.java | 35 private static DocString renderInstance(AhatSnapshot snapshot, Instance inst) { argument 37 if (inst == null) { 43 if (snapshot.isRoot(inst)) { 50 if (inst instanceof ClassObj) { 54 link.append(inst.toString()); 56 URI objTarget = DocString.formattedUri("object?id=%d", inst.getId()); 60 String stringValue = InstanceUtils.asString(inst, kMaxChars); 67 Instance referent = InstanceUtils.getReferent(inst); 78 String dexCacheLocation = InstanceUtils.getDexCacheLocation(inst, kMaxChars); 88 Instance bitmap = InstanceUtils.getAssociatedBitmapInstance(inst); [all...] |
H A D | ObjectsHandler.java | 43 for (Instance inst : site.getObjects()) { 44 if ((heapName == null || inst.getHeap().getName().equals(heapName)) 46 || AhatSnapshot.getClassName(inst.getClassObj()).equals(className))) { 47 insts.add(inst); 59 for (Instance inst : selector.selected()) { 61 DocString.format("%,d", inst.getSize()), 62 DocString.text(inst.getHeap().getName()), 63 Value.render(mSnapshot, inst));
|
H A D | AhatSnapshot.java | 89 for (Instance inst : Iterables.concat(heap.getClasses(), heap.getInstances())) { 90 Instance dominator = inst.getImmediateDominator(); 92 total += inst.getSize(); 95 mRooted.add(inst); 99 if (inst instanceof ClassObj && javaLangClass != null && inst.getClassObj() == null) { 100 inst.setClassId(javaLangClass.getId()); 109 instances.add(inst); 113 StackTrace stack = getStack(inst); 121 mRootSite.add(stackId, 0, path.iterator(), inst); 173 isRoot(Instance inst) argument 181 getRootTypes(Instance inst) argument 196 getSiteForInstance(Instance inst) argument 213 getDominated(Instance inst) argument 236 getStack(Instance inst) argument [all...] |
H A D | ObjectHandler.java | 55 Instance inst = mSnapshot.findInstance(id); 56 if (inst == null) { 61 doc.title("Object %08x", inst.getUniqueId()); 62 doc.big(Value.render(mSnapshot, inst)); 64 printAllocationSite(doc, query, inst); 65 printDominatorPath(doc, query, inst); 68 ClassObj cls = inst.getClassObj(); 71 doc.description(DocString.text("Size"), DocString.format("%d", inst.getSize())); 74 DocString.format("%d", inst.getTotalRetainedSize())); 75 doc.description(DocString.text("Heap"), DocString.text(inst 103 printClassInstanceFields( Doc doc, Query query, AhatSnapshot snapshot, ClassInstance inst) argument 160 printReferences( Doc doc, Query query, AhatSnapshot snapshot, Instance inst) argument 189 printAllocationSite(Doc doc, Query query, Instance inst) argument 196 printBitmap(Doc doc, Instance inst) argument 205 printDominatorPath(Doc doc, Query query, Instance inst) argument 251 printDominatedObjects(Doc doc, Query query, Instance inst) argument [all...] |
H A D | Site.java | 95 public Site add(int stackId, int stackDepth, Iterator<StackFrame> path, Instance inst) { argument 96 mObjects.add(inst); 98 String heap = inst.getHeap().getName(); 99 mSizesByHeap.put(heap, getSize(heap) + inst.getSize()); 101 Map<ClassObj, ObjectsInfo> classToObjectsInfo = mObjectsInfoMap.get(inst.getHeap()); 104 mObjectsInfoMap.put(inst.getHeap(), classToObjectsInfo); 107 ObjectsInfo info = classToObjectsInfo.get(inst.getClassObj()); 109 info = new ObjectsInfo(inst.getHeap(), inst.getClassObj(), 0, 0); 111 classToObjectsInfo.put(inst [all...] |
H A D | BitmapHandler.java | 41 Instance inst = mSnapshot.findInstance(id); 42 if (inst != null) { 43 bitmap = InstanceUtils.asBitmap(inst);
|
/art/test/551-implicit-null-checks/src/ |
H A D | Main.java | 22 private Inner inst; field in class:Main 39 long result = inst.i1; 44 inst.i1 = a;
|
/art/runtime/ |
H A D | dex_instruction_visitor.h | 33 const Instruction* inst = Instruction::At(&code[i]); local 34 switch (inst->Opcode()) { 37 derived->Do_ ## cname(inst); \ 47 i += inst->SizeInCodeUnits(); 54 void Do_ ## cname(const Instruction* inst) { \ 56 derived->Do_Default(inst); \
|
/art/test/003-omnibus-opcodes/src/ |
H A D | MethodCall.java | 54 MethodCall inst = new MethodCall(); 56 MethodCallBase base = inst; 58 inst.tryThing(); 60 inst = null; 62 inst.directly();
|
/art/runtime/interpreter/mterp/ |
H A D | mterp.cc | 157 const Instruction* inst = Instruction::At(dex_pc_ptr); local 159 self, *shadow_frame, inst, inst_data, result_register); 166 const Instruction* inst = Instruction::At(dex_pc_ptr); local 168 self, *shadow_frame, inst, inst_data, result_register); 175 const Instruction* inst = Instruction::At(dex_pc_ptr); local 177 self, *shadow_frame, inst, inst_data, result_register); 184 const Instruction* inst = Instruction::At(dex_pc_ptr); local 186 self, *shadow_frame, inst, inst_data, result_register); 193 const Instruction* inst = Instruction::At(dex_pc_ptr); local 195 self, *shadow_frame, inst, inst_dat 202 const Instruction* inst = Instruction::At(dex_pc_ptr); local 211 const Instruction* inst = Instruction::At(dex_pc_ptr); local 220 const Instruction* inst = Instruction::At(dex_pc_ptr); local 229 const Instruction* inst = Instruction::At(dex_pc_ptr); local 238 const Instruction* inst = Instruction::At(dex_pc_ptr); local 247 const Instruction* inst = Instruction::At(dex_pc_ptr); local 256 const Instruction* inst = Instruction::At(dex_pc_ptr); local 322 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 348 const Instruction* inst = Instruction::At(dex_pc_ptr); local 356 const Instruction* inst = Instruction::At(dex_pc_ptr); local 364 const Instruction* inst = Instruction::At(dex_pc_ptr); local 371 const Instruction* inst = Instruction::At(dex_pc_ptr); local 389 const Instruction* inst = Instruction::At(dex_pc_ptr); local 397 const Instruction* inst = Instruction::At(dex_pc_ptr); local 405 const Instruction* inst = Instruction::At(dex_pc_ptr); local 435 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 448 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 456 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 464 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 472 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 480 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 488 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 496 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 505 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 513 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local [all...] |
/art/compiler/optimizing/ |
H A D | constant_folding.cc | 31 void VisitUnaryOperation(HUnaryOperation* inst) OVERRIDE; 32 void VisitBinaryOperation(HBinaryOperation* inst) OVERRIDE; 34 void VisitTypeConversion(HTypeConversion* inst) OVERRIDE; 35 void VisitDivZeroCheck(HDivZeroCheck* inst) OVERRIDE; 87 void HConstantFoldingVisitor::VisitUnaryOperation(HUnaryOperation* inst) { argument 90 HConstant* constant = inst->TryStaticEvaluation(); 92 inst->ReplaceWith(constant); 93 inst->GetBlock()->RemoveInstruction(inst); 97 void HConstantFoldingVisitor::VisitBinaryOperation(HBinaryOperation* inst) { argument 110 VisitTypeConversion(HTypeConversion* inst) argument 120 VisitDivZeroCheck(HDivZeroCheck* inst) argument [all...] |
H A D | dead_code_elimination.cc | 166 HInstruction* inst = i.Current(); local 167 DCHECK(!inst->IsControlFlow()); 168 if (!inst->HasSideEffects() 169 && !inst->CanThrow() 170 && !inst->IsSuspendCheck() 171 && !inst->IsNativeDebugInfo() 173 && !inst->IsMemoryBarrier() 174 && !inst->IsParameterValue() 175 && !inst->HasUses()) { 176 block->RemoveInstruction(inst); [all...] |
/art/test/043-privates/src/ |
H A D | Main.java | 45 PrivatePackage inst = new PrivatePackageSub(); 46 System.out.println("PrivatePackage --> " + inst.getStr()); 47 System.out.println("PrivatePackage --> " + inst.privGetStr());
|
/art/runtime/verifier/ |
H A D | register_line.cc | 47 const RegType& RegisterLine::GetInvocationThis(MethodVerifier* verifier, const Instruction* inst, argument 49 const size_t args_count = is_range ? inst->VRegA_3rc() : inst->VRegA_35c(); 57 const uint32_t this_reg = (is_range) ? inst->VRegC_3rc() : inst->VRegC_35c(); 193 void RegisterLine::CheckUnaryOp(MethodVerifier* verifier, const Instruction* inst, argument 195 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { 196 SetRegisterType<LockOp::kClear>(verifier, inst->VRegA_12x(), dst_type); 200 void RegisterLine::CheckUnaryOpWide(MethodVerifier* verifier, const Instruction* inst, argument 203 if (VerifyRegisterTypeWide(verifier, inst 208 CheckUnaryOpToWide(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type1, const RegType& dst_type2, const RegType& src_type) argument 216 CheckUnaryOpFromWide(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type1, const RegType& src_type2) argument 224 CheckBinaryOp(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type1, const RegType& src_type2, bool check_boolean_op) argument 246 CheckBinaryOpWide(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type1, const RegType& dst_type2, const RegType& src_type1_1, const RegType& src_type1_2, const RegType& src_type2_1, const RegType& src_type2_2) argument 256 CheckBinaryOpWideShift(MethodVerifier* verifier, const Instruction* inst, const RegType& long_lo_type, const RegType& long_hi_type, const RegType& int_type) argument 265 CheckBinaryOp2addr(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type1, const RegType& src_type2, bool check_boolean_op) argument 286 CheckBinaryOp2addrWide(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type1, const RegType& dst_type2, const RegType& src_type1_1, const RegType& src_type1_2, const RegType& src_type2_1, const RegType& src_type2_2) argument 298 CheckBinaryOp2addrWideShift(MethodVerifier* verifier, const Instruction* inst, const RegType& long_lo_type, const RegType& long_hi_type, const RegType& int_type) argument 309 CheckLiteralOp(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type, bool check_boolean_op, bool is_lit16) argument [all...] |
H A D | method_verifier.cc | 579 const Instruction* inst = Instruction::At(code_item->insns_); local 583 if (inst->Opcode() == Instruction::MONITOR_ENTER) { 587 dex_pc += inst->SizeInCodeUnits(); 588 inst = inst->Next(); 646 const Instruction* inst = Instruction::At(code_item_->insns_ + dex_pc); local 647 return GetQuickFieldAccess(inst, register_line); 686 const Instruction* inst = Instruction::At(code_item_->insns_ + dex_pc); local 687 const bool is_range = (inst->Opcode() == Instruction::INVOKE_VIRTUAL_RANGE_QUICK); 688 return GetQuickInvokedMethod(inst, register_lin 890 const Instruction* inst = Instruction::At(insns); local 952 const Instruction* inst = Instruction::At(insns); local 1019 const Instruction* inst = Instruction::At(code_item_->insns_ + dex_pc); local 1064 const Instruction* inst = Instruction::At(code_item_->insns_); local 1099 VerifyInstruction(const Instruction* inst, uint32_t code_offset) argument 1614 const Instruction* inst = Instruction::At(code_item_->insns_); local 1997 const Instruction* inst = Instruction::At(insns); local 3870 VerifyInvocationArgsFromIterator( T* it, const Instruction* inst, MethodType method_type, bool is_range, ArtMethod* res_method) argument 4013 VerifyInvocationArgsUnresolvedMethod(const Instruction* inst, MethodType method_type, bool is_range) argument 4052 VerifyInvocationArgs( const Instruction* inst, MethodType method_type, bool is_range) argument 4122 GetQuickInvokedMethod(const Instruction* inst, RegisterLine* reg_line, bool is_range, bool allow_failure) argument 4170 VerifyInvokeVirtualQuickArgs(const Instruction* inst, bool is_range) argument 4271 VerifyNewArray(const Instruction* inst, bool is_filled, bool is_range) argument 4320 VerifyAGet(const Instruction* inst, const RegType& insn_type, bool is_primitive) argument 4435 VerifyAPut(const Instruction* inst, const RegType& insn_type, bool is_primitive) argument 4612 VerifyISFieldAccess(const Instruction* inst, const RegType& insn_type, bool is_primitive, bool is_static) argument 4741 GetQuickFieldAccess(const Instruction* inst, RegisterLine* reg_line) argument 4760 VerifyQuickFieldAccess(const Instruction* inst, const RegType& insn_type, bool is_primitive) argument [all...] |
/art/runtime/interpreter/mterp/arm/ |
H A D | op_sput.S | 14 PREFETCH_INST 2 @ Get next inst, but don't advance rPC
|
H A D | op_sput_wide.S | 13 PREFETCH_INST 2 @ Get next inst, but don't advance rPC
|
/art/runtime/interpreter/mterp/mips64/ |
H A D | op_sput.S | 15 PREFETCH_INST 2 # Get next inst, but don't advance rPC
|
H A D | op_sput_wide.S | 13 PREFETCH_INST 2 # Get next inst, but don't advance rPC
|