MCPcopy Create free account

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

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

Methodresolve_set_aliases_in_data
()
src/backend/x86/assembler/elf_writer.rs:88
Methodresolve_set_aliases_in_data
()
src/backend/i686/assembler/elf_writer.rs:97
Methodresolve_struct_or_union
( &self, name: &Option<String>, fields: &Option<Vec<StructFieldDecl>>, is_unio
src/ir/lowering/types_ctype.rs:411
Methodresolve_typedef
(&self, name: &str)
src/ir/lowering/types_ctype.rs:399
Methodresolve_typeof_expr
(&self, expr: &Expr)
src/ir/lowering/types_ctype.rs:495
Methodresult_type
Returns the result IR type of this instruction, if any. Used to determine stack slot sizes for 128-bit values.
src/ir/instruction.rs:430
Functionrun
Run copy propagation on the entire module. Returns the number of operand replacements made.
src/passes/copy_prop.rs:30
Functionrun
Run the inlining pass on the module. Returns the number of call sites inlined.
src/passes/inline.rs:316
Functionrun
Run constant folding on the entire module. Returns the number of instructions folded.
src/passes/constant_fold.rs:22
Functionrun
Run algebraic simplification on the module. Returns the number of instructions simplified.
src/passes/simplify.rs:80
Functionrun_function
Per-function entry point for dirty-tracking pipeline.
src/passes/cfg_simplify.rs:44
Methodrun_linker_version_query
Handle -Wl,--version when no input files are given (Meson linker detection). When the `gcc_linker` feature is enabled, delegates to GCC for version i
src/driver/cli.rs:678
Functionrun_on_visited
Run a per-function pass only on functions in the visit set. `visit` indicates which functions to process in this iteration. `changed` accumulates whi
src/passes/mod.rs:37
Methodscalar_type_size_align
Get the (size, alignment) for a scalar type specifier. Returns None for compound types (arrays, structs, unions) that need recursive computation.
src/ir/lowering/types.rs:236
Methodsection_idx
(&self)
src/backend/x86/linker/types.rs:41
Methodset_call_ret_eightbyte_classes_impl
(&mut self, classes: &[crate::common::types::EightbyteClass])
src/backend/x86/codegen/calls.rs:275
Methodset_common_bss
(&mut self, bss_offset: u64)
src/backend/x86/linker/types.rs:71
Methodset_const
(&mut self, v: bool)
src/frontend/parser/parse.rs:177
Methodset_diagnostics
Set a pre-configured diagnostic engine on the analyzer.
src/frontend/sema/analysis.rs:189
Methodset_extern
(&mut self, v: bool)
src/frontend/parser/parse.rs:174
Methodset_inline
(&mut self, v: bool)
src/frontend/parser/parse.rs:176
Methodset_pic
Define or undefine __PIC__/__pic__ based on whether PIC mode is active. GCC defines these to 1 for -fpic and 2 for -fPIC; we always use 2. When PIC is
src/frontend/preprocessor/predefined_macros.rs:340
Methodset_static
(&mut self, v: bool)
src/frontend/parser/parse.rs:173
Methodset_thread_local
(&mut self, v: bool)
src/frontend/parser/parse.rs:175
Methodsetup_memory_fallback
(&self, op: &mut AsmOperand, val: &Operand)
src/backend/i686/codegen/asm_emitter.rs:572
Methodsetup_operand_metadata
(&self, op: &mut AsmOperand, val: &Operand, _is_output: bool)
src/backend/x86/codegen/asm_emitter.rs:118
Methodsetup_operand_metadata
(&self, op: &mut AsmOperand, val: &Operand, _is_output: bool)
src/backend/riscv/codegen/asm_emitter.rs:92
Methodsetup_operand_metadata
(&self, op: &mut AsmOperand, val: &Operand, _is_output: bool)
src/backend/i686/codegen/asm_emitter.rs:90
Methodshadow_local_for_scope
Remove a local variable from `locals`, tracking the removal in the current scope frame so `pop_scope()` restores it.
src/ir/lowering/func_state.rs:299
Methodshadow_static_for_scope
Remove a static local name, tracking the removal in the current scope frame.
src/ir/lowering/func_state.rs:308
Functionshort_inst_name
(inst: &Instruction)
src/passes/inline.rs:885
Methodsign_extend_riscv
Sign-extend result for sub-word types after atomic ops.
src/backend/riscv/codegen/atomics.rs:38
Methodsimple
(libc_name: &str)
src/frontend/sema/builtins.rs:629
Functionsimplify_function
(func: &mut IrFunction)
src/passes/simplify.rs:84
Methodskip_pragma
Skip a _Pragma("...") operator, consuming the parenthesized argument.
src/frontend/preprocessor/macro_defs.rs:510
Methodsmallest_int_ctype_for_bytes
Return the smallest integer CType that can hold at least `needed_bytes` bytes. Preserves signedness. Uses LongLong (always 8 bytes) instead of Long fo
src/common/types.rs:577
Methodsplit_response_file
Split response file contents into tokens, handling simple quoting.
src/driver/cli.rs:192
Methodsrc_reg_for_type
Get the appropriately-sized source register name for a type.
src/backend/i686/codegen/asm_emitter.rs:650
Methodsret_uses_dedicated_reg
AArch64 ABI: sret pointer goes in x8, not x0.
src/backend/arm/codegen/emit.rs:1842
Methodstate
(&mut self)
src/backend/arm/codegen/f128.rs:25
Methodstate
(&mut self)
src/backend/x86/codegen/emit.rs:1129
Methodstate
(&mut self)
src/backend/riscv/codegen/emit.rs:476
Methodstate
(&mut self)
src/backend/riscv/codegen/f128.rs:19
Methodstate_ref
(&self)
src/backend/x86/codegen/emit.rs:1130
Methodstate_ref
(&self)
src/backend/riscv/codegen/emit.rs:477
Methodstate_ref
(&self)
src/backend/i686/codegen/emit.rs:1253
Methodstore_for_type
(ty: IrType)
src/backend/riscv/codegen/emit.rs:442
Methodstore_instr_for_type_impl
(&self, ty: IrType)
src/backend/x86/codegen/prologue.rs:414
Methodstore_instr_for_type_impl
(&self, ty: IrType)
src/backend/riscv/codegen/prologue.rs:562
Methodstore_instr_for_type_impl
(&self, ty: IrType)
src/backend/i686/codegen/prologue.rs:655
Methodstore_output_from_reg
(&mut self, op: &AsmOperand, ptr: &Value, _constraint: &str, _all_output_regs: &[&str])
src/backend/x86/codegen/asm_emitter.rs:522
Methodstore_output_from_reg
(&mut self, op: &AsmOperand, ptr: &Value, _constraint: &str, all_output_regs: &[&str])
src/backend/riscv/codegen/asm_emitter.rs:406
Methodstore_output_from_reg
(&mut self, op: &AsmOperand, ptr: &Value, _constraint: &str, _all_output_regs: &[&str])
src/backend/i686/codegen/asm_emitter.rs:446
Methodstr_for_type
(ty: IrType)
src/backend/arm/codegen/emit.rs:1153
Methodstrip_block_comments
Strip C-style block comments (/* ... */) and C++ line comments (// ...). Returns the stripped source and a `LineMap` for correct __LINE__ tracking. T
src/frontend/preprocessor/text_processing.rs:100
Methodstrip_casts
Strip cast expressions to find the underlying expression.
src/ir/lowering/global_init.rs:1881
Methodstrip_line_markers
Strip GCC-style line markers (`# <num> "file"`) from preprocessed output. Used when -P flag is set. Filters out lines matching `# <digit>...` while pr
src/driver/file_types.rs:94
Methodsubstitute_asm_operands_static
( line: &str, op_regs: &[String], op_names: &[Option<String>], gcc_to_internal
src/backend/arm/codegen/inline_asm.rs:15
Methodsubstitute_i686_asm_operands
Substitute %0, %1, %[name], %k0, %b1, %w2, %h3, %c0, %P0, %a0, %n0, %l[name] etc. in i686 asm template. Delegates to the shared x86 template parser w
src/backend/i686/codegen/inline_asm.rs:23
Methodsubstitute_riscv_asm_operands
Substitute %0, %1, %[name], %z0, etc. in RISC-V asm template.
src/backend/riscv/codegen/inline_asm.rs:101
Methodsubstitute_template_line
(&self, line: &str, operands: &[AsmOperand], gcc_to_internal: &[usize], operand_types: &[IrType], goto_labels:
src/backend/x86/codegen/asm_emitter.rs:489
Methodsubstitute_template_line
(&self, line: &str, operands: &[AsmOperand], gcc_to_internal: &[usize], _operand_types: &[IrType], goto_labels
src/backend/riscv/codegen/asm_emitter.rs:374
Methodsubstitute_template_line
(&self, line: &str, operands: &[AsmOperand], gcc_to_internal: &[usize], operand_types: &[IrType], goto_labels:
src/backend/i686/codegen/asm_emitter.rs:416
Methodsubstitute_x86_asm_operands
Substitute %0, %1, %[name], %k0, %b1, %w2, %q3, %h4, %c0, %P0, %a0, %n0, %l[name] etc. in x86 asm template. Delegates to the shared x86 template pars
src/backend/x86/codegen/inline_asm.rs:21
Methodsubword_bits
Get the bit width of a sub-word type.
src/backend/riscv/codegen/atomics.rs:69
Methodsupports_deferred_skips
Whether `.skip` expressions with label arithmetic are supported. Both x86-64 and i686 enable this for the Linux kernel's ALTERNATIVES macros.
src/backend/elf_writer_common.rs:77
Methodsupports_deferred_skips
()
src/backend/x86/assembler/elf_writer.rs:87
Methodsupports_deferred_skips
()
src/backend/i686/assembler/elf_writer.rs:96
Methodsupports_global_addr_fold
Whether this backend supports folding GlobalAddr + Load/Store into a single PC-relative memory access (e.g., `symbol(%rip)` on x86-64). Returns false
src/backend/traits.rs:246
Methodtake_diagnostics
Take the diagnostic engine back from the analyzer.
src/frontend/sema/analysis.rs:194
Functiontest_add_carry_1_plus_1
()
src/common/long_double.rs:3147
Functiontest_add_commutativity
()
src/common/long_double.rs:3129
Functiontest_add_denormals
()
src/common/long_double.rs:3185
Functiontest_add_known_exact
()
src/common/long_double.rs:3095
Functiontest_add_large_exp_diff
()
src/common/long_double.rs:3158
Functiontest_add_max_overflow
()
src/common/long_double.rs:3152
Functiontest_add_neg_is_sub
()
src/common/long_double.rs:3138
Functiontest_add_zero
()
src/passes/simplify.rs:1716
Functiontest_add_zero_identity
()
src/common/long_double.rs:3111
Functiontest_add_zero_signs
()
src/common/long_double.rs:3165
Functiontest_addl_1_not_incl_before_adcl
()
src/backend/i686/codegen/peephole.rs:1920
Functiontest_addl_1_to_incl
()
src/backend/i686/codegen/peephole.rs:1871
Functiontest_addl_neg1_to_decl
()
src/backend/i686/codegen/peephole.rs:1906
Functiontest_addsub_inf_nan
()
src/common/long_double.rs:3175
Functiontest_adjacent_store_load_diff_reg
()
src/backend/arm/codegen/peephole.rs:1048
Functiontest_adjacent_store_load_elimination
()
src/backend/riscv/codegen/peephole.rs:1123
Functiontest_adjacent_store_load_same_reg
()
src/backend/arm/codegen/peephole.rs:1040
Functiontest_and_all_ones_i32
()
src/passes/simplify.rs:2399
Functiontest_and_all_ones_i64
()
src/passes/simplify.rs:2407
Functiontest_and_self
()
src/passes/simplify.rs:1746
Functiontest_arithmetic
()
src/backend/asm_expr.rs:343
Functiontest_ascii_passthrough
()
src/common/encoding.rs:107
Functiontest_back_to_back_cltq
()
src/backend/x86/codegen/peephole/passes/mod.rs:666
Functiontest_binop_canonicalize_commutative_add
()
src/passes/simplify.rs:2901
Functiontest_binop_canonicalize_commutative_and
()
src/passes/simplify.rs:2919
Functiontest_binop_no_canonicalize_already_canonical
()
src/passes/simplify.rs:2950
Functiontest_binop_no_canonicalize_non_commutative
()
src/passes/simplify.rs:2937
Functiontest_bitwise
()
src/backend/asm_expr.rs:352
Functiontest_bom_stripping
()
src/common/encoding.rs:158
Functiontest_branch_inversion
()
src/backend/i686/codegen/peephole.rs:1751
← previousnext →5,201–5,300 of 6,057, ranked by callers