Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Grubre/smol-gpu
/ functions
Functions
344 in github.com/Grubre/smol-gpu
⨍
Functions
344
◇
Types & classes
98
↓ 44 callers
Method
push_instruction
sim/simlib/sim.hpp:68
↓ 28 callers
Function
collect_tokens
sim/aslib/lexer.cpp:168
↓ 25 callers
Function
parse_num
sim/aslib/parser_utils.cpp:11
↓ 19 callers
Method
scopedElement
external/doctest.h:5324
↓ 18 callers
Function
parseCommaSepArgs
parses a comma separated list of words after a pattern in one of the arguments in argv
external/doctest.h:6503
↓ 16 callers
Function
halt
Custom opcodes
sim/simlib/instructions.hpp:571
↓ 16 callers
Function
lw
sim/simlib/instructions.hpp:531
↓ 16 callers
Function
sw
sim/simlib/instructions.hpp:542
↓ 14 callers
Function
toStreamLit
external/doctest.h:3924
↓ 13 callers
Method
get_name
sim/simlib/instructions.hpp:860
↓ 13 callers
Method
is_scalar
sim/simlib/instructions.hpp:304
↓ 13 callers
Function
parseFlag
locates a flag on the command line
external/doctest.h:6498
↓ 13 callers
Method
push_data
sim/simlib/sim.hpp:147
↓ 13 callers
Function
set_kernel_config
sim/simlib/sim.hpp:184
↓ 13 callers
Function
simulate
sim/simlib/sim.hpp:193
↓ 12 callers
Function
getContextOptions
external/doctest.h:4003
↓ 12 callers
Function
skipPathFromFilename
external/doctest.h:3884
↓ 11 callers
Function
create_itype_instruction
sim/simlib/instructions.hpp:437
↓ 11 callers
Function
create_rtype_instruction
sim/simlib/instructions.hpp:444
↓ 10 callers
Method
begin
sim/aslib/lexer.hpp:51
↓ 10 callers
Function
check_reg
test/assembler/assembler_helper.hpp:6
↓ 10 callers
Function
parse_line
sim/aslib/parser.cpp:390
↓ 9 callers
Method
end
sim/aslib/lexer.hpp:52
↓ 9 callers
Function
isOnStack
external/doctest.h:611
↓ 9 callers
Function
to_string
sim/aslib/parser.cpp:15
↓ 8 callers
Function
addi
I-type
sim/simlib/instructions.hpp:470
↓ 8 callers
Method
insert
external/doctest.h:1011
↓ 8 callers
Function
is_scalar
sim/simlib/instructions.hpp:57
↓ 8 callers
Method
to_str
sim/aslib/token.hpp:86
↓ 7 callers
Function
parse_program
sim/aslib/parser.cpp:400
↓ 7 callers
Method
set_opcode
sim/simlib/instructions.hpp:351
↓ 6 callers
Function
assert_or_err
sim/simlib/error.hpp:43
↓ 6 callers
Function
c_str
the only functions I'm willing to leave in the interface - available for inlining
external/doctest.h:642
↓ 6 callers
Function
run_sim
test/gpu/general_instruction_tests.cpp:14
↓ 6 callers
Function
set_bit
CData is uint8_t, IData is uint32_t
sim/simlib/sim.hpp:17
↓ 5 callers
Method
set_rd
sim/simlib/instructions.hpp:357
↓ 4 callers
Function
check_mnemonic
test/assembler/assembler_helper.hpp:27
↓ 4 callers
Function
create_btype_instruction
sim/simlib/instructions.hpp:450
↓ 4 callers
Function
create_stype_instruction
sim/simlib/instructions.hpp:455
↓ 4 callers
Function
is_numeric
sim/aslib/common.hpp:20
↓ 4 callers
Method
set_funct3
sim/simlib/instructions.hpp:363
↓ 4 callers
Method
set_rs1
sim/simlib/instructions.hpp:369
↓ 4 callers
Function
str_to_mnemonic
sim/simlib/instructions.hpp:903
↓ 4 callers
Method
stringify
external/doctest.h:1860
↓ 3 callers
Function
Approx
external/doctest.h:1217
↓ 3 callers
Function
ContextScopeBase
external/doctest.h:1831
↓ 3 callers
Function
Subcase
external/doctest.h:1341
↓ 3 callers
Method
bits
sim/simlib/instructions.hpp:295
↓ 3 callers
Function
check_immediate
test/assembler/assembler_helper.hpp:22
↓ 3 callers
Function
check_label
test/assembler/assembler_helper.hpp:12
↓ 3 callers
Function
create_itype_shift_instruction
sim/simlib/instructions.hpp:440
↓ 3 callers
Function
create_utype_instruction
Helper functions for creating instructions
sim/simlib/instructions.hpp:434
↓ 3 callers
Function
get_lines
sim/aslib/common.hpp:62
↓ 3 callers
Function
is_whitespace
sim/aslib/common.hpp:19
↓ 3 callers
Function
open_file
sim/aslib/common.hpp:54
↓ 3 callers
Function
parseOption
parses an option and returns the string after the '=' character
external/doctest.h:6485
↓ 3 callers
Function
read_data
sim/aslib/data_reader.cpp:34
↓ 3 callers
Method
set_imm12
sim/simlib/instructions.hpp:381
↓ 3 callers
Function
stringifyBinaryExpr
external/doctest.h:1354
↓ 3 callers
Function
trim_line
sim/aslib/common.hpp:70
↓ 3 callers
Function
validate_instr_id
Helper function for validating instruction IDs used for validating opcodes, funct3s, and funct7s possible_ids should be a std::array<IData, N>
sim/simlib/instructions.hpp:335
↓ 3 callers
Function
validate_register
Helper function for validating register numbers
sim/simlib/instructions.hpp:328
↓ 3 callers
Method
writeDeclaration
external/doctest.h:5398
↓ 2 callers
Function
MessageBuilder
external/doctest.h:1876
↓ 2 callers
Method
add
external/doctest.h:5760
↓ 2 callers
Method
addFailure
external/doctest.h:5777
↓ 2 callers
Method
addTime
external/doctest.h:5770
↓ 2 callers
Method
appendSubcaseNamesToLastTestcase
external/doctest.h:5764
↓ 2 callers
Function
create_jtype_instruction
sim/simlib/instructions.hpp:447
↓ 2 callers
Method
ensureTagClosed
external/doctest.h:5391
↓ 2 callers
Function
failureString
external/doctest.h:3867
↓ 2 callers
Function
fill
NOLINTEND(*-avoid-c-arrays)
external/doctest.h:1174
↓ 2 callers
Method
fill
external/doctest.h:3918
↓ 2 callers
Function
fulltext_log_assert_to_stream
external/doctest.h:5652
↓ 2 callers
Function
is_alphabetic
sim/aslib/common.hpp:32
↓ 2 callers
Function
is_alphanumeric
sim/aslib/common.hpp:33
↓ 2 callers
Function
is_load_type
sim/aslib/parser.hpp:77
↓ 2 callers
Function
jalr
JALR
sim/simlib/instructions.hpp:552
↓ 2 callers
Method
next_token
sim/aslib/lexer.cpp:127
↓ 2 callers
Function
parseOptionImpl
the implementation of parseOption()
external/doctest.h:6450
↓ 2 callers
Function
print_error
sim/simlib/error.hpp:37
↓ 2 callers
Method
process
Process read and write requests
sim/simlib/sim.hpp:102
↓ 2 callers
Function
registerReporterImpl
external/doctest.h:7071
↓ 2 callers
Method
set_funct7
sim/simlib/instructions.hpp:387
↓ 2 callers
Method
set_rs2
sim/simlib/instructions.hpp:375
↓ 2 callers
Function
str_check_predicate
sim/aslib/parser_utils.cpp:72
↓ 2 callers
Function
sx_slti
sim/simlib/instructions.hpp:577
↓ 2 callers
Function
toString
external/doctest.h:1093
↓ 2 callers
Function
translate_to_binary
sim/aslib/emitter.cpp:6
↓ 2 callers
Method
with_line
sim/simlib/error.hpp:23
↓ 1 callers
Function
MakeContextScope
external/doctest.h:1909
↓ 1 callers
Function
StringContains
external/doctest.h:852
↓ 1 callers
Function
add
R-type
sim/simlib/instructions.hpp:496
↓ 1 callers
Method
addError
external/doctest.h:5782
↓ 1 callers
Function
and_
sim/simlib/instructions.hpp:520
↓ 1 callers
Function
check_label_ref
test/assembler/assembler_helper.hpp:17
↓ 1 callers
Method
consume_errors
sim/aslib/parser.hpp:211
↓ 1 callers
Function
epsilon
external/doctest.h:1228
↓ 1 callers
Function
filloss
external/doctest.h:1052
↓ 1 callers
Function
is_itype_arithmetic
sim/aslib/parser.hpp:64
next →
1–100 of 344, ranked by callers