MCPcopy Create free account

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

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

Methodget_phys_reg_for_value
(&self, val_id: u32)
src/backend/riscv/codegen/emit.rs:480
Methodget_phys_reg_for_value
(&self, val_id: u32)
src/backend/i686/codegen/emit.rs:1257
Functionglobal_store_forwarding
(store: &mut LineStore, infos: &mut [LineInfo])
src/backend/i686/codegen/peephole.rs:869
Methodhandle_elif
Handle #elif.
src/frontend/preprocessor/conditionals.rs:54
Methodhandle_query_flags
Handle early-exit query flags (--dumpmachine, --version, etc.). Returns Ok(true) if a query flag was handled and the process should exit.
src/driver/cli.rs:77
Methodhas_deferred_expr
Check if any operand contains a deferred symbolic expression.
src/backend/arm/assembler/elf_writer.rs:610
Methodhas_unbalanced_parens
Check if a line has unbalanced parentheses, indicating a multi-line macro invocation that needs to be joined with subsequent lines. Skips string/char
src/frontend/preprocessor/text_processing.rs:67
Functioni686_clobber_to_phys
Map inline asm clobber register names to callee-saved PhysReg indices.
src/backend/i686/codegen/emit.rs:105
Functioni686_constraint_to_phys
Map inline asm constraint register names to callee-saved PhysReg indices.
src/backend/i686/codegen/emit.rs:95
Methodi686_default_modifier_for_type
Determine the default register size modifier based on the operand's IR type. On i686, the default is 32-bit, so only smaller types get a modifier.
src/backend/i686/codegen/inline_asm.rs:90
Methodi686_mov_load_for_type
Return the i686 load mnemonic for a given IR type. Uses sign/zero-extending loads for sub-32-bit types, movl for everything else.
src/backend/i686/codegen/asm_emitter.rs:619
Methodi686_mov_store_for_type
Return the i686 store mnemonic for a given IR type. Uses movb/movw for sub-32-bit types, movl for everything else.
src/backend/i686/codegen/asm_emitter.rs:609
Methodidentity
()
src/frontend/sema/builtins.rs:633
Methodinfo
(&self)
src/backend/x86/linker/types.rs:40
Methodinput_stem
Get a short stem name for an input file (for temp file naming).
src/driver/pipeline.rs:742
Methodinsert_const_local_scoped
Insert a const local value, tracking the change in the current scope frame.
src/ir/lowering/func_state.rs:286
Methodinsert_local_scoped
Insert a local variable, tracking the change in the current scope frame.
src/ir/lowering/func_state.rs:262
Methodinsert_static_local_scoped
Insert a static local name, tracking the change in the current scope frame.
src/ir/lowering/func_state.rs:274
Methodinsert_struct_layout_scoped
Insert a struct layout, tracking the change in the current scope frame so it can be undone on scope exit.
src/frontend/sema/type_context.rs:434
Methodinteger_promote
Integer promotion: types narrower than int are promoted to int.
src/ir/lowering/expr_ops.rs:264
Methodinteger_promote_ctype
Apply C integer promotion rules to a CType. Types smaller than int are promoted to int. Delegates to CType::integer_promoted().
src/ir/lowering/expr_types.rs:943
Methodintrinsic
(intr: BuiltinIntrinsic)
src/frontend/sema/builtins.rs:641
Methodintrinsic_type_from_suffix
Determine the operand width for a suffix-encoded intrinsic (clz, ctz, popcount, etc.). `ll` suffix = long long = always I64. `l` suffix = long = I64 o
src/ir/lowering/expr_builtins_intrin.rs:24
Methodinvalidate_ctype_cache_scoped
Invalidate a ctype_cache entry, tracking the change in the current scope frame so it can be restored on scope exit.
src/frontend/sema/type_context.rs:474
Methodir_type_for_size
Map a byte size to the smallest IR integer type that fits.
src/ir/lowering/expr.rs:386
Methodis_aggregate_or_complex
Check if a CType is an aggregate (array/struct/union) or complex type. These types are always accessed by address rather than loaded by value.
src/ir/lowering/expr_access.rs:965
Methodis_assembly_source
Check if a file is an assembly source (.s or .S). .S files contain assembly with C preprocessor directives. .s files contain pure assembly. Both are p
src/driver/file_types.rs:79
Methodis_c_source
Check if a file has a known C source extension.
src/driver/file_types.rs:53
Methodis_char_array_type
Check if a CType is a char or wchar_t array (eligible for string literal initialization).
src/ir/lowering/const_eval_init_size.rs:311
Methodis_defined
(&self)
src/backend/x86/linker/types.rs:38
Methodis_dynamic
(&self)
src/backend/x86/linker/types.rs:39
Methodis_extending_load
Check if a load instruction is a zero/sign-extending load. These instructions always require a 32-bit destination register.
src/backend/i686/codegen/asm_emitter.rs:660
Functionis_fp_reg
Check if a register name is a floating-point register
src/backend/riscv/assembler/encoder/mod.rs:268
Functionis_int_reg
Check if a register name is an integer register
src/backend/riscv/assembler/encoder/mod.rs:263
Methodis_line_marker
(line: &str)
src/driver/file_types.rs:95
Functionis_numeric_label_ref
Check if a string looks like a GNU numeric label reference (e.g. "2f", "1b", "42f").
src/backend/asm_preprocess.rs:1124
Methodis_object_or_archive
Check if a file is an object file or archive (pass to linker directly). Recognizes standard extensions (.o, .a, .so) plus common variants used by buil
src/driver/file_types.rs:16
Methodis_one
Returns true if this constant is one (integer only).
src/ir/constants.rs:235
Methodis_polymorphic_atomic_builtin
Check if a builtin name is a polymorphic atomic builtin whose return type depends on the pointee type of the first argument. These include all __atomi
src/ir/lowering/expr_types.rs:260
Methodis_ppnumber_suffix
Check if an identifier is a pp-number suffix (e.g., the "I" in "1.I").
src/frontend/preprocessor/macro_defs.rs:493
Methodis_pure
Returns true if this intrinsic is a pure function (no side effects, result depends only on inputs). Pure intrinsics can be dead-code eliminated if the
src/ir/intrinsics.rs:193
Methodis_small_slot
(&self, v: u32)
src/backend/state.rs:349
Methodis_subword_type
Check if a type requires sub-word atomic handling on RISC-V. RISC-V only has word (32-bit) and doubleword (64-bit) atomic instructions.
src/backend/riscv/codegen/atomics.rs:64
Methodis_supported_attribute
Check if an attribute is supported by this compiler.
src/frontend/preprocessor/expr_eval.rs:336
Methodis_supported_builtin
Check if a builtin function name is supported by this compiler. Delegates to the sema builtin registry (BUILTIN_MAP + atomic builtins) and adds a few
src/frontend/preprocessor/expr_eval.rs:319
Methodis_unsigned_int_expr
Check if an expression has unsigned type. Used by the parser-level constant evaluator for: - Truncating bitwise NOT results to the correct width - Usi
src/frontend/parser/declarations.rs:1083
Methodis_unsigned_type_spec
Check if a type specifier is an unsigned type. Used by the parser-level constant evaluator for cast truncation.
src/frontend/parser/parse.rs:1209
Methodis_valid_imm_offset
Check if an offset is valid for unsigned immediate addressing on AArch64. The unsigned offset is a 12-bit field scaled by access size: max = 4095 * ac
src/backend/arm/codegen/emit.rs:685
Methodjump_mnemonic
(&self)
src/backend/x86/codegen/emit.rs:1148
Methodjump_mnemonic
(&self)
src/backend/riscv/codegen/emit.rs:495
Methodjump_mnemonic
(&self)
src/backend/i686/codegen/emit.rs:1466
Methodlea_scale_for_mul
LEA scale factor for multiply strength reduction. Returns the LEA scale factor for multipliers 3, 5, 9 (which decompose as reg + reg*2, reg + reg*4, r
src/backend/x86/codegen/emit.rs:914
Methodleaf_composite_type
Get the leaf (innermost non-array) composite type, if the leaf is a struct/union. Returns None if the leaf is a scalar type.
src/ir/lowering/global_init_bytes.rs:745
Methodleaf_ir_type
Get the leaf (innermost non-array) IR type for a possibly nested array type.
src/ir/lowering/global_init_bytes.rs:736
Functionlink_builtin
( object_files: &[&str], output_path: &str, user_args: &[String], lib_paths: &[&str], need
src/backend/x86/linker/link.rs:18
Functionlink_builtin
Link object files into a RISC-V ELF executable (pre-resolved CRT/library variant). This is the primary entry point, matching the pattern used by x86-
src/backend/riscv/linker/link.rs:31
Functionlink_builtin
Built-in linker entry point with pre-resolved CRT objects and library paths.
src/backend/i686/linker/link.rs:18
Functionlink_shared
Create a shared library (.so) from object files. Produces an ELF `ET_DYN` file with position-independent base address (0), exporting all defined glob
src/backend/x86/linker/link.rs:208
Functionlink_shared
Link object files into a RISC-V shared library (.so). Produces an ET_DYN ELF with base address 0 (position-independent). All defined global symbols a
src/backend/riscv/linker/link.rs:179
Functionlink_shared
Create a shared library (.so) from ELF32 object files. Produces an ELF32 `ET_DYN` file with base address 0, exporting all defined global symbols. Use
src/backend/i686/linker/link.rs:120
Methodload_dest_reg
Destination register for loads. U32/F32 use movl which needs %eax.
src/backend/x86/codegen/emit.rs:747
Functionload_file_elf64
Planned shared infrastructure; x86/ARM linkers will migrate to this
src/backend/linker_common/archive.rs:155
Methodload_for_type
(ty: IrType)
src/backend/riscv/codegen/emit.rs:451
Methodload_input_to_reg
(&mut self, op: &AsmOperand, val: &Operand, _constraint: &str)
src/backend/x86/codegen/asm_emitter.rs:269
Methodload_input_to_reg
(&mut self, op: &AsmOperand, val: &Operand, _constraint: &str)
src/backend/riscv/codegen/asm_emitter.rs:253
Methodload_input_to_reg
(&mut self, op: &AsmOperand, val: &Operand, _constraint: &str)
src/backend/i686/codegen/asm_emitter.rs:200
Methodload_instr_for_type_impl
(&self, ty: IrType)
src/backend/x86/codegen/prologue.rs:418
Methodload_instr_for_type_impl
(&self, ty: IrType)
src/backend/riscv/codegen/prologue.rs:566
Methodload_instr_for_type_impl
(&self, ty: IrType)
src/backend/i686/codegen/prologue.rs:659
Methodlong_double
Create a LongDouble constant from an f64 value (low precision - bytes derived from f64). Use this when no full-precision source text is available.
src/ir/constants.rs:168
Methodlong_double_from_i128
Create a LongDouble constant from a signed i128 with maximum precision. Uses direct integer-to-f128 conversion. Values with magnitude up to 2^112 are
src/ir/constants.rs:202
Methodlong_double_from_i64
Create a LongDouble constant from a signed i64 with full precision. Uses direct integer-to-f128 conversion to preserve all 64 bits of precision.
src/ir/constants.rs:179
Methodlong_double_from_u128
Create a LongDouble constant from an unsigned u128 with maximum precision. Uses direct integer-to-f128 conversion. Values up to 2^112 are exact; large
src/ir/constants.rs:194
Methodlong_double_from_u64
Create a LongDouble constant from an unsigned u64 with full precision. Uses direct integer-to-f128 conversion to preserve all 64 bits of precision.
src/ir/constants.rs:186
Methodlong_double_with_bytes
Create a LongDouble constant with full-precision f128 bytes.
src/ir/constants.rs:173
Methodlooks_like_binary_object
Check if a file appears to be a binary object/archive by inspecting magic bytes. Returns true for ELF files (\x7fELF) and ar archives (!<arch>\n).
src/driver/file_types.rs:59
Functionmain
()
src/main.rs:1
Functionmain
()
src/bin/ccc_arm.rs:1
Functionmain
()
src/bin/ccc_i686.rs:1
Functionmain
()
src/bin/ccc_riscv.rs:1
Functionmain
()
src/bin/ccc_x86.rs:1
Methodmaybe_promote_long_double
Conditionally promote a value to long double.
src/ir/lowering/global_init.rs:1781
Methodmnemonic
(self)
src/backend/x86/codegen/peephole/types.rs:139
Methodmnemonic
(self)
src/backend/i686/codegen/peephole.rs:75
Methodmov_load_for_type
Get the load instruction mnemonic for a given type.
src/backend/x86/codegen/emit.rs:734
Methodmov_store_for_type
Get the store instruction mnemonic for a given type.
src/backend/x86/codegen/emit.rs:724
Methodneeds_register_pair
(&self, ty: IrType)
src/backend/i686/codegen/asm_emitter.rs:592
Methodnew
(input: &str, file_id: u32)
src/frontend/lexer/scan.rs:14
Methodnew
(kind: TokenKind, span: Span)
src/frontend/lexer/token.rs:190
Methodnew
(tokens: Vec<Token>)
src/frontend/parser/parse.rs:289
Methodnew
Create a new `FunctionAttributes` with all flags cleared.
src/frontend/parser/ast.rs:72
Methodnew
()
src/frontend/sema/analysis.rs:143
Methodnew
()
src/frontend/sema/type_context.rs:96
Methodnew
()
src/frontend/preprocessor/pipeline.rs:125
Methodnew
()
src/frontend/preprocessor/conditionals.rs:33
Methodnew
()
src/frontend/preprocessor/macro_defs.rs:130
Methodnew
()
src/backend/common.rs:800
Methodnew
()
src/backend/state.rs:211
Methodnew
()
src/backend/elf_writer_common.rs:304
Methodnew
Build a `LineStore` from an assembly string.
src/backend/peephole_common.rs:140
← previousnext →5,001–5,100 of 6,057, ranked by callers