MCPcopy Create free account

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

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

Methodextract_dim_expr_name
Extract variable name from a VLA dimension expression.
src/ir/lowering/func_lowering.rs:722
Methodextract_func_ptr_return_type
Extract the return IrType from a function pointer's CType. The function pointer CType can be: - Pointer(Function(ft)): ft.return_type is the actual C
src/ir/lowering/expr_types.rs:200
Methodextract_pragma_macro_name
Extract macro name from pragma argument like ("name").
src/frontend/preprocessor/pragmas.rs:115
Methodextract_return_ctype_from_func_type
Extract the return CType from a function or function pointer CType.
src/ir/lowering/expr_calls.rs:972
Methodextract_return_ctype_from_type
Extract the return CType from a function or function pointer type.
src/frontend/sema/type_checker.rs:463
Methodf128_add_offset_to_addr_reg
(&mut self, offset: i64)
src/backend/riscv/codegen/f128.rs:55
Methodf128_alloc_temp_16
(&mut self)
src/backend/riscv/codegen/f128.rs:89
Methodf128_alloca_aligned_addr
(&mut self, slot: StackSlot, val_id: u32)
src/backend/riscv/codegen/f128.rs:59
Methodf128_call
(&mut self, name: &str)
src/backend/riscv/codegen/f128.rs:97
Methodf128_cmp_result_to_bool
(&mut self, kind: crate::backend::cast::F128CmpKind)
src/backend/riscv/codegen/f128.rs:177
Methodf128_copy_addr_reg_to_saved_addr
(&mut self)
src/backend/riscv/codegen/f128.rs:156
Methodf128_copy_addr_reg_to_slot
(&mut self, dest_slot: StackSlot)
src/backend/riscv/codegen/f128.rs:127
Methodf128_copy_slot_to_saved_addr
(&mut self, src_offset: i64)
src/backend/riscv/codegen/f128.rs:148
Methodf128_copy_slot_to_slot
(&mut self, src_offset: i64, dest_slot: StackSlot)
src/backend/riscv/codegen/f128.rs:119
Methodf128_extend_float_to_f128
(&mut self, from_ty: IrType)
src/backend/riscv/codegen/f128.rs:315
Methodf128_flip_sign_bit
(&mut self)
src/backend/riscv/codegen/f128.rs:170
Methodf128_free_temp_16
(&mut self)
src/backend/riscv/codegen/f128.rs:93
Methodf128_get_slot
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:23
Methodf128_get_source
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:27
Methodf128_is_alloca
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:335
Methodf128_load_16b_from_addr_reg_to_arg1
(&mut self)
src/backend/riscv/codegen/f128.rs:40
Methodf128_load_const_to_arg1
(&mut self, lo: u64, hi: u64)
src/backend/riscv/codegen/f128.rs:35
Methodf128_load_from_addr_reg_to_acc
(&mut self, dest: &Value)
src/backend/riscv/codegen/f128.rs:235
Methodf128_load_from_direct_slot_to_acc
(&mut self, slot: StackSlot)
src/backend/riscv/codegen/f128.rs:245
Methodf128_load_from_frame_offset_to_arg1
(&mut self, offset: i64)
src/backend/riscv/codegen/f128.rs:46
Methodf128_load_indirect_ptr_to_addr_reg
(&mut self, slot: StackSlot, val_id: u32)
src/backend/riscv/codegen/f128.rs:231
Methodf128_load_operand_and_extend
(&mut self, op: &Operand)
src/backend/riscv/codegen/f128.rs:63
Methodf128_load_operand_to_acc
(&mut self, op: &Operand)
src/backend/riscv/codegen/f128.rs:277
Methodf128_load_ptr_to_addr_reg
(&mut self, slot: StackSlot, val_id: u32)
src/backend/riscv/codegen/f128.rs:51
Methodf128_move_acc_to_arg0
(&mut self)
src/backend/riscv/codegen/f128.rs:269
Methodf128_move_aligned_to_addr_reg
(&mut self)
src/backend/arm/codegen/f128.rs:222
Methodf128_move_arg0_to_acc
(&mut self)
src/backend/riscv/codegen/f128.rs:273
Methodf128_move_arg1_to_arg2
(&mut self)
src/backend/riscv/codegen/f128.rs:73
Methodf128_move_callee_reg_to_addr_reg
(&mut self, val_id: u32)
src/backend/riscv/codegen/f128.rs:218
Methodf128_narrow_acc
(&mut self, to_ty: IrType)
src/backend/riscv/codegen/f128.rs:311
Methodf128_reload_arg1_from_sp
(&mut self)
src/backend/riscv/codegen/f128.rs:84
Methodf128_resolve_slot_addr
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:31
Methodf128_save_addr_reg
(&mut self)
src/backend/riscv/codegen/f128.rs:143
Methodf128_save_arg1_to_sp
(&mut self)
src/backend/riscv/codegen/f128.rs:79
Methodf128_set_acc_cache
(&mut self, dest_id: u32)
src/backend/riscv/codegen/f128.rs:208
Methodf128_set_dyn_alloca
(&mut self, _val: bool)
src/backend/riscv/codegen/f128.rs:212
Methodf128_sign_extend_acc
(&mut self, from_size: usize)
src/backend/riscv/codegen/f128.rs:281
Methodf128_store_acc_to_dest
(&mut self, dest: &Value)
src/backend/riscv/codegen/f128.rs:200
Methodf128_store_arg1_to_saved_addr
(&mut self)
src/backend/riscv/codegen/f128.rs:164
Methodf128_store_arg1_to_slot
(&mut self, slot: StackSlot)
src/backend/riscv/codegen/f128.rs:113
Methodf128_store_const_halves_to_addr
(&mut self, lo: u64, hi: u64)
src/backend/riscv/codegen/f128.rs:135
Methodf128_store_const_halves_to_slot
(&mut self, lo: u64, hi: u64, slot: StackSlot)
src/backend/riscv/codegen/f128.rs:106
Methodf128_store_result_and_truncate
(&mut self, dest: &Value)
src/backend/riscv/codegen/f128.rs:250
Methodf128_track_self
(&mut self, dest_id: u32)
src/backend/riscv/codegen/f128.rs:204
Methodf128_truncate_result_to_acc
(&mut self)
src/backend/riscv/codegen/f128.rs:101
Methodf128_truncate_to_float_acc
(&mut self, to_ty: IrType)
src/backend/riscv/codegen/f128.rs:325
Methodf128_zero_extend_acc
(&mut self, from_size: usize)
src/backend/riscv/codegen/f128.rs:296
Methodfield_type_has_pointers
Check if a type is or contains pointer/function types (recursive).
src/common/types.rs:690
Methodfind_continuation_backslash
Check if a line ends with a continuation backslash (optionally followed by whitespace). Returns the byte position of the backslash if found, None othe
src/frontend/preprocessor/text_processing.rs:249
Functionfind_symbol_diff_minus
Find the position of the `-` operator in a symbol difference expression like `sym_a - sym_b`. Skips position 0 to avoid matching a leading negation.
src/backend/asm_preprocess.rs:1139
Methodfits_imm12
Check if an immediate fits in a 12-bit signed field.
src/backend/riscv/codegen/emit.rs:213
Methodflag_name
The GCC-compatible flag name for this warning (without the -W prefix).
src/common/error.rs:119
Methodfmt
Display tokens in GCC-style human-readable format for diagnostics. Punctuation and operators are shown as quoted symbols: `';'`, `')'` Keywords are s
src/frontend/lexer/token.rs:207
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/frontend/parser/parse.rs:213
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/frontend/parser/ast.rs:115
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/backend/x86/assembler/parser.rs:190
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/ir/instruction.rs:39
Methodfmt
Format a CType as its C-language type name (e.g., `int`, `unsigned long`, `char *`, `void (*)(int, double)`). Used in compiler diagnostics to show use
src/common/types.rs:1190
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/common/temp_files.rs:91
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/common/source.rs:29
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/common/error.rs:321
Functionfold_function
Fold constants within a single function. Builds a const-value map from Copy instructions so that operands referencing values defined by `Copy { src:
src/passes/constant_fold.rs:73
Methodfold_simple_derived
For simple derived declarators (just pointers and/or arrays), fold them into the TypeSpecifier directly to maintain backward compatibility with downst
src/frontend/parser/types.rs:747
Methodfor_ptr
Create a minimal FuncSig for a function pointer variable. Sets all optional/ABI fields to their defaults (empty/None/false).
src/ir/lowering/definitions.rs:269
Methodfor_static
Construct a LocalInfo for a static local variable from DeclAnalysis.
src/ir/lowering/definitions.rs:442
Methodfor_struct_with_packing
Compute the layout for a struct (fields laid out sequentially with alignment padding). Supports bitfield packing: adjacent bitfields share storage uni
src/common/types.rs:602
Methodfor_union_with_packing
Compute the layout for a union with optional packing. `max_field_align`: if Some(N), cap each field's alignment to min(natural, N). For __attribute__(
src/common/types.rs:629
Methodformat_i686_reg
Format i686 register with size modifier. On i686, default (no modifier or 'k') is 32-bit.
src/backend/i686/codegen/inline_asm.rs:101
Functionformat_instruction
(inst: &Instruction)
src/passes/inline.rs:1746
Methodformat_operand
Format an operand for substitution based on its constraint kind.
src/backend/riscv/codegen/inline_asm.rs:52
Methodformat_operand_static
Format an operand for ARM inline assembly substitution. For immediate operands (from "i"/"n" constraints), emit the raw value. GCC on AArch64 emits ra
src/backend/arm/codegen/inline_asm.rs:123
Methodformat_reg_static
(reg: &str, modifier: Option<char>)
src/backend/arm/codegen/inline_asm.rs:142
Functionformat_terminator
(term: &Terminator)
src/passes/inline.rs:1802
Methodformat_x86_reg
Format x86-64 register with size modifier. Modifiers: k (32-bit), w (16-bit), b (8-bit low), h (8-bit high), q (64-bit), l (32-bit alt) XMM registers
src/backend/x86/codegen/inline_asm.rs:106
Methodfp_masks
Floating-point bit-layout constants for classification. Returns (abs_mask, exp_only, exp_shift, exp_field_max, mant_mask). Note: F128 classification b
src/ir/lowering/expr_builtins_fpclass.rs:98
Methodfp_to_d_reg
Convert a FP/SIMD register name to its d-register counterpart (same register number). e.g., "v16" -> "d16", "s16" -> "d16"
src/backend/arm/codegen/inline_asm.rs:285
Methodfp_to_q_reg
Convert a FP/SIMD register name to its q-register counterpart (same register number). e.g., "v16" -> "q16", "d16" -> "q16"
src/backend/arm/codegen/inline_asm.rs:299
Methodfp_to_s_reg
Convert a FP/SIMD register name to its s-register counterpart (same register number). e.g., "d16" -> "s16", "v16" -> "s16"
src/backend/arm/codegen/inline_asm.rs:271
Methodfrom_analysis
Construct VarInfo from a DeclAnalysis (shared by both LocalInfo and GlobalInfo).
src/ir/lowering/definitions.rs:399
Methodfrom_ctype
(ct: &CType)
src/common/types.rs:1836
Methodfrom_decimal_digits
(digits: &[u8])
src/common/long_double.rs:73
Methodfrom_env
(disabled: &str)
src/passes/mod.rs:197
Methodfrom_flag
Parse a `-fdiagnostics-color` flag value. Returns `None` for unrecognized values.
src/common/error.rs:60
Methodfrom_flag_name
Parse a warning flag name (without the -W prefix) into a WarningKind. Returns None for unrecognized names (which are silently ignored, matching GCC).
src/common/error.rs:130
Methodfrom_i64
Construct an IrConst of the given type from an i64 value. Store unsigned sub-64-bit types (U8, U16, U32) as I64 with zero-extended values to preserve
src/ir/constants.rs:452
Methodfrom_keyword
Convert a keyword string to its token kind. When `gnu_extensions` is false (strict C standard mode, e.g. -std=c99), bare GNU keywords like `typeof` an
src/frontend/lexer/token.rs:372
Methodfrom_vecs
Build a FlatAdj from a Vec<Vec<u32>> (used in the construction phase).
src/ir/analysis.rs:74
Methodfrom_vecs_usize
(vecs: &[Vec<usize>])
src/ir/analysis.rs:54
Methodfunc_return_ir_type
Map a function's return CType to the IR type used for the call instruction. Complex types return in FP registers (F64 for both ComplexFloat and Comple
src/ir/lowering/expr_calls.rs:1026
Methodfunction_type_directive
Emit the function directive for the function type attribute.
src/backend/traits.rs:1239
Methodgcc_cc_to_x86
Map GCC inline asm condition code suffix to x86 SETcc suffix.
src/backend/x86/codegen/inline_asm.rs:165
Methodgcc_cc_to_x86
Map GCC condition code suffix to x86 SETcc suffix. Delegates to shared x86_common.
src/backend/i686/codegen/asm_emitter.rs:645
Methodget
(&self, output_line: usize)
src/frontend/preprocessor/text_processing.rs:29
Functionget_any_reg
(operands: &[Operand], idx: usize)
src/backend/riscv/assembler/encoder/mod.rs:367
Methodget_phys_reg_for_value
(&self, val_id: u32)
src/backend/x86/codegen/emit.rs:1133
← previousnext →4,901–5,000 of 6,057, ranked by callers