Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

CallFast

Public Struct
std.zig.llvm.ir.ModuleBlock.FunctionBlock.CallFast
pub const CallFast = struct

Fields

attributes: Builder.FunctionAttributes
call_type: CallType
fast_math: Builder.FastMath
type_id: Builder.Type
callee: Builder.Value
args: []const Builder.Value

Structs

Values

File

zig/llvm/ir.zig:902
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
        pub const CallFast = struct {
            const CallType = packed struct(u18) {
                tail: bool = false,
                call_conv: Builder.CallConv,
                reserved: u3 = 0,
                must_tail: bool = false,
                // We always use the explicit type version as that is what LLVM does
                explicit_type: bool = true,
                no_tail: bool = false,
                fast: bool = true,
            };

            pub const ops = [_]AbbrevOp{
                .{ .literal = @backingInt(ModuleBlock.FunctionBlock.Code.INST_CALL) },
                .{ .fixed_runtime = Builder.FunctionAttributes },
                .{ .fixed = @bitSizeOf(CallType) },
                .{ .fixed = @bitSizeOf(Builder.FastMath) },
                .{ .fixed_runtime = Builder.Type },
                ValueAbbrev, // Callee
                ValueArrayAbbrev, // Args
            };

            attributes: Builder.FunctionAttributes,
            call_type: CallType,
            fast_math: Builder.FastMath,
            type_id: Builder.Type,
            callee: Builder.Value,
            args: []const Builder.Value,
        }