Decode a ULEB128 value from MatchTable at CurrentIdx.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h>

static
uint64_t
fastDecodeULEB128(
    uint8_t const* MatchTable,
    uint64_t& CurrentIdx);

Description

Faster ULEB128 decoder tailored for the Match Table Executor.

  • Arguments are fixed to avoid mid‐function checks.

  • Unchecked execution, assumes no error.

  • Fast common case handling (1 byte values).

Return Value

The decoded ULEB128 value.

Parameters

Name

Description

MatchTable

‐ Match table byte stream.

CurrentIdx

‐ Index into MatchTable; advanced past the value.

Created with MrDocs