/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/wasm/ |
H A D | local-decl-encoder.cc | 29 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit() 30 for (auto& local_decl : local_decls) { in Emit() 43 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals() 44 count += local_decls.back().first; in AddLocals() 45 local_decls.pop_back(); in AddLocals() 47 local_decls.push_back(std::pair<uint32_t, ValueType>(count, type)); in AddLocals() 52 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); in Size() 53 for (auto p : local_decls) size += 1 + LEBHelper::sizeof_u32v(p.first); in Size()
|
H A D | local-decl-encoder.h | 21 : sig(s), local_decls(zone), total(0) {} in sig() 41 ZoneVector<std::pair<uint32_t, ValueType>> local_decls; variable
|
/dports/www/node10/node-v10.24.1/deps/v8/src/wasm/ |
H A D | local-decl-encoder.cc | 27 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit() 28 for (auto& local_decl : local_decls) { in Emit() 41 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals() 42 count += local_decls.back().first; in AddLocals() 43 local_decls.pop_back(); in AddLocals() 45 local_decls.push_back(std::pair<uint32_t, ValueType>(count, type)); in AddLocals() 50 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); in Size() 51 for (auto p : local_decls) size += 1 + LEBHelper::sizeof_u32v(p.first); in Size()
|
H A D | local-decl-encoder.h | 22 : sig(s), local_decls(zone), total(0) {} in sig() 42 ZoneVector<std::pair<uint32_t, ValueType>> local_decls; variable
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/wasm/ |
H A D | local-decl-encoder.cc | 32 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit() 33 for (auto& local_decl : local_decls) { in Emit() 55 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals() 56 count += local_decls.back().first; in AddLocals() 57 local_decls.pop_back(); in AddLocals() 59 local_decls.push_back(std::pair<uint32_t, ValueType>(count, type)); in AddLocals() 66 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); in Size() 67 for (auto p : local_decls) { in Size()
|
H A D | local-decl-encoder.h | 21 : sig(s), local_decls(zone), total(0) {} in sig() 41 ZoneVector<std::pair<uint32_t, ValueType>> local_decls; variable
|
/dports/lang/v8/v8-9.6.180.12/src/wasm/ |
H A D | local-decl-encoder.cc | 33 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit() 34 for (auto& local_decl : local_decls) { in Emit() 59 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals() 60 count += local_decls.back().first; in AddLocals() 61 local_decls.pop_back(); in AddLocals() 63 local_decls.push_back(std::pair<uint32_t, ValueType>(count, type)); in AddLocals() 70 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); in Size() 71 for (auto p : local_decls) { in Size()
|
H A D | local-decl-encoder.h | 25 : sig(s), local_decls(zone), total(0) {} in sig() 45 ZoneVector<std::pair<uint32_t, ValueType>> local_decls; variable
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/mir/ |
H A D | tcx.rs | 119 local_decls: &D, in ty_from() 127 .fold(PlaceTy::from_ty(local_decls.local_decls()[local].ty), |place_ty, &elem| { in ty_from() 136 Place::ty_from(self.local, &self.projection, local_decls, tcx) in ty() 145 Place::ty_from(self.local, &self.projection, local_decls, tcx) in ty() 160 Rvalue::Use(ref operand) => operand.ty(local_decls, tcx), in ty() 176 let place_ty = place.ty(local_decls, tcx).ty; in ty() 180 let place_ty = place.ty(local_decls, tcx).ty; in ty() 186 let lhs_ty = lhs.ty(local_decls, tcx); in ty() 187 let rhs_ty = rhs.ty(local_decls, tcx); in ty() 191 let lhs_ty = lhs.ty(local_decls, tcx); in ty() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_transform/src/ |
H A D | normalize_array_len.rs | 26 if body.local_decls().len() > MAX_NUM_LOCALS { in run_pass() 34 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in normalize_array_len_calls() 37 let mut interesting_locals = BitSet::new_empty(local_decls.len()); in normalize_array_len_calls() 38 for (local, decl) in local_decls.iter_enumerated() { in normalize_array_len_calls() 68 local_decls, in normalize_array_len_calls() 84 local_decls: &'a mut IndexVec<Local, LocalDecl<'tcx>>, field 113 let ty = operand.ty(self.local_decls, self.tcx); in patch_expand_statement() 115 let local = self.local_decls.push(local_decl); in patch_expand_statement() 196 local_decls: &mut IndexVec<Local, LocalDecl<'tcx>>, in normalize_array_len_call() 223 let operand_ty = local_decls[operand_local].ty; in normalize_array_len_call() [all …]
|
H A D | remove_zsts.rs | 17 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in run_pass() 21 let place_ty = place.ty(local_decls, tcx).ty; in run_pass() 32 if involves_a_union(place, local_decls, tcx) { in run_pass() 66 local_decls: &LocalDecls<'tcx>, in involves_a_union() 69 let mut place_ty = PlaceTy::from_ty(local_decls[place.local].ty); in involves_a_union()
|
H A D | deaggregator.rs | 10 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in run_pass() 11 let local_decls = &*local_decls; in run_pass() localVariable 39 let ty = op.ty(local_decls, tcx); in run_pass()
|
H A D | lower_slice_len.rs | 25 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in lower_slice_len_calls() 29 lower_slice_len_call(tcx, block, &*local_decls, slice_len_fn_item_def_id); in lower_slice_len_calls() 41 local_decls: &IndexVec<Local, LocalDecl<'tcx>>, in lower_slice_len_call() 64 let func_ty = func.ty(local_decls, tcx); in lower_slice_len_call()
|
H A D | instcombine.rs | 15 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in run_pass() 16 let ctx = InstCombineContext { tcx, local_decls }; in run_pass() 34 local_decls: &'a LocalDecls<'tcx>, field 97 base.ty(self.local_decls, self.tcx).ty.kind() in combine_ref_deref() 119 let place_ty = place.ty(self.local_decls, self.tcx).ty; in combine_len()
|
H A D | simplify.rs | 389 let map = make_local_map(&mut body.local_decls, &used_locals); in simplify_locals() 397 body.local_decls.shrink_to_fit(); in simplify_locals() 403 local_decls: &mut IndexVec<Local, V>, in make_local_map() 406 let mut map: IndexVec<Local, Option<Local>> = IndexVec::from_elem(None, &*local_decls); in make_local_map() 409 for alive_index in local_decls.indices() { in make_local_map() 417 local_decls.swap(alive_index, used); in make_local_map() 421 local_decls.truncate(used.index()); in make_local_map() 438 use_count: IndexVec::from_elem(0, &body.local_decls), in new()
|
H A D | add_retag.rs | 70 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in run_pass() 74 is_stable(place.as_ref()) && may_be_reference(place.ty(&*local_decls, tcx).ty) in run_pass() 82 let ty = Place::ty_from(place.local, base_proj, &*local_decls, tcx).ty; in run_pass() 97 let places = local_decls in run_pass()
|
H A D | const_debuginfo.rs | 50 local_mutating_uses: IndexVec::from_elem(0, &body.local_decls), in find_optimization_oportunities() 51 local_assignment_locations: IndexVec::from_elem(None, &body.local_decls), in find_optimization_oportunities() 56 let mut locals_to_debuginfo = BitSet::new_empty(body.local_decls.len()); in find_optimization_oportunities()
|
H A D | dest_prop.rs | 148 let mut relevant_locals = BitSet::new_empty(body.local_decls.len()); in run_pass() 161 body.local_decls.len(), in run_pass() 184 let mut replacements = Replacements::new(body.local_decls.len()); in run_pass() 410 &BitSet::new_empty(body.local_decls.len()), in build() 411 body.local_decls.len(), in build() 469 unify_cache: BitSet::new_empty(body.local_decls.len()), in build() 474 for local in 0..body.local_decls.len() { in build() 495 BitSet::new_empty(body.local_decls.len()) in build() 911 let mut place_ty = PlaceTy::from_ty(self.body.local_decls[dest.local].ty); in visit_statement() 949 let mut visitor = BorrowCollector { locals: BitSet::new_empty(body.local_decls.len()) }; in ever_borrowed_locals() [all …]
|
H A D | remove_unneeded_drops.rs | 19 let (basic_blocks, local_decls) = body.basic_blocks_and_local_decls_mut(); in run_pass() 23 let ty = place.ty(local_decls, tcx); in run_pass()
|
H A D | shim.rs | 208 local_decls: IndexVec<Local, LocalDecl<'tcx>>, in new_body() 226 local_decls, in new_body() 326 local_decls: IndexVec<Local, LocalDecl<'tcx>>, field 345 local_decls: local_decls_for_sig(&sig, span), in new() 361 self.local_decls, in into_mir() 412 Place::from(self.local_decls.push(local)) in make_place() 584 let mut local_decls = local_decls_for_sig(&sig, span); in build_call_shim() localVariable 598 let ref_rcvr = local_decls.push( in build_call_shim() 718 local_decls, in build_call_shim() 749 let local_decls = local_decls_for_sig(&sig, span); in build_adt_ctor() localVariable [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/type_check/ |
H A D | input_output.rs | 74 debug!(?normalized_input_tys, ?body.local_decls); in equate_inputs_and_outputs() 78 if argument_index + 1 >= body.local_decls.len() { in equate_inputs_and_outputs() 88 let mir_input_ty = body.local_decls[local].ty; in equate_inputs_and_outputs() 90 let mir_input_span = body.local_decls[local].source_info.span; in equate_inputs_and_outputs() 105 let mir_input_ty = body.local_decls[local].ty; in equate_inputs_and_outputs() 106 let mir_input_span = body.local_decls[local].source_info.span; in equate_inputs_and_outputs() 123 let yield_span = body.local_decls[RETURN_PLACE].source_info.span; in equate_inputs_and_outputs() 128 let mir_output_ty = body.local_decls[RETURN_PLACE].ty; in equate_inputs_and_outputs() 129 let output_span = body.local_decls[RETURN_PLACE].source_info.span; in equate_inputs_and_outputs()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_const_eval/src/util/ |
H A D | alignment.rs | 10 local_decls: &L, in is_disaligned() 18 let pack = match is_within_packed(tcx, local_decls, place) { in is_disaligned() 26 let ty = place.ty(local_decls, tcx).ty; in is_disaligned() 48 local_decls: &L, in is_within_packed() 59 let ty = place_base.ty(local_decls, tcx).ty; in is_within_packed()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_const_eval/src/transform/ |
H A D | validate.rs | 189 if self.body.local_decls.get(*local).is_none() { in visit_local() 211 let ty = place.ty(&self.body.local_decls, self.tcx).ty; in visit_operand() 232 let index_ty = self.body.local_decls[index].ty; in visit_projection_elem() 244 let left_ty = dest.ty(&self.body.local_decls, self.tcx).ty; in visit_statement() 245 let right_ty = rvalue.ty(&self.body.local_decls, self.tcx); in visit_statement() 322 let src_ty = src.ty(&self.body.local_decls, self.tcx); in visit_statement() 332 let dst_ty = dst.ty(&self.body.local_decls, self.tcx); in visit_statement() 348 let op_cnt_ty = count.ty(&self.body.local_decls, self.tcx); in visit_statement() 371 let ty = discr.ty(&self.body.local_decls, self.tcx); in visit_terminator() 423 let func_ty = func.ty(&self.body.local_decls, self.tcx); in visit_terminator() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/ |
H A D | redundant_clone.rs | 360 && has_drop(cx, mir::Place::ty_from(local, projection, &mir.local_decls, cx.tcx).ty); in base_local_and_movability() 471 BitSet::new_empty(body.local_decls.len()) in bottom_value() 542 for row in (1..self.body.local_decls.len()).map(mir::Local::from_usize) { in into_map() 543 if is_copy(cx, self.body.local_decls[row].ty) { in into_map() 549 let mut bs = HybridBitSet::new_empty(self.body.local_decls.len()); in into_map() 562 let bs = BitSet::new_empty(self.body.local_decls.len()); in into_map() 580 .visit_ty(place.ty(&self.body.local_decls, self.cx.tcx).ty) in visit_assign() 629 .visit_ty(self.body.local_decls[*dest].ty) in visit_terminator() 665 for row in (1..self.body.local_decls.len()).map(mir::Local::from_usize) { in into_map() 666 if is_copy(cx, self.body.local_decls[row].ty) { in into_map() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_mir_build/src/build/ |
H A D | misc.rs | 20 let temp = self.local_decls.push(LocalDecl::new(ty, span).internal()); in temp() 22 debug!("temp: created temp {:?} with type {:?}", place, self.local_decls[temp].ty); in temp() 69 let ty = place.ty(&self.local_decls, tcx).ty; in consume_by_copy_or_move()
|