MCPcopy Create free account

hub / github.com/anthropics/claudes-c-compiler / functions

Functions6,057 in github.com/anthropics/claudes-c-compiler

↓ 1 callersFunctionparse_decimal_float_to_f128
Parse a decimal float string to IEEE 754 binary128 format.
src/common/long_double.rs:723
↓ 1 callersMethodparse_declaration_rest
Parse the rest of a declaration (not a function definition).
src/frontend/parser/declarations.rs:478
↓ 1 callersFunctionparse_directive
Parse a directive line (starts with '.').
src/backend/x86/assembler/parser.rs:451
↓ 1 callersFunctionparse_ebp_offset_in_line
Parse the %ebp offset from a line, or return EBP_OFFSET_NONE.
src/backend/i686/codegen/peephole.rs:260
↓ 1 callersFunctionparse_eh_frame_fdes
Parse .eh_frame section to extract FDE entries. Returns a sorted list of FDEs by initial_location.
src/backend/linker_common/eh_frame.rs:112
↓ 1 callersMethodparse_enum_specifier
Parse an enum definition/reference.
src/frontend/parser/types.rs:492
↓ 1 callersMethodparse_enum_variants
Parse enum variant declarations inside braces.
src/frontend/parser/types.rs:788
↓ 1 callersMethodparse_expr_primary
(&self, tokens: &[ExprToken], pos: &mut usize)
src/backend/elf_writer_common.rs:1077
↓ 1 callersMethodparse_ext_vector_type_attr
Parse ext_vector_type(N) attribute (Clang-style vector type). Stores the element count N; the total size is computed in lowering as N * sizeof(elem).
src/frontend/parser/parse.rs:872
↓ 1 callersFunctionparse_extend_shift
Parse an extend/shift specifier like "lsl #2", "sxtw", "sxtw #0", "uxtx #3"
src/backend/arm/assembler/parser.rs:2193
↓ 1 callersMethodparse_external_decl
(&mut self)
src/frontend/parser/declarations.rs:37
↓ 1 callersMethodparse_float_suffix
Parse float suffix with imaginary support (GCC extension). Returns (float_kind, is_imaginary) where float_kind: 0=double, 1=float, 2=long double.
src/frontend/lexer/scan.rs:378
↓ 1 callersMethodparse_for_stmt
Parse a for statement: for (init; cond; inc) body
src/frontend/parser/statements.rs:264
↓ 1 callersMethodparse_function_def
Parse the rest of a function definition after the declarator.
src/frontend/parser/declarations.rs:214
↓ 1 callersMethodparse_gcc_attribute_list
Parse the comma-separated attribute list inside __attribute__((...)).
src/frontend/parser/parse.rs:684
↓ 1 callersMethodparse_generic_selection
Parse _Generic(controlling_expr, type: expr, ..., default: expr)
src/frontend/parser/expressions.rs:690
↓ 1 callersFunctionparse_hex_float_to_f128
Parse a hex float string (0x..p..) to f128 format.
src/common/long_double.rs:770
↓ 1 callersFunctionparse_immediate
(s: &str)
src/backend/arm/assembler/parser.rs:2243
↓ 1 callersFunctionparse_immediate_label_diff
Try to parse a symbol difference expression in an immediate value. E.g., "_DYNAMIC-1b" -> SymbolDiff("_DYNAMIC", "1b"), "4f-1b" -> SymbolDiff("4f", "1
src/backend/x86/assembler/parser.rs:1078
↓ 1 callersFunctionparse_immediate_operand
Parse an immediate operand (after the '$').
src/backend/x86/assembler/parser.rs:1021
↓ 1 callersMethodparse_inline_asm
(&mut self)
src/frontend/parser/statements.rs:302
↓ 1 callersMethodparse_int_suffix
Parse integer suffix and return (is_unsigned, is_long, is_imaginary). is_long is true for l/L or ll/LL suffixes. is_imaginary is true for trailing 'i'
src/frontend/lexer/scan.rs:447
↓ 1 callersFunctionparse_irp_header
Parse .irp header: "var, item1, item2, ..."
src/backend/x86/assembler/parser.rs:2035
↓ 1 callersMethodparse_kr_identifier_list
Parse a K&R-style identifier list: foo(a, b, c)
src/frontend/parser/declarators.rs:416
↓ 1 callersMethodparse_kr_params
Parse K&R-style parameter declarations. In K&R style, the parameter list is just names, and type declarations follow.
src/frontend/parser/declarations.rs:352
↓ 1 callersFunctionparse_label_diff
Parse a label diff without spaces, e.g., `663b-661b`. Returns a SymbolDiff DataValue if both sides look like labels.
src/backend/x86/assembler/parser.rs:1364
↓ 1 callersFunctionparse_line
(line: &str)
src/backend/arm/assembler/parser.rs:1430
↓ 1 callersFunctionparse_line
(line: &str)
src/backend/riscv/assembler/parser.rs:275
↓ 1 callersFunctionparse_line_items
Parse a single non-empty assembly line into one or more AsmItems. A line may contain a label followed by an instruction on the same line (e.g., `1: s
src/backend/x86/assembler/parser.rs:365
↓ 1 callersFunctionparse_load_from_ebp
Parse `movX offset(%ebp), %reg` → (offset_str, reg_name, MoveSize)
src/backend/i686/codegen/peephole.rs:186
↓ 1 callersFunctionparse_load_from_rbp_str
Parse `movX offset(%rbp), %reg` or `movslq offset(%rbp), %reg` (load from rbp). Returns (offset_str, register_str, size).
src/backend/x86/codegen/peephole/types.rs:650
↓ 1 callersFunctionparse_macro_args
Parse macro invocation arguments: "param1=val1, param2=val2" or positional
src/backend/x86/assembler/parser.rs:1916
↓ 1 callersFunctionparse_macro_def
Parse a .macro definition header: "name param1:req param2:req ..."
src/backend/x86/assembler/parser.rs:1890
↓ 1 callersFunctionparse_macro_directive
Parse a .macro directive line, returning (name, params, defaults, has_vararg). Handles GAS syntax: `.macro name param1, param2=default, param3`
src/backend/arm/assembler/parser.rs:566
↓ 1 callersMethodparse_main_args
Parse the main argument list (everything after argv[0]).
src/driver/cli.rs:232
↓ 1 callersFunctionparse_memory_operand
(s: &str)
src/backend/arm/assembler/parser.rs:2086
↓ 1 callersFunctionparse_memory_operand
Parse a memory operand like `offset(%base, %index, scale)` or `symbol(%rip)`.
src/backend/x86/assembler/parser.rs:1096
↓ 1 callersMethodparse_mode_attr
Parse mode(QI|HI|SI|DI|TI|word|pointer) attribute.
src/frontend/parser/parse.rs:829
↓ 1 callersFunctionparse_numbered_sysreg
Try to parse a numbered debug/performance register family name like `dbgbcr15_el1` or `dbgwvr0_el1` into its encoding. Returns None if not matched.
src/backend/arm/assembler/encoder/system.rs:190
↓ 1 callersFunctionparse_numeric_ref
Check if a string is a numeric forward/backward reference like "1f" or "2b". Returns Some((number_str, is_forward)) if it is, None otherwise.
src/backend/arm/assembler/mod.rs:135
↓ 1 callersFunctionparse_numeric_ref
Check if a string is a numeric forward/backward reference like "1f" or "2b". Returns Some((number_str, is_forward)) if it is, None otherwise.
src/backend/elf/numeric_labels.rs:27
↓ 1 callersFunctionparse_object
(data: &[u8], source_name: &str)
src/backend/arm/linker/elf.rs:73
↓ 1 callersFunctionparse_object
(data: &[u8], source_name: &str)
src/backend/x86/linker/elf.rs:74
↓ 1 callersMethodparse_one_asm_operand
(&mut self)
src/frontend/parser/statements.rs:375
↓ 1 callersFunctionparse_operand
Parse a single operand.
src/backend/x86/assembler/parser.rs:949
↓ 1 callersFunctionparse_operands
Parse an operand list separated by commas, handling brackets and nested expressions.
src/backend/arm/assembler/parser.rs:1751
↓ 1 callersFunctionparse_operands
Parse comma-separated operands.
src/backend/x86/assembler/parser.rs:913
↓ 1 callersFunctionparse_operands
Parse an operand list separated by commas. `mnemonic`: the instruction mnemonic, used for context-sensitive parsing (e.g., fence operands, symbol-posi
src/backend/riscv/assembler/parser.rs:810
↓ 1 callersMethodparse_or
(&mut self)
src/frontend/preprocessor/conditionals.rs:496
↓ 1 callersMethodparse_param_declarator_full
Parse a parameter declarator with full type information. Returns (name, pointer_depth, array_dims, is_func_ptr, ptr_to_array_dims, fptr_params, fptr_i
src/frontend/parser/declarators.rs:439
↓ 1 callersMethodparse_paren_param_declarator
Parse a parenthesized parameter declarator: (*name)(params), (name), etc.
src/frontend/parser/declarators.rs:500
↓ 1 callersFunctionparse_prefixed_instruction
Parse a prefix instruction like "lock cmpxchgq ..." or "rep movsb".
src/backend/x86/assembler/parser.rs:867
↓ 1 callersMethodparse_primary
(&mut self)
src/frontend/preprocessor/conditionals.rs:760
↓ 1 callersMethodparse_primary_expr
(&mut self)
src/frontend/parser/expressions.rs:450
↓ 1 callersFunctionparse_reg_to_reg_move
Parse `movq %src, %dst` and return %dst if %src matches expected_src.
src/backend/x86/codegen/peephole/types.rs:880
↓ 1 callersFunctionparse_reg_to_reg_move
Parse `movl %src, %dst` (register-to-register move).
src/backend/i686/codegen/peephole.rs:217
↓ 1 callersFunctionparse_register_list
Parse a register list like {v0.16b} or {v0.16b, v1.16b, v2.16b, v3.16b} Also handles range syntax: {v0.8b-v3.8b} which means {v0.8b, v1.8b, v2.8b, v3.
src/backend/arm/assembler/parser.rs:2030
↓ 1 callersFunctionparse_register_operand
Parse a register operand like %rax, %st(0).
src/backend/x86/assembler/parser.rs:998
↓ 1 callersFunctionparse_section_flags
Parse section name, flags string, and type into ELF section type and flags. Returns `(sh_type, sh_flags)` based on well-known section names (`.text`,
src/backend/elf/section_flags.rs:13
↓ 1 callersFunctionparse_set_directive
Parse `.set alias, target`.
src/backend/x86/assembler/parser.rs:843
↓ 1 callersFunctionparse_shared_library_symbols
(data: &[u8], lib_name: &str)
src/backend/riscv/linker/elf_read.rs:78
↓ 1 callersFunctionparse_shared_library_symbols_from_phdrs
Parse dynamic symbols using program headers (PT_DYNAMIC) instead of section headers. When a shared library has no section headers (e_shoff == 0), we
src/backend/linker_common/parse_shared.rs:195
↓ 1 callersMethodparse_simple_float_suffix
Parse a simple float suffix (f/F → 1, l/L → 2, else 0). No imaginary handling.
src/frontend/lexer/scan.rs:266
↓ 1 callersFunctionparse_single_data_value
Parse a single data value: integer, symbol, symbol+offset, or symbol_diff.
src/backend/riscv/assembler/parser.rs:643
↓ 1 callersFunctionparse_size_directive
Parse `.size name, expr`.
src/backend/arm/assembler/parser.rs:2358
↓ 1 callersFunctionparse_size_directive
Parse `.size name, expr`.
src/backend/x86/assembler/parser.rs:803
↓ 1 callersFunctionparse_size_directive
Parse `.size sym, expr`.
src/backend/riscv/assembler/parser.rs:575
↓ 1 callersMethodparse_sizeof_expr
Parse sizeof expression. Handles both sizeof(type-name) and sizeof expr.
src/frontend/parser/expressions.rs:344
↓ 1 callersFunctionparse_soname_elf32
Extract the SONAME from an ELF32 shared library's .dynamic section. Returns the SONAME string if present, or None if not found.
src/backend/i686/linker/dynsym.rs:239
↓ 1 callersFunctionparse_store_to_ebp
Parse `movX %reg, offset(%ebp)` → (reg_name, offset_str, MoveSize)
src/backend/i686/codegen/peephole.rs:162
↓ 1 callersFunctionparse_store_to_rbp_str
Parse `movX %reg, offset(%rbp)` (store to rbp-relative slot). Returns (register_str, offset_str, size).
src/backend/x86/codegen/peephole/types.rs:630
↓ 1 callersMethodparse_struct_field_declarators
Parse one or more declarators for a struct field using the general declarator parser. This correctly handles complex declarators like function pointer
src/frontend/parser/types.rs:643
↓ 1 callersMethodparse_struct_fields
Parse struct or union field declarations inside braces.
src/frontend/parser/types.rs:606
↓ 1 callersFunctionparse_symbol_offset
Parse symbol+offset or symbol-offset expressions (e.g., GD_struct+128). Also handles offset+symbol (e.g., 0x9b000000 + pa_real_mode_base). Returns a D
src/backend/x86/assembler/parser.rs:1507
↓ 1 callersFunctionparse_symver_directive
Parse `.symver name, name2@@VERSION` or `.symver name, name2@VERSION`.
src/backend/x86/assembler/parser.rs:855
↓ 1 callersFunctionparse_thin_archive_i686
Parse a GNU thin archive, reading member data from external files.
src/backend/i686/linker/parse.rs:178
↓ 1 callersFunctionparse_type_directive
Parse `.type name, %function` or `@object` etc. Also accepts space-separated form: `.type name STT_NOTYPE`.
src/backend/arm/assembler/parser.rs:2336
↓ 1 callersFunctionparse_type_directive
Parse `.type name, @function` or `@object` or `@tls_object`. Also handles Linux kernel format: `.type name STT_FUNC`.
src/backend/x86/assembler/parser.rs:779
↓ 1 callersFunctionparse_type_directive
Parse `.type sym, @function` etc.
src/backend/riscv/assembler/parser.rs:556
↓ 1 callersMethodparse_typeof_specifier
Parse typeof(expr) or typeof(type-name).
src/frontend/parser/types.rs:518
↓ 1 callersFunctionparse_user_args
(user_args: &[String])
src/backend/i686/linker/input.rs:16
↓ 1 callersMethodparse_vector_size_attr
Parse vector_size(expr) attribute.
src/frontend/parser/parse.rs:858
↓ 1 callersFunctionparse_verdef
Parse GNU version definitions to build index -> version string mapping.
src/backend/i686/linker/dynsym.rs:128
↓ 1 callersFunctionpatch_absorbed_references
After fusing blocks, update phi nodes and terminators in all blocks to replace references to absorbed block labels with their predecessor labels.
src/passes/cfg_simplify.rs:908
↓ 1 callersFunctionpatch_b_type
Patch a B-type instruction with a 13-bit PC-relative offset.
src/backend/riscv/linker/relocations.rs:100
↓ 1 callersFunctionpatch_cb_type
Patch a CB-type (compressed branch) instruction with an 8-bit signed offset. Used for c.beqz/c.bnez (R_RISCV_RVC_BRANCH).
src/backend/riscv/linker/relocations.rs:139
↓ 1 callersFunctionpatch_cj_type
Patch a CJ-type (compressed jump) instruction with an 11-bit signed offset. Used for c.j/c.jal (R_RISCV_RVC_JUMP).
src/backend/riscv/linker/relocations.rs:161
↓ 1 callersFunctionpatch_j_type
Patch a J-type instruction with a 21-bit PC-relative offset.
src/backend/riscv/linker/relocations.rs:119
↓ 1 callersMethodpath
Used by gcc_assembler's assemble_with_extra()
src/common/temp_files.rs:71
↓ 1 callersFunctionplace_copies
Place multiple copy instructions, using trampolines for critical edges.
src/ir/mem2reg/phi_eliminate.rs:447
↓ 1 callersFunctionplace_copy
Place a single copy instruction, using trampolines for critical edges.
src/ir/mem2reg/phi_eliminate.rs:434
↓ 1 callersMethodpointee_elem_size
Compute the element size for a pointer type specifier. Resolves typedef names through CType.
src/ir/lowering/lvalue.rs:669
↓ 1 callersFunctionpre_size_output_buffer
Pre-size the output buffer based on total IR instruction count to avoid repeated reallocations. Each IR instruction typically generates ~40 bytes of a
src/backend/generation.rs:536
↓ 1 callersMethodpreferred_alignof_type_spec
Compute preferred (natural) alignment for a type specifier. Used by GCC's __alignof/__alignof__ which returns preferred alignment. On i686: __alignof_
src/frontend/sema/const_eval.rs:1024
↓ 1 callersMethodpreload_readwrite_output
(&mut self, op: &AsmOperand, ptr: &Value)
src/backend/arm/codegen/asm_emitter.rs:268
↓ 1 callersMethodprep_i128_binop
Prepare a 128-bit binary operation: load lhs into x2:x3, rhs into x4:x5. (Uses x0:x1 as temporaries during loading.)
src/backend/arm/codegen/emit.rs:1141
↓ 1 callersMethodprep_i128_binop
Load i128 operands for binary ops: lhs → rax:rdx, rhs → rcx:rsi.
src/backend/x86/codegen/emit.rs:828
↓ 1 callersMethodprep_i128_binop
Prepare a 128-bit binary operation: load lhs into t3:t4, rhs into t5:t6.
src/backend/riscv/codegen/emit.rs:433
↓ 1 callersMethodprepare_global_analysis
Run declaration analysis with vector_size, array-of-pointers fixup, unsized array fixup, and scalar size adjustment.
src/ir/lowering/global_decl.rs:277
↓ 1 callersFunctionpreparse_long_double
Preprocess a long double string: strip suffix, detect sign, classify format. Shared by both x87 and f128 parsing entry points.
src/common/long_double.rs:36
← previousnext →3,201–3,300 of 6,057, ranked by callers