Searched refs:id (Results 1 - 25 of 52) sorted by relevance

123

/art/compiler/llvm/
H A Dintrinsic_helper.h111 static const IntrinsicInfo& GetInfo(IntrinsicId id) { argument
112 DCHECK(id >= 0 && id < MaxIntrinsicId) << "Unknown ART intrinsics ID: "
113 << id;
114 return Info[id];
117 static const char* GetName(IntrinsicId id) { argument
118 return (id <= MaxIntrinsicId) ? GetInfo(id).name_ : "InvalidIntrinsic";
121 static unsigned GetAttr(IntrinsicId id) { argument
122 return GetInfo(id)
128 GetIntrinsicFunction(IntrinsicId id) argument
[all...]
H A Druntime_support_builder.h73 ::llvm::Function* GetRuntimeSupportFunction(runtime_support::RuntimeId id) { argument
74 if (id >= 0 && id < runtime_support::MAX_ID) {
75 return runtime_support_func_decls_[id];
77 LOG(ERROR) << "Unknown runtime function id: " << id;
H A Dintrinsic_helper.cc105 IntrinsicId id = static_cast<IntrinsicId>(i); local
149 intrinsic_funcs_[id] = fn;
152 << GetName(id) << "' was not defined!";
169 if (!intrinsic_funcs_map_.insert(std::make_pair(fn, id)).second) {
/art/runtime/verifier/
H A Dreg_type_cache-inl.h27 inline RegType& RegTypeCache::GetFromId(uint16_t id) const {
28 DCHECK_LT(id, entries_.size());
29 RegType* result = entries_[id];
/art/runtime/jdwp/
H A Djdwp_request.cc90 FieldId id = Read4BE(); local
91 VLOG(jdwp) << " field id " << DescribeField(id);
92 return id;
96 MethodId id = Read4BE(); local
97 VLOG(jdwp) << " method id " << DescribeMethod(id);
98 return id;
102 ObjectId id = Read8BE(); local
103 VLOG(jdwp) << StringPrintf(" %s id
124 RefTypeId id = Read8BE(); local
130 FrameId id = Read8BE(); local
[all...]
H A Dobject_registry.h45 // The corresponding id, so we only need one map lookup in Add.
46 JDWP::ObjectId id; member in struct:art::ObjectRegistryEntry
68 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
69 if (id == 0) {
72 return reinterpret_cast<T>(InternalGet(id));
81 void DisableCollection(JDWP::ObjectId id)
84 void EnableCollection(JDWP::ObjectId id)
87 bool IsCollected(JDWP::ObjectId id)
90 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
93 // Returned by Get when passed an invalid object id
[all...]
H A Dobject_registry.cc30 << ",id=" << rhs.id << "]";
64 entry->id = 0;
76 entry->id = next_id_++;
78 id_to_entry_.Put(entry->id, entry);
82 return entry->id;
132 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { argument
135 auto it = id_to_entry_.find(id);
143 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { argument
144 if (id
155 DisableCollection(JDWP::ObjectId id) argument
163 EnableCollection(JDWP::ObjectId id) argument
193 IsCollected(JDWP::ObjectId id) argument
207 DisposeObject(JDWP::ObjectId id, uint32_t reference_count) argument
[all...]
H A Djdwp.h67 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id); } argument
68 static inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd4BE(pReply, id); } argument
69 static inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } argument
70 static inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } argument
71 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id); } argument
[all...]
/art/compiler/dex/
H A Dglobal_value_numbering.cc66 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator));
95 loop_head_idx != mir_graph_->GetTopologicalSortOrderIndexes()->Get(bb->id);
100 if (lvns_[pred_bb->id] != nullptr &&
102 mir_graph_->GetTopologicalSortOrderIndexes()->Get(pred_bb->id) < loop_head_idx)) {
103 merge_lvns_.push_back(lvns_[pred_bb->id]);
127 if (HasNullCheckLastInsn(pred_bb, bb->id)) {
141 DCHECK_EQ(bb->id, work_lvn_->Id());
145 bool change = (lvns_[bb->id] == nullptr) || !lvns_[bb->id]->Equals(*work_lvn_);
147 std::unique_ptr<const LocalValueNumbering> old_lvn(lvns_[bb->id]);
162 uint16_t id = field_index_map_.size(); local
[all...]
H A Dmir_graph.cc184 bb_taken->predecessors->Delete(orig_block->id);
185 bb_taken->predecessors->Insert(bottom_block->id);
190 orig_block->fall_through = bottom_block->id;
191 bottom_block->predecessors->Insert(orig_block->id);
194 bb_fall_through->predecessors->Delete(orig_block->id);
195 bb_fall_through->predecessors->Insert(bottom_block->id);
210 bb->predecessors->Delete(orig_block->id);
211 bb->predecessors->Insert(bottom_block->id);
235 DCHECK_EQ(dex_pc_to_block_map_.Get(insn->offset), orig_block->id);
237 dex_pc_to_block_map_.Put(p->offset, bottom_block->id);
[all...]
H A Dssa_transformation.cc66 /* Enqueue the pre_order block id */
67 if (block->id != NullBasicBlockId) {
68 dfs_order_->Insert(block->id);
86 if (curr->id != NullBasicBlockId) {
87 dfs_post_order_->Insert(curr->id);
143 def_block_matrix_[idx]->SetBit(bb->id);
177 def_block_matrix_[in_reg]->SetBit(GetEntryBlock()->id);
211 if (curr_bb->id != NullBasicBlockId) {
212 dom_post_order_traversal_->Insert(curr_bb->id);
231 if (succ_bb->i_dom != dom_bb->id
[all...]
H A Dpost_opt_passes.cc103 child->predecessors->Insert(bb->id);
/art/test/004-ThreadStress/src/
H A DMain.java134 int id = threadStress.id;
135 System.out.println("Starting worker for " + id);
137 Thread thread = new Thread(ts, "Worker thread " + id);
143 System.out.println("Thread exited for " + id + " with "
176 private final int id; field in class:Main
180 private Main(Object lock, int id, Operation[] operations) { argument
182 this.id = id;
189 System.out.println("Starting ThreadStress " + id);
[all...]
/art/compiler/dex/portable/
H A Dmir_to_gbc.h86 ::llvm::BasicBlock* GetLLVMBlock(int id);
99 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest);
101 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src);
111 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src);
127 void ConvertShift(art::llvm::IntrinsicHelper::IntrinsicId id,
129 void ConvertShiftLit(art::llvm::IntrinsicHelper::IntrinsicId id,
138 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest);
143 void ConvertAget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
145 void ConvertAput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
147 void ConvertIget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id,
[all...]
H A Dmir_to_gbc.cc62 ::llvm::BasicBlock* MirConverter::GetLLVMBlock(int id) { argument
63 return id_to_block_map_.Get(id);
72 art::llvm::IntrinsicHelper::IntrinsicId id = art::llvm::IntrinsicHelper::SetVReg; local
73 ::llvm::Function* func = intrinsic_helper_->GetIntrinsicFunction(id);
140 return GetLLVMBlock(bb->id);
195 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) {
197 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id);
203 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) {
207 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id);
212 art::llvm::IntrinsicHelper::IntrinsicId id; local
194 ConvertSget(int32_t field_index, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) argument
202 ConvertSput(int32_t field_index, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) argument
223 art::llvm::IntrinsicHelper::IntrinsicId id; local
251 art::llvm::IntrinsicHelper::IntrinsicId id; local
285 ConvertMonitorEnterExit(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) argument
307 art::llvm::IntrinsicHelper::IntrinsicId id = local
365 art::llvm::IntrinsicHelper::IntrinsicId id; local
425 ConvertShift(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) argument
435 ConvertShiftLit(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src, int shift_amount) argument
488 art::llvm::IntrinsicHelper::IntrinsicId id; local
515 ConvertConstObject(uint32_t idx, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) argument
524 art::llvm::IntrinsicHelper::IntrinsicId id; local
534 art::llvm::IntrinsicHelper::IntrinsicId id; local
544 art::llvm::IntrinsicHelper::IntrinsicId id; local
554 ConvertAget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_array, RegLocation rl_index) argument
566 ConvertAput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src, RegLocation rl_array, RegLocation rl_index) argument
578 ConvertIget(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_obj, int field_index) argument
590 ConvertIput(int opt_flags, art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src, RegLocation rl_obj, int field_index) argument
604 art::llvm::IntrinsicHelper::IntrinsicId id; local
638 ConvertWideComparison(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src1, RegLocation rl_src2) argument
651 ConvertIntNarrowing(RegLocation rl_dest, RegLocation rl_src, art::llvm::IntrinsicHelper::IntrinsicId id) argument
671 ConvertFPToInt(art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest, RegLocation rl_src) argument
1534 art::llvm::IntrinsicHelper::IntrinsicId id; local
1669 art::llvm::IntrinsicHelper::IntrinsicId id = local
[all...]
/art/runtime/
H A Dmonitor_pool.cc74 // Eagerly compute id.
106 // Pull out the id which was preinitialized.
107 MonitorId id = mon_uninitialized->monitor_id_; local
110 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id);
119 // Keep the monitor id. Don't trust it's not cleared.
120 MonitorId id = monitor->monitor_id_; local
130 // Rewrite monitor id.
131 monitor->monitor_id_ = id;
H A Dmonitor_pool.h34 // monitor id loses the alignment bits of the Monitor*.
143 static size_t MonitorIdToOffset(MonitorId id) { argument
144 return id << 3;
158 // Chunk size that is referenced in the id. We can collapse this to the actually used storage
H A Dthread_list.h76 // Suspend a thread using its thread id, typically used by lock/monitor inflation. Returns the
77 // thread on success else NULL. The thread id is used to identify the thread to avoid races with
86 // Find an already suspended thread (or self) by its id.
137 void ReleaseThreadId(Thread* self, uint32_t id) LOCKS_EXCLUDED(Locks::allocated_thread_ids_lock_);
/art/test/114-ParallelGC/src/
H A DMain.java91 private final int id; field in class:Main
96 private Main(int id, SynchronousQueue<Boolean> waitOn, SynchronousQueue<Boolean> pushTo, argument
98 this.id = id;
/art/compiler/sea_ir/debug/
H A Ddot_gen.cc34 for (unsigned int id = 0; id < ordered_regions_.size(); id++) {
35 Region* current_region = ordered_regions_.at(id);
/art/runtime/gc/space/
H A Dlarge_object_space_test.cc100 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : argument
101 id_(id), iterations_(iterations), size_(size), los_(los) {}
108 NanoSleep((id_ + 3) * 1000); // (3+id) mu s
/art/compiler/optimizing/
H A Dssa_test.cc66 int id = 0; local
70 it.Current()->SetId(id++);
73 it.Current()->SetId(id++);
H A Dnodes.cc53 int id = block->GetBlockId(); local
54 if (visited->IsBitSet(id)) return;
56 visited->SetBit(id);
57 visiting->SetBit(id);
66 visiting->ClearBit(id);
/art/compiler/
H A Delf_patcher.cc144 const DexFile::MethodId& id = local
146 uint32_t expected = reinterpret_cast<uintptr_t>(&id) & 0xFFFFFFFF;
155 const DexFile::TypeId& id = tpatch->GetDexFile().GetTypeId(tpatch->GetTargetTypeIdx()); local
156 uint32_t expected = reinterpret_cast<uintptr_t>(&id) & 0xFFFFFFFF;
/art/compiler/sea_ir/code_gen/
H A Dcode_gen.cc49 for (unsigned int id = 0; id < ordered_regions_.size(); id++) {
50 Region* current_region = ordered_regions_.at(id);

Completed in 4223 milliseconds

123