Home
last modified time | relevance | path

Searched defs:gcc (Results 1 – 22 of 22) sorted by relevance

/third_party/rust/rust/compiler/rustc_codegen_gcc/src/
Dbuilder.rs77 fn with_cx(cx: &'a CodegenCx<'gcc, 'tcx>, block: Block<'gcc>) -> Self { in with_cx()
85 …t self, operation: ExtremumOperation, dst: RValue<'gcc>, src: RValue<'gcc>, order: AtomicOrdering)… in atomic_extremum()
130 …&self, dst: RValue<'gcc>, cmp: LValue<'gcc>, src: RValue<'gcc>, order: AtomicOrdering, failure_ord… in compare_exchange()
148 pub fn assign(&self, lvalue: LValue<'gcc>, value: RValue<'gcc>) { in assign()
152 … check_call<'b>(&mut self, _typ: &str, func: Function<'gcc>, args: &'b [RValue<'gcc>]) -> Cow<'b, in check_call()
189 …k_ptr_call<'b>(&mut self, _typ: &str, func_ptr: RValue<'gcc>, args: &'b [RValue<'gcc>]) -> Cow<'b,… in check_ptr_call()
250 fn check_store(&mut self, val: RValue<'gcc>, ptr: RValue<'gcc>) -> RValue<'gcc> { in check_store()
263 pub fn current_func(&self) -> Function<'gcc> { in current_func()
267 …fn function_call(&mut self, func: RValue<'gcc>, args: &[RValue<'gcc>], _funclet: Option<&Funclet>)… in function_call()
290 …_ptr_call(&mut self, typ: Type<'gcc>, mut func_ptr: RValue<'gcc>, args: &[RValue<'gcc>], _funclet:… in function_ptr_call()
[all …]
Dtype_.rs13 pub fn type_ix(&self, num_bits: u64) -> Type<'gcc> { in type_ix()
29 pub fn type_void(&self) -> Type<'gcc> { in type_void()
33 pub fn type_size_t(&self) -> Type<'gcc> { in type_size_t()
37 pub fn type_u8(&self) -> Type<'gcc> { in type_u8()
41 pub fn type_u16(&self) -> Type<'gcc> { in type_u16()
45 pub fn type_u32(&self) -> Type<'gcc> { in type_u32()
49 pub fn type_u64(&self) -> Type<'gcc> { in type_u64()
53 pub fn type_u128(&self) -> Type<'gcc> { in type_u128()
57 pub fn type_pointee_for_align(&self, align: Align) -> Type<'gcc> { in type_pointee_for_align()
63 pub fn type_vector(&self, ty: Type<'gcc>, len: u64) -> Type<'gcc> { in type_vector()
[all …]
Dcommon.rs19 pub fn const_bytes(&self, bytes: &[u8]) -> RValue<'gcc> { in const_bytes()
23 fn global_string(&self, string: &str) -> LValue<'gcc> { in global_string()
34 pub fn bytes_in_context<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, bytes: &[u8]) -> RValue<'gcc> { in bytes_in_context()
50 fn const_null(&self, typ: Type<'gcc>) -> RValue<'gcc> { in const_null()
59 fn const_undef(&self, typ: Type<'gcc>) -> RValue<'gcc> { in const_undef()
74 fn const_poison(&self, typ: Type<'gcc>) -> RValue<'gcc> { in const_poison()
79 fn const_int(&self, typ: Type<'gcc>, int: i64) -> RValue<'gcc> { in const_int()
83 fn const_uint(&self, typ: Type<'gcc>, int: u64) -> RValue<'gcc> { in const_uint()
87 fn const_uint_big(&self, typ: Type<'gcc>, num: u128) -> RValue<'gcc> { in const_uint_big()
91 fn const_bool(&self, val: bool) -> RValue<'gcc> { in const_bool()
[all …]
Dint.rs16 pub fn gcc_urem(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_urem()
21 pub fn gcc_srem(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_srem()
26 pub fn gcc_not(&self, a: RValue<'gcc>) -> RValue<'gcc> { in gcc_not()
49 pub fn gcc_neg(&self, a: RValue<'gcc>) -> RValue<'gcc> { in gcc_neg()
61 pub fn gcc_and(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_and()
65 pub fn gcc_lshr(&mut self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_lshr()
152 …fn additive_operation(&self, operation: BinaryOp, a: RValue<'gcc>, mut b: RValue<'gcc>) -> RValue<… in additive_operation()
185 pub fn gcc_add(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_add()
189 pub fn gcc_mul(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_mul()
193 pub fn gcc_sub(&self, a: RValue<'gcc>, b: RValue<'gcc>) -> RValue<'gcc> { in gcc_sub()
[all …]
Ddeclare.rs12 …et_or_insert_global(&self, name: &str, ty: Type<'gcc>, is_tls: bool, link_section: Option<Symbol>)… in get_or_insert_global()
29 pub fn declare_unnamed_global(&self, ty: Type<'gcc>) -> LValue<'gcc> { in declare_unnamed_global()
34 …fn declare_global_with_linkage(&self, name: &str, ty: Type<'gcc>, linkage: GlobalKind) -> LValue<'… in declare_global_with_linkage()
41 … fn declare_func(&self, name: &str, return_type: Type<'gcc>, params: &[Type<'gcc>], variadic: bool… in declare_func()
46 …global(&self, name: &str, ty: Type<'gcc>, global_kind: GlobalKind, is_tls: bool, link_section: Opt… in declare_global()
59 pub fn declare_private_global(&self, name: &str, ty: Type<'gcc>) -> LValue<'gcc> { in declare_private_global()
66 … fn declare_entry_fn(&self, name: &str, _fn_type: Type<'gcc>, callconv: () /*llvm::CCallConv*/) ->… in declare_entry_fn()
80 pub fn declare_fn(&self, name: &str, fn_abi: &FnAbi<'tcx, Ty<'tcx>>) -> Function<'gcc> { in declare_fn()
87 …ub fn define_global(&self, name: &str, ty: Type<'gcc>, is_tls: bool, link_section: Option<Symbol>)… in define_global()
91 pub fn get_declared_value(&self, name: &str) -> Option<RValue<'gcc>> { in get_declared_value()
[all …]
Dabi.rs34 fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc> { in gcc_type()
78 fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc>; in gcc_type()
82 fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, '_>) -> Type<'gcc> { in gcc_type()
99 …fn gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> (Type<'gcc>, Vec<Type<'gcc>>, bool, FxHashSet<us… in gcc_type()
100 fn ptr_to_gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; in ptr_to_gcc_type()
104 …fn gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> (Type<'gcc>, Vec<Type<'gcc>>, bool, FxHashSet<us… in gcc_type()
154 fn ptr_to_gcc_type(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { in ptr_to_gcc_type()
Dtype_of.rs17 fn type_from_unsigned_integer(&self, i: Integer) -> Type<'gcc> { in type_from_unsigned_integer()
29 pub fn type_int_from_ty(&self, t: ty::IntTy) -> Type<'gcc> { in type_int_from_ty()
41 pub fn type_uint_from_ty(&self, t: ty::UintTy) -> Type<'gcc> { in type_uint_from_ty()
59 …gcc_type<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, layout: TyAndLayout<'tcx>, defer: &mut Option<(St… in uncached_gcc_type()
150 fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; in gcc_type()
151 fn immediate_gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; in immediate_gcc_type()
152 …fn scalar_gcc_type_at<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>, scalar: &abi::Scalar, offset: Size)… in scalar_gcc_type_at()
153 …alar_pair_element_gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>, index: usize, immediate: bool)… in scalar_pair_element_gcc_type()
155 … fn pointee_info_at<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>, offset: Size) -> Option<PointeeInfo>; in pointee_info_at()
184 fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { in gcc_type()
[all …]
Dconsts.rs19 fn set_global_alignment<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, gv: LValue<'gcc>, mut align: Align)… in set_global_alignment()
35 fn static_addr_of(&self, cv: RValue<'gcc>, align: Align, kind: Option<&str>) -> RValue<'gcc> { in static_addr_of()
158 fn add_used_global(&self, _global: RValue<'gcc>) { in add_used_global()
162 fn add_compiler_used_global(&self, global: RValue<'gcc>) { in add_compiler_used_global()
170 pub fn add_used_function(&self, function: Function<'gcc>) { in add_used_function()
175 …pub fn static_addr_of_mut(&self, cv: RValue<'gcc>, align: Align, kind: Option<&str>) -> RValue<'gc… in static_addr_of_mut()
199 pub fn get_static(&self, def_id: DefId) -> LValue<'gcc> { in get_static()
281 pub fn const_alloc_to_gcc<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, alloc: ConstAllocation<'tcx>) -> … in const_alloc_to_gcc()
339 pub fn codegen_static_initializer<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, def_id: DefId) -> Result<… in codegen_static_initializer()
344 … check_and_apply_linkage<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, attrs: &CodegenFnAttrs, ty: Ty<'t… in check_and_apply_linkage()
Dattributes.rs77 fn inline_attr<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, inline: InlineAttr) -> Option<FnAttribute<'g… in inline_attr()
94 pub fn from_fn_attrs<'gcc, 'tcx>( in from_fn_attrs()
95 cx: &CodegenCx<'gcc, 'tcx>, in from_fn_attrs()
96 #[cfg_attr(not(feature="master"), allow(unused_variables))] in from_fn_attrs()
Dcallee.rs17 pub fn get_fn<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, instance: Instance<'tcx>) -> Function<'gcc> { in get_fn()
Ddebuginfo.rs33 fn set_var_name(&mut self, _value: RValue<'gcc>, _name: &str) { in set_var_name()
56 _llfn: RValue<'gcc>, in create_function_debug_context()
90 _maybe_definition_llfn: Option<RValue<'gcc>>, in dbg_scope_fn()
Dcontext.rs128 …pub fn new(context: &'gcc Context<'gcc>, codegen_unit: &'tcx CodegenUnit<'tcx>, tcx: TyCtxt<'tcx>,… in new()
259 pub fn rvalue_as_function(&self, value: RValue<'gcc>) -> Function<'gcc> { in rvalue_as_function()
305 … pub fn bitcast_if_needed(&self, value: RValue<'gcc>, expected_type: Type<'gcc>) -> RValue<'gcc> { in bitcast_if_needed()
329 …es(&self) -> &RefCell<FxHashMap<(Ty<'tcx>, Option<PolyExistentialTraitRef<'tcx>>), RValue<'gcc>>> { in vtables()
333 fn get_fn(&self, instance: Instance<'tcx>) -> RValue<'gcc> { in get_fn()
340 fn get_fn_addr(&self, instance: Instance<'tcx>) -> RValue<'gcc> { in get_fn_addr()
361 fn eh_personality(&self) -> RValue<'gcc> { in eh_personality()
434 fn set_frame_pointer_type(&self, _llfn: RValue<'gcc>) { in set_frame_pointer_type()
438 fn apply_target_cpu_attr(&self, _llfn: RValue<'gcc>) { in apply_target_cpu_attr()
Dasm.rs649 fn dummy_output_type<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, reg: InlineAsmRegClass) -> Type<'gcc> { in dummy_output_type()
/third_party/rust/rust/compiler/rustc_codegen_gcc/src/intrinsic/
Dmod.rs38 fn get_simple_intrinsic<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, name: Symbol) -> Option<Function<'g… in get_simple_intrinsic()
91 …fn_abi: &FnAbi<'tcx, Ty<'tcx>>, args: &[OperandRef<'tcx, RValue<'gcc>>], llresult: RValue<'gcc>, s… in codegen_intrinsic_call()
387 fn va_start(&mut self, _va_list: RValue<'gcc>) -> RValue<'gcc> { in va_start()
391 fn va_end(&mut self, _va_list: RValue<'gcc>) -> RValue<'gcc> { in va_end()
401 …_arg(&mut self, arg_abi: &ArgAbi<'tcx, Ty<'tcx>>, val: RValue<'gcc>, dst: PlaceRef<'tcx, RValue<'g… in store_arg()
405 fn arg_memory_ty(&self, arg_abi: &ArgAbi<'tcx, Ty<'tcx>>) -> Type<'gcc> { in arg_memory_ty()
411 fn memory_ty(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc>; in memory_ty()
412 …fn store(&self, bx: &mut Builder<'_, 'gcc, 'tcx>, val: RValue<'gcc>, dst: PlaceRef<'tcx, RValue<'g… in store()
413 …fn store_fn_arg(&self, bx: &mut Builder<'_, 'gcc, 'tcx>, idx: &mut usize, dst: PlaceRef<'tcx, RVal… in store_fn_arg()
419 fn memory_ty(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { in memory_ty()
[all …]
Dllvm.rs8 …c_arguments<'a, 'b, 'gcc, 'tcx>(builder: &Builder<'a, 'gcc, 'tcx>, gcc_func: FunctionPtrType<'gcc> in adjust_intrinsic_arguments()
330'gcc, 'tcx>(builder: &Builder<'a, 'gcc, 'tcx>, mut return_value: RValue<'gcc>, func_name: &str, ar… in adjust_intrinsic_return_value()
415 pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function<'gcc> { in intrinsic()
428 pub fn intrinsic<'gcc, 'tcx>(name: &str, cx: &CodegenCx<'gcc, 'tcx>) -> Function<'gcc> { in intrinsic()
Dsimd.rs38 pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>( in generic_simd_intrinsic()
42 args: &[OperandRef<'tcx, RValue<'gcc>>], in generic_simd_intrinsic()
44 llret_ty: Type<'gcc>, in generic_simd_intrinsic()
46 ) -> Result<RValue<'gcc>, ()> { in generic_simd_intrinsic()
403 fn simd_simple_float_intrinsic<'gcc, 'tcx>( in generic_simd_intrinsic()
410 args: &[OperandRef<'tcx, RValue<'gcc>>], in generic_simd_intrinsic()
411 ) -> Result<RValue<'gcc>, ()> { in generic_simd_intrinsic()
504 …fn vector_ty<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, elem_ty: Ty<'tcx>, vec_len: u64) -> Type<'gcc… in generic_simd_intrinsic()
516'gcc, 'tcx>(default: RValue<'gcc>, pointers: RValue<'gcc>, mask: RValue<'gcc>, pointer_count: usiz… in generic_simd_intrinsic()
/third_party/rust/rust/src/tools/miri/tests/
Davr.json16 "gcc": ["-mmcu=atmega328p"] array
19 "gcc": ["-lgcc"] array
/third_party/rust/rust/tests/run-make/target-specs/
Dendianness-mismatch.json2 "pre-link-args": {"gcc": ["-m64"]}, array
Dmy-x86_64-unknown-linux-gnu-platform.json2 "pre-link-args": {"gcc": ["-m64"]}, array
/third_party/rust/rust/tests/run-make/rustdoc-target-spec-json-path/
Dtarget.json17 "gcc": [ array
/third_party/rust/rust/src/bootstrap/
Dcc_detect.rs259 fn gcc(self) -> &'static str { in gcc() method
/third_party/rust/crates/rust-openssl/openssl-sys/build/
Dmain.rs156 let mut gcc = cc::Build::new(); in validate_headers() localVariable