/art/runtime/interpreter/ |
H A D | interpreter_switch_impl.cc | 47 inst = inst->RelativeAt(displacement); \ 58 inst = inst->_next_function(); \ 124 shadow_frame.SetDexPC(inst->GetDexPc(insns)); \ 215 const Instruction* inst = Instruction::At(insns + dex_pc); local 220 dex_pc = inst->GetDexPc(insns); 222 TraceExecution(shadow_frame, inst, dex_pc); 223 inst_data = inst->Fetch16(0); 224 switch (inst [all...] |
H A D | interpreter_intrinsics.h | 34 const Instruction* inst,
|
H A D | interpreter_common.cc | 51 bool DoFieldGet(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, argument 54 const uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); 73 obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data)); 86 uint32_t vregA = is_static ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data); 120 const Instruction* inst, \ 153 bool DoIGetQuick(ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) { argument 154 ObjPtr<mirror::Object> obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data)); 161 MemberOffset field_offset(inst 263 DoFieldPut(Thread* self, const ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) argument 336 DoIPutQuick(const ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) argument 475 UnexpectedOpcode(const Instruction* inst, const ShadowFrame& shadow_frame) argument 872 DoInvokePolymorphic(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument 1403 DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument 1426 DoFilledNewArray(const Instruction* inst, const ShadowFrame& shadow_frame, Thread* self, JValue* result) argument [all...] |
/art/runtime/ |
H A D | dex_to_dex_decompiler.cc | 45 void DecompileInstanceFieldAccess(Instruction* inst, Instruction::Code new_opcode) { argument 47 inst->SetOpcode(new_opcode); 48 inst->SetVRegC_22c(index); 51 void DecompileInvokeVirtual(Instruction* inst, Instruction::Code new_opcode, bool is_range) { argument 53 inst->SetOpcode(new_opcode); 55 inst->SetVRegB_3rc(index); 57 inst->SetVRegB_35c(index); 61 void DecompileNop(Instruction* inst) { argument 68 inst->SetOpcode(Instruction::CHECK_CAST); 69 inst 95 Instruction* inst = const_cast<Instruction*>(&pair.Inst()); local [all...] |
H A D | quicken_info.h | 59 static bool NeedsIndexForInstruction(const Instruction* inst) { argument 60 return inst->IsQuickened() || inst->Opcode() == Instruction::NOP;
|
/art/tools/ahat/src/main/com/android/ahat/ |
H A D | Summarizer.java | 36 public static DocString summarize(AhatInstance inst) { argument 38 if (inst == null) { 44 if (inst.getBaseline().isPlaceHolder()) { 49 if (inst.isPlaceHolder()) { 54 if (inst.isWeaklyReachable()) { 56 } else if (inst.isUnreachable()) { 61 if (inst.isRoot()) { 65 DocString linkText = DocString.text(inst.toString()); 66 if (inst.isPlaceHolder()) { 70 URI objTarget = DocString.formattedUri("object?id=0x%x", inst [all...] |
H A D | ObjectHandler.java | 59 AhatInstance inst = mSnapshot.findInstance(id); 60 if (inst == null) { 64 AhatInstance base = inst.getBaseline(); 66 doc.title("Object %08x", inst.getId()); 67 doc.big(Summarizer.summarize(inst)); 69 printAllocationSite(doc, query, inst); 71 if (!inst.isUnreachable()) { 72 printGcRootPath(doc, query, inst); 76 AhatClassObj cls = inst.getClassObj(); 80 doc.description(DocString.text("Heap"), DocString.text(inst 115 printClassInstanceFields(Doc doc, Query query, AhatClassInstance inst) argument 224 printReferences(Doc doc, Query query, AhatInstance inst) argument 252 printAllocationSite(Doc doc, Query query, AhatInstance inst) argument 259 printBitmap(Doc doc, AhatInstance inst) argument 268 printGcRootPath(Doc doc, Query query, AhatInstance inst) argument 314 printDominatedObjects(Doc doc, Query query, AhatInstance inst) argument [all...] |
H A D | ObjectsHandler.java | 55 for (AhatInstance inst : selector.selected()) { 56 AhatInstance base = inst.getBaseline(); 57 SizeTable.row(doc, inst.getSize(), base.getSize(), 58 DocString.text(inst.getHeap().getName()), 59 Summarizer.summarize(inst));
|
/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, 104 uint16_t GetIndexForInstruction(const Instruction* inst, uint32_t index); 193 uint16_t DexToDexCompiler::CompilationState::GetIndexForInstruction(const Instruction* inst, argument 196 return inst->IsQuickened() ? NextIndex() : index; 198 DCHECK(!inst->IsQuickened()); 214 Instruction* inst local 365 const Instruction& inst = instructions.InstructionAt(info.dex_pc); local 373 CompileReturnVoid(Instruction* inst, uint32_t dex_pc) argument 392 CompileCheckCast(Instruction* inst, uint32_t dex_pc) argument 426 CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_put) argument 459 CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_range) argument [all...] |
H A D | verified_method.cc | 70 const Instruction& inst = pair.Inst(); local 71 const Instruction::Code code = inst.Opcode(); 80 inst.VRegA_21c())); 82 method_verifier->ResolveCheckedClass(dex::TypeIndex(inst.VRegB_21c()));
|
/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/test/551-implicit-null-checks/src/ |
H A D | Main.java | 23 private Inner inst; field in class:Main 50 long result = inst.i1; 55 inst.i1 = a; 60 double result = inst.i2; 65 inst.i2 = a;
|
/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; 90 void HConstantFoldingVisitor::VisitUnaryOperation(HUnaryOperation* inst) { argument 93 HConstant* constant = inst->TryStaticEvaluation(); 95 inst->ReplaceWith(constant); 96 inst->GetBlock()->RemoveInstruction(inst); 100 void HConstantFoldingVisitor::VisitBinaryOperation(HBinaryOperation* inst) { argument 113 VisitTypeConversion(HTypeConversion* inst) argument 123 VisitDivZeroCheck(HDivZeroCheck* inst) argument [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 | 49 const RegType& RegisterLine::GetInvocationThis(MethodVerifier* verifier, const Instruction* inst, argument 51 DCHECK(inst->IsInvoke()); 52 const size_t args_count = inst->VRegA(); 60 const uint32_t this_reg = inst->VRegC(); 196 void RegisterLine::CheckUnaryOp(MethodVerifier* verifier, const Instruction* inst, argument 198 if (VerifyRegisterType(verifier, inst->VRegB_12x(), src_type)) { 199 SetRegisterType<LockOp::kClear>(verifier, inst->VRegA_12x(), dst_type); 203 void RegisterLine::CheckUnaryOpWide(MethodVerifier* verifier, const Instruction* inst, argument 206 if (VerifyRegisterTypeWide(verifier, inst->VRegB_12x(), src_type1, src_type2)) { 207 SetRegisterTypeWide(verifier, inst 211 CheckUnaryOpToWide(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type1, const RegType& dst_type2, const RegType& src_type) argument 219 CheckUnaryOpFromWide(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type1, const RegType& src_type2) argument 227 CheckBinaryOp(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type1, const RegType& src_type2, bool check_boolean_op) argument 249 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 259 CheckBinaryOpWideShift(MethodVerifier* verifier, const Instruction* inst, const RegType& long_lo_type, const RegType& long_hi_type, const RegType& int_type) argument 268 CheckBinaryOp2addr(MethodVerifier* verifier, const Instruction* inst, const RegType& dst_type, const RegType& src_type1, const RegType& src_type2, bool check_boolean_op) argument 289 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 301 CheckBinaryOp2addrWideShift(MethodVerifier* verifier, const Instruction* inst, const RegType& long_lo_type, const RegType& long_hi_type, const RegType& int_type) argument 312 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 | 635 for (const DexInstructionPcPair& inst : code_item_accessor_) { 636 if (inst->Opcode() == Instruction::MONITOR_ENTER) { 850 const Instruction& inst = code_item_accessor_.InstructionAt(work_insn_idx_); local 851 int opcode_flags = Instruction::FlagsOf(inst.Opcode()); 1023 for (const DexInstructionPcPair& inst : code_item_accessor_) { 1024 const uint32_t dex_pc = inst.DexPc(); 1025 if (!VerifyInstruction<kAllowRuntimeOnlyInstructions>(&inst.Inst(), dex_pc)) { 1032 if (inst->IsBranch()) { 1041 } else if (inst->IsSwitch() || inst 1051 VerifyInstruction(const Instruction* inst, uint32_t code_offset) argument 2009 const Instruction* inst = Instruction::At(insns); local 3910 VerifyInvocationArgsFromIterator( T* it, const Instruction* inst, MethodType method_type, bool is_range, ArtMethod* res_method) argument 4053 VerifyInvocationArgsUnresolvedMethod(const Instruction* inst, MethodType method_type, bool is_range) argument 4210 VerifyInvocationArgs( const Instruction* inst, MethodType method_type, bool is_range) argument 4337 CheckSignaturePolymorphicReceiver(const Instruction* inst) argument 4367 GetMethodIdxOfInvoke(const Instruction* inst) argument 4384 GetFieldIdxOfFieldAccess(const Instruction* inst, bool is_static) argument 4398 VerifyNewArray(const Instruction* inst, bool is_filled, bool is_range) argument 4447 VerifyAGet(const Instruction* inst, const RegType& insn_type, bool is_primitive) argument 4569 VerifyAPut(const Instruction* inst, const RegType& insn_type, bool is_primitive) argument 4762 VerifyISFieldAccess(const Instruction* inst, const RegType& insn_type, bool is_primitive, bool is_static) argument [all...] |
/art/runtime/interpreter/mterp/ |
H A D | mterp.cc | 173 const Instruction* inst = Instruction::At(dex_pc_ptr); local 175 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); 195 const Instruction* inst = Instruction::At(dex_pc_ptr); local 197 self, *shadow_frame, inst, inst_data, result_register); 206 const Instruction* inst = Instruction::At(dex_pc_ptr); local 208 self, *shadow_frame, inst, inst_data, result_register); 217 const Instruction* inst = Instruction::At(dex_pc_ptr); local 219 self, *shadow_frame, inst, inst_dat 228 const Instruction* inst = Instruction::At(dex_pc_ptr); local 239 const Instruction* inst = Instruction::At(dex_pc_ptr); local 250 const Instruction* inst = Instruction::At(dex_pc_ptr); local 261 const Instruction* inst = Instruction::At(dex_pc_ptr); local 272 const Instruction* inst = Instruction::At(dex_pc_ptr); local 283 const Instruction* inst = Instruction::At(dex_pc_ptr); local 294 const Instruction* inst = Instruction::At(dex_pc_ptr); local 305 const Instruction* inst = Instruction::At(dex_pc_ptr); local 315 const Instruction* inst = Instruction::At(dex_pc_ptr); local 326 const Instruction* inst = Instruction::At(dex_pc_ptr); local 354 const Instruction* inst = Instruction::At(dex_pc_ptr); local 466 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 494 const Instruction* inst = Instruction::At(dex_pc_ptr); local 504 const Instruction* inst = Instruction::At(dex_pc_ptr); local 513 const Instruction* inst = Instruction::At(dex_pc_ptr); local 521 const Instruction* inst = Instruction::At(dex_pc_ptr); local 540 const Instruction* inst = Instruction::At(dex_pc_ptr); local 549 const Instruction* inst = Instruction::At(dex_pc_ptr); local 558 const Instruction* inst = Instruction::At(dex_pc_ptr); local 580 const Instruction* inst = Instruction::At(dex_pc_ptr); local 600 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 608 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 616 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 624 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 632 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 640 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 648 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 657 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local 665 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local [all...] |
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
H A D | AhatInstance.java | 545 private static PathElement getNextPathElementToGcRoot(AhatInstance inst) { argument 546 if (inst.isRoot()) { 549 return new PathElement(inst.mNextInstanceToGcRoot, inst.mNextInstanceToGcRootField); 673 static void computeRetainedSize(AhatInstance inst, int numHeaps) { argument 681 deque.push(inst); 684 inst = deque.pop(); 685 if (inst.mRetainedSizes == null) { 686 inst.mRetainedSizes = new Size[numHeaps]; 688 inst [all...] |
H A D | Diff.java | 105 private Key(AhatInstance inst) { argument 106 mClass = inst.getClassName(); 107 mHeapName = inst.getHeap().getName(); 108 mClassName = inst.isClassObj() ? inst.asClassObj().getName() : ""; 109 String string = inst.asString(); 111 AhatArrayInstance array = inst.asArrayInstance(); 118 public static Key keyFor(AhatInstance inst) { argument 119 return new Key(inst); 162 private static AhatInstance createPlaceHolders(AhatInstance inst, argument [all...] |
/art/test/983-source-transform-verify/ |
H A D | source_transform_art.cc | 66 const Instruction& inst = pair.Inst(); local 68 if (inst.Opcode() == Instruction::RETURN_VOID_NO_BARRIER || 69 (inst.GetVerifyExtraFlags() & forbidden_flags) != 0) { 72 << inst.DumpString(dex.get()) << std::endl;
|
/art/dexdump/ |
H A D | dexdump_cfg.cc | 48 const Instruction* inst = &pair.Inst(); local 49 if (inst->IsBranch()) { 50 dex_pc_is_branch_target.insert(pair.DexPc() + inst->GetTargetOffset()); 51 } else if (inst->IsSwitch()) { 52 const uint16_t* insns = reinterpret_cast<const uint16_t*>(inst); 166 const Instruction* inst = &pair.Inst(); local 208 if (inst->IsBranch()) { 209 const int32_t offset = inst->GetTargetOffset(); 210 const bool conditional = !inst->IsUnconditional(); 222 } else if (inst 296 const Instruction* inst = &accessor.InstructionAt(dex_pc); local [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
|