Lines Matching defs:Type

24 impl PartialEq for Type {  implementation
30 impl fmt::Debug for Type { implementation
42 crate fn type_named_struct(&self, name: &str) -> &'ll Type { in type_named_struct()
47 crate fn set_struct_body(&self, ty: &'ll Type, els: &[&'ll Type], packed: bool) { in set_struct_body()
51 crate fn type_void(&self) -> &'ll Type { in type_void()
55 crate fn type_metadata(&self) -> &'ll Type { in type_metadata()
60 crate fn type_ix(&self, num_bits: u64) -> &'ll Type { in type_ix()
64 crate fn type_vector(&self, ty: &'ll Type, len: u64) -> &'ll Type { in type_vector()
68 crate fn func_params_types(&self, ty: &'ll Type) -> Vec<&'ll Type> { in func_params_types()
78 crate fn type_bool(&self) -> &'ll Type { in type_bool()
82 crate fn type_int_from_ty(&self, t: ty::IntTy) -> &'ll Type { in type_int_from_ty()
93 crate fn type_uint_from_ty(&self, t: ty::UintTy) -> &'ll Type { in type_uint_from_ty()
104 crate fn type_float_from_ty(&self, t: ty::FloatTy) -> &'ll Type { in type_float_from_ty()
111 crate fn type_pointee_for_align(&self, align: Align) -> &'ll Type { in type_pointee_for_align()
119 crate fn type_padding_filler(&self, size: Size, align: Align) -> &'ll Type { in type_padding_filler()
127 crate fn type_variadic_func(&self, args: &[&'ll Type], ret: &'ll Type) -> &'ll Type { in type_variadic_func()
131 crate fn type_array(&self, ty: &'ll Type, len: u64) -> &'ll Type { in type_array()
137 fn type_i1(&self) -> &'ll Type { in type_i1()
141 fn type_i8(&self) -> &'ll Type { in type_i8()
145 fn type_i16(&self) -> &'ll Type { in type_i16()
149 fn type_i32(&self) -> &'ll Type { in type_i32()
153 fn type_i64(&self) -> &'ll Type { in type_i64()
157 fn type_i128(&self) -> &'ll Type { in type_i128()
161 fn type_isize(&self) -> &'ll Type { in type_isize()
165 fn type_f32(&self) -> &'ll Type { in type_f32()
169 fn type_f64(&self) -> &'ll Type { in type_f64()
173 fn type_func(&self, args: &[&'ll Type], ret: &'ll Type) -> &'ll Type { in type_func()
177 fn type_struct(&self, els: &[&'ll Type], packed: bool) -> &'ll Type { in type_struct()
192 fn type_ptr_to(&self, ty: &'ll Type) -> &'ll Type { in type_ptr_to()
201 fn type_ptr_to_ext(&self, ty: &'ll Type, address_space: AddressSpace) -> &'ll Type { in type_ptr_to_ext()
205 fn element_type(&self, ty: &'ll Type) -> &'ll Type { in element_type()
231 fn val_ty(&self, v: &'ll Value) -> &'ll Type { in val_ty()
236 impl Type { implementation
237 pub fn i8_llcx(llcx: &llvm::Context) -> &Type { in i8_llcx()
242 pub fn ix_llcx(llcx: &llvm::Context, num_bits: u64) -> &Type { in ix_llcx()
246 pub fn i8p_llcx(llcx: &llvm::Context) -> &Type { in i8p_llcx()
250 fn ptr_to(&self, address_space: AddressSpace) -> &Type { in ptr_to()
256 fn backend_type(&self, layout: TyAndLayout<'tcx>) -> &'ll Type { in backend_type()
259 fn immediate_backend_type(&self, layout: TyAndLayout<'tcx>) -> &'ll Type { in immediate_backend_type()
276 ) -> &'ll Type { in scalar_pair_element_backend_type()
279 fn cast_backend_type(&self, ty: &CastTarget) -> &'ll Type { in cast_backend_type()
282 fn fn_decl_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> &'ll Type { in fn_decl_backend_type()
285 fn fn_ptr_backend_type(&self, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> &'ll Type { in fn_ptr_backend_type()
288 fn reg_backend_type(&self, ty: &Reg) -> &'ll Type { in reg_backend_type()