Home
last modified time | relevance | path

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

/external/python/cffi/testing/cffi0/
Dtest_model.py50 ptr_type = PointerType(PrimitiveType("int"))
51 assert ptr_type.get_c_name("x") == "int * x"
54 ptr_type = ConstPointerType(PrimitiveType("int"))
55 assert ptr_type.get_c_name("x") == "int const * x"
56 ptr_type = ConstPointerType(ArrayType(PrimitiveType("int"), 5))
57 assert ptr_type.get_c_name("") == "int(const *)[5]"
58 assert ptr_type.get_c_name("*x") == "int(const * *x)[5]"
61 ptr_type = PointerType(PrimitiveType("long long"), Q_RESTRICT)
62 assert ptr_type.get_c_name("") == "long long __restrict *"
66 ptr_type = unknown_ptr_type("foo_p")
[all …]
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c417 base->ptr_type->stride); in vtn_pointer_dereference()
431 if (base->ptr_type && base->ptr_type->type) { in vtn_pointer_dereference()
433 glsl_get_vector_elements(base->ptr_type->type); in vtn_pointer_dereference()
434 tail->dest.ssa.bit_size = glsl_get_bit_size(base->ptr_type->type); in vtn_pointer_dereference()
443 tail->type, base->ptr_type->stride); in vtn_pointer_dereference()
1614 struct vtn_type *ptr_type) in vtn_pointer_from_ssa() argument
1616 vtn_assert(ptr_type->base_type == vtn_base_type_pointer); in vtn_pointer_from_ssa()
1620 vtn_type_without_array(ptr_type->deref); in vtn_pointer_from_ssa()
1623 ptr->mode = vtn_storage_class_to_mode(b, ptr_type->storage_class, in vtn_pointer_from_ssa()
1625 ptr->type = ptr_type->deref; in vtn_pointer_from_ssa()
[all …]
Dvtn_private.h518 struct vtn_type *ptr_type; member
731 struct vtn_type *ptr_type);
Dspirv_to_nir.c255 vtn_assert(val->pointer->ptr_type && val->pointer->ptr_type->type); in vtn_ssa_value()
257 vtn_create_ssa_value(b, val->pointer->ptr_type->type); in vtn_ssa_value()
/external/OpenCL-CTS/test_conformance/clcpp/attributes/
Dtest_max_size.hpp37 ptr_type, // constant_ptr<T> enumerator
44 param_kind::ptr_type,
90 if (options.kind == param_kind::ptr_type) in generate_source()
/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/libepoxy/src/
Dgen_dispatch.py58 self.ptr_type = 'PFN' + name.upper() + 'PROC'
465 func.ptr_type,
550 self.outln('static {0}'.format(func.ptr_type))
633 …self.outln('{0} epoxy_{1} = epoxy_{1}_global_rewrite_ptr;'.format(func.ptr_type, func.wrapped_name…
783 self.outln(' {0} epoxy_{1};'.format(func.ptr_type, func.wrapped_name))
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dsort_util.cc212 auto ptr_type = shared_memory_address->getType(); in EmitTiledCompareLoop() local
218 llvm::PointerType::get(ptr_type->getPointerElementType(), in EmitTiledCompareLoop()
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dmlir_compiler.cc262 auto ptr_type = LLVMType::getInt8PtrTy(llvm_dialect); in InsertBufferLoadPreduleIntoKernel() local
267 std::vector<LLVMType> new_arg_types(buffers.size(), ptr_type); in InsertBufferLoadPreduleIntoKernel()
/external/flatbuffers/src/
Didl_gen_cpp.cpp598 auto &ptr_type = PtrType(field); in GenTypeNativePtr() local
599 if (ptr_type != "naked") { in GenTypeNativePtr()
600 return (ptr_type != "default_ptr_type" in GenTypeNativePtr()
601 ? ptr_type in GenTypeNativePtr()
614 auto &ptr_type = PtrType(&field); in GenPtrGet() local
615 return ptr_type == "naked" ? "" : ".get()"; in GenPtrGet()
/external/angle/third_party/spirv-tools/src/source/val/
Dvalidate_decorations.cpp1293 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1295 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1306 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp967 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
968 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
994 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp1293 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1295 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1306 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp966 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
967 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
993 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp1293 const auto ptr_type = vstate.FindDef(ptr_inst->GetOperandAs<uint32_t>(0)); in CheckFPRoundingModeForShaders() local
1295 const auto half_float_id = ptr_type->GetOperandAs<uint32_t>(2); in CheckFPRoundingModeForShaders()
1306 const auto storage = ptr_type->GetOperandAs<uint32_t>(1); in CheckFPRoundingModeForShaders()
Dvalidate_image.cpp967 const auto ptr_type = result_type->GetOperandAs<uint32_t>(2); in ValidateImageTexelPointer() local
968 const auto ptr_opcode = _.GetIdOpcode(ptr_type); in ValidateImageTexelPointer()
994 if (info.sampled_type != ptr_type) { in ValidateImageTexelPointer()
/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/mesa3d/src/amd/llvm/
Dac_llvm_build.c4565 LLVMTypeRef ptr_type; in arg_llvm_type() local
4568 ptr_type = ctx->i8; in arg_llvm_type()
4571 ptr_type = ctx->f32; in arg_llvm_type()
4574 ptr_type = ac_array_in_const32_addr_space(ctx->i8); in arg_llvm_type()
4577 ptr_type = ctx->v4i32; in arg_llvm_type()
4580 ptr_type = ctx->v8i32; in arg_llvm_type()
4586 return ac_array_in_const32_addr_space(ptr_type); in arg_llvm_type()
4589 return ac_array_in_const_addr_space(ptr_type); in arg_llvm_type()
Dac_nir_to_llvm.c1981 LLVMTypeRef ptr_type = LLVMPointerType(result_type, AC_ADDR_SPACE_GLOBAL); in visit_load_global() local
1983 addr = LLVMBuildIntToPtr(ctx->ac.builder, addr, ptr_type, ""); in visit_load_global()
2008 LLVMTypeRef ptr_type = LLVMPointerType(type, AC_ADDR_SPACE_GLOBAL); in visit_store_global() local
2010 addr = LLVMBuildIntToPtr(ctx->ac.builder, addr, ptr_type, ""); in visit_store_global()
2039 LLVMTypeRef ptr_type = LLVMPointerType(LLVMTypeOf(data), AC_ADDR_SPACE_GLOBAL); in visit_global_atomic() local
2041 addr = LLVMBuildIntToPtr(ctx->ac.builder, addr, ptr_type, ""); in visit_global_atomic()
2970 LLVMTypeRef ptr_type = in visit_var_atomic() local
2972 ptr = LLVMBuildBitCast(ctx->ac.builder, ptr, ptr_type, ""); in visit_var_atomic()
/external/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c2122 SpvId ptr_type = spirv_builder_type_pointer(&ctx->builder, in emit_deref_array() local
2127 ptr_type, in emit_deref_array()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_soa.c739 LLVMTypeRef ptr_type = LLVMPointerType(bld_broad->elem_type, 0); in emit_load_kernel_arg() local
740 kernel_args_ptr = LLVMBuildBitCast(builder, kernel_args_ptr, ptr_type, ""); in emit_load_kernel_arg()
/external/libchrome/
DAndroid.bp825 " --ptr_type=long" +