Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Amanieu/regalloc3
/ functions
Functions
705 in github.com/Amanieu/regalloc3
⨍
Functions
705
◇
Types & classes
175
↓ 224 callers
Method
push
(&mut self, v: V)
src/entity/primary_map.rs:144
↓ 72 callers
Method
kind
(self)
src/output.rs:132
↓ 65 callers
Method
slot
Returns the slot inside an instruction that this `LiveRangePoint` points to.
src/internal/live_range.rs:97
↓ 64 callers
Method
iter
Returns an iterator over all the [`UseIndex`] in this list.
src/internal/uses.rs:428
↓ 60 callers
Method
insert
(&mut self, entity: T)
src/entity/set.rs:95
↓ 58 callers
Method
clear
(&mut self)
src/internal/uses.rs:487
↓ 57 callers
Method
index
Returns a [`UseIndex`] pointing to a single [`Use`] in this list.
src/internal/uses.rs:422
↓ 51 callers
Method
next
(&mut self)
src/internal/live_range.rs:433
↓ 51 callers
Method
unwrap
(self)
src/entity/packed_option.rs:78
↓ 50 callers
Method
clone
(&self)
src/entity/set.rs:32
↓ 49 callers
Method
iter
(&self)
src/entity/set.rs:221
↓ 49 callers
Method
len
(self)
src/entity/base.rs:66
↓ 49 callers
Method
map
(self, f: F)
src/entity/packed_option.rs:68
↓ 47 callers
Method
contains
(&self, entity: T)
src/entity/set.rs:83
↓ 42 callers
Method
block_insts
(&self, block: Block)
src/debug_utils/generic_function/mod.rs:165
↓ 37 callers
Method
len
Returns the number of [`Use`]s in this list.
src/internal/uses.rs:417
↓ 36 callers
Method
get
(&self, key: K)
src/entity/sparse.rs:109
↓ 35 callers
Method
reg_units
(&self, reg: PhysReg)
src/debug_utils/generic_reginfo/mod.rs:218
↓ 32 callers
Method
expand
(self)
src/entity/packed_option.rs:61
↓ 31 callers
Method
arbitrary
(u: &mut Unstructured<'a>)
src/debug_utils/generic_reginfo/arbitrary.rs:48
↓ 30 callers
Method
live_range
(&self)
src/internal/reg_matrix.rs:50
↓ 29 callers
Method
inst_block
(&self, inst: Inst)
src/debug_utils/generic_function/mod.rs:200
↓ 28 callers
Method
constraint
(self)
src/function.rs:487
↓ 27 callers
Method
is_empty
(&self)
src/entity/set.rs:148
↓ 26 callers
Method
inst_operands
(&self, inst: Inst)
src/debug_utils/generic_function/mod.rs:215
↓ 26 callers
Method
remove
(&mut self, entity: T)
src/entity/set.rs:103
↓ 24 callers
Method
is_memory
(&self, reg: PhysReg)
src/debug_utils/generic_reginfo/mod.rs:223
↓ 24 callers
Method
units
Returns an iterator over the units in an allocation.
src/allocation_unit.rs:108
↓ 24 callers
Method
value_group_members
(&self, group: ValueGroup)
src/debug_utils/generic_function/mod.rs:240
↓ 23 callers
Method
block_frequency
(&self, block: Block)
src/debug_utils/generic_function/mod.rs:205
↓ 23 callers
Method
is_some
(&self)
src/entity/packed_option.rs:55
↓ 23 callers
Method
segments
Sorted list of live range segments for a virtual register. All segments are guaranteed to have a non-empty live range.
src/internal/virt_regs/mod.rs:149
↓ 22 callers
Method
clear_and_resize
(&mut self, max_index: usize)
src/entity/set.rs:130
↓ 22 callers
Method
num_blocks
(&self)
src/debug_utils/generic_function/mod.rs:155
↓ 21 callers
Function
custom_error
Helper function to emit a custom error at the given span.
src/debug_utils/generic_reginfo/parse.rs:35
↓ 21 callers
Method
inst
Returns the instruction that this `LiveRangePoint` is in. In the case of a [`LiveRangeSlot::Boundary`], this returns the following instruction.
src/internal/live_range.rs:91
↓ 21 callers
Method
next_key
(&self)
src/entity/primary_map.rs:138
↓ 20 callers
Method
is_empty
Checks whether the `LiveRangeSegment` holds an empty range. Empty ranges are valid but have special semantics: no register needs to be allocated for
src/internal/live_range.rs:177
↓ 18 callers
Method
check_entity
Check that an entity refers to a valid object.
src/debug_utils/validate_func.rs:119
↓ 18 callers
Method
clear
(&mut self)
src/internal/virt_regs/mod.rs:119
↓ 18 callers
Method
expect
(self, msg: &str)
src/entity/packed_option.rs:85
↓ 18 callers
Method
extend
(&mut self, iter: impl IntoIterator<Item = V>)
src/entity/primary_map.rs:153
↓ 17 callers
Method
block_preds
(&self, block: Block)
src/debug_utils/generic_function/mod.rs:175
↓ 16 callers
Method
blocks
(&self)
src/function.rs:619
↓ 16 callers
Method
pop
(&mut self)
src/entity/sparse.rs:211
↓ 15 callers
Method
class_includes_spillslots
(&self, class: RegClass)
src/debug_utils/generic_reginfo/mod.rs:183
↓ 15 callers
Method
class_members
(&self, class: RegClass)
src/debug_utils/generic_reginfo/mod.rs:173
↓ 15 callers
Method
grow_to
(&mut self, max_index: usize)
src/entity/set.rs:140
↓ 15 callers
Method
into_iter
(self)
src/entity/set.rs:238
↓ 15 callers
Method
last
(self)
src/entity/base.rs:53
↓ 15 callers
Method
num_values
(&self)
src/debug_utils/generic_function/mod.rs:225
↓ 15 callers
Method
value_bank
(&self, value: Value)
src/debug_utils/generic_function/mod.rs:230
↓ 14 callers
Method
block_succs
(&self, block: Block)
src/debug_utils/generic_function/mod.rs:170
↓ 14 callers
Method
entry
(&mut self, key: K)
src/entity/sparse.rs:154
↓ 14 callers
Method
prev
(self)
src/function.rs:188
↓ 12 callers
Method
bank_for_class
(&self, class: RegClass)
src/debug_utils/generic_reginfo/mod.rs:153
↓ 12 callers
Function
custom_error
Helper function to emit a custom error at the given span.
src/debug_utils/generic_function/parse.rs:38
↓ 12 callers
Method
is_none
(&self)
src/entity/packed_option.rs:49
↓ 12 callers
Method
make_regs
Helper function to generate a sequence of registers.
regalloc3-tool/src/example_reginfo/mod.rs:74
↓ 12 callers
Method
make_units
Helper function to generate a sequence of register units.
regalloc3-tool/src/example_reginfo/mod.rs:69
↓ 12 callers
Method
num_banks
(&self)
src/debug_utils/generic_reginfo/mod.rs:138
↓ 12 callers
Method
reg_group_members
(&self, group: RegGroup)
src/debug_utils/generic_reginfo/mod.rs:233
↓ 11 callers
Method
class_group_size
(&self, class: RegClass)
src/debug_utils/generic_reginfo/mod.rs:208
↓ 11 callers
Function
extract
Helper function to extract N sub-pairs when the layout of a rule is fixed.
src/debug_utils/generic_reginfo/parse.rs:22
↓ 11 callers
Method
next
(&mut self)
src/entity/set.rs:364
↓ 10 callers
Method
bank_for_reg
(&self, reg: PhysReg)
src/debug_utils/generic_reginfo/mod.rs:158
↓ 10 callers
Method
jump_blockparams
(&self, block: Block)
src/debug_utils/generic_function/mod.rs:195
↓ 10 callers
Method
stack_layout
(&self)
src/output.rs:221
↓ 9 callers
Method
can_rematerialize
(&self, value: Value)
src/debug_utils/generic_function/mod.rs:245
↓ 9 callers
Function
extract
Helper function to extract N sub-pairs when the layout of a rule is fixed.
src/debug_utils/generic_function/parse.rs:25
↓ 9 callers
Method
first_vreg
First virtual register in this group.
src/internal/allocator/mod.rs:75
↓ 9 callers
Method
function
(&self)
src/output.rs:182
↓ 9 callers
Method
group_members
Returns the members of a virtual register group.
src/internal/virt_regs/mod.rs:142
↓ 9 callers
Method
immediate_dominator
Returns the immediate dominator of the given basic block. Returns `None` for entry points, unreachable blocks, and blocks whose only immediate domina
src/debug_utils/dominator_tree.rs:113
↓ 9 callers
Method
make_reg_group
Helper function to generate a sequence of register groups.
regalloc3-tool/src/example_reginfo/mod.rs:87
↓ 9 callers
Method
reginfo
(&self)
src/output.rs:189
↓ 9 callers
Method
round_to_next_inst
Rounds this point to the next instruction boundary.
src/internal/live_range.rs:107
↓ 9 callers
Method
terminator_kind
(&self, inst: Inst)
src/debug_utils/generic_function/mod.rs:190
↓ 9 callers
Method
value_def
Visits the definition of a value.
src/internal/value_live_ranges.rs:738
↓ 8 callers
Method
as_slice
(&self)
src/entity/sparse.rs:218
↓ 8 callers
Method
block_params
(&self, block: Block)
src/debug_utils/generic_function/mod.rs:185
↓ 8 callers
Method
check_entity
Check that an entity refers to a valid object.
src/debug_utils/validate_reginfo.rs:58
↓ 8 callers
Method
clear
(&mut self)
src/internal/parallel_moves.rs:37
↓ 8 callers
Method
emit_source_half_move
(&mut self, pos: MovePosition, value: Value, alloc: Allocation)
src/internal/move_resolver.rs:450
↓ 8 callers
Method
entry_points
(&self)
src/debug_utils/generic_function/mod.rs:160
↓ 8 callers
Method
index
(&self, index: VirtReg)
src/internal/virt_regs/mod.rs:104
↓ 8 callers
Method
inst_clobbers
(&self, inst: Inst)
src/debug_utils/generic_function/mod.rs:220
↓ 8 callers
Method
iter_mut
(&mut self)
src/entity/sparse.rs:250
↓ 8 callers
Function
parse_entity
(pair: Pair<'_, Rule>)
src/debug_utils/generic_function/parse.rs:55
↓ 8 callers
Method
spillslot_size
(&self, bank: RegBank)
src/debug_utils/generic_reginfo/mod.rs:163
↓ 7 callers
Method
check_constraint
Check an operand with a constraint.
src/debug_utils/validate_func.rs:183
↓ 7 callers
Method
classes
(&self)
src/reginfo.rs:321
↓ 7 callers
Method
dominates
Determines whether `a` dominates `b`. Both blocks must be reachable from an entry point. Returns true if `a == b`.
src/debug_utils/dominator_tree.rs:122
↓ 7 callers
Method
emit_dest_half_move
(&mut self, pos: MovePosition, value: Value, alloc: Allocation)
src/internal/move_resolver.rs:458
↓ 7 callers
Method
index
(&self)
src/entity/sparse.rs:487
↓ 7 callers
Method
inst_allocations
Returns the allocations for an instruction's operands.
src/internal/allocations.rs:72
↓ 7 callers
Method
or_default
(self)
src/entity/sparse.rs:445
↓ 7 callers
Method
set_allocation
Assigns the given [`Allocation`] to an instruction operand.
src/internal/allocations.rs:66
↓ 7 callers
Method
top_level_class
(&self, bank: RegBank)
src/debug_utils/generic_reginfo/mod.rs:143
↓ 6 callers
Method
can_indirectly_rematerialize
(&self, value: Value)
src/debug_utils/generic_function/mod.rs:250
next →
1–100 of 705, ranked by callers