Home
last modified time | relevance | path

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

123

/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.cc90 FieldId id = Read4BE(); in ReadFieldId() local
91 VLOG(jdwp) << " field id " << DescribeField(id); in ReadFieldId()
92 return id; in ReadFieldId()
96 MethodId id = Read4BE(); in ReadMethodId() local
97 VLOG(jdwp) << " method id " << DescribeMethod(id); in ReadMethodId()
98 return id; in ReadMethodId()
102 ObjectId id = Read8BE(); in ReadObjectId() local
103 VLOG(jdwp) << StringPrintf(" %s id %#" PRIx64, specific_kind, id); in ReadObjectId()
104 return id; in ReadObjectId()
124 RefTypeId id = Read8BE(); in ReadRefTypeId() local
[all …]
Dobject_registry.cc31 << ",id=" << rhs.id << "]"; in operator <<()
70 entry->id = 0; in InternalAdd()
82 entry->id = next_id_++; in InternalAdd()
84 id_to_entry_.Put(entry->id, entry); in InternalAdd()
88 return entry->id; in InternalAdd()
127 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { in InternalGet() argument
130 auto it = id_to_entry_.find(id); in InternalGet()
138 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject() argument
139 if (id == 0) { in GetJObject()
144 auto it = id_to_entry_.find(id); in GetJObject()
[all …]
Dobject_registry.h46 JDWP::ObjectId id; member
68 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in Get() argument
69 if (id == 0) { in Get()
72 return reinterpret_cast<T>(InternalGet(id)); in Get()
77 void DisableCollection(JDWP::ObjectId id)
80 void EnableCollection(JDWP::ObjectId id)
83 bool IsCollected(JDWP::ObjectId id)
86 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
94 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
101 mirror::Object* InternalGet(JDWP::ObjectId id)
Djdwp.h67 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd4BE(pReply, id)… in expandBufAddFieldId() argument
68 …c inline void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { expandBufAdd4BE(pReply, id); } in expandBufAddMethodId() argument
69 …c inline void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { expandBufAdd8BE(pReply, id); } in expandBufAddObjectId() argument
70 …inline void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { expandBufAdd8BE(pReply, id); } in expandBufAddRefTypeId() argument
71 static inline void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFrameId() argument
/art/test/004-ThreadStress/src/
DMain.java134 int id = threadStress.id; in main()
135 System.out.println("Starting worker for " + id); in main()
137 Thread thread = new Thread(ts, "Worker thread " + id); in main()
143 System.out.println("Thread exited for " + id + " with " in main()
176 private final int id; field in Main
180 private Main(Object lock, int id, Operation[] operations) { in Main() argument
182 this.id = id; in Main()
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/
Dglobal_value_numbering.cc66 work_lvn_.reset(new (allocator) LocalValueNumbering(this, bb->id, allocator)); in PrepareBasicBlock()
95 loop_head_idx != mir_graph_->GetTopologicalSortOrderIndexes()->Get(bb->id); in PrepareBasicBlock()
100 if (lvns_[pred_bb->id] != nullptr && in PrepareBasicBlock()
102 mir_graph_->GetTopologicalSortOrderIndexes()->Get(pred_bb->id) < loop_head_idx)) { in PrepareBasicBlock()
103 merge_lvns_.push_back(lvns_[pred_bb->id]); in PrepareBasicBlock()
127 if (HasNullCheckLastInsn(pred_bb, bb->id)) { in PrepareBasicBlock()
141 DCHECK_EQ(bb->id, work_lvn_->Id()); in FinishBasicBlock()
145 bool change = (lvns_[bb->id] == nullptr) || !lvns_[bb->id]->Equals(*work_lvn_); in FinishBasicBlock()
147 std::unique_ptr<const LocalValueNumbering> old_lvn(lvns_[bb->id]); in FinishBasicBlock()
148 lvns_[bb->id] = work_lvn_.release(); in FinishBasicBlock()
[all …]
Dmir_graph.cc184 bb_taken->predecessors->Delete(orig_block->id); in SplitBlock()
185 bb_taken->predecessors->Insert(bottom_block->id); in SplitBlock()
190 orig_block->fall_through = bottom_block->id; in SplitBlock()
191 bottom_block->predecessors->Insert(orig_block->id); in SplitBlock()
194 bb_fall_through->predecessors->Delete(orig_block->id); in SplitBlock()
195 bb_fall_through->predecessors->Insert(bottom_block->id); in SplitBlock()
210 bb->predecessors->Delete(orig_block->id); in SplitBlock()
211 bb->predecessors->Insert(bottom_block->id); in SplitBlock()
235 DCHECK_EQ(dex_pc_to_block_map_.Get(insn->offset), orig_block->id); in SplitBlock()
237 dex_pc_to_block_map_.Put(p->offset, bottom_block->id); in SplitBlock()
[all …]
Dssa_transformation.cc67 if (block->id != NullBasicBlockId) { in MarkPreOrder()
68 dfs_order_->Insert(block->id); in MarkPreOrder()
86 if (curr->id != NullBasicBlockId) { in RecordDFSOrders()
87 dfs_post_order_->Insert(curr->id); in RecordDFSOrders()
143 def_block_matrix_[idx]->SetBit(bb->id); in FillDefBlockMatrix()
177 def_block_matrix_[in_reg]->SetBit(GetEntryBlock()->id); in ComputeDefBlockMatrix()
211 if (curr_bb->id != NullBasicBlockId) { in ComputeDomPostOrderTraversal()
212 dom_post_order_traversal_->Insert(curr_bb->id); in ComputeDomPostOrderTraversal()
231 if (succ_bb->i_dom != dom_bb->id && in CheckForDominanceFrontier()
234 dom_bb->dom_frontier->SetBit(succ_bb->id); in CheckForDominanceFrontier()
[all …]
/art/compiler/dex/portable/
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 …]
Dmir_to_gbc.cc62 ::llvm::BasicBlock* MirConverter::GetLLVMBlock(int id) { in GetLLVMBlock() argument
63 return id_to_block_map_.Get(id); in GetLLVMBlock()
72 art::llvm::IntrinsicHelper::IntrinsicId id = art::llvm::IntrinsicHelper::SetVReg; in SetVregOnValue() local
73 ::llvm::Function* func = intrinsic_helper_->GetIntrinsicFunction(id); in SetVregOnValue()
140 return GetLLVMBlock(bb->id); in FindCaseTarget()
195 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_dest) { in ConvertSget() argument
197 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id); in ConvertSget()
203 art::llvm::IntrinsicHelper::IntrinsicId id, RegLocation rl_src) { in ConvertSput() argument
207 ::llvm::Function* intr = intrinsic_helper_->GetIntrinsicFunction(id); in ConvertSput()
212 art::llvm::IntrinsicHelper::IntrinsicId id; in ConvertFillArrayData() local
[all …]
/art/runtime/verifier/
Dreg_type_cache-inl.h27 inline RegType& RegTypeCache::GetFromId(uint16_t id) const { in GetFromId() argument
28 DCHECK_LT(id, entries_.size()); in GetFromId()
29 RegType* result = entries_[id]; in GetFromId()
/art/runtime/
Dmonitor_pool.cc107 MonitorId id = mon_uninitialized->monitor_id_; in CreateMonitorInPool() local
110 Monitor* monitor = new(mon_uninitialized) Monitor(self, owner, obj, hash_code, id); in CreateMonitorInPool()
120 MonitorId id = monitor->monitor_id_; in ReleaseMonitorToPool() local
131 monitor->monitor_id_ = id; in ReleaseMonitorToPool()
Dmonitor_pool.h143 static size_t MonitorIdToOffset(MonitorId id) { in MonitorIdToOffset() argument
144 return id << 3; in MonitorIdToOffset()
Ddebugger.h257 static std::string GetClassName(JDWP::RefTypeId id)
261 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
263 static JDWP::JdwpError GetSuperclass(JDWP::RefTypeId id, JDWP::RefTypeId& superclass_id)
265 static JDWP::JdwpError GetClassLoader(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
267 static JDWP::JdwpError GetModifiers(JDWP::RefTypeId id, JDWP::ExpandBuf* pReply)
378 static void OutputVariableTable(JDWP::RefTypeId ref_type_id, JDWP::MethodId id, bool with_generic,
/art/test/114-ParallelGC/src/
DMain.java91 private final int id; field in Main
96 private Main(int id, SynchronousQueue<Boolean> waitOn, SynchronousQueue<Boolean> pushTo, in Main() argument
98 this.id = id; in Main()
/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/optimizing/
Dssa_test.cc66 int id = 0; in ReNumberInstructions() local
70 it.Current()->SetId(id++); in ReNumberInstructions()
73 it.Current()->SetId(id++); in ReNumberInstructions()
Dnodes.cc53 int id = block->GetBlockId(); in VisitBlockForBackEdges() local
54 if (visited->IsBitSet(id)) return; in VisitBlockForBackEdges()
56 visited->SetBit(id); in VisitBlockForBackEdges()
57 visiting->SetBit(id); in VisitBlockForBackEdges()
66 visiting->ClearBit(id); in VisitBlockForBackEdges()
/art/runtime/gc/space/
Dlarge_object_space_test.cc100 AllocRaceTask(size_t id, size_t iterations, size_t size, LargeObjectSpace* los) : in AllocRaceTask() argument
101 id_(id), iterations_(iterations), size_(size), los_(los) {} in AllocRaceTask()
/art/compiler/
Delf_patcher.cc154 const DexFile::MethodId& id = in SetPatchLocation() local
156 uint32_t expected = reinterpret_cast<uintptr_t>(&id) & 0xFFFFFFFF; in SetPatchLocation()
165 const DexFile::TypeId& id = tpatch->GetDexFile().GetTypeId(tpatch->GetTargetTypeIdx()); in SetPatchLocation() local
166 uint32_t expected = reinterpret_cast<uintptr_t>(&id) & 0xFFFFFFFF; in SetPatchLocation()
/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()

123