Searched defs:inst (Results 1 - 25 of 30) sorted by relevance

12

/art/tools/ahat/src/
H A DSummarizer.java36 public static DocString summarize(AhatInstance inst) { argument
38 if (inst == null) {
44 if (inst.getBaseline().isPlaceHolder()) {
49 if (inst.isPlaceHolder()) {
54 if (!inst.isReachable()) {
59 if (inst.isRoot()) {
65 if (inst.isClassObj()) {
69 linkText.append(inst.toString());
71 if (inst.isPlaceHolder()) {
75 URI objTarget = DocString.formattedUri("object?id=%d", inst
[all...]
H A DObjectHandler.java57 AhatInstance inst = mSnapshot.findInstance(id);
58 if (inst == null) {
62 AhatInstance base = inst.getBaseline();
64 doc.title("Object %08x", inst.getId());
65 doc.big(Summarizer.summarize(inst));
67 printAllocationSite(doc, query, inst);
68 printGcRootPath(doc, query, inst);
71 AhatClassObj cls = inst.getClassObj();
75 DocString sizeDescription = DocString.format("%,14d ", inst.getSize());
77 inst
113 printClassInstanceFields(Doc doc, Query query, AhatClassInstance inst) argument
205 printReferences(Doc doc, Query query, AhatInstance inst) argument
233 printAllocationSite(Doc doc, Query query, AhatInstance inst) argument
240 printBitmap(Doc doc, AhatInstance inst) argument
249 printGcRootPath(Doc doc, Query query, AhatInstance inst) argument
295 printDominatedObjects(Doc doc, Query query, AhatInstance inst) argument
[all...]
/art/compiler/dex/
H A Dverified_method.cc65 const Instruction* inst = Instruction::At(code_item->insns_); local
69 for (; inst < end; inst = inst->Next()) {
70 Instruction::Code code = inst->Opcode();
72 uint32_t dex_pc = inst->GetDexPc(code_item->insns_);
79 inst->VRegA_21c()));
81 method_verifier->ResolveCheckedClass(dex::TypeIndex(inst->VRegB_21c()));
H A Ddex_to_dex_compiler.cc74 void CompileReturnVoid(Instruction* inst, uint32_t dex_pc);
78 // the given "inst".
79 Instruction* CompileCheckCast(Instruction* inst, uint32_t dex_pc);
87 void CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc,
96 void CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc,
116 Instruction* inst = const_cast<Instruction*>(Instruction::At(insns)); local
119 inst = const_cast<Instruction*>(inst->Next()), dex_pc = inst->GetDexPc(insns)) {
120 switch (inst
200 CompileReturnVoid(Instruction* inst, uint32_t dex_pc) argument
218 CompileCheckCast(Instruction* inst, uint32_t dex_pc) argument
248 CompileInstanceFieldAccess(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_put) argument
275 CompileInvokeVirtual(Instruction* inst, uint32_t dex_pc, Instruction::Code new_opcode, bool is_range) argument
[all...]
/art/runtime/
H A Ddex_instruction_visitor.h33 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); \
H A Ddex_to_dex_decompiler.cc42 void DecompileInstanceFieldAccess(Instruction* inst, argument
46 inst->SetOpcode(new_opcode);
47 inst->SetVRegC_22c(index);
50 void DecompileInvokeVirtual(Instruction* inst, argument
55 inst->SetOpcode(new_opcode);
57 inst->SetVRegB_3rc(index);
59 inst->SetVRegB_35c(index);
63 void DecompileNop(Instruction* inst, uint32_t dex_pc) { argument
74 inst->SetOpcode(Instruction::CHECK_CAST);
75 inst
107 Instruction* inst = const_cast<Instruction*>(&it.CurrentInstruction()); local
[all...]
/art/test/983-source-transform-verify/
H A Dsource_transform.cc92 const Instruction& inst = code_it.CurrentInstruction(); local
94 if (inst.Opcode() == Instruction::RETURN_VOID_NO_BARRIER ||
95 (inst.GetVerifyExtraFlags() & forbiden_flags) != 0) {
98 << inst.DumpString(dex.get()) << std::endl;
/art/test/551-implicit-null-checks/src/
H A DMain.java23 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/tools/ahat/src/heapdump/
H A DAhatArrayInstance.java40 @Override void initialize(AhatSnapshot snapshot, Instance inst) { argument
41 super.initialize(snapshot, inst);
43 ArrayInstance array = (ArrayInstance)inst;
52 if (ref.getNextInstanceToGcRoot() == inst) {
H A DAhatClassObj.java37 @Override void initialize(AhatSnapshot snapshot, Instance inst) { argument
38 super.initialize(snapshot, inst);
40 ClassObj classObj = (ClassObj)inst;
64 if (ref.getNextInstanceToGcRoot() == inst) {
H A DAhatClassInstance.java32 @Override void initialize(AhatSnapshot snapshot, Instance inst) { argument
33 super.initialize(snapshot, inst);
35 ClassInstance classInst = (ClassInstance)inst;
48 if (ref.getNextInstanceToGcRoot() == inst) {
128 AhatInstance inst = value.asAhatInstance();
129 if (inst.isArrayInstance()) {
130 AhatArrayInstance chars = inst.asArrayInstance();
H A DDiff.java99 private Key(AhatInstance inst) { argument
100 mClass = inst.getClassName();
101 mHeapName = inst.getHeap().getName();
102 mClassName = inst.isClassObj() ? inst.asClassObj().getName() : "";
103 String string = inst.asString();
105 AhatArrayInstance array = inst.asArrayInstance();
112 public static Key keyFor(AhatInstance inst) { argument
113 return new Key(inst);
156 private static AhatInstance createPlaceHolders(AhatInstance inst, argument
[all...]
H A DSite.java124 Site add(StackFrame[] frames, int depth, AhatInstance inst) { argument
125 return add(this, frames, depth, inst);
128 private static Site add(Site site, StackFrame[] frames, int depth, AhatInstance inst) { argument
130 site.mObjects.add(inst);
132 ObjectsInfo info = site.getObjectsInfo(inst.getHeap(), inst.getClassObj());
133 if (inst.isReachable()) {
134 AhatHeap heap = inst.getHeap();
142 site.mSizesByHeap[heap.getIndex()] += inst.getSize();
145 info.numBytes += inst
[all...]
H A DAhatInstance.java64 void initialize(AhatSnapshot snapshot, Instance inst) { argument
65 mId = inst.getId();
66 mSize = inst.getSize();
67 mTotalRetainedSize = inst.getTotalRetainedSize();
68 mIsReachable = inst.isReachable();
73 mRetainedSizes[heap.getIndex()] = inst.getRetainedSize(heap.getIndex());
76 mHeap = snapshot.getHeap(inst.getHeap().getName());
78 Instance dom = inst.getImmediateDominator();
86 ClassObj clsObj = inst.getClassObj();
100 for (Instance ref : inst
407 getNextPathElementToGcRoot(AhatInstance inst) argument
415 setNextInstanceToGcRoot(AhatInstance inst, String field) argument
[all...]
/art/compiler/optimizing/
H A Dconstant_folding.cc31 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...]
H A Dintrinsics.cc141 HInstruction* inst = inst_it.Current(); local
142 if (inst->IsInvoke()) {
143 HInvoke* invoke = inst->AsInvoke();
H A Ddead_code_elimination.cc358 HInstruction* inst = i.Current(); local
359 DCHECK(!inst->IsControlFlow());
360 if (inst->IsDeadAndRemovable()) {
361 block->RemoveInstruction(inst);
/art/dexdump/
H A Ddexdump_cfg.cc41 const Instruction* inst = Instruction::At(code_item->insns_); local
44 dex_pc += inst->SizeInCodeUnits(), inst = inst->Next()) {
45 if (inst->IsBranch()) {
46 dex_pc_is_branch_target.insert(dex_pc + inst->GetTargetOffset());
47 } else if (inst->IsSwitch()) {
75 const Instruction* inst = Instruction::At(code_item->insns_); local
80 dex_pc += inst->SizeInCodeUnits(), inst
163 const Instruction* inst = Instruction::At(code_item->insns_); local
294 const Instruction* inst = Instruction::At(&code_item->insns_[dex_pc]); local
[all...]
/art/runtime/interpreter/
H A Dinterpreter_common.h113 const Instruction* inst, uint16_t inst_data, JValue* result);
122 const Instruction* inst,
125 const uint32_t method_idx = inst->VRegB_35c();
126 const uint32_t vregC = inst->VRegC_35c();
151 if (MterpHandleIntrinsic(&shadow_frame, called_method, inst, inst_data,
156 return DoCall<false, false>(called_method, self, shadow_frame, inst, inst_data, result);
165 const Instruction* inst,
168 const uint32_t method_idx = (is_range) ? inst->VRegB_3rc() : inst->VRegB_35c();
169 const uint32_t vregC = (is_range) ? inst
120 DoFastInvoke(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument
163 DoInvoke(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument
223 DoInvokeVirtualQuick(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument
[all...]
H A Dinterpreter_switch_impl.cc34 inst->GetDexPc(insns), \
46 inst = inst->RelativeAt(displacement); \
55 inst = inst->_next_function(); \
100 shadow_frame.SetDexPC(inst->GetDexPc(insns)); \
119 const Instruction* inst = Instruction::At(insns + dex_pc); local
125 dex_pc = inst->GetDexPc(insns);
127 TraceExecution(shadow_frame, inst, dex_pc);
128 inst_data = inst
[all...]
H A Dunstarted_runtime_test.cc394 const Instruction* inst = Instruction::At(inst_data); local
404 interpreter::DoCall<false, false>(method, self, *shadow_frame, inst, inst_data[0], &result);
1029 const Instruction* inst = Instruction::At(inst_data); local
1034 interpreter::DoCall<false, false>(method, self, *shadow_frame, inst, inst_data[0], &result);
1191 const Instruction* inst = Instruction::At(inst_data); local
1196 inst,
H A Dinterpreter_common.cc45 bool DoFieldGet(Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, argument
48 const uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c();
60 obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data));
69 uint32_t vregA = is_static ? inst->VRegA_21c(inst_data) : inst->VRegA_22c(inst_data);
103 const Instruction* inst, \
134 bool DoIGetQuick(ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) { argument
135 ObjPtr<mirror::Object> obj = shadow_frame.GetVRegReference(inst->VRegB_22c(inst_data));
142 MemberOffset field_offset(inst
240 DoFieldPut(Thread* self, const ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) argument
305 DoIPutQuick(const ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data) argument
412 UnexpectedOpcode(const Instruction* inst, const ShadowFrame& shadow_frame) argument
1090 DoCall(ArtMethod* called_method, Thread* self, ShadowFrame& shadow_frame, const Instruction* inst, uint16_t inst_data, JValue* result) argument
1113 DoFilledNewArray(const Instruction* inst, const ShadowFrame& shadow_frame, Thread* self, JValue* result) argument
[all...]
/art/runtime/interpreter/mterp/
H A Dmterp.cc160 const Instruction* inst = Instruction::At(dex_pc_ptr); local
162 self, *shadow_frame, inst, inst_data, result_register);
171 const Instruction* inst = Instruction::At(dex_pc_ptr); local
173 self, *shadow_frame, inst, inst_data, result_register);
182 const Instruction* inst = Instruction::At(dex_pc_ptr); local
184 self, *shadow_frame, inst, inst_data, result_register);
193 const Instruction* inst = Instruction::At(dex_pc_ptr); local
195 self, *shadow_frame, inst, inst_data, result_register);
204 const Instruction* inst = Instruction::At(dex_pc_ptr); local
206 self, *shadow_frame, inst, inst_dat
215 const Instruction* inst = Instruction::At(dex_pc_ptr); local
226 const Instruction* inst = Instruction::At(dex_pc_ptr); local
237 const Instruction* inst = Instruction::At(dex_pc_ptr); local
248 const Instruction* inst = Instruction::At(dex_pc_ptr); local
259 const Instruction* inst = Instruction::At(dex_pc_ptr); local
270 const Instruction* inst = Instruction::At(dex_pc_ptr); local
299 const Instruction* inst = Instruction::At(dex_pc_ptr); local
385 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
413 const Instruction* inst = Instruction::At(dex_pc_ptr); local
423 const Instruction* inst = Instruction::At(dex_pc_ptr); local
432 const Instruction* inst = Instruction::At(dex_pc_ptr); local
440 const Instruction* inst = Instruction::At(dex_pc_ptr); local
459 const Instruction* inst = Instruction::At(dex_pc_ptr); local
468 const Instruction* inst = Instruction::At(dex_pc_ptr); local
477 const Instruction* inst = Instruction::At(dex_pc_ptr); local
507 const Instruction* inst = Instruction::At(dex_pc_ptr); local
527 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
535 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
543 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
551 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
559 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
567 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
575 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
584 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
592 const Instruction* inst = Instruction::At(shadow_frame->GetDexPCPtr()); local
[all...]
/art/runtime/verifier/
H A Dregister_line.cc49 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...]
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc2499 const Instruction* inst = Instruction::At(&code->insns_[dex_pc]); local
2500 DCHECK(inst->Opcode() == Instruction::INVOKE_POLYMORPHIC ||
2501 inst->Opcode() == Instruction::INVOKE_POLYMORPHIC_RANGE);
2503 const uint32_t proto_idx = inst->VRegH();
2520 inst->VRegB(),
2543 DCHECK_EQ(ArtMethod::NumArgRegisters(shorty) + 1u, (uint32_t)inst->VRegA());
2550 const bool is_range = (inst->Opcode() == Instruction::INVOKE_POLYMORPHIC_RANGE);
2551 const size_t num_vregs = is_range ? inst->VRegA_4rcc() : inst->VRegA_45cc();

Completed in 557 milliseconds

12