Lines Matching refs:value
56 static int adjusted_offset(SharkValue* value, int offset) {
57 if (value->is_two_word())
105 void process_stack_slot(int index, SharkValue** value, int offset);
110 void process_oop_tmp_slot(llvm::Value** value, int offset);
111 void process_method_slot(llvm::Value** value, int offset);
115 void process_local_slot(int index, SharkValue** value, int offset);
144 SharkValue *value = *addr;
145 if (value) {
146 if (value->is_jobject())
149 if (value->is_two_word())
156 value = *(addr - 1);
157 if (value && value->is_two_word()) {
159 if (value->is_jlong())
161 if (value->is_jdouble())
175 virtual bool stack_slot_needs_write(int index, SharkValue* value) = 0;
176 virtual bool stack_slot_needs_oopmap(int index, SharkValue* value) = 0;
177 virtual bool stack_slot_needs_debuginfo(int index, SharkValue* value) = 0;
185 virtual bool local_slot_needs_write(int index, SharkValue* value) = 0;
186 virtual bool local_slot_needs_oopmap(int index, SharkValue* value) = 0;
187 virtual bool local_slot_needs_debuginfo(int index, SharkValue* value) = 0;
196 llvm::Value* value,
215 bool stack_slot_needs_write(int index, SharkValue* value) {
216 return value && (index < callee()->arg_size() || value->is_jobject());
218 bool stack_slot_needs_oopmap(int index, SharkValue* value) {
219 return value && value->is_jobject() && index >= callee()->arg_size();
221 bool stack_slot_needs_debuginfo(int index, SharkValue* value) {
227 bool local_slot_needs_write(int index, SharkValue* value) {
228 return value && value->is_jobject();
230 bool local_slot_needs_oopmap(int index, SharkValue* value) {
231 return value && value->is_jobject();
233 bool local_slot_needs_debuginfo(int index, SharkValue* value) {
245 bool stack_slot_needs_write(int index, SharkValue* value) {
246 return value && value->is_jobject();
248 bool stack_slot_needs_oopmap(int index, SharkValue* value) {
249 return value && value->is_jobject();
251 bool stack_slot_needs_debuginfo(int index, SharkValue* value) {
257 bool local_slot_needs_write(int index, SharkValue* value) {
258 return value && value->is_jobject();
260 bool local_slot_needs_oopmap(int index, SharkValue* value) {
261 return value && value->is_jobject();
263 bool local_slot_needs_debuginfo(int index, SharkValue* value) {
275 bool stack_slot_needs_write(int index, SharkValue* value) {
276 return value != NULL;
278 bool stack_slot_needs_oopmap(int index, SharkValue* value) {
279 return value && value->is_jobject();
281 bool stack_slot_needs_debuginfo(int index, SharkValue* value) {
287 bool local_slot_needs_write(int index, SharkValue* value) {
288 return value != NULL;
290 bool local_slot_needs_oopmap(int index, SharkValue* value) {
291 return value && value->is_jobject();
293 bool local_slot_needs_debuginfo(int index, SharkValue* value) {
305 void process_stack_slot(int index, SharkValue** value, int offset);
307 void process_oop_tmp_slot(llvm::Value** value, int offset);
308 virtual void process_method_slot(llvm::Value** value, int offset);
310 virtual void process_local_slot(int index, SharkValue** value, int offset);
314 virtual bool stack_slot_needs_read(int index, SharkValue* value) = 0;
318 virtual bool local_slot_needs_read(int index, SharkValue* value) {
319 return value && value->is_jobject();
342 bool stack_slot_needs_read(int index, SharkValue* value) {
343 return value && (index < callee()->return_type()->size() ||
344 value->is_jobject());
355 bool stack_slot_needs_read(int index, SharkValue* value) {
356 return value && value->is_jobject();
375 void process_method_slot(llvm::Value** value, int offset);
379 bool stack_slot_needs_read(int index, SharkValue* value) {
385 bool local_slot_needs_read(int index, SharkValue* value) {
386 return value != NULL;
421 void process_local_slot(int index, SharkValue** value, int offset);