Lines Matching defs:addr
1125 * "base_ptr + index * elemsize" into "addr + offset" (excluding GEPs
1126 * without inbounds in base_ptr), this parameter is true if "addr + offset"
1132 * the instruction performs "addr + offset" in 64 bits.
3093 * addr[sample_index] = (fmask >> (addr[sample_index] * 4)) & 0xF;
3095 void ac_apply_fmask_to_sample(struct ac_llvm_context *ac, LLVMValueRef fmask, LLVMValueRef *addr,
3105 fmask_load.coords[0] = addr[0];
3106 fmask_load.coords[1] = addr[1];
3108 fmask_load.coords[2] = addr[2];
3109 fmask_load.a16 = ac_get_elem_bits(ac, LLVMTypeOf(addr[0])) == 16;
3127 final_sample = LLVMBuildMul(ac->builder, addr[sample_chan],
3128 LLVMConstInt(LLVMTypeOf(addr[0]), 4, 0), "");
3133 addr[sample_chan] = LLVMBuildAnd(ac->builder, final_sample, LLVMConstInt(ac->i32, 0x7, 0), "");
3135 addr[sample_chan] = LLVMBuildTrunc(ac->builder, final_sample, ac->i16, "");