Lines Matching refs:value_fn
267 value_fn_t value_fn;
276 static DelayedConstant* add(BasicType type, value_fn_t value_fn);
278 return type == t && value_fn == cfn;
293 if (dcon->value_fn == NULL) {
295 if (Atomic::cmpxchg_ptr(CAST_FROM_FN_PTR(void*, cfn), &dcon->value_fn, NULL) == NULL) {
310 if (dcon->value_fn != NULL && dcon->value == 0) {
314 case T_INT: dcon->value = (intptr_t) ((int_fn_t) dcon->value_fn)(); break;
315 case T_ADDRESS: dcon->value = (intptr_t) ((address_fn_t)dcon->value_fn)(); break;
321 RegisterOrConstant AbstractAssembler::delayed_value(int(*value_fn)(), Register tmp, int offset) {
322 intptr_t val = (intptr_t) (*value_fn)();
324 return delayed_value_impl(delayed_value_addr(value_fn), tmp, offset);
326 RegisterOrConstant AbstractAssembler::delayed_value(address(*value_fn)(), Register tmp, int offset) {
327 intptr_t val = (intptr_t) (*value_fn)();
329 return delayed_value_impl(delayed_value_addr(value_fn), tmp, offset);
331 intptr_t* AbstractAssembler::delayed_value_addr(int(*value_fn)()) {
332 DelayedConstant* dcon = DelayedConstant::add(T_INT, (DelayedConstant::value_fn_t) value_fn);
335 intptr_t* AbstractAssembler::delayed_value_addr(address(*value_fn)()) {
336 DelayedConstant* dcon = DelayedConstant::add(T_ADDRESS, (DelayedConstant::value_fn_t) value_fn);