Home
last modified time | relevance | path

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

12

/art/compiler/llvm/
Dintrinsic_helper.h111 static const IntrinsicInfo& GetInfo(IntrinsicId id) { in GetInfo() argument
112 DCHECK(id >= 0 && id < MaxIntrinsicId) << "Unknown ART intrinsics ID: " in GetInfo()
113 << id; in GetInfo()
114 return Info[id]; in GetInfo()
117 static const char* GetName(IntrinsicId id) { in GetName() argument
118 return (id <= MaxIntrinsicId) ? GetInfo(id).name_ : "InvalidIntrinsic"; in GetName()
121 static unsigned GetAttr(IntrinsicId id) { in GetAttr() argument
122 return GetInfo(id).attr_; in GetAttr()
128 ::llvm::Function* GetIntrinsicFunction(IntrinsicId id) { in GetIntrinsicFunction() argument
129 DCHECK(id >= 0 && id < MaxIntrinsicId) << "Unknown ART intrinsics ID: " in GetIntrinsicFunction()
[all …]
Druntime_support_builder.h73 ::llvm::Function* GetRuntimeSupportFunction(runtime_support::RuntimeId id) { in GetRuntimeSupportFunction() argument
74 if (id >= 0 && id < runtime_support::MAX_ID) { in GetRuntimeSupportFunction()
75 return runtime_support_func_decls_[id]; in GetRuntimeSupportFunction()
77 LOG(ERROR) << "Unknown runtime function id: " << id; in GetRuntimeSupportFunction()
Dintrinsic_helper.cc105 IntrinsicId id = static_cast<IntrinsicId>(i); in IntrinsicHelper() local
149 intrinsic_funcs_[id] = fn; in IntrinsicHelper()
152 << GetName(id) << "' was not defined!"; in IntrinsicHelper()
169 if (!intrinsic_funcs_map_.insert(std::make_pair(fn, id)).second) { in IntrinsicHelper()
/art/runtime/jdwp/
Djdwp_request.cc88 FieldId id = Read4BE(); in ReadFieldId() local
89 VLOG(jdwp) << " field id " << DescribeField(id); in ReadFieldId()
90 return id; in ReadFieldId()
94 MethodId id = Read4BE(); in ReadMethodId() local
95 VLOG(jdwp) << " method id " << DescribeMethod(id); in ReadMethodId()
96 return id; in ReadMethodId()
100 ObjectId id = Read8BE(); in ReadObjectId() local
101 VLOG(jdwp) << StringPrintf(" %s id %#llx", specific_kind, id); in ReadObjectId()
102 return id; in ReadObjectId()
122 RefTypeId id = Read8BE(); in ReadRefTypeId() local
[all …]
Dobject_registry.cc29 << ",id=" << rhs.id << "]"; in operator <<()
56 dummy.id = 0; in InternalAdd()
62 return entry.id; in InternalAdd()
73 entry.id = next_id_++; in InternalAdd()
75 id_to_entry_.Put(entry.id, &entry); in InternalAdd()
79 return entry.id; in InternalAdd()
109 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { in InternalGet() argument
112 id_iterator it = id_to_entry_.find(id); in InternalGet()
120 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject() argument
123 id_iterator it = id_to_entry_.find(id); in GetJObject()
[all …]
Dobject_registry.h44 JDWP::ObjectId id; member
60 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Get() argument
61 if (id == 0) { in Get()
64 return reinterpret_cast<T>(InternalGet(id)); in Get()
71 void DisableCollection(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
72 void EnableCollection(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
74 bool IsCollected(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
76 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
84 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
88 mirror::Object* InternalGet(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
Djdwp.h59 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id)… in expandBufAddFieldId() argument
60 …c inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd4BE(pReply, id); } in expandBufAddMethodId() argument
61 …c inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } in expandBufAddObjectId() argument
62 …inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } in expandBufAddRefTypeId() argument
63 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFrameId() argument
/art/test/ParallelGC/
DParallelGC.java34 private final int id; field in ParallelGC
36 private ParallelGC(int id) { in ParallelGC() argument
37 this.id = id; in ParallelGC()
44 System.out.print(id); in run()
/art/test/ThreadStress/
DThreadStress.java134 int id = threadStress.id; in main()
135 System.out.println("Starting runner for " + id); in main()
143 System.out.println("Thread exited for " + id + " with " in main()
147 System.out.println("Finishing runner for " + id); in main()
176 private final int id; field in ThreadStress
180 private ThreadStress(Object lock, int id, Operation[] operations) { in ThreadStress() argument
182 this.id = id; in ThreadStress()
189 System.out.println("Starting ThreadStress " + id); in run()
194 System.out.println("ThreadStress " + id in run()
264 System.out.println("Finishing ThreadStress for " + id); in run()
/art/compiler/dex/portable/
Dmir_to_gbc.h79 ::llvm::BasicBlock* GetLLVMBlock(int id);
92 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest);
94 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src);
104 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src);
120 void ConvertShift(art::llvm::IntrinsicHelper::IntrinsicId id,
122 void ConvertShiftLit(art::llvm::IntrinsicHelper::IntrinsicId id,
131 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest);
136 void ConvertAget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
138 void ConvertAput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
140 void ConvertIget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
[all …]
Dmir_to_gbc.cc45 ::llvm::BasicBlock* MirConverter::GetLLVMBlock(int id) { in GetLLVMBlock() argument
46 return id_to_block_map_.Get(id); in GetLLVMBlock()
55 art::llvm::IntrinsicHelper::IntrinsicId id = art::llvm::IntrinsicHelper::SetVReg; in SetVregOnValue() local
56 ::llvm::Function* func = intrinsic_helper_->GetIntrinsicFunction(id); in SetVregOnValue()
123 return GetLLVMBlock(bb->id); in FindCaseTarget()
135 irb_->CreateSwitch(value, GetLLVMBlock(bb->fall_through->id), in ConvertPackedSwitch()
162 irb_->CreateSwitch(value, GetLLVMBlock(bb->fall_through->id), in ConvertSparseSwitch()
178 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) { in ConvertSget() argument
180 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id); in ConvertSget()
186 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) { in ConvertSput() argument
[all …]
/art/runtime/verifier/
Dreg_type_cache-inl.h38 inline const art::verifier::RegType& RegTypeCache::GetFromId(uint16_t id) const { in GetFromId() argument
39 DCHECK_LT(id, entries_.size()); in GetFromId()
40 RegType* result = entries_[id]; in GetFromId()
Dreg_type_cache.h55 const art::verifier::RegType& GetFromId(uint16_t id) const;
/art/compiler/dex/
Dssa_transformation.cc66 dfs_order_->Insert(block->id); in MarkPreOrder()
82 dfs_post_order_->Insert(curr->id); in RecordDFSOrders()
130 def_block_matrix_[idx]->SetBit(bb->id); in FillDefBlockMatrix()
164 def_block_matrix_[in_reg]->SetBit(GetEntryBlock()->id); in ComputeDefBlockMatrix()
196 dom_post_order_traversal_->Insert(curr_bb->id); in ComputeDomPostOrderTraversal()
200 if (curr_bb->taken && curr_bb->dominators->IsBitSet(curr_bb->taken->id)) { in ComputeDomPostOrderTraversal()
216 dom_bb->dom_frontier->SetBit(succ_bb->id); in CheckForDominanceFrontier()
357 bb->dominators->SetBit(bb->id); in ComputeBlockDominators()
369 i_dom->i_dominated->SetBit(bb->id); in SetDominators()
407 GetEntryBlock()->dominators->SetBit(GetEntryBlock()->id); in ComputeDominators()
[all …]
Dmir_graph.cc733 fprintf(file, " entry_%d [shape=Mdiamond];\n", bb->id); in DumpCFG()
735 fprintf(file, " exit_%d [shape=Mdiamond];\n", bb->id); in DumpCFG()
738 bb->start_offset, bb->id); in DumpCFG()
740 fprintf(file, " {block id %d\\l}%s\\\n", bb->id, in DumpCFG()
776 bb->start_offset, bb->id, in DumpCFG()
801 block_name1, bb->start_offset, bb->id); in DumpCFG()
816 bb->id, succ_id++, block_name2); in DumpCFG()
1049 snprintf(name, BLOCK_NAME_LEN, "entry_%d", bb->id); in GetBlockName()
1052 snprintf(name, BLOCK_NAME_LEN, "exit_%d", bb->id); in GetBlockName()
1055 snprintf(name, BLOCK_NAME_LEN, "block%04x_%d", bb->start_offset, bb->id); in GetBlockName()
[all …]
/art/compiler/sea_ir/debug/
Ddot_gen.cc34 for (unsigned int id = 0; id < ordered_regions_.size(); id++) { in Initialize() local
35 Region* current_region = ordered_regions_.at(id); in Initialize()
/art/test/095-switch-MAX_INT/
Dinfo.txt1 Bug: http://code.google.com/p/android/issues/detail?id=22344
/art/compiler/dex/quick/
Dmir_to_lir.cc243 GenSuspendTestAndBranch(opt_flags, &label_list[bb->taken->id]); in CompileDalvikInstruction()
245 OpUnconditionalBranch(&label_list[bb->taken->id]); in CompileDalvikInstruction()
274 LIR* taken = &label_list[bb->taken->id]; in CompileDalvikInstruction()
275 LIR* fall_through = &label_list[bb->fall_through->id]; in CompileDalvikInstruction()
284 OpUnconditionalBranch(&label_list[target->id]); in CompileDalvikInstruction()
301 LIR* taken = &label_list[bb->taken->id]; in CompileDalvikInstruction()
302 LIR* fall_through = &label_list[bb->fall_through->id]; in CompileDalvikInstruction()
310 OpUnconditionalBranch(&label_list[target->id]); in CompileDalvikInstruction()
693 int block_id = bb->id; in MethodBlockCodeGen()
777 OpUnconditionalBranch(&block_label_list_[bb->fall_through->id]); in MethodBlockCodeGen()
/art/runtime/
Dthread_list.cc590 void ThreadList::ReleaseThreadId(Thread* self, uint32_t id) { in ReleaseThreadId() argument
592 --id; // Zero is reserved to mean "invalid". in ReleaseThreadId()
593 DCHECK(allocated_ids_[id]) << id; in ReleaseThreadId()
594 allocated_ids_.reset(id); in ReleaseThreadId()
Ddebugger.h131 static std::string GetClassName(JDWP::RefTypeId id)
133 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
135 static JDWP::JdwpError GetSuperclass(JDWP::RefTypeId id, JDWP::RefTypeId& superclass_id)
137 static JDWP::JdwpError GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
139 static JDWP::JdwpError GetModifiers(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
230 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
Dthread_list.h106 void ReleaseThreadId(Thread* self, uint32_t id) LOCKS_EXCLUDED(allocated_ids_lock_);
/art/jdwpspy/
DNet.cpp474 u4 length, id; in dumpPacket() local
481 id = get4BE(buf+4); in dumpPacket()
509 prefix, dataLen, id, flags, cmdSet, cmd, min, sec); in dumpPacket()
515 prefix, dataLen, id, flags, error, ss.str().c_str(), min,sec); in dumpPacket()
/art/compiler/sea_ir/code_gen/
Dcode_gen.cc49 for (unsigned int id = 0; id < ordered_regions_.size(); id++) { in Initialize() local
50 Region* current_region = ordered_regions_.at(id); in Initialize()
/art/runtime/hprof/
Dhprof.cc541 size_t id = (*it).second; in WriteStringTable() local
552 err = rec->AddU4(id); in WriteStringTable()
606 HprofStringId id = next_string_id_++; in LookupStringId() local
607 strings_.Put(string, id); in LookupStringId()
608 return id; in LookupStringId()
/art/runtime/native/
Ddalvik_system_VMDebug.cc225 static void VMDebug_infopoint(JNIEnv*, jclass, jint id) { in VMDebug_infopoint() argument
226 LOG(INFO) << "VMDebug infopoint " << id << " hit"; in VMDebug_infopoint()

12