Home
last modified time | relevance | path

Searched refs:ClangAbi (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/bindgen/bindgen/ir/
Dfunction.rs238 pub(crate) enum ClangAbi { enum
244 impl ClangAbi { implementation
247 matches!(*self, ClangAbi::Unknown(..)) in is_unknown()
251 impl quote::ToTokens for ClangAbi { implementation
281 abi: ClangAbi,
284 fn get_abi(cc: CXCallingConv) -> ClangAbi { in get_abi() argument
287 CXCallingConv_Default => ClangAbi::Known(Abi::C), in get_abi()
288 CXCallingConv_C => ClangAbi::Known(Abi::C), in get_abi()
289 CXCallingConv_X86StdCall => ClangAbi::Known(Abi::Stdcall), in get_abi()
290 CXCallingConv_X86FastCall => ClangAbi::Known(Abi::Fastcall), in get_abi()
[all …]
/third_party/rust/crates/bindgen/bindgen/codegen/
Ddyngen.rs3 use crate::ir::function::ClangAbi;
130 abi: ClangAbi, in push() argument
Dmod.rs37 Abi, ClangAbi, Function, FunctionKind, FunctionSig, Linkage,
2485 ClangAbi::Known(Abi::ThisCall) => { in codegen_method()
2488 ClangAbi::Known(Abi::Vectorcall) => { in codegen_method()
2491 ClangAbi::Known(Abi::CUnwind) => { in codegen_method()
3989 ClangAbi::Known(Abi::ThisCall) in try_to_rust_ty()
3995 ClangAbi::Known(Abi::Vectorcall) in try_to_rust_ty()
4001 ClangAbi::Known(Abi::CUnwind) in try_to_rust_ty()
4111 ClangAbi::Known(Abi::ThisCall) in codegen()
4117 ClangAbi::Known(Abi::Vectorcall) in codegen()
4123 ClangAbi::Known(Abi::CUnwind) in codegen()
[all …]