Home
last modified time | relevance | path

Searched defs:MovePathIndex (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/rust/compiler/rustc_mir_dataflow/src/
Ddrop_flag_effects.rs12 path: MovePathIndex, in move_path_children_matching()
39 F: FnMut(MovePathIndex), in on_lookup_result_bits()
53 move_path_index: MovePathIndex, in on_all_children_bits()
56 F: FnMut(MovePathIndex), in on_all_children_bits()
63 path: MovePathIndex, in on_all_children_bits()
116 move_path_index: MovePathIndex, in on_all_children_bits()
119 F: FnMut(MovePathIndex), in on_all_children_bits()
140 path: MovePathIndex, in on_all_drop_children_bits()
143 F: FnMut(MovePathIndex), in on_all_drop_children_bits()
165 F: FnMut(MovePathIndex, DropFlagState), in drop_flag_effects_for_function_entry()
[all …]
/third_party/rust/rust/compiler/rustc_mir_dataflow/src/move_paths/
Dbuilder.rs70 move_paths: &mut IndexVec<MovePathIndex, MovePath<'tcx>>, in new_move_path()
71 path_map: &mut IndexVec<MovePathIndex, SmallVec<[MoveOutIndex; 4]>>, in new_move_path()
72 init_path_map: &mut IndexVec<MovePathIndex, SmallVec<[InitIndex; 4]>>,
73 parent: Option<MovePathIndex>,
75 ) -> MovePathIndex {
102 fn move_path_for(&mut self, place: Place<'tcx>) -> Result<MovePathIndex, MoveError<'tcx>> { in move_path_for()
178 base: MovePathIndex, in add_move_path()
181 ) -> MovePathIndex { in add_move_path()
494 fn record_move(&mut self, place: Place<'tcx>, path: MovePathIndex) { in record_move()
Dmod.rs21 impl polonius_engine::Atom for MovePathIndex { implementation
38 pub fn move_path_index(self, move_data: &MoveData<'_>) -> MovePathIndex { in move_path_index()
67 move_paths: &'a IndexSlice<MovePathIndex, MovePath<'tcx>>, in parents()
81 move_paths: &'a IndexSlice<MovePathIndex, MovePath<'tcx>>, in children()
98 move_paths: &IndexSlice<MovePathIndex, MovePath<'_>>, in find_descendant()
100 ) -> Option<MovePathIndex> { in find_descendant()
357 pub fn find_local(&self, local: Local) -> MovePathIndex { in find_local()
460 root: MovePathIndex, in find_in_move_path_or_its_descendants()
462 ) -> Option<MovePathIndex> { in find_in_move_path_or_its_descendants()
/third_party/rust/rust/compiler/rustc_mir_transform/src/
Dremove_uninit_drops.rs80 maybe_inits: &ChunkedBitSet<MovePathIndex>, in is_needs_drop_and_init()
83 mpi: MovePathIndex, in is_needs_drop_and_init()
Delaborate_drops.rs305 fn create_drop_flag(&mut self, index: MovePathIndex, span: Span) { in create_drop_flag()
450 fn set_drop_flag(&mut self, loc: Location, path: MovePathIndex, val: DropFlagState) { in set_drop_flag()
/third_party/rust/rust/compiler/rustc_mir_dataflow/src/impls/
Dmod.rs251 trans: &mut impl GenKill<MovePathIndex>, in update_bits()
252 path: MovePathIndex, in update_bits()
264 trans: &mut impl GenKill<MovePathIndex>, in update_bits()
265 path: MovePathIndex, in update_bits()
277 trans: &mut impl GenKill<MovePathIndex>, in update_bits()
278 path: MovePathIndex, in update_bits()
/third_party/rust/rust/compiler/rustc_borrowck/src/type_check/liveness/
Dpolonius.rs43 fn insert_path_access(&mut self, path: MovePathIndex, location: Location) { in insert_path_access()
48 fn place_to_mpi(&self, place: &Place<'_>) -> Option<MovePathIndex> { in place_to_mpi()
Dtrace.rs320 fn compute_drop_live_points_for_block(&mut self, mpi: MovePathIndex, term_point: PointIndex) { in compute_drop_live_points_for_block()
/third_party/rust/rust/compiler/rustc_mir_dataflow/src/framework/
Dfmt.rs191 impl<'tcx, C> DebugWithContext<C> for crate::move_paths::MovePathIndex implementation
/third_party/rust/rust/compiler/rustc_borrowck/src/diagnostics/
Dconflict_errors.rs71 mpi: MovePathIndex, in report_use_of_moved_or_uninitialized()
325 mpi: MovePathIndex, in suggest_ref_or_clone()
485 mpi: MovePathIndex, in report_use_of_uninitialized()
2416 mpi: MovePathIndex, in get_moved_indexes()
/third_party/rust/rust/compiler/rustc_borrowck/src/
Dlib.rs1654 maybe_uninits: &ChunkedBitSet<MovePathIndex>, in check_if_subslice_element_is_moved()
1768 fn move_path_closest_to(&mut self, place: PlaceRef<'tcx>) -> (PlaceRef<'tcx>, MovePathIndex) { in move_path_closest_to() argument
1777 fn move_path_for_place(&mut self, place: PlaceRef<'tcx>) -> Option<MovePathIndex> { in move_path_for_place()