#include "lexit.hh"
#include "identifier.hh"
#include "simd.hh"
#include <algorithm>
#include <cassert>
#include <cstring>
#include <bitset>
Go to the source code of this file.
|
| static int | lexit::builtin_ctzll (uint64_t a) |
| static uint32_t | lexit::divide_ceil (uint32_t a, uint32_t b) |
| template<typename T> |
| void | lexit::realloc_aligned_array (AlignedArrayPtr< T > &ptr, size_t elem_count, size_t new_size) |
| TokenType | lexit::select (char char_value, char char_class, bool cond) |
| static void | lexit::lex_string (const TokenType *types, uint32_t &cursor) |
| static void | lexit::lex_float (const std::string_view str, const TokenType *types, const uint32_t *offsets, const uint32_t *offsets_end_, uint32_t &cursor) |
| static void | lexit::lex_comment (const std::string_view str, const TokenType *types, const uint32_t *offsets, uint32_t &cursor, TokenType &out_type) |
| static bool | lexit::is_whitespace (char c) |
| static void | lexit::lex_angle (const std::string_view str, const TokenType *types, const uint32_t *offsets, const uint32_t *offsets_end, uint32_t &cursor, TokenType &out_type) |
◆ count_bits_i
| #define count_bits_i |
( |
| i | ) |
|
Value:(std::bitset<8>{i}.count())
Definition at line 22 of file lexit.cc.