Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claudes-c-compiler
/ functions
Functions
6,057 in github.com/anthropics/claudes-c-compiler
⨍
Functions
6,057
◇
Types & classes
346
Method
extract_dim_expr_name
Extract variable name from a VLA dimension expression.
src/ir/lowering/func_lowering.rs:722
Method
extract_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
Method
extract_pragma_macro_name
Extract macro name from pragma argument like ("name").
src/frontend/preprocessor/pragmas.rs:115
Method
extract_return_ctype_from_func_type
Extract the return CType from a function or function pointer CType.
src/ir/lowering/expr_calls.rs:972
Method
extract_return_ctype_from_type
Extract the return CType from a function or function pointer type.
src/frontend/sema/type_checker.rs:463
Method
f128_add_offset_to_addr_reg
(&mut self, offset: i64)
src/backend/riscv/codegen/f128.rs:55
Method
f128_alloc_temp_16
(&mut self)
src/backend/riscv/codegen/f128.rs:89
Method
f128_alloca_aligned_addr
(&mut self, slot: StackSlot, val_id: u32)
src/backend/riscv/codegen/f128.rs:59
Method
f128_call
(&mut self, name: &str)
src/backend/riscv/codegen/f128.rs:97
Method
f128_cmp_result_to_bool
(&mut self, kind: crate::backend::cast::F128CmpKind)
src/backend/riscv/codegen/f128.rs:177
Method
f128_copy_addr_reg_to_saved_addr
(&mut self)
src/backend/riscv/codegen/f128.rs:156
Method
f128_copy_addr_reg_to_slot
(&mut self, dest_slot: StackSlot)
src/backend/riscv/codegen/f128.rs:127
Method
f128_copy_slot_to_saved_addr
(&mut self, src_offset: i64)
src/backend/riscv/codegen/f128.rs:148
Method
f128_copy_slot_to_slot
(&mut self, src_offset: i64, dest_slot: StackSlot)
src/backend/riscv/codegen/f128.rs:119
Method
f128_extend_float_to_f128
(&mut self, from_ty: IrType)
src/backend/riscv/codegen/f128.rs:315
Method
f128_flip_sign_bit
(&mut self)
src/backend/riscv/codegen/f128.rs:170
Method
f128_free_temp_16
(&mut self)
src/backend/riscv/codegen/f128.rs:93
Method
f128_get_slot
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:23
Method
f128_get_source
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:27
Method
f128_is_alloca
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:335
Method
f128_load_16b_from_addr_reg_to_arg1
(&mut self)
src/backend/riscv/codegen/f128.rs:40
Method
f128_load_const_to_arg1
(&mut self, lo: u64, hi: u64)
src/backend/riscv/codegen/f128.rs:35
Method
f128_load_from_addr_reg_to_acc
(&mut self, dest: &Value)
src/backend/riscv/codegen/f128.rs:235
Method
f128_load_from_direct_slot_to_acc
(&mut self, slot: StackSlot)
src/backend/riscv/codegen/f128.rs:245
Method
f128_load_from_frame_offset_to_arg1
(&mut self, offset: i64)
src/backend/riscv/codegen/f128.rs:46
Method
f128_load_indirect_ptr_to_addr_reg
(&mut self, slot: StackSlot, val_id: u32)
src/backend/riscv/codegen/f128.rs:231
Method
f128_load_operand_and_extend
(&mut self, op: &Operand)
src/backend/riscv/codegen/f128.rs:63
Method
f128_load_operand_to_acc
(&mut self, op: &Operand)
src/backend/riscv/codegen/f128.rs:277
Method
f128_load_ptr_to_addr_reg
(&mut self, slot: StackSlot, val_id: u32)
src/backend/riscv/codegen/f128.rs:51
Method
f128_move_acc_to_arg0
(&mut self)
src/backend/riscv/codegen/f128.rs:269
Method
f128_move_aligned_to_addr_reg
(&mut self)
src/backend/arm/codegen/f128.rs:222
Method
f128_move_arg0_to_acc
(&mut self)
src/backend/riscv/codegen/f128.rs:273
Method
f128_move_arg1_to_arg2
(&mut self)
src/backend/riscv/codegen/f128.rs:73
Method
f128_move_callee_reg_to_addr_reg
(&mut self, val_id: u32)
src/backend/riscv/codegen/f128.rs:218
Method
f128_narrow_acc
(&mut self, to_ty: IrType)
src/backend/riscv/codegen/f128.rs:311
Method
f128_reload_arg1_from_sp
(&mut self)
src/backend/riscv/codegen/f128.rs:84
Method
f128_resolve_slot_addr
(&self, val_id: u32)
src/backend/riscv/codegen/f128.rs:31
Method
f128_save_addr_reg
(&mut self)
src/backend/riscv/codegen/f128.rs:143
Method
f128_save_arg1_to_sp
(&mut self)
src/backend/riscv/codegen/f128.rs:79
Method
f128_set_acc_cache
(&mut self, dest_id: u32)
src/backend/riscv/codegen/f128.rs:208
Method
f128_set_dyn_alloca
(&mut self, _val: bool)
src/backend/riscv/codegen/f128.rs:212
Method
f128_sign_extend_acc
(&mut self, from_size: usize)
src/backend/riscv/codegen/f128.rs:281
Method
f128_store_acc_to_dest
(&mut self, dest: &Value)
src/backend/riscv/codegen/f128.rs:200
Method
f128_store_arg1_to_saved_addr
(&mut self)
src/backend/riscv/codegen/f128.rs:164
Method
f128_store_arg1_to_slot
(&mut self, slot: StackSlot)
src/backend/riscv/codegen/f128.rs:113
Method
f128_store_const_halves_to_addr
(&mut self, lo: u64, hi: u64)
src/backend/riscv/codegen/f128.rs:135
Method
f128_store_const_halves_to_slot
(&mut self, lo: u64, hi: u64, slot: StackSlot)
src/backend/riscv/codegen/f128.rs:106
Method
f128_store_result_and_truncate
(&mut self, dest: &Value)
src/backend/riscv/codegen/f128.rs:250
Method
f128_track_self
(&mut self, dest_id: u32)
src/backend/riscv/codegen/f128.rs:204
Method
f128_truncate_result_to_acc
(&mut self)
src/backend/riscv/codegen/f128.rs:101
Method
f128_truncate_to_float_acc
(&mut self, to_ty: IrType)
src/backend/riscv/codegen/f128.rs:325
Method
f128_zero_extend_acc
(&mut self, from_size: usize)
src/backend/riscv/codegen/f128.rs:296
Method
field_type_has_pointers
Check if a type is or contains pointer/function types (recursive).
src/common/types.rs:690
Method
find_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
Function
find_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
Method
fits_imm12
Check if an immediate fits in a 12-bit signed field.
src/backend/riscv/codegen/emit.rs:213
Method
flag_name
The GCC-compatible flag name for this warning (without the -W prefix).
src/common/error.rs:119
Method
fmt
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
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/frontend/parser/parse.rs:213
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/frontend/parser/ast.rs:115
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/backend/x86/assembler/parser.rs:190
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/ir/instruction.rs:39
Method
fmt
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
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/common/temp_files.rs:91
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/common/source.rs:29
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/common/error.rs:321
Function
fold_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
Method
fold_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
Method
for_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
Method
for_static
Construct a LocalInfo for a static local variable from DeclAnalysis.
src/ir/lowering/definitions.rs:442
Method
for_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
Method
for_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
Method
format_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
Function
format_instruction
(inst: &Instruction)
src/passes/inline.rs:1746
Method
format_operand
Format an operand for substitution based on its constraint kind.
src/backend/riscv/codegen/inline_asm.rs:52
Method
format_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
Method
format_reg_static
(reg: &str, modifier: Option<char>)
src/backend/arm/codegen/inline_asm.rs:142
Function
format_terminator
(term: &Terminator)
src/passes/inline.rs:1802
Method
format_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
Method
fp_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
Method
fp_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
Method
fp_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
Method
fp_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
Method
from_analysis
Construct VarInfo from a DeclAnalysis (shared by both LocalInfo and GlobalInfo).
src/ir/lowering/definitions.rs:399
Method
from_ctype
(ct: &CType)
src/common/types.rs:1836
Method
from_decimal_digits
(digits: &[u8])
src/common/long_double.rs:73
Method
from_env
(disabled: &str)
src/passes/mod.rs:197
Method
from_flag
Parse a `-fdiagnostics-color` flag value. Returns `None` for unrecognized values.
src/common/error.rs:60
Method
from_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
Method
from_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
Method
from_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
Method
from_vecs
Build a FlatAdj from a Vec<Vec<u32>> (used in the construction phase).
src/ir/analysis.rs:74
Method
from_vecs_usize
(vecs: &[Vec<usize>])
src/ir/analysis.rs:54
Method
func_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
Method
function_type_directive
Emit the function directive for the function type attribute.
src/backend/traits.rs:1239
Method
gcc_cc_to_x86
Map GCC inline asm condition code suffix to x86 SETcc suffix.
src/backend/x86/codegen/inline_asm.rs:165
Method
gcc_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
Method
get
(&self, output_line: usize)
src/frontend/preprocessor/text_processing.rs:29
Function
get_any_reg
(operands: &[Operand], idx: usize)
src/backend/riscv/assembler/encoder/mod.rs:367
Method
get_phys_reg_for_value
(&self, val_id: u32)
src/backend/x86/codegen/emit.rs:1133
← previous
next →
4,901–5,000 of 6,057, ranked by callers