Home
last modified time | relevance | path

Searched refs:ptr_type (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c257 vtn_assert(base->ptr_type); in vtn_ssa_offset_pointer_dereference()
263 vtn_assert(base->ptr_type->length > 0 && base->ptr_type->align > 0); in vtn_ssa_offset_pointer_dereference()
265 base->ptr_type->align); in vtn_ssa_offset_pointer_dereference()
267 b->shader->num_shared += base->ptr_type->length; in vtn_ssa_offset_pointer_dereference()
282 vtn_assert(base->ptr_type); in vtn_ssa_offset_pointer_dereference()
289 base->ptr_type->stride); in vtn_ssa_offset_pointer_dereference()
368 struct vtn_variable *var, struct vtn_type *ptr_type) in vtn_pointer_for_variable() argument
374 vtn_assert(ptr_type->base_type == vtn_base_type_pointer); in vtn_pointer_for_variable()
375 vtn_assert(ptr_type->deref->type == var->type->type); in vtn_pointer_for_variable()
376 pointer->ptr_type = ptr_type; in vtn_pointer_for_variable()
[all …]
Dvtn_private.h426 struct vtn_type *ptr_type; member
589 struct vtn_type *ptr_type);
663 struct vtn_type *ptr_type);
Dvtn_cfg.c34 struct vtn_type *ptr_type = rzalloc(b, struct vtn_type); in vtn_pointer_for_image_or_sampler_variable() local
35 ptr_type->base_type = vtn_base_type_pointer; in vtn_pointer_for_image_or_sampler_variable()
36 ptr_type->storage_class = SpvStorageClassUniformConstant; in vtn_pointer_for_image_or_sampler_variable()
37 ptr_type->deref = var->type; in vtn_pointer_for_image_or_sampler_variable()
39 return vtn_pointer_for_variable(b, var, ptr_type); in vtn_pointer_for_image_or_sampler_variable()
Dspirv_to_nir.c293 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type); in vtn_ssa_value()
295 vtn_create_ssa_value(b, val->pointer->ptr_type->type); in vtn_ssa_value()
1755 arg->pointer->ptr_type->type == NULL) { in vtn_handle_function_call()
/external/libchrome/base/android/jni_generator/
Djni_generator_tests.py44 self.ptr_type = 'long'
974 test_options.ptr_type = 'long'
980 natives = jni_generator.ExtractNatives(test_data, test_options.ptr_type)
988 ptr_type=test_options.ptr_type),
Djni_generator.py464 def ExtractNatives(contents, ptr_type): argument
476 ptr_type=ptr_type)
787 natives = ExtractNatives(contents, options.ptr_type)
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dsort_util.cc211 auto ptr_type = shared_memory_address->getType(); in EmitTiledCompareLoop() local
217 llvm::PointerType::get(ptr_type->getPointerElementType(), in EmitTiledCompareLoop()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp1113 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1115 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1126 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp854 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
855 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
881 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp1122 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1124 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1135 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp854 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
855 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
881 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c593 LLVMTypeRef ptr_type = LLVMPointerType(LLVMFloatTypeInContext( in attribs_update() local
596 a = LLVMBuildBitCast(builder, a, ptr_type, ""); in attribs_update()
/external/flatbuffers/src/
Didl_gen_cpp.cpp582 auto &ptr_type = PtrType(field); in GenTypeNativePtr() local
583 if (ptr_type != "naked") { in GenTypeNativePtr()
584 return (ptr_type != "default_ptr_type" ? ptr_type : in GenTypeNativePtr()
597 auto &ptr_type = PtrType(&field); in GenPtrGet() local
598 return ptr_type == "naked" ? "" : ".get()"; in GenPtrGet()
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc844 Type *ptr_type = PointerType::getUnqual(B.getIntNTy(n->sub_decl_->bit_width_)); in visit_table_index_expr_node() local
846 Value *err_cast = B.CreateBitCast(errval_, ptr_type); in visit_table_index_expr_node()
872 PHINode *phi = B.CreatePHI(ptr_type, 2); in visit_table_index_expr_node()
/external/libchrome/
DAndroid.bp816 " --ptr_type=long" +