Lines Matching defs:ptr
2935 dxil_emit_load(struct dxil_module *m, const struct dxil_value *ptr,
2939 assert(ptr->type->type == TYPE_POINTER ||
2940 ptr->type->type == TYPE_ARRAY);
2941 const struct dxil_type *type = ptr->type->type == TYPE_POINTER ?
2942 ptr->type->ptr_target_type :
2943 ptr->type->array_or_vector_def.elem_type;
2949 instr->load.ptr = ptr;
2960 const struct dxil_value *ptr, unsigned align,
2971 instr->store.ptr = ptr;
2980 const struct dxil_value *ptr, bool is_volatile,
2984 assert(ptr->type->type == TYPE_POINTER);
2987 ptr->type->ptr_target_type);
2993 instr->cmpxchg.ptr = ptr;
3004 const struct dxil_value *ptr, enum dxil_rmw_op op,
3008 assert(ptr->type->type == TYPE_POINTER);
3011 ptr->type->ptr_target_type);
3016 instr->atomicrmw.ptr = ptr;
3245 assert(instr->value.id > instr->load.ptr->id);
3249 instr->value.id - instr->load.ptr->id,
3262 assert(instr->value.id > instr->store.ptr->id);
3265 instr->value.id - instr->store.ptr->id,
3280 assert(instr->value.id > instr->cmpxchg.ptr->id);
3282 instr->value.id - instr->cmpxchg.ptr->id,
3298 assert(instr->value.id > instr->atomicrmw.ptr->id);
3300 instr->value.id - instr->atomicrmw.ptr->id,