Home
last modified time | relevance | path

Searched defs:BasicBlockId (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/mir/lower/
Dpattern_matching.rs53 current: BasicBlockId, in pattern_match()
54 current_else: Option<BasicBlockId>, in pattern_match()
57 ) -> Result<(BasicBlockId, Option<BasicBlockId>)> { in pattern_match()
77 mut current: BasicBlockId, in pattern_match_inner()
78 mut current_else: Option<BasicBlockId>, in pattern_match_inner()
82 ) -> Result<(BasicBlockId, Option<BasicBlockId>)> { in pattern_match_inner()
427 current: BasicBlockId, in pattern_match_binding()
428 current_else: Option<BasicBlockId>, in pattern_match_binding()
429 ) -> Result<(BasicBlockId, Option<BasicBlockId>)> { in pattern_match_binding()
450 current_else: Option<BasicBlockId>, in pattern_match_const()
[all …]
Das_place.rs17 prev_block: BasicBlockId, in lower_expr_to_some_place_without_adjust()
18 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_to_some_place_without_adjust() argument
30 prev_block: BasicBlockId, in lower_expr_to_some_place_with_adjust()
32 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_to_some_place_with_adjust() argument
46 current: BasicBlockId, in lower_expr_as_place_with_adjust()
50 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_as_place_with_adjust() argument
106 current: BasicBlockId, in lower_expr_as_place()
109 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_as_place() argument
118 current: BasicBlockId, in lower_expr_as_place_without_adjust()
121 ) -> Result<Option<(Place, BasicBlockId)>> { in lower_expr_as_place_without_adjust() argument
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/mir/
Dlower.rs108 fn pop_and_drop(self, ctx: &mut MirLowerCtx<'_>, current: BasicBlockId) -> BasicBlockId { in pop_and_drop()
269 fn temp(&mut self, ty: Ty, current: BasicBlockId, span: MirSpan) -> Result<LocalId> { in temp()
281 current: BasicBlockId, in lower_expr_to_some_operand()
282 ) -> Result<Option<(Operand, BasicBlockId)>> { in lower_expr_to_some_operand() argument
302 current: BasicBlockId, in lower_expr_to_place_with_adjust()
304 ) -> Result<Option<BasicBlockId>> { in lower_expr_to_place_with_adjust()
352 prev_block: BasicBlockId, in lower_expr_to_place()
353 ) -> Result<Option<BasicBlockId>> { in lower_expr_to_place()
364 mut current: BasicBlockId, in lower_expr_to_place_without_adjust()
365 ) -> Result<Option<BasicBlockId>> { in lower_expr_to_place_without_adjust()
[all …]
Dborrowck.rs246 ) -> ArenaMap<BasicBlockId, ArenaMap<LocalId, bool>> { in ever_initialized_map()
252 b: BasicBlockId, in ever_initialized_map()
254 result: &mut ArenaMap<BasicBlockId, ArenaMap<LocalId, bool>>, in ever_initialized_map()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-ty/src/
Dmir.rs38 pub type BasicBlockId = Idx<BasicBlock>; typedef
280 targets: impl Iterator<Item = (u128, BasicBlockId)>, in new() argument
281 otherwise: BasicBlockId, in new()
290 pub fn static_if(value: u128, then: BasicBlockId, else_: BasicBlockId) -> Self { in static_if()
295 pub fn otherwise(&self) -> BasicBlockId { in otherwise()
310 pub fn all_targets(&self) -> &[BasicBlockId] { in all_targets()
317 pub fn target_for_value(&self, value: u128) -> BasicBlockId { in target_for_value()