/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_jit.c | 59 elem_types[LP_JIT_TEXTURE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in create_jit_texture_type() 147 elem_types[LP_JIT_IMAGE_BASE] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in create_jit_image_type() 219 LLVMArrayType(LLVMPointerType(LLVMFloatTypeInContext(lc), 0), LP_MAX_TGSI_CONST_BUFFERS); in lp_jit_create_types() 232 elem_types[LP_JIT_CTX_U8_BLEND_COLOR] = LLVMPointerType(LLVMInt8TypeInContext(lc), 0); in lp_jit_create_types() 233 elem_types[LP_JIT_CTX_F_BLEND_COLOR] = LLVMPointerType(LLVMFloatTypeInContext(lc), 0); in lp_jit_create_types() 234 elem_types[LP_JIT_CTX_VIEWPORTS] = LLVMPointerType(viewport_type, 0); in lp_jit_create_types() 236 LLVMArrayType(LLVMPointerType(LLVMInt32TypeInContext(lc), 0), LP_MAX_TGSI_SHADER_BUFFERS); in lp_jit_create_types() 287 lp->jit_context_ptr_type = LLVMPointerType(context_type, 0); in lp_jit_create_types() 296 LLVMPointerType(lp_build_format_cache_type(gallivm), 0); in lp_jit_create_types() 305 lp->jit_thread_data_ptr_type = LLVMPointerType(thread_data_type, 0); in lp_jit_create_types() [all …]
|
D | lp_test_format.c | 102 args[0] = LLVMPointerType(lp_build_vec_type(gallivm, type), 0); in add_fetch_rgba_test() 103 args[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in add_fetch_rgba_test() 105 args[4] = LLVMPointerType(lp_build_format_cache_type(gallivm), 0); in add_fetch_rgba_test()
|
D | lp_bld_interp.c | 238 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 243 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 254 LLVMPointerType(setup_bld->vec_type, 0), ""); in coeffs_init_simple() 451 LLVMTypeRef u8ptr = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_interp_soa_indirect() 556 … LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), ""); in lp_build_interp_soa()
|
D | lp_state_setup.c | 753 arg_types[0] = LLVMPointerType(vec4f_type, 0); /* v0 */ in generate_setup_variant() 754 arg_types[1] = LLVMPointerType(vec4f_type, 0); /* v1 */ in generate_setup_variant() 755 arg_types[2] = LLVMPointerType(vec4f_type, 0); /* v2 */ in generate_setup_variant() 757 arg_types[4] = LLVMPointerType(vec4f_type, 0); /* a0, aligned */ in generate_setup_variant() 758 arg_types[5] = LLVMPointerType(vec4f_type, 0); /* dadx, aligned */ in generate_setup_variant() 759 arg_types[6] = LLVMPointerType(vec4f_type, 0); /* dady, aligned */ in generate_setup_variant()
|
D | lp_test_arit.c | 331 LLVMTypeRef args[2] = { LLVMPointerType(vf32t, 0), LLVMPointerType(vf32t, 0) }; in build_unary_test_func()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | IntrinsicsWebAssembly.td | 84 [LLVMPointerType<llvm_i32_ty>, llvm_i32_ty, llvm_i64_ty], 90 [LLVMPointerType<llvm_i64_ty>, llvm_i64_ty, llvm_i64_ty], 95 Intrinsic<[llvm_i32_ty], [LLVMPointerType<llvm_i32_ty>, llvm_i32_ty], 215 [LLVMPointerType<llvm_i32_ty>], 221 [LLVMPointerType<llvm_i64_ty>], 232 [LLVMPointerType<llvm_i8_ty>, llvm_v16i8_ty, llvm_i32_ty], 237 [LLVMPointerType<llvm_i16_ty>, llvm_v8i16_ty, llvm_i32_ty], 242 [LLVMPointerType<llvm_i32_ty>, llvm_v4i32_ty, llvm_i32_ty], 247 [LLVMPointerType<llvm_i64_ty>, llvm_v2i64_ty, llvm_i32_ty], 252 [LLVMPointerType<llvm_i8_ty>, llvm_v16i8_ty, llvm_i32_ty], [all …]
|
D | IntrinsicsHexagon.td | 128 def llvm_ptr32_ty : LLVMPointerType<llvm_i32_ty>; 129 def llvm_ptr64_ty : LLVMPointerType<llvm_i64_ty>;
|
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | LLVMTypes.cpp | 68 LLVMPointerType, LLVMFunctionType>()) && in getPrimitiveSizeInBits() 140 return LLVMPointerType::get(*this, addrSpace); in getPointerTo() 144 return cast<LLVMPointerType>().getElementType(); in getPointerElementTy() 147 bool LLVMType::isPointerTy() { return isa<LLVMPointerType>(); } in isPointerTy() 368 bool LLVMPointerType::isValidElementType(LLVMType type) { in isValidElementType() 373 LLVMPointerType LLVMPointerType::get(LLVMType pointee, unsigned addressSpace) { in get() 378 LLVMPointerType LLVMPointerType::getChecked(Location loc, LLVMType pointee, in getChecked() 383 LLVMType LLVMPointerType::getElementType() { return getImpl()->pointeeType; } in getElementType() 385 unsigned LLVMPointerType::getAddressSpace() { return getImpl()->addressSpace; } in getAddressSpace() 387 LogicalResult LLVMPointerType::verifyConstructionInvariants(Location loc, in verifyConstructionInvariants() [all …]
|
D | LLVMTypeSyntax.cpp | 42 .Case<LLVMPointerType>([&](Type) { return "ptr"; }) in getTypeKeyword() 146 if (auto ptrType = type.dyn_cast<LLVMPointerType>()) { in printTypeImpl() 235 static LLVMPointerType parsePointerType(DialectAsmParser &parser, in parsePointerType() 240 return LLVMPointerType(); in parsePointerType() 245 return LLVMPointerType(); in parsePointerType() 247 return LLVMPointerType(); in parsePointerType() 248 return LLVMPointerType::getChecked(loc, elementType, addressSpace); in parsePointerType()
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_coro.c | 47 …coro_id_args[1] = LLVMConstPointerNull(LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)… in lp_build_coro_id() 73 … LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), in lp_build_coro_begin() 86 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0), in lp_build_coro_free() 170 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_declare_malloc_hooks() 180 LLVMTypeRef mem_ptr_type = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_coro_begin_alloc_mem()
|
D | lp_bld_gather.c | 58 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_ptr() 91 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem() 96 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem() 176 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_elem_vec() 177 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_elem_vec() 301 assert(LLVMTypeOf(base_ptr) == LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0)); in lp_build_gather_avx2() 316 LLVMTypeRef src_ptr_type = LLVMPointerType(src_type, 0); in lp_build_gather_avx2()
|
D | lp_bld_assert.c | 76 arg_types[1] = LLVMPointerType(LLVMInt8TypeInContext(context), 0); in lp_build_assert()
|
D | lp_bld_format_aos_array.c | 82 ptr = LLVMBuildPointerCast(builder, ptr, LLVMPointerType(src_vec_type, 0), ""); in lp_build_fetch_rgba_aos_array()
|
D | lp_bld_const.h | 153 LLVMPointerType(int_type, 0), in lp_build_const_int_pointer()
|
D | lp_bld_const.c | 454 string = LLVMConstBitCast(string, LLVMPointerType(i8, 0)); in lp_build_const_string() 481 LLVMPointerType(function_type, 0), in lp_build_const_func_pointer()
|
D | lp_bld_format_aos.c | 806 LLVMTypeRef pi8t = LLVMPointerType(i8t, 0); in lp_build_fetch_rgba_aos() 848 LLVMPointerType(function_type, 0), in lp_build_fetch_rgba_aos() 914 LLVMTypeRef pf32t = LLVMPointerType(f32t, 0); in lp_build_fetch_rgba_aos() 915 LLVMTypeRef pi8t = LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in lp_build_fetch_rgba_aos()
|
/external/llvm-project/llvm/test/TableGen/ |
D | intrinsic-pointer-to-any.td | 3 // This test is validating that it an Intrinsic with an LLVMPointerType to 47 class LLVMPointerType<LLVMType elty> 56 def int_has_ptr_to_any : Intrinsic<[LLVMPointerType<llvm_any_ty>, llvm_i8_ty]>;
|
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/ |
D | tf_kernel_to_llvm_pass.cc | 71 LLVM::LLVMPointerType::get(IntegerType::get(context_, 8)); 73 LLVM::LLVMPointerType::get(llvm_pointer_type_); 113 loc, LLVM::LLVMPointerType::get(struct_type), one, /*alignment=*/0); in generateParamsArray() 124 loc, LLVM::LLVMPointerType::get(argument_types[en.index()]), struct_ptr, in generateParamsArray() 251 return LLVM::LLVMPointerType::get(IntegerType::get(ctx, 8)); in runOnOperation()
|
D | tf_framework_legalize_to_llvm.cc | 130 Type llvm_i32_ptr_type = LLVM::LLVMPointerType::get(llvm_i32_type); in GetFuncType() 182 Type llvm_i32_ptr_type = LLVM::LLVMPointerType::get(llvm_i32_type); in ConvertI32ArrayAttrToStackAllocatedArray() 277 auto i8_ptr_type = LLVM::LLVMPointerType::get(IntegerType::get(ctx, 8)); in GetFuncType() 311 loc, LLVM::LLVMPointerType::get(IntegerType::get(ctx, 8)), globalPtr, in GenerateErrorMessageConstant() 362 Type elem_ptr_ptr_type = LLVM::LLVMPointerType::get( in matchAndRewrite() 363 LLVM::LLVMPointerType::get(llvm_elem_type, address_space)); in matchAndRewrite() 366 loc, LLVM::LLVMPointerType::get(llvm_elem_type, address_space)); in matchAndRewrite()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 124 LLVMPointerType(LLVMIntTypeInContext(gallivm->context, 8), 0); in create_jit_dvbuffer_type() 160 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in create_jit_texture_type() 267 LLVMPointerType(LLVMInt8TypeInContext(gallivm->context), 0); in create_jit_image_type() 318 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* vs_constants */ in create_jit_context_type() 322 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_jit_context_type() 324 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_jit_context_type() 331 elem_types[7] = LLVMArrayType(LLVMPointerType(int_type, 0), /* vs_ssbo */ in create_jit_context_type() 382 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* constants */ in create_gs_jit_context_type() 386 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_gs_jit_context_type() 388 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_gs_jit_context_type() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IntrinsicsWebAssembly.td | 84 [LLVMPointerType<llvm_i32_ty>, llvm_i32_ty, llvm_i64_ty], 90 [LLVMPointerType<llvm_i64_ty>, llvm_i64_ty, llvm_i64_ty], 95 Intrinsic<[llvm_i32_ty], [LLVMPointerType<llvm_i32_ty>, llvm_i32_ty],
|
/external/llvm-project/mlir/include/mlir/Dialect/LLVMIR/ |
D | LLVMTypes.h | 372 class LLVMPointerType : public Type::TypeBase<LLVMPointerType, LLVMType, 384 static LLVMPointerType get(LLVMType pointee, unsigned addressSpace = 0); 385 static LLVMPointerType getChecked(Location loc, LLVMType pointee,
|
/external/llvm-project/mlir/lib/Target/LLVMIR/ |
D | TypeTranslation.cpp | 75 LLVM::LLVMFunctionType, LLVM::LLVMPointerType, in translateType() 109 llvm::Type *translate(LLVM::LLVMPointerType type) { in translate() 261 return LLVM::LLVMPointerType::get(translateType(type->getElementType()), in translate()
|
/external/llvm/tools/llvm-c-test/ |
D | calc.c | 120 LLVMTypeRef I64Ptrty = LLVMPointerType(I64ty, 0); in handle_line()
|
/external/llvm-project/llvm/tools/llvm-c-test/ |
D | calc.c | 120 LLVMTypeRef I64Ptrty = LLVMPointerType(I64ty, 0); in handle_line()
|