/dports/devel/texlab/texlab-3.3.0/cargo-crates/string-interner-0.12.2/src/ |
H A D | symbol.rs | 65 struct $name:ident($non_zero:ty; $base_ty:ty); 76 <$non_zero>::new((index as $base_ty).wrapping_add(1)) 143 ( $test_name:ident: struct $name:ident($non_zero:ty; $base_ty:ty); ) => { 150 value: <$non_zero>::new(val as $base_ty + 1).unwrap() 155 <$name>::try_from_usize(<$base_ty>::MAX as usize - 1), 157 value: <$non_zero>::new(<$base_ty>::MAX).unwrap() 160 assert_eq!(<$name>::try_from_usize(<$base_ty>::MAX as usize), None);
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/check/ |
H A D | autoderef.rs | 14 pub fn autoderef(&'a self, span: Span, base_ty: Ty<'tcx>) -> Autoderef<'a, 'tcx> { in autoderef() 15 Autoderef::new(self, self.param_env, self.body_id, span, base_ty, span) in autoderef() 23 base_ty: Ty<'tcx>, in autoderef_overloaded_span() 26 Autoderef::new(self, self.param_env, self.body_id, span, base_ty, overloaded_span) in autoderef_overloaded_span() 32 base_ty: Ty<'tcx>, in try_overloaded_deref() 34 self.try_overloaded_place_op(span, base_ty, &[], PlaceOp::Deref) in try_overloaded_deref()
|
H A D | place_op.rs | 51 base_ty: Ty<'tcx>, in lookup_indexing() 59 let mut autoderef = self.autoderef(base_expr.span, base_ty); in lookup_indexing() 201 base_ty: Ty<'tcx>, in try_overloaded_place_op() 205 debug!("try_overloaded_place_op({:?},{:?},{:?})", span, base_ty, op); in try_overloaded_place_op() 231 base_ty, in try_overloaded_place_op() 240 base_ty: Ty<'tcx>, in try_mutable_overloaded_place_op() 244 debug!("try_mutable_overloaded_place_op({:?},{:?},{:?})", span, base_ty, op); in try_mutable_overloaded_place_op() 270 base_ty, in try_mutable_overloaded_place_op() 377 let base_ty = self in convert_place_op_to_mutable() localVariable 404 let method = self.try_mutable_overloaded_place_op(expr.span, base_ty, arg_tys, op); in convert_place_op_to_mutable()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_middle/src/hir/ |
H A D | place.rs | 87 pub base_ty: Ty<'tcx>, field 109 base_ty: Ty<'tcx>, in new() 113 PlaceWithHirId { hir_id, place: Place { base_ty, base, projections } } in new() 136 self.projections.last().map_or(self.base_ty, |proj| proj.ty) in ty() 143 if projection_index == 0 { self.base_ty } else { self.projections[projection_index - 1].ty } in ty_before_projection()
|
/dports/devel/llvm10/llvm-10.0.1.src/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1254 template <typename base_ty, base_ty BestState, base_ty WorstState> 1256 using base_t = base_ty; 1338 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1339 base_ty WorstState = 0> 1342 using base_t = base_ty; 1397 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1398 base_ty WorstState = 0> 1401 using base_t = base_ty; 1436 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1437 using base_t = base_ty; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1254 template <typename base_ty, base_ty BestState, base_ty WorstState> 1256 using base_t = base_ty; 1338 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1339 base_ty WorstState = 0> 1342 using base_t = base_ty; 1397 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1398 base_ty WorstState = 0> 1401 using base_t = base_ty; 1436 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1437 using base_t = base_ty; [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1254 template <typename base_ty, base_ty BestState, base_ty WorstState> 1256 using base_t = base_ty; 1338 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1339 base_ty WorstState = 0> 1342 using base_t = base_ty; 1397 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1398 base_ty WorstState = 0> 1401 using base_t = base_ty; 1436 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1437 using base_t = base_ty; [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/ |
H A D | path_utils.rs | 160 let base_ty = place_base.ty(body, tcx).ty; in is_upvar_field_projection() localVariable 161 if (base_ty.is_closure() || base_ty.is_generator()) in is_upvar_field_projection()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_typeck/src/ |
H A D | mem_categorization.rs | 204 let base_ty = self.node_ty(pat.hir_id)?; in pat_ty_unadjusted() localVariable 205 debug!("pat_ty(pat={:?}) base_ty={:?}", pat, base_ty); in pat_ty_unadjusted() 221 match base_ty.builtin_deref(false) { in pat_ty_unadjusted() 224 debug!("By-ref binding of non-derefable type {:?}", base_ty); in pat_ty_unadjusted() 229 base_ty in pat_ty_unadjusted() 232 _ => base_ty, in pat_ty_unadjusted() 467 base_place.place.base_ty, in cat_projection() 486 let base_ty = self.expr_ty_adjusted(base)?; in cat_overloaded_place() localVariable 488 let (region, mutbl) = match *base_ty.kind() { in cat_overloaded_place() 518 base_place.place.base_ty, in cat_deref()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1499 template <typename base_ty, base_ty BestState, base_ty WorstState> 1501 using base_t = base_ty; 1599 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1600 base_ty WorstState = 0> 1603 using base_t = base_ty; 1658 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1659 base_ty WorstState = 0> 1663 using base_t = base_ty; 1708 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1709 using base_t = base_ty; [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1499 template <typename base_ty, base_ty BestState, base_ty WorstState> 1501 using base_t = base_ty; 1599 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1600 base_ty WorstState = 0> 1603 using base_t = base_ty; 1658 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1659 base_ty WorstState = 0> 1663 using base_t = base_ty; 1708 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1709 using base_t = base_ty; [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1751 template <typename base_ty, base_ty BestState, base_ty WorstState> 1753 using base_t = base_ty; 1851 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1852 base_ty WorstState = 0> 1855 using base_t = base_ty; 1910 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1911 base_ty WorstState = 0> 1915 using base_t = base_ty; 1960 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1961 using base_t = base_ty; [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1750 template <typename base_ty, base_ty BestState, base_ty WorstState> 1752 using base_t = base_ty; 1850 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1851 base_ty WorstState = 0> 1854 using base_t = base_ty; 1909 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1910 base_ty WorstState = 0> 1914 using base_t = base_ty; 1959 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1960 using base_t = base_ty; [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 1750 template <typename base_ty, base_ty BestState, base_ty WorstState> 1752 using base_t = base_ty; 1850 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1851 base_ty WorstState = 0> 1854 using base_t = base_ty; 1909 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 1910 base_ty WorstState = 0> 1914 using base_t = base_ty; 1959 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 1960 using base_t = base_ty; [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_ssa/src/mir/ |
H A D | analyze.rs | 114 let base_ty = place_base.ty(self.fx.mir, cx.tcx()); in process_place() localVariable 115 let base_ty = self.fx.monomorphize(base_ty); in process_place() localVariable 118 let elem_ty = base_ty.projection_ty(cx.tcx(), self.fx.monomorphize(elem)).ty; in process_place() 125 let layout = cx.spanned_layout_of(base_ty.ty, span); in process_place()
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_borrowck/src/type_check/ |
H A D | mod.rs | 690 let base_ty = base.ty; in sanitize_projection() localVariable 693 let deref_ty = base_ty.builtin_deref(true); in sanitize_projection() 710 PlaceTy::from_ty(base_ty.builtin_index().unwrap_or_else(|| { in sanitize_projection() 715 PlaceTy::from_ty(match base_ty.kind() { in sanitize_projection() 722 base_ty in sanitize_projection() 738 PlaceTy { ty: base_ty, variant_index: Some(index) } in sanitize_projection() 749 base_ty, in sanitize_projection() 800 base_ty: PlaceTy<'tcx>, in field_ty() 806 let (variant, substs) = match base_ty { in field_ty() 863 base_ty in field_ty() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 2114 template <typename base_ty, base_ty BestState, base_ty WorstState> 2116 using base_t = base_ty; 2214 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2215 base_ty WorstState = 0> 2218 using base_t = base_ty; 2273 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2274 base_ty WorstState = 0> 2278 using base_t = base_ty; 2323 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 2324 using base_t = base_ty; [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 2114 template <typename base_ty, base_ty BestState, base_ty WorstState> 2116 using base_t = base_ty; 2214 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2215 base_ty WorstState = 0> 2218 using base_t = base_ty; 2273 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2274 base_ty WorstState = 0> 2278 using base_t = base_ty; 2323 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 2324 using base_t = base_ty; [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 2114 template <typename base_ty, base_ty BestState, base_ty WorstState> 2116 using base_t = base_ty; 2214 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2215 base_ty WorstState = 0> 2218 using base_t = base_ty; 2273 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2274 base_ty WorstState = 0> 2278 using base_t = base_ty; 2323 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 2324 using base_t = base_ty; [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 2113 template <typename base_ty, base_ty BestState, base_ty WorstState> 2115 using base_t = base_ty; 2213 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2214 base_ty WorstState = 0> 2217 using base_t = base_ty; 2272 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2273 base_ty WorstState = 0> 2277 using base_t = base_ty; 2322 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 2323 using base_t = base_ty; [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 2114 template <typename base_ty, base_ty BestState, base_ty WorstState> 2116 using base_t = base_ty; 2214 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2215 base_ty WorstState = 0> 2218 using base_t = base_ty; 2273 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2274 base_ty WorstState = 0> 2278 using base_t = base_ty; 2323 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 2324 using base_t = base_ty; [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 2114 template <typename base_ty, base_ty BestState, base_ty WorstState> 2116 using base_t = base_ty; 2214 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2215 base_ty WorstState = 0> 2218 using base_t = base_ty; 2273 template <typename base_ty = uint32_t, base_ty BestState = ~base_ty(0), 2274 base_ty WorstState = 0> 2278 using base_t = base_ty; 2323 struct DecIntegerState : public IntegerStateBase<base_ty, 0, ~base_ty(0)> { 2324 using base_t = base_ty; [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_const_eval/src/transform/check_consts/ |
H A D | qualifs.rs | 246 let base_ty = place_base.ty(cx.body, cx.tcx).ty; in in_rvalue() localVariable 247 if let ty::Ref(..) = base_ty.kind() { in in_rvalue() 292 let base_ty = place_base.ty(cx.body, cx.tcx); in in_place() localVariable 293 let proj_ty = base_ty.projection_ty(cx.tcx, elem).ty; in in_place()
|
H A D | resolver.rs | 55 let base_ty = base.ty(self.ccx.body, self.ccx.tcx); in assign_qualif_direct() localVariable 56 if base_ty.ty.is_union() && Q::in_any_value_of_ty(self.ccx, base_ty.ty) { in assign_qualif_direct()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/rust/tvm-macros/src/ |
H A D | object.rs | 59 let (base_id, base_ty) = (f.ident.clone()?, f.ty.clone()); in macro_impl() 64 where #base_ty: AsRef<O> in macro_impl()
|