MCPcopy Create free account

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

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

Methodnew
(kind: AsmOperandKind, name: Option<String>)
src/backend/inline_asm.rs:85
Methodnew
Create a new empty bitset that can hold indices [0..num_bits).
src/backend/liveness.rs:65
Methodnew
(func: &IrFunction, dead_param_allocas: &FxHashSet<u32>, param_alloca_values: &[Value])
src/backend/stack_layout/alloca_coalescing.rs:40
Methodnew
()
src/backend/arm/assembler/elf_writer.rs:103
Methodnew
()
src/backend/arm/codegen/emit.rs:175
Methodnew
(name: &str)
src/backend/x86/assembler/parser.rs:184
Methodnew
()
src/backend/x86/assembler/encoder/mod.rs:62
Methodnew
()
src/backend/x86/codegen/emit.rs:195
Methodnew
()
src/backend/linker_common/dynstr.rs:18
Methodnew
()
src/backend/riscv/assembler/elf_writer.rs:426
Methodnew
()
src/backend/riscv/codegen/emit.rs:118
Methodnew
Create a new string table with the initial null byte.
src/backend/elf/string_table.rs:16
Methodnew
(nop_bytes: [u8; 4], text_align: u64)
src/backend/elf/writer_base.rs:64
Methodnew
()
src/backend/i686/assembler/encoder/mod.rs:91
Methodnew
()
src/backend/i686/linker/mod.rs:43
Methodnew
()
src/backend/i686/codegen/emit.rs:115
Methodnew
()
src/ir/module.rs:249
Methodnew
()
src/ir/lowering/func_state.rs:61
Methodnew
Create a new GVN state sized for `max_value_id` values.
src/passes/gvn.rs:118
Methodnew
()
src/driver/pipeline.rs:240
Methodnew
()
src/common/symbol_table.rs:21
Methodnew
(field_count: usize, max_field_align: Option<usize>)
src/common/types.rs:322
Methodnew
Create a new TempFile guard for a unique temp path. The file is not created on disk — this just reserves the path and registers it for cleanup on dro
src/common/temp_files.rs:48
Methodnew
(start: u32, end: u32, file_id: u32)
src/common/source.rs:10
Methodnew
Create a default config with all warnings enabled and none promoted to errors.
src/common/error.rs:184
Methodnew_common
(obj_idx: usize, sym: &Elf64Symbol)
src/backend/arm/linker/types.rs:57
Methodnew_common
(obj_idx: usize, sym: &Elf64Symbol)
src/backend/x86/linker/types.rs:53
Methodnew_defined
(obj_idx: usize, sym: &Elf64Symbol)
src/backend/arm/linker/types.rs:48
Methodnew_defined
(obj_idx: usize, sym: &Elf64Symbol)
src/backend/x86/linker/types.rs:44
Methodnew_dynamic
(dsym: &linker_common::DynSymbol, soname: &str)
src/backend/arm/linker/types.rs:79
Methodnew_dynamic
(dsym: &linker_common::DynSymbol, soname: &str)
src/backend/x86/linker/types.rs:75
Methodnew_undefined
(sym: &Elf64Symbol)
src/backend/arm/linker/types.rs:66
Methodnew_undefined
(sym: &Elf64Symbol)
src/backend/x86/linker/types.rs:62
Methodnote
Create a new note diagnostic.
src/common/error.rs:391
Methodof
(expr: &Expr)
src/frontend/parser/ast.rs:663
Methodone
Get the one constant for a given IR type.
src/ir/constants.rs:632
Methodoperand_to_imm_i64
Extract an immediate integer value from an operand. Used for SSE/AES instructions that require compile-time immediate operands.
src/backend/i686/codegen/emit.rs:504
Methodoverwrite_or_extend_values
Write values from `src` into `dest` starting at `start_idx`, overwriting existing entries or extending the vector as needed.
src/ir/lowering/global_init.rs:1489
Methodpacked_store_type
Return the appropriate IrType for storing packed struct/union data of the given size. Small structs (≤8 bytes) passed in registers are packed into the
src/ir/lowering/expr_types.rs:97
Methodparse_avx_cmp_pseudo
Parse AVX comparison predicate from pseudo-op mnemonic. Returns (predicate, suffix) e.g. "vcmpnleps" -> Some((6, "ps"))
src/backend/x86/assembler/encoder/avx.rs:636
Functionparse_directive
(line: &str)
src/backend/arm/assembler/parser.rs:1487
Functionparse_directive
Split a directive line into name and args, then dispatch to typed parsing.
src/backend/riscv/assembler/parser.rs:325
Functionparse_instruction
(line: &str)
src/backend/arm/assembler/parser.rs:1732
Functionparse_instruction
(line: &str)
src/backend/riscv/assembler/parser.rs:773
Functionparse_linker_script
Parse a GNU linker script looking for `GROUP ( ... )` or `INPUT ( ... )` directives. Returns the list of entries referenced, or `None` if no directive
src/backend/elf/archive.rs:178
Methodparse_ordering
Parse a memory ordering constant from an expression.
src/ir/lowering/expr_atomics.rs:241
Methodparse_sse_cmp_pseudo
Parse SSE comparison predicate from pseudo-op mnemonic. Returns (predicate, suffix) e.g. "cmpnleps" -> Some((6, "ps"))
src/backend/x86/assembler/encoder/avx.rs:561
Methodpeel_to_string_literal
Peel through casts to find a narrow string literal. Returns the string content if the expression is a (possibly cast-wrapped) `StringLiteral`. Only ha
src/ir/lowering/stmt_asm.rs:450
Methodpointee_types_compatible
Check if two pointee types are compatible for pointer arithmetic. This is a simplified check: types are compatible if they are structurally the same (
src/frontend/sema/analysis.rs:1693
Methodpop_scope
Pop the top function-local scope frame and undo changes to locals, static_local_names, const_local_values, and var_ctypes. Returns (scope_stack_save,
src/ir/lowering/func_state.rs:209
Methodpop_scope
(&mut self)
src/common/symbol_table.rs:41
Methodpreferred_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/parser/parse.rs:1289
Methodpreload_readwrite_output
(&mut self, op: &AsmOperand, ptr: &Value)
src/backend/x86/codegen/asm_emitter.rs:422
Methodpreload_readwrite_output
(&mut self, op: &AsmOperand, ptr: &Value)
src/backend/riscv/codegen/asm_emitter.rs:338
Methodpreload_readwrite_output
(&mut self, op: &AsmOperand, ptr: &Value)
src/backend/i686/codegen/asm_emitter.rs:333
Methodprescan_compound_stmt
(compound: &CompoundStmt, depth: usize, result: &mut FxHashMap<String, usize>)
src/ir/lowering/func_lowering.rs:749
Methodprescan_inline_asm_callee_saved
Pre-scan all inline asm instructions in a function to predict which callee-saved registers will be needed as scratch registers. The inline asm scratc
src/backend/arm/codegen/emit.rs:309
Methodprescan_label_depths
Pre-scan a function body to find all label definitions and their scope depths. This walks the AST without generating IR, just tracking compound state
src/ir/lowering/func_lowering.rs:740
Methodprescan_stmt
(stmt: &Stmt, depth: usize, result: &mut FxHashMap<String, usize>)
src/ir/lowering/func_lowering.rs:763
Methodpromote_to_long_double
Promote an IrConst value to LongDouble.
src/ir/lowering/global_init.rs:1768
Methodpromote_to_long_double_with_signedness
Promote a constant to long double, respecting signedness for integer sources.
src/ir/lowering/global_init.rs:269
Methodptr_directive
(&self)
src/backend/x86/codegen/emit.rs:1131
Methodptr_directive
(&self)
src/backend/riscv/codegen/emit.rs:478
Methodptr_directive
(&self)
src/backend/i686/codegen/emit.rs:1255
Methodptr_int
Create a pointer-width integer constant: I32 on ILP32 targets, I64 on LP64. Use this instead of hardcoding `IrConst::I64(val)` for pointer arithmetic
src/ir/constants.rs:438
Methodpush_scope
Push a new function-local scope frame.
src/ir/lowering/func_state.rs:202
Methodpush_scope
(&mut self)
src/common/symbol_table.rs:37
Methodread_c_source_file
Read a C source file, tolerating non-UTF-8 content. Valid UTF-8 files are returned as-is. Non-UTF-8 bytes (0x80-0xFF) are encoded as PUA code points (
src/driver/pipeline.rs:757
Methodread_source
Read source from an input file. If the file is "-", reads from stdin.
src/driver/pipeline.rs:764
Methodreg_for_type
Get the appropriate register name for a given base and type.
src/backend/arm/codegen/emit.rs:1163
Methodreg_for_type
Map base register name + type to sized sub-register.
src/backend/x86/codegen/emit.rs:755
Functionreg_name_to_32
Convert a 64-bit register name string to its 32-bit sub-register name. Used for `xorl %eXX, %eXX` zeroing idiom (shorter encoding, breaks dependencies
src/backend/x86/codegen/emit.rs:53
Methodreg_to_16
Convert 64-bit register name to 16-bit variant.
src/backend/x86/codegen/inline_asm.rs:155
Methodreg_to_16
Convert register to 16-bit variant. Delegates to shared x86_common.
src/backend/i686/codegen/asm_emitter.rs:635
Methodreg_to_32
Convert 64-bit register name to 32-bit variant.
src/backend/x86/codegen/inline_asm.rs:126
Methodreg_to_32
Convert register to 32-bit variant. Delegates to shared x86_common.
src/backend/i686/codegen/asm_emitter.rs:630
Methodreg_to_64
Convert any register name (8/16/32-bit) to its 64-bit equivalent. If the register is already 64-bit, returns it unchanged.
src/backend/x86/codegen/inline_asm.rs:132
Methodreg_to_8l
Convert 64-bit register name to 8-bit low variant.
src/backend/x86/codegen/inline_asm.rs:160
Methodreg_to_8l
Convert register to 8-bit low variant. Delegates to shared x86_common.
src/backend/i686/codegen/asm_emitter.rs:640
Methodreloc_abs
(size: usize)
src/backend/x86/assembler/elf_writer.rs:72
Methodreloc_abs
(size: usize)
src/backend/i686/assembler/elf_writer.rs:87
Methodreloc_abs32_for_internal
Optional: absolute 32-bit relocation for local symbol references. Only x86-64 uses R_X86_64_32 this way; i686 returns None since its R_386_32 is handl
src/backend/elf_writer_common.rs:73
Methodreloc_abs32_for_internal
()
src/backend/x86/assembler/elf_writer.rs:86
Methodreloc_abs64
()
src/backend/x86/assembler/elf_writer.rs:79
Methodreloc_abs64
()
src/backend/i686/assembler/elf_writer.rs:91
Methodreloc_pc32
()
src/backend/x86/assembler/elf_writer.rs:80
Methodreloc_pc32
i686 doesn't have 64-bit relocs
src/backend/i686/assembler/elf_writer.rs:92
Methodreloc_pc8_internal
Optional: PC8 internal relocation type for loop/jrcxz instructions. Only x86-64 has this; i686 returns None.
src/backend/elf_writer_common.rs:68
Methodreloc_pc8_internal
()
src/backend/x86/assembler/elf_writer.rs:85
Methodreloc_plt32
()
src/backend/x86/assembler/elf_writer.rs:81
Methodreloc_plt32
()
src/backend/i686/assembler/elf_writer.rs:93
Methodreset_scratch_state
(&mut self)
src/backend/x86/codegen/asm_emitter.rs:673
Methodreset_scratch_state
(&mut self)
src/backend/riscv/codegen/asm_emitter.rs:505
Methodreset_scratch_state
(&mut self)
src/backend/i686/codegen/asm_emitter.rs:597
Methodresolve_enum
(&self, name: &Option<String>, variants: &Option<Vec<EnumVariant>>, is_packed: bool)
src/ir/lowering/types_ctype.rs:423
Methodresolve_memory_operand
(&mut self, op: &mut AsmOperand, val: &Operand, excluded: &[String])
src/backend/arm/codegen/asm_emitter.rs:119
Methodresolve_memory_operand
(&mut self, op: &mut AsmOperand, val: &Operand, excluded: &[String])
src/backend/x86/codegen/asm_emitter.rs:151
Methodresolve_memory_operand
(&mut self, op: &mut AsmOperand, val: &Operand, excluded: &[String])
src/backend/riscv/codegen/asm_emitter.rs:129
Methodresolve_memory_operand
(&mut self, op: &mut AsmOperand, val: &Operand, excluded: &[String])
src/backend/i686/codegen/asm_emitter.rs:113
Methodresolve_set_aliases_in_data
Whether `.set` alias resolution for label-difference expressions should be done during data value emission. Both x86-64 and i686 enable this for DWARF
src/backend/elf_writer_common.rs:82
← previousnext →5,101–5,200 of 6,057, ranked by callers