MCPcopy Create free account

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

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

↓ 1 callersFunctionencode_umaddl
Encode UMADDL Xd, Wn, Wm, Xa (unsigned multiply-add long)
src/backend/arm/assembler/encoder/data_processing.rs:665
↓ 1 callersFunctionencode_umulh
(operands: &[Operand])
src/backend/arm/assembler/encoder/data_processing.rs:688
↓ 1 callersFunctionencode_umull
Encode UMULL Xd, Wn, Wm -> UMADDL Xd, Wn, Wm, XZR
src/backend/arm/assembler/encoder/data_processing.rs:642
↓ 1 callersFunctionencode_uxtb
(operands: &[Operand])
src/backend/arm/assembler/encoder/data_processing.rs:900
↓ 1 callersFunctionencode_uxth
(operands: &[Operand])
src/backend/arm/assembler/encoder/data_processing.rs:891
↓ 1 callersFunctionencode_uxtw
(operands: &[Operand])
src/backend/arm/assembler/encoder/data_processing.rs:881
↓ 1 callersFunctionencode_v_crypto_vs
Encode Zvksed crypto instructions with VS format vsm4r.vs: funct6 | vm=1 | vs2 | 10000 | 010 | vd | OP_V_CRYPTO
src/backend/riscv/assembler/encoder/vector.rs:211
↓ 1 callersFunctionencode_v_crypto_vv
Encode Zvksh crypto instructions with VV format vsm3me.vv: funct6 | vm=1 | vs2 | vs1 | 010 | vd | OP_V_CRYPTO
src/backend/riscv/assembler/encoder/vector.rs:201
↓ 1 callersMethodencode_verw
Encode VERW instruction: 0F 00 /5
src/backend/x86/assembler/encoder/system.rs:115
↓ 1 callersMethodencode_verw
Encode VERW: 0F 00 /5
src/backend/i686/assembler/encoder/system.rs:124
↓ 1 callersFunctionencode_vid_v
vid.v vd: OPMVV, funct6=010100, vm=1, vs2=00000, rs1=10001 Encoding: funct6=010100 | vm=1 | vs2=00000 | 10001 | 010 | vd | OP_V
src/backend/riscv/assembler/encoder/vector.rs:182
↓ 1 callersFunctionencode_vmv_v_i
vmv.v.i vd, simm5: OPIVI, funct6=010111, vm=1, vs2=0
src/backend/riscv/assembler/encoder/vector.rs:172
↓ 1 callersFunctionencode_vmv_v_v
vmv.v.v vd, vs1: OPIVV, funct6=010111, vm=1, vs2=0
src/backend/riscv/assembler/encoder/vector.rs:154
↓ 1 callersFunctionencode_vmv_v_x
vmv.v.x vd, rs1: OPIVX, funct6=010111, vm=1, vs2=0
src/backend/riscv/assembler/encoder/vector.rs:163
↓ 1 callersFunctionencode_vsetivli
Encode vsetivli rd, uimm[4:0], vtypei Format: [11][vtypei[9:0]][uimm[4:0]][111][rd][1010111]
src/backend/riscv/assembler/encoder/vector.rs:59
↓ 1 callersFunctionencode_vsetvl
Encode vsetvl rd, rs1, rs2 Format: [1000000][rs2][rs1][111][rd][1010111]
src/backend/riscv/assembler/encoder/vector.rs:70
↓ 1 callersFunctionencode_vsetvli
Encode vsetvli rd, rs1, vtypei Format: [0][vtypei[10:0]][rs1][111][rd][1010111]
src/backend/riscv/assembler/encoder/vector.rs:48
↓ 1 callersMethodencode_xadd
(&mut self, ops: &[Operand], mnemonic: &str)
src/backend/x86/assembler/encoder/gp_integer.rs:1134
↓ 1 callersMethodencode_xadd
(&mut self, ops: &[Operand], mnemonic: &str)
src/backend/i686/assembler/encoder/gp_integer.rs:1328
↓ 1 callersMethodencode_xchg
(&mut self, ops: &[Operand], mnemonic: &str)
src/backend/i686/assembler/encoder/gp_integer.rs:1286
↓ 1 callersFunctionencode_zbb_zexth
Encode zext.h rd, rs1 (R-type on OP-32: funct7=0000100, rs2=0, funct3=100).
src/backend/riscv/assembler/encoder/base.rs:316
↓ 1 callersFunctionends_with_operator
Check if a token ends with an operator character, indicating the expression continues into the next token.
src/backend/asm_preprocess.rs:667
↓ 1 callersMethodensure_symbol
(&mut self, name: &str, sec_idx: usize, offset: u64)
src/backend/elf_writer_common.rs:615
↓ 1 callersMethoderror_count
Number of errors emitted so far (including promoted warnings).
src/common/error.rs:597
↓ 1 callersFunctionestimate_branch_distance
Estimate the distance (in instructions) from position `from` to the label `target` in the assembly. Returns `None` if the label is not found.
src/backend/arm/codegen/peephole.rs:671
↓ 1 callersFunctionestimate_line_bytes
Estimate the byte size of a single assembly line for label position tracking. Used to resolve backward label references in .rept count expressions. AA
src/backend/arm/assembler/parser.rs:244
↓ 1 callersFunctionestimate_line_bytes_generic
Estimate the byte size of a single assembly line for label position tracking. Used to resolve backward label references in .rept count expressions. `d
src/backend/asm_preprocess.rs:242
↓ 1 callersMethodestimate_type_size
Rough size estimate for a scalar type (for ext_vector_type element size computation). TODO: Long/UnsignedLong are 4 bytes on i686 and LongDouble is 12
src/frontend/parser/expressions.rs:55
↓ 1 callersMethodeval_addr_comparison_cond
Evaluate a comparison condition that involves a global address (function pointer or array) compared against a scalar constant (typically NULL/0). A d
src/ir/lowering/const_eval_global_addr.rs:932
↓ 1 callersMethodeval_array_element
Evaluate a single array element from its initializer.
src/ir/lowering/global_init.rs:1007
↓ 1 callersMethodeval_complex_global_init
Evaluate a complex expression for global initialization. Returns a GlobalInit::Array with [real, imag] constant values.
src/ir/lowering/complex.rs:736
↓ 1 callersFunctioneval_const_binop
Evaluate a constant binary operation, dispatching to int, i128, or float as needed. This is the top-level entry point for constant binary evaluation.
src/common/const_arith.rs:392
↓ 1 callersFunctioneval_const_binop_float
Evaluate a constant floating-point binary operation. For LongDouble operands, uses native f128 software arithmetic on the stored IEEE binary128 bytes
src/common/const_arith.rs:150
↓ 1 callersFunctioneval_const_binop_i128
Evaluate a constant 128-bit integer binary operation. Called when at least one operand is I128. Uses native Rust i128/u128 arithmetic to avoid the tr
src/common/const_arith.rs:310
↓ 1 callersFunctioneval_const_binop_int
Evaluate a constant integer binary operation with proper C width/signedness. The caller determines `is_32bit` and `is_unsigned` from their type syste
src/common/const_arith.rs:54
↓ 1 callersMethodeval_const_cast
Evaluate a cast expression at compile time.
src/ir/lowering/const_eval.rs:258
↓ 1 callersMethodeval_const_compound_literal
Evaluate scalar compound literals in constant expressions. Returns None for multi-field aggregates (those go through struct init path).
src/ir/lowering/const_eval.rs:341
↓ 1 callersFunctioneval_const_expr
Evaluate a constant expression for #if directives. Supports: integer literals, defined(X), !, &&, ||, ==, !=, <, >, <=, >=, +, -, *, /, %, (), unary -
src/frontend/preprocessor/conditionals.rs:250
↓ 1 callersMethodeval_const_expr_as_bits
Evaluate a constant expression, returning raw u64 bits and signedness. Preserves signedness through cast chains for proper widening.
src/frontend/sema/const_eval.rs:388
↓ 1 callersMethodeval_const_expr_as_bits
Evaluate a constant expression, returning raw u64 bits and signedness. This preserves signedness information through cast chains. Signedness determine
src/ir/lowering/const_eval.rs:467
↓ 1 callersMethodeval_const_expr_from_parts
Try to constant-fold a binary operation from its parts. Used by lower_binary_op to avoid generating IR for constant expressions, ensuring correct C ty
src/ir/lowering/const_eval.rs:545
↓ 1 callersMethodeval_const_identifier
(&self, name: &str)
src/ir/lowering/const_eval.rs:323
↓ 1 callersMethodeval_const_initializer_scalar
Evaluate an initializer to a scalar constant for use in constant expressions. Handles both direct expressions and brace-wrapped lists (including neste
src/ir/lowering/const_eval.rs:367
↓ 1 callersMethodeval_const_ptr_diff
Evaluate a compile-time pointer difference expression. Handles patterns like: &arr[5] - &arr[0] -> 5 (typed pointer subtraction) (char*)
src/ir/lowering/const_eval.rs:575
↓ 1 callersMethodeval_f64
Evaluate this comparison on two f64 operands using IEEE 754 semantics. For floats, signed and unsigned comparison variants are equivalent since IEEE
src/ir/ops.rs:210
↓ 1 callersMethodeval_global_addr_from_initializer
Try to extract a global address from an initializer. Recurses into brace-wrapped lists to find the first pointer/address value. This handles compound
src/ir/lowering/const_eval_global_addr.rs:31
↓ 1 callersFunctioneval_if_condition_dyn
(cond: &str, resolve: &dyn Fn(&str) -> String)
src/backend/asm_preprocess.rs:999
↓ 1 callersFunctioneval_if_condition_with_resolver
Evaluate a `.if` condition with a pre-processing step for resolving names. The `resolve` function is called on each side of a comparison operator bef
src/backend/asm_preprocess.rs:966
↓ 1 callersFunctioneval_ifc
Evaluate .ifc string comparison: "str1, str2" => true if equal
src/backend/x86/assembler/parser.rs:2050
↓ 1 callersMethodeval_offsetof_pattern
Evaluate the offsetof pattern: &((type*)0)->member Also handles nested member access like &((type*)0)->data.x
src/frontend/sema/const_eval.rs:406
↓ 1 callersMethodeval_offsetof_pattern_with_type
Evaluate an offsetof sub-expression, returning both the accumulated byte offset and the CType of the resulting expression (needed for chained member a
src/frontend/sema/const_eval.rs:413
↓ 1 callersMethodeval_offsetof_pattern_with_type
Evaluate an offsetof sub-expression, returning both the accumulated byte offset and the CType of the resulting expression (needed for chained member a
src/ir/lowering/const_eval.rs:393
↓ 1 callersFunctioneval_or
(tokens: &[ExprToken], pos: &mut usize)
src/backend/asm_expr.rs:114
↓ 1 callersMethodevaluate_expr
(&self, expr: &str)
src/backend/elf_writer_common.rs:966
↓ 1 callersMethodevaluate_vla_param_side_effects
Evaluate VLA parameter size expressions for their side effects. In C, array parameter declarations like `void foo(int a, int b[a++])` have the outerm
src/ir/lowering/func_lowering.rs:588
↓ 1 callersFunctionexecute_fusions
Execute fusions: move successor instructions/terminator into predecessor.
src/passes/cfg_simplify.rs:851
↓ 1 callersFunctionexpand_condition_macros
Expand macros in a condition expression, handling `defined(X)` and `defined X` specially. Character and string literals are preserved verbatim (not su
src/frontend/preprocessor/conditionals.rs:105
↓ 1 callersFunctionexpand_dialect_alternatives
Expand GCC dialect alternatives in an inline assembly template string. GCC inline assembly supports dialect alternatives: `{att|intel}` where the fir
src/backend/inline_asm.rs:336
↓ 1 callersFunctionexpand_gas_macros
Expand GAS macro directives: .macro/.endm, .purgem, .irp/.endr, .ifc/.endif, .if/.endif, .set This runs as a text-level expansion pass before instruc
src/backend/x86/assembler/parser.rs:1552
↓ 1 callersFunctionexpand_gas_macros_with_state
( lines: &[String], macros: &mut std::collections::HashMap<String, GasMacro>, symbols: &mut std::c
src/backend/x86/assembler/parser.rs:1558
↓ 1 callersMethodexpand_identifier
Process an identifier: expand macros, handle builtins, or copy verbatim.
src/frontend/preprocessor/macro_defs.rs:429
↓ 1 callersFunctionexpand_literal_pools
Expand `LdrLiteralPool` pseudo-instructions into literal pool loads. `ldr Xn, =symbol` must load the exact linker-resolved address via a literal pool
src/backend/arm/assembler/mod.rs:49
↓ 1 callersMethodexpand_macro_invocation
Expand a macro invocation (function-like or object-like).
src/frontend/preprocessor/macro_defs.rs:535
↓ 1 callersFunctionexpand_macros_impl
Core macro expansion implementation with a shared, mutable macro table. `depth` limits recursion to prevent infinite expansion. `counter` is GAS's `\@
src/backend/arm/assembler/parser.rs:739
↓ 1 callersFunctionexpand_macros_with
Re-expand macro invocations using already-collected macro definitions.
src/backend/asm_preprocess.rs:875
↓ 1 callersFunctionexpand_rept_blocks
Expand .rept/.endr blocks by repeating contained lines. Note: .irp/.endr blocks are handled separately by expand_gas_macros, so we must track .irp dep
src/backend/x86/assembler/parser.rs:240
↓ 1 callersFunctionexpand_rept_blocks_with_insn_size
Same as `expand_rept_blocks` but with configurable instruction size for byte estimation.
src/backend/asm_preprocess.rs:373
↓ 1 callersFunctionexpand_urem32
Expand `dest = x %u C` for 32-bit unsigned x. Uses: x % C = x - (x / C) * C
src/passes/div_by_const.rs:773
↓ 1 callersFunctionexpand_urem32_in_i64
Expand `dest = x %u C` in I64.
src/passes/div_by_const.rs:1597
↓ 1 callersFunctionexpr_might_be_addr
Check if an expression might produce an address that requires a relocation. This is used to determine whether a global initializer needs the Compound
src/ir/lowering/global_init_helpers.rs:111
↓ 1 callersFunctionextend_f128_source_liveness
Extend liveness for F128 load source pointers. When an F128 value is loaded from memory, the codegen records which pointer was used (via `track_f128_
src/backend/liveness.rs:740
↓ 1 callersFunctionextend_gep_base_liveness
Extend liveness of GEP base values so that their registers remain valid at Load/Store use points where the GEP offset can be folded into the addressin
src/backend/liveness.rs:597
↓ 1 callersFunctionextend_intervals_for_setjmp
Phase 4b: Handle setjmp/longjmp — extend intervals for values live at setjmp call points to the end of the function, preventing slot reuse.
src/backend/liveness.rs:544
↓ 1 callersFunctionextend_intervals_from_liveness
Phase 4: Extend intervals for values that are live-in or live-out of blocks. A value live-in to a block has its interval cover the entire block.
src/backend/liveness.rs:499
↓ 1 callersMethodextract_array_start_index
Extract the array start index from an initializer item's designators. Handles both `.field[idx]` and bare `[idx]` patterns.
src/ir/lowering/struct_init.rs:195
↓ 1 callersMethodextract_bitfield
Extract a bitfield value from a loaded storage unit.
src/ir/lowering/expr_assign.rs:320
↓ 1 callersMethodextract_fn_ptr_param_info
Extract parameter type information from a function pointer expression's CType. This is used as a fallback when the callee is a complex expression (e.g
src/ir/lowering/expr_calls.rs:1065
↓ 1 callersFunctionextract_fptr_typedef_info
Extract function pointer typedef info from a declarator with `FunctionPointer` derived declarators. For typedefs like `typedef void *(*lua_Alloc)(voi
src/frontend/sema/type_context.rs:44
↓ 1 callersMethodextract_index_designator
Extract an array index designator from an initializer item.
src/ir/lowering/global_init_bytes.rs:264
↓ 1 callersFunctionextract_s0_offset_from_line
Extract s0 offset from any instruction line containing `off(s0)`.
src/backend/riscv/codegen/peephole.rs:1026
↓ 1 callersFunctionextract_sp_offset
Extract the numeric offset from an instruction containing `[sp, #N]` or `[sp]`.
src/backend/arm/codegen/peephole.rs:940
↓ 1 callersMethodextract_symbol_name
Extract a global symbol name (possibly with offset) from an expression, for use with inline asm `"i"` constraint operands and `%P`/`%c`/`%a` modifiers
src/ir/lowering/stmt_asm.rs:416
↓ 1 callersFunctionf128_cmp_libcall
Map a comparison operation to the F128 soft-float libcall and result interpretation.
src/backend/cast.rs:239
↓ 1 callersMethodf128_cmp_result_to_bool
(&mut self, kind: crate::backend::cast::F128CmpKind)
src/backend/arm/codegen/f128.rs:180
↓ 1 callersMethodf128_copy_addr_reg_to_saved_addr
(&mut self)
src/backend/arm/codegen/f128.rs:162
↓ 1 callersMethodf128_copy_addr_reg_to_slot
(&mut self, dest_slot: StackSlot)
src/backend/arm/codegen/f128.rs:136
↓ 1 callersMethodf128_copy_slot_to_saved_addr
(&mut self, src_offset: i64)
src/backend/arm/codegen/f128.rs:156
↓ 1 callersMethodf128_copy_slot_to_slot
(&mut self, src_offset: i64, dest_slot: StackSlot)
src/backend/arm/codegen/f128.rs:130
↓ 1 callersMethodf128_extend_float_to_f128
(&mut self, from_ty: IrType)
src/backend/arm/codegen/f128.rs:290
↓ 1 callersMethodf128_flip_sign_bit
(&mut self)
src/backend/arm/codegen/f128.rs:173
↓ 1 callersMethodf128_load_const_to_arg1
(&mut self, lo: u64, hi: u64)
src/backend/arm/codegen/f128.rs:41
↓ 1 callersMethodf128_load_from_frame_offset_to_arg1
(&mut self, offset: i64)
src/backend/arm/codegen/f128.rs:53
↓ 1 callersMethodf128_move_arg0_to_acc
(&mut self)
src/backend/arm/codegen/f128.rs:260
↓ 1 callersMethodf128_narrow_acc
(&mut self, to_ty: IrType)
src/backend/arm/codegen/f128.rs:286
↓ 1 callersMethodf128_set_acc_cache
(&mut self, dest_id: u32)
src/backend/arm/codegen/f128.rs:202
↓ 1 callersMethodf128_sign_extend_acc
(&mut self, from_size: usize)
src/backend/arm/codegen/f128.rs:268
↓ 1 callersMethodf128_store_arg1_to_saved_addr
(&mut self)
src/backend/arm/codegen/f128.rs:168
↓ 1 callersMethodf128_store_const_halves_to_addr
(&mut self, lo: u64, hi: u64)
src/backend/arm/codegen/f128.rs:142
↓ 1 callersMethodf128_store_const_halves_to_slot
(&mut self, lo: u64, hi: u64, slot: StackSlot)
src/backend/arm/codegen/f128.rs:118
↓ 1 callersMethodf128_track_self
(&mut self, dest_id: u32)
src/backend/arm/codegen/f128.rs:198
← previousnext →2,701–2,800 of 6,057, ranked by callers