Home
last modified time | relevance | path

Searched refs:base_ptr (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_gather.c51 LLVMValueRef base_ptr, in lp_build_gather_elem_ptr() argument
59 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(element_type, 0)); in lp_build_gather_elem_ptr()
69 ptr = LLVMBuildGEP2(gallivm->builder, element_type, base_ptr, &offset, 1, ""); in lp_build_gather_elem_ptr()
86 LLVMValueRef base_ptr, in lp_build_gather_elem() argument
96 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem()
98 ptr = lp_build_gather_elem_ptr(gallivm, length, base_ptr, offsets, i); in lp_build_gather_elem()
170 LLVMValueRef base_ptr, in lp_build_gather_elem_vec() argument
176 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_vec()
178 ptr = lp_build_gather_elem_ptr(gallivm, length, base_ptr, offsets, i); in lp_build_gather_elem_vec()
282 LLVMValueRef base_ptr, in lp_build_gather_avx2() argument
[all …]
Dlp_bld_format.h110 LLVMValueRef base_ptr,
120 LLVMValueRef base_ptr,
152 LLVMValueRef base_ptr,
164 LLVMValueRef base_ptr,
177 LLVMValueRef base_ptr,
191 LLVMValueRef base_ptr,
205 LLVMValueRef base_ptr,
Dlp_bld_gather.h39 LLVMValueRef base_ptr,
49 LLVMValueRef base_ptr,
60 LLVMValueRef base_ptr,
Dlp_bld_format_aos.c475 LLVMValueRef base_ptr, in lp_build_fetch_rgba_aos() argument
516 aligned, base_ptr, offset, TRUE); in lp_build_fetch_rgba_aos()
552 aligned, base_ptr, offset, TRUE); in lp_build_fetch_rgba_aos()
643 base_ptr, offset, k, FALSE); in lp_build_fetch_rgba_aos()
700 return lp_build_fetch_rgba_aos_array(gallivm, format_desc, type, base_ptr, offset); in lp_build_fetch_rgba_aos()
719 base_ptr, in lp_build_fetch_rgba_aos()
746 base_ptr, in lp_build_fetch_rgba_aos()
778 base_ptr, in lp_build_fetch_rgba_aos()
864 base_ptr, offset, k); in lp_build_fetch_rgba_aos()
964 base_ptr, offset, k); in lp_build_fetch_rgba_aos()
Dlp_bld_format_soa.c419 LLVMValueRef base_ptr, in lp_build_fetch_rgba_soa() argument
460 base_ptr, offset, FALSE); in lp_build_fetch_rgba_soa()
613 base_ptr, offsetr, FALSE); in lp_build_fetch_rgba_soa()
696 base_ptr, offset, FALSE); in lp_build_fetch_rgba_soa()
724 aligned, base_ptr, offset, FALSE); in lp_build_fetch_rgba_soa()
731 aligned, base_ptr, offset, TRUE); in lp_build_fetch_rgba_soa()
780 aligned, base_ptr, offset, i, j, cache); in lp_build_fetch_rgba_soa()
843 aligned, base_ptr, offset, in lp_build_fetch_rgba_soa()
872 aligned, base_ptr, offset_elem, in lp_build_fetch_rgba_soa()
1017 LLVMValueRef base_ptr, in lp_build_store_rgba_soa() argument
[all …]
Dlp_bld_format_aos_array.c56 LLVMValueRef base_ptr, in lp_build_fetch_rgba_aos_array() argument
82 ptr = LLVMBuildGEP2(builder, byte_type, base_ptr, &offset, 1, ""); in lp_build_fetch_rgba_aos_array()
Dlp_bld_format_s3tc.c226 LLVMValueRef base_ptr, in lp_build_gather_s3tc() argument
249 base_ptr, offsets, i, FALSE); in lp_build_gather_s3tc()
2039 LLVMValueRef base_ptr, in compressed_fetch_cached() argument
2073 addr = LLVMBuildPtrToInt(builder, base_ptr, i64t, ""); in compressed_fetch_cached()
2074 ptr_addrtrunc = LLVMBuildPtrToInt(builder, base_ptr, i32t, ""); in compressed_fetch_cached()
2192 LLVMValueRef base_ptr, in lp_build_fetch_s3tc_rgba_aos() argument
2211 base_ptr, offset, i, j, cache); in lp_build_fetch_s3tc_rgba_aos()
2240 &alpha_lo, &alpha_hi, base_ptr, offset4); in lp_build_fetch_s3tc_rgba_aos()
2275 &alpha_lo, &alpha_hi, base_ptr, offset); in lp_build_fetch_s3tc_rgba_aos()
2326 LLVMValueRef base_ptr, in lp_build_gather_rgtc() argument
[all …]
Dlp_bld_sample_soa.c1817 data_ptr0 = bld->base_ptr; in lp_build_sample_mipmap()
1880 data_ptr1 = bld->base_ptr; in lp_build_sample_mipmap()
1960 data_ptr0 = bld->base_ptr; in lp_build_sample_mipmap_both()
2005 data_ptr1 = bld->base_ptr; in lp_build_sample_mipmap_both()
2108 data_ptr0 = bld->base_ptr; in lp_build_sample_aniso()
3215 bld->base_ptr, offset, in lp_build_fetch_texel()
3568 bld.base_ptr = dynamic_state->base_ptr(dynamic_state, gallivm, in lp_build_sample_soa_code()
3771 bld4.base_ptr = bld.base_ptr; in lp_build_sample_soa_code()
4563 LLVMValueRef base_ptr, in lp_build_do_atomic_soa() argument
4585 offset = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, ""); in lp_build_do_atomic_soa()
[all …]
/third_party/rust/crates/memoffset/src/
Doffset_of.rs103 _memoffset__let_base_ptr!(base_ptr, $parent);
105 let field_ptr = raw_field!(base_ptr, $parent, $field);
107 _memoffset_offset_from_unsafe!(field_ptr, base_ptr)
126 _memoffset__let_base_ptr!(base_ptr, $parent);
128 let field_ptr = raw_field_tuple!(base_ptr, $parent, $field);
130 _memoffset_offset_from_unsafe!(field_ptr, base_ptr)
159 _memoffset__let_base_ptr!(base_ptr, $parent);
161 let field_ptr = raw_field_union!(base_ptr, $parent, $field);
163 _memoffset_offset_from_unsafe!(field_ptr, base_ptr)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dcode_sink.cpp175 Instruction* base_ptr = inst->GetBaseAddress(); in ReferencesMutableMemory() local
176 if (base_ptr->opcode() != SpvOpVariable) { in ReferencesMutableMemory()
180 if (base_ptr->IsReadOnlyPointer()) { in ReferencesMutableMemory()
188 if (base_ptr->GetSingleWordInOperand(0) != SpvStorageClassUniform) { in ReferencesMutableMemory()
192 return HasPossibleStore(base_ptr); in ReferencesMutableMemory()
Dcombine_access_chains.cpp96 Instruction* base_ptr = def_use_mgr->GetDef(inst->GetSingleWordInOperand(0)); in GetIndexedType() local
97 const analysis::Type* type = type_mgr->GetType(base_ptr->type_id()); in GetIndexedType()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dcode_sink.cpp175 Instruction* base_ptr = inst->GetBaseAddress(); in ReferencesMutableMemory() local
176 if (base_ptr->opcode() != SpvOpVariable) { in ReferencesMutableMemory()
180 if (base_ptr->IsReadOnlyPointer()) { in ReferencesMutableMemory()
188 if (base_ptr->GetSingleWordInOperand(0) != SpvStorageClassUniform) { in ReferencesMutableMemory()
192 return HasPossibleStore(base_ptr); in ReferencesMutableMemory()
Dcombine_access_chains.cpp96 Instruction* base_ptr = def_use_mgr->GetDef(inst->GetSingleWordInOperand(0)); in GetIndexedType() local
97 const analysis::Type* type = type_mgr->GetType(base_ptr->type_id()); in GetIndexedType()
/third_party/spirv-tools/source/opt/
Dcode_sink.cpp175 Instruction* base_ptr = inst->GetBaseAddress(); in ReferencesMutableMemory() local
176 if (base_ptr->opcode() != SpvOpVariable) { in ReferencesMutableMemory()
180 if (base_ptr->IsReadOnlyPointer()) { in ReferencesMutableMemory()
188 if (base_ptr->GetSingleWordInOperand(0) != SpvStorageClassUniform) { in ReferencesMutableMemory()
192 return HasPossibleStore(base_ptr); in ReferencesMutableMemory()
Dcombine_access_chains.cpp96 Instruction* base_ptr = def_use_mgr->GetDef(inst->GetSingleWordInOperand(0)); in GetIndexedType() local
97 const analysis::Type* type = type_mgr->GetType(base_ptr->type_id()); in GetIndexedType()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h239 LLVMValueRef ac_build_gep_ptr(struct ac_llvm_context *ctx, LLVMValueRef base_ptr,
242 LLVMValueRef ac_build_gep0(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index);
246 void ac_build_indexed_store(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index,
249 LLVMValueRef ac_build_load(struct ac_llvm_context *ctx, LLVMValueRef base_ptr, LLVMValueRef index);
250 LLVMValueRef ac_build_load_invariant(struct ac_llvm_context *ctx, LLVMValueRef base_ptr,
252 LLVMValueRef ac_build_load_to_sgpr(struct ac_llvm_context *ctx, LLVMValueRef base_ptr,
255 LLVMValueRef base_ptr, LLVMValueRef index);
/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c200 const char *base_ptr = (const char *)device->ws->buffer_map(accel->bo); in radv_WriteAccelerationStructuresPropertiesKHR() local
201 if (!base_ptr) in radv_WriteAccelerationStructuresPropertiesKHR()
204 const struct radv_accel_struct_header *header = (const void *)(base_ptr + accel->mem_offset); in radv_WriteAccelerationStructuresPropertiesKHR()
451 node->base_ptr = radv_accel_struct_get_va(src_accel_struct) | src_header->root_node_offset; in build_instances()
507 compute_bounds(const char *base_ptr, uint32_t node_id, float *bounds) in compute_bounds() argument
516 const struct radv_bvh_triangle_node *node = (const void *)(base_ptr + (node_id / 8 * 64)); in compute_bounds()
526 const struct radv_bvh_box32_node *node = (const void *)(base_ptr + (node_id / 8 * 64)); in compute_bounds()
538 const struct radv_bvh_instance_node *node = (const void *)(base_ptr + (node_id / 8 * 64)); in compute_bounds()
546 const struct radv_bvh_aabb_node *node = (const void *)(base_ptr + (node_id / 8 * 64)); in compute_bounds()
579 optimize_bvh(const char *base_ptr, uint32_t *node_ids, uint32_t node_count) in optimize_bvh() argument
[all …]
Dradv_acceleration_structure.h79 uint64_t base_ptr; member
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c269 DRAW_LLVM_TEXTURE_MEMBER(base_ptr, DRAW_JIT_TEXTURE_BASE, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
310 DRAW_LLVM_IMAGE_MEMBER(base_ptr, DRAW_JIT_IMAGE_BASE, TRUE)
401 sampler->dynamic_state.base.base_ptr = draw_llvm_texture_base_ptr; in draw_llvm_sampler_soa_create()
486 image->dynamic_state.base.base_ptr = draw_llvm_image_base_ptr; in draw_llvm_image_soa_create()
Ddraw_context.c1170 const void *base_ptr, in draw_set_mapped_texture() argument
1181 last_level, num_samples, sample_stride, base_ptr, in draw_set_mapped_texture()
1191 const void *base_ptr, in draw_set_mapped_image() argument
1203 base_ptr, in draw_set_mapped_image()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c186 LP_LLVM_TEXTURE_MEMBER(base_ptr, LP_JIT_TEXTURE_BASE, TRUE) in LP_LLVM_TEXTURE_MEMBER()
328 LP_LLVM_IMAGE_MEMBER(base_ptr, LP_JIT_IMAGE_BASE, TRUE) in LP_LLVM_IMAGE_MEMBER()
441 sampler->dynamic_state.base.base_ptr = lp_llvm_texture_base_ptr; in lp_llvm_sampler_soa_create()
540 image->dynamic_state.base.base_ptr = lp_llvm_image_base_ptr; in lp_llvm_image_soa_create()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidation_state.cpp1267 auto base_ptr = inst; in TracePointer() local
1268 while (base_ptr->opcode() == SpvOpAccessChain || in TracePointer()
1269 base_ptr->opcode() == SpvOpInBoundsAccessChain || in TracePointer()
1270 base_ptr->opcode() == SpvOpPtrAccessChain || in TracePointer()
1271 base_ptr->opcode() == SpvOpInBoundsPtrAccessChain || in TracePointer()
1272 base_ptr->opcode() == SpvOpCopyObject) { in TracePointer()
1273 base_ptr = FindDef(base_ptr->GetOperandAs<uint32_t>(2u)); in TracePointer()
1275 return base_ptr; in TracePointer()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.cpp1267 auto base_ptr = inst; in TracePointer() local
1268 while (base_ptr->opcode() == SpvOpAccessChain || in TracePointer()
1269 base_ptr->opcode() == SpvOpInBoundsAccessChain || in TracePointer()
1270 base_ptr->opcode() == SpvOpPtrAccessChain || in TracePointer()
1271 base_ptr->opcode() == SpvOpInBoundsPtrAccessChain || in TracePointer()
1272 base_ptr->opcode() == SpvOpCopyObject) { in TracePointer()
1273 base_ptr = FindDef(base_ptr->GetOperandAs<uint32_t>(2u)); in TracePointer()
1275 return base_ptr; in TracePointer()
/third_party/spirv-tools/source/val/
Dvalidation_state.cpp1439 auto base_ptr = inst; in TracePointer() local
1440 while (base_ptr->opcode() == SpvOpAccessChain || in TracePointer()
1441 base_ptr->opcode() == SpvOpInBoundsAccessChain || in TracePointer()
1442 base_ptr->opcode() == SpvOpPtrAccessChain || in TracePointer()
1443 base_ptr->opcode() == SpvOpInBoundsPtrAccessChain || in TracePointer()
1444 base_ptr->opcode() == SpvOpCopyObject) { in TracePointer()
1445 base_ptr = FindDef(base_ptr->GetOperandAs<uint32_t>(2u)); in TracePointer()
1447 return base_ptr; in TracePointer()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers.cc634 int* base_ptr /*inout*/, in safe_parse_sign_and_base() argument
642 int base = *base_ptr; in safe_parse_sign_and_base()
698 *base_ptr = base; in safe_parse_sign_and_base()

12