Home
last modified time | relevance | path

Searched refs:byref (Results 1 – 25 of 89) sorted by relevance

1234

/llvm-project-15.0.7/llvm/test/Verifier/
H A Dbyref.ll3 ; CHECK: Attribute 'byref' type does not match parameter!
5 define void @byref_mismatched_pointee_type0(i32* byref(i8)) {
9 ; CHECK: Attribute 'byref' type does not match parameter!
11 define void @byref_mismatched_pointee_type1(i8* byref(i32)) {
17 ; CHECK: Attribute 'byref' does not support unsized types!
19 define void @byref_unsized(%opaque.ty* byref(%opaque.ty)) {
25 define void @byref_byval(i32* byref(i32) byval(i32)) {
43 define void @byref_sret(i32* byref(i32) sret(i32)) {
49 define void @byref_inreg(i32* byref(i32) inreg) {
55 define void @byref_nest(i32* byref(i32) nest) {
[all …]
H A Dswifttailcc-musttail.ll29 define swifttailcc void @byref(i8* byref(i8)) {
30 ; CHECK: byref attribute not allowed in swifttailcc musttail caller
61 ; CHECK: byref attribute not allowed in swifttailcc musttail callee
62 musttail call swifttailcc void @byref(i8* byref(i8) undef)
H A Dtailcc-musttail.ll29 define tailcc void @byref(i8* byref(i8)) {
30 ; CHECK: byref attribute not allowed in tailcc musttail caller
61 ; CHECK: byref attribute not allowed in tailcc musttail callee
62 musttail call tailcc void @byref(i8* byref(i8) undef)
/llvm-project-15.0.7/llvm/test/Linker/
H A Dbyref-types.ll1 ; RUN: llvm-link %s %p/Inputs/byref-type-input.ll -S | FileCheck %s
6 ; CHECK-LABEL: define void @f(%a* byref(%a) %0)
7 define void @f(%a* byref(%a)) {
12 ; CHECK: call void @foo(%struct* byref(%struct) %ptr)
15 call void @foo(%struct* byref(%struct) %ptr)
19 ; CHECK-LABEL: define void @g(%a* byref(%a) %0)
21 ; CHECK-LABEL: define void @foo(%struct* byref(%struct) %a)
22 ; CHECK-NEXT: call void @baz(%struct* byref(%struct) %a)
23 declare void @foo(%struct* byref(%struct) %a)
25 ; CHECK: declare void @baz(%struct* byref(%struct))
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dkernel-argument-dag-lowering.ll162 …id @byref_constant_i8_arg(i32 addrspace(1)* nocapture %out, i8 addrspace(4)* byref(i8) %in.byref) {
163 %in = load i8, i8 addrspace(4)* %in.byref
174 %in = load i16, i16 addrspace(4)* %in.byref
185 %in = load i32, i32 addrspace(4)* %in.byref
212 %in = load i32, i32 addrspace(4)* %in.byref
235 %in = load i32, i32 addrspace(1)* %in.byref
242 …dgpu_kernel void @byref_flat_i32_arg(i32 addrspace(1)* nocapture %out, i32* byref(i32) %in.byref) {
243 %in = load i32, i32* %in.byref
253 %in = load i32, i32 addrspace(6)* %in.byref
269 …rspace(1)* nocapture %out, i32 addrspace(4)* byref(i32) %in0.byref, i32 addrspace(4)* byref(i32) %…
[all …]
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dsysobjs.py89 res = self.vt.GetNumberSystems(self.sysobjects, byref(self.ulong))
94 res = self.vt.GetNumberProcesses(self.sysobjects, byref(self.ulong))
99 res = self.vt.GetNumberThreads(self.sysobjects, byref(self.ulong))
107 …umberThreadsAndProcesses(self.sysobjects, byref(tthreads), byref(tprocs), byref(pulong3), byref(pu…
112 res = self.vt.GetCurrentProcessId(self.sysobjects, byref(self.ulong))
122 res = self.vt.GetCurrentThreadId(self.sysobjects, byref(self.ulong))
160 res = self.vt.GetCurrentThreadHandle(self.sysobjects, byref(pulong64))
H A Dsymbols.py289 res = self.vt.GetCurrentScopeFrameIndex(self.symbols, byref(self.ulong))
299 res = self.vt.GetOffsetByName(self.symbols, name.encode("ascii"), byref(self.ulong64))
308 res = self.vt.GetNearNameByOffset(self.symbols, addr, 0, ptr, 255, byref(pulong), byref(disp))
371 res = self.vt.GetSymbolPath(self.symbols, None, 0, byref(self.ulong))
377 res = self.vt.GetSymbolPath(self.symbols, arr, length, byref(self.ulong))
384 res = self.vt.GetSourcePath(self.symbols, None, 0, byref(self.ulong))
390 res = self.vt.GetSourcePath(self.symbols, arr, length, byref(self.ulong))
404 res = self.vt.GetModuleParameters(self.symbols, 1, byref(self.ulong64), 0, byref(params))
409 res = self.vt.GetSymbolOptions(self.symbols, byref(self.ulong))
430 …res = self.vt.GetLineByOffset(self.symbols, offs, byref(line), text, filenamelen, byref(self.ulong…
[all …]
H A Dsymgroup.py63 res = self.vt.GetNumberSymbols(self.symgroup, byref(self.ulong))
69 res = self.vt.GetSymbolName(self.symgroup, idx, buf, 255, byref(self.ulong))
76 res = self.vt.GetSymbolTypeName(self.symgroup, idx, buf, 255, byref(self.ulong))
83 res = self.vt.GetSymbolValueText(self.symgroup, idx, buf, 255, byref(self.ulong))
H A Dcontrol.py298 ret = self.vt.GetExecutionStatus(self.control, byref(self.ulong))
320 res = self.vt.GetNumberEventFilters(self.control, byref(specific_events),
321 byref(specific_exceptions),
322 byref(arbitrary_exceptions))
335 …ddBreakpoint2(self.control, BreakpointTypes.DEBUG_BREAKPOINT_CODE, DEBUG_ANY_ID, byref(breakpoint))
361 … res = self.vt.GetStackTraceEx(self.control, 0, 0, 0, frames, num_frames_buffer, byref(numframes))
382 ….Evaluate(self.control, expr.encode("ascii"), DebugValueType.DEBUG_VALUE_INVALID, byref(ptr), None)
H A Dclient.py157 res = DbgEng.DebugCreate(byref(DebugClient7IID), ptr)
163 return vt.QueryInterface(self.client, byref(iface), byref(ptr))
209 …res = self.vt.CreateProcessAndAttach2(self.client, 0, cmdline.encode("ascii"), byref(options), siz…
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/python/tools/
H A Dnp_to_sparse_tensor.py67 c_lib.convertFromMLIRSparseTensorF64(sparse, ctypes.byref(rank),
68 ctypes.byref(nse), ctypes.byref(shape),
69 ctypes.byref(values),
70 ctypes.byref(indices))
/llvm-project-15.0.7/llvm/test/Linker/Inputs/
H A Dbyref-type-input.ll4 define void @g(%a* byref(%a)) {
8 declare void @baz(%struct* byref(%struct))
10 define void @foo(%struct* byref(%struct) %a) {
11 call void @baz(%struct* byref(%struct) %a)
/llvm-project-15.0.7/llvm/test/Transforms/ObjCARC/
H A Descape.ll20 …%byref.isa = getelementptr inbounds %struct.__block_byref_weakLogNTimes, %struct.__block_byref_wea…
21 store i8* null, i8** %byref.isa, align 8
23 …ref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8
25 store i32 33554432, i32* %byref.flags, align 8
27 store i32 48, i32* %byref.size, align 4
50 …%tmp8 = load %struct.__block_byref_weakLogNTimes*, %struct.__block_byref_weakLogNTimes** %byref.fo…
76 store i8* null, i8** %byref.isa, align 8
78 …ref_weakLogNTimes* %weakLogNTimes, %struct.__block_byref_weakLogNTimes** %byref.forwarding, align 8
80 store i32 33554432, i32* %byref.flags, align 8
82 store i32 48, i32* %byref.size, align 4
[all …]
/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Dblock-var-layout.mm40 // byref int, short, char, char, char, id, id, strong void*, byref id
53 // byref int, short, char, char, char, id, id, strong void*, byref void*, byref id
68 // byref int, short, char, char, char, id, id, byref void*, int, double, byref id
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/tools/
H A Dmlir_pytaco_utils.py145 convert_from(sparse_tensor, ctypes.byref(rank), ctypes.byref(nse),
146 ctypes.byref(shape), ctypes.byref(values), ctypes.byref(indices))
300 ctypes.byref(ctypes.pointer(c_tensor_desc)),
301 ctypes.byref(c_filename)
369 ctypes.byref(ctypes.cast(tensor, ctypes.c_void_p)),
370 ctypes.byref(c_filename)
/llvm-project-15.0.7/llvm/test/DebugInfo/Generic/
H A Dblock-asan.ll27 …%byref.isa = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, i…
28 store i8* null, i8** %byref.isa, !dbg !24
29 …%byref.forwarding = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i…
30 store %struct.__block_byref_x* %x, %struct.__block_byref_x** %byref.forwarding, !dbg !24
31 …%byref.flags = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0,…
32 store i32 0, i32* %byref.flags, !dbg !24
33 …%byref.size = getelementptr inbounds %struct.__block_byref_x, %struct.__block_byref_x* %x, i32 0, …
34 store i32 32, i32* %byref.size, !dbg !24
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dblock-var-layout.m49 // byref int, short, char, char, char, id, id, strong void*, byref id
61 // byref int, short, char, char, char, id, id, strong void*, byref void*, byref id
76 // byref int, short, char, char, char, id, id, byref void*, int, double, byref id
H A D2008-11-25-Blocks.m10 __attribute__((__blocks__(byref))) bork* new = ((void *)0);
14 __attribute__((__blocks__(byref))) id var;
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dbyref.ll5 declare x86_stdcallcc void @foo_byref_stdcall_p(ptr byref(%Foo))
8 ; byref does not imply a stack copy, so this should append 4 bytes,
14 call x86_stdcallcc void @foo_byref_stdcall_p(ptr byref(%Foo) %value)
/llvm-project-15.0.7/llvm/test/Transforms/DeadArgElim/
H A Dbyref.ll6 define void @unused_byref_arg(i32* byref(i32) %dead_arg) {
17 ; CHECK-NEXT: call void @unused_byref_arg(i32* byref(i32) poison)
20 call void @unused_byref_arg(i32* byref(i32) %ptr)
/llvm-project-15.0.7/llvm/test/Instrumentation/AddressSanitizer/
H A Dbyref-args.ll3 ; Test that for call instructions, the byref arguments are not
16 tail call void @func1(%struct.foo* byref(%struct.foo) align 8 %foo) #2
20 declare dso_local void @func1(%struct.foo* byref(%struct.foo) align 8)
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dbyref-align.ll6 ; Test behavior of inserted alignment assumptions with byref. There is
9 define void @byref_callee(float* align(128) byref(float) nocapture %a, float* %b) #0 {
11 ; CHECK-SAME: (float* nocapture byref(float) align 128 [[A:%.*]], float* [[B:%.*]]) [[ATTR0:#.*]] {
42 call void @byref_callee(float* align(128) byref(float) %a, float* %b)
/llvm-project-15.0.7/lldb/test/API/
H A Dget_darwin_real_python.py11 dyld._NSGetExecutablePath(ctypes.byref(name), ctypes.byref(namelen))
/llvm-project-15.0.7/llvm/bindings/python/llvm/
H A Dbit_reader.py10 from ctypes import byref
19 result = lib.LLVMParseBitcode2(mem_buffer, byref(module))
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dmethod-encoding-2.m5 - (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2;
10 - (in out bycopy id) address:(byref inout void *)location with:(out oneway unsigned **)arg2{ return…

1234