mirror of
https://github.com/ziglang/zig.git
synced 2026-01-13 10:55:11 +00:00
LLVM Builder: Add dbg.declare and dbg.value intrinsics
This commit is contained in:
parent
15029590ee
commit
4653fc4bb4
@ -2723,6 +2723,10 @@ pub const Intrinsic = enum {
|
||||
@"threadlocal.address",
|
||||
vscale,
|
||||
|
||||
// Debug
|
||||
@"dbg.declare",
|
||||
@"dbg.value",
|
||||
|
||||
// AMDGPU
|
||||
@"amdgcn.workitem.id.x",
|
||||
@"amdgcn.workitem.id.y",
|
||||
@ -3817,6 +3821,25 @@ pub const Intrinsic = enum {
|
||||
.attrs = &.{ .nocallback, .nofree, .nosync, .nounwind, .willreturn, .{ .memory = Attribute.Memory.all(.none) } },
|
||||
},
|
||||
|
||||
.@"dbg.declare" = .{
|
||||
.ret_len = 0,
|
||||
.params = &.{
|
||||
.{ .kind = .{ .type = .metadata } },
|
||||
.{ .kind = .{ .type = .metadata } },
|
||||
.{ .kind = .{ .type = .metadata } },
|
||||
},
|
||||
.attrs = &.{ .nocallback, .nofree, .nosync, .nounwind, .speculatable, .willreturn, .{ .memory = Attribute.Memory.all(.none) } },
|
||||
},
|
||||
.@"dbg.value" = .{
|
||||
.ret_len = 0,
|
||||
.params = &.{
|
||||
.{ .kind = .{ .type = .metadata } },
|
||||
.{ .kind = .{ .type = .metadata } },
|
||||
.{ .kind = .{ .type = .metadata } },
|
||||
},
|
||||
.attrs = &.{ .nocallback, .nofree, .nosync, .nounwind, .speculatable, .willreturn, .{ .memory = Attribute.Memory.all(.none) } },
|
||||
},
|
||||
|
||||
.@"amdgcn.workitem.id.x" = .{
|
||||
.ret_len = 1,
|
||||
.params = &.{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user