Lines Matching defs:offset
1125 * "base_ptr + index * elemsize" into "addr + offset" (excluding GEPs
1126 * without inbounds in base_ptr), this parameter is true if "addr + offset"
1130 * For example, a 32-bit immediate offset that causes a 32-bit unsigned
1131 * integer wraparound can't be an imm offset in s_load_dword, because
1132 * the instruction performs "addr + offset" in 64 bits.
1313 LLVMValueRef offset = voffset ? voffset : ctx->i32_0;
1315 offset = LLVMBuildAdd(ctx->builder, offset, soffset, "");
1319 offset = LLVMBuildAdd(ctx->builder, offset, LLVMConstInt(ctx->i32, 4, 0), "");
1323 offset,
2113 (!a->compare && !a->offset));
2126 assert(!a->offset ||
2127 ac_get_elem_bits(ctx, LLVMTypeOf(a->offset)) == 32);
2195 if (a->offset)
2196 args[num_args++] = ac_to_integer(ctx, a->offset);
2308 a->min_lod ? ".cl" : "", a->offset ? ".o" : "", dimname,
2447 LLVMValueRef ac_build_bfe(struct ac_llvm_context *ctx, LLVMValueRef input, LLVMValueRef offset,
2452 offset,