Home
last modified time | relevance | path

Searched full:abi (Results 1 – 25 of 1472) sorted by relevance

12345678910>>...59

/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchBaseInfo.cpp26 // Check if ABI has been standardized; issue a warning if it hasn't.
28 static ABI checkABIStandardized(ABI Abi) { in checkABIStandardized() argument
30 switch (Abi) { in checkABIStandardized()
45 return Abi; in checkABIStandardized()
50 return Abi; in checkABIStandardized()
53 static ABI getTripleABI(const Triple &TT) { in getTripleABI()
55 ABI TripleABI; in getTripleABI()
72 ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits, in computeTargetABI()
75 ABI ArgProvidedABI = getTargetABI(ABIName); in computeTargetABI()
76 ABI TripleABI = getTripleABI(TT); in computeTargetABI()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetCXXABI.def1 //===--- TargetCXXABI.def - Target C++ ABI database --------------- C++ -*-===//
9 // This file defines the various C++ ABI kinds used on different platforms.
16 #error Define the CXXABI macro to handle C++ ABI kinds.
27 /// The generic Itanium ABI is the standard ABI of most open-source
28 /// and Unix-like platforms. It is the primary ABI targeted by
32 /// http://www.codesourcery.com/public/cxx-abi/
35 /// The generic ARM ABI is a modified version of the Itanium ABI
53 /// The iOS ABI is a partial implementation of the ARM ABI.
54 /// Several of the features of the ARM ABI were not fully implemented
57 /// Essentially, the iOS ABI includes the ARM changes to:
[all …]
H A DTargetCXXABI.h1 //===--- TargetCXXABI.h - C++ ABI Target Configuration ----------*- C++ -*-===//
11 /// C++ ABI that we're targeting.
27 /// The basic abstraction for the target C++ ABI.
30 /// The basic C++ ABI kind.
65 // Return true if this target should use the relative vtables C++ ABI by
71 /// A bogus initialization of the platform ABI.
82 // Check that the kind provided by the fc++-abi flag is supported on this
86 // probably don't want to allow usage of an ARM ABI on an x86 architecture.
121 /// Does this ABI generally fall into the Itanium family of ABIs?
132 llvm_unreachable("bad ABI kind"); in isItaniumFamily()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroInternal.h53 enum class ABI { enum
105 coro::ABI ABI; member
155 assert(ABI == coro::ABI::Switch); in getSwitchCoroId()
160 assert(ABI == coro::ABI::Retcon || in getRetconCoroId()
161 ABI == coro::ABI::RetconOnce); in getRetconCoroId()
166 assert(ABI == coro::ABI::Async); in getAsyncCoroId()
171 assert(ABI == coro::ABI::Switch); in getSwitchIndexField()
176 assert(ABI == coro::ABI::Switch); in getIndexType()
185 assert(ABI == coro::ABI::Switch); in getSwitchResumePointerType()
191 switch (ABI) { in getResumeFunctionType()
[all …]
H A DCoroSplit.cpp124 assert(Shape.ABI == coro::ABI::Switch); in CoroCloner()
132 FKind(Shape.ABI == coro::ABI::Async ? Kind::Async : Kind::Continuation), in CoroCloner()
134 assert(Shape.ABI == coro::ABI::Retcon || in CoroCloner()
135 Shape.ABI == coro::ABI::RetconOnce || Shape.ABI == coro::ABI::Async); in CoroCloner()
252 assert(Shape.ABI == coro::ABI::Retcon || Shape.ABI == coro::ABI::RetconOnce); in maybeFreeRetconStorage()
312 switch (Shape.ABI) { in replaceFallthroughCoroEnd()
314 case coro::ABI::Switch: in replaceFallthroughCoroEnd()
325 case coro::ABI::Async: { in replaceFallthroughCoroEnd()
334 case coro::ABI::RetconOnce: { in replaceFallthroughCoroEnd()
371 case coro::ABI::Retcon: { in replaceFallthroughCoroEnd()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A DMakefile.am13 # This is the "Release" of the Libevent ABI. It takes precedence over
19 # that we can seriously expect ABI compatibility between series.
32 # If the ABI didn't change:
34 # If the ABI changed, but it's backward-compatible:
36 # If the ABI changed and it isn't backward-compatible:
39 # Once an RC is out, DO NOT MAKE ANY ABI-BREAKING CHANGES IN THAT SERIES
52 # 2.0.9-rc -- 2.0 5:0:0 (ABI changed slightly)
53 # 2.0.10-stable-- 2.0 5:1:0 (No ABI change)
54 # 2.0.11-stable-- 2.0 6:0:1 (ABI changed, backward-compatible)
55 # 2.0.12-stable-- 2.0 6:1:1 (No ABI change)
[all …]
/freebsd/contrib/libevent/
H A DMakefile.am13 # This is the "Release" of the Libevent ABI. It takes precedence over
19 # that we can seriously expect ABI compatibility between series.
32 # If the ABI didn't change:
34 # If the ABI changed, but it's backward-compatible:
36 # If the ABI changed and it isn't backward-compatible:
39 # Once an RC is out, DO NOT MAKE ANY ABI-BREAKING CHANGES IN THAT SERIES
52 # 2.0.9-rc -- 2.0 5:0:0 (ABI changed slightly)
53 # 2.0.10-stable-- 2.0 5:1:0 (No ABI change)
54 # 2.0.11-stable-- 2.0 6:0:1 (ABI changed, backward-compatible)
55 # 2.0.12-stable-- 2.0 6:1:1 (No ABI change)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsABIInfo.h1 //===---- MipsABIInfo.h - Information about MIPS ABI's --------------------===//
24 enum class ABI { Unknown, O32, N32, N64 }; enum
27 ABI ThisABI;
30 MipsABIInfo(ABI ThisABI) : ThisABI(ThisABI) {} in MipsABIInfo()
32 static MipsABIInfo Unknown() { return MipsABIInfo(ABI::Unknown); } in Unknown()
33 static MipsABIInfo O32() { return MipsABIInfo(ABI::O32); } in O32()
34 static MipsABIInfo N32() { return MipsABIInfo(ABI::N32); } in N32()
35 static MipsABIInfo N64() { return MipsABIInfo(ABI::N64); } in N64()
39 bool IsKnown() const { return ThisABI != ABI::Unknown; } in IsKnown()
40 bool IsO32() const { return ThisABI == ABI::O32; } in IsO32()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanCallFunctionUsingABI.cpp21 // ThreadPlanCallFunctionUsingABI: Plan to call a single function using the ABI
25 llvm::Type &return_type, llvm::ArrayRef<ABI::CallArgument> args, in ThreadPlanCallFunctionUsingABI()
31 ABI *abi = nullptr; in ThreadPlanCallFunctionUsingABI() local
33 if (!ConstructorSetup(thread, abi, start_load_addr, function_load_addr)) in ThreadPlanCallFunctionUsingABI()
36 if (!abi->PrepareTrivialCall(thread, m_function_sp, function_load_addr, in ThreadPlanCallFunctionUsingABI()
40 ReportRegisterState("ABI Function call was set up. Register state was:"); in ThreadPlanCallFunctionUsingABI()
50 s->Printf("Function call thread plan using ABI instead of JIT"); in GetDescription()
52 s->Printf("Thread plan to call 0x%" PRIx64 " using ABI instead of JIT", in GetDescription()
58 const ABI *abi = m_process.GetABI().get(); in SetReturnValue() local
60 // Ask the abi for the return value in SetReturnValue()
[all …]
H A DUnwindLLDB.cpp14 #include "lldb/Target/ABI.h"
53 ABI *abi = process_sp ? process_sp->GetABI().get() : nullptr; in DoGetFrameCount() local
55 while (AddOneMoreFrame(abi)) { in DoGetFrameCount()
76 ABI *abi = process_sp ? process_sp->GetABI().get() : nullptr; in AddFirstFrame() local
100 UpdateUnwindPlanForFirstFrameIfInvalid(abi); in AddFirstFrame()
114 UnwindLLDB::CursorSP UnwindLLDB::GetOneMoreFrame(ABI *abi) { in GetOneMoreFrame() argument
161 return GetOneMoreFrame(abi); in GetOneMoreFrame()
180 return GetOneMoreFrame(abi); in GetOneMoreFrame()
200 return GetOneMoreFrame(abi); in GetOneMoreFrame()
208 if (abi && !abi->CallFrameAddressIsValid(cursor_sp->cfa)) { in GetOneMoreFrame()
[all …]
H A DABI.cpp1 //===-- ABI.cpp -----------------------------------------------------------===//
9 #include "lldb/Target/ABI.h"
27 ABI::FindPlugin(lldb::ProcessSP process_sp, const ArchSpec &arch) { in FindPlugin()
44 ABI::~ABI() = default;
70 ValueObjectSP ABI::GetReturnValueObject(Thread &thread, CompilerType &ast_type, in GetReturnValueObject()
150 addr_t ABI::FixCodeAddress(lldb::addr_t pc) { in FixCodeAddress()
167 addr_t ABI::FixDataAddress(lldb::addr_t pc) { in FixDataAddress()
183 ValueObjectSP ABI::GetReturnValueObject(Thread &thread, llvm::Type &ast_type, in GetReturnValueObject()
194 lldb::ValueObjectSP ABI::GetReturnValueObjectImpl(Thread &thread, in GetReturnValueObjectImpl()
198 /* this is a dummy and will only be called if an ABI does not override this */ in GetReturnValueObjectImpl()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_type_hash_itanium.cpp9 // Implementation of type hashing/lookup for Itanium C++ ABI.
23 // given in the Itanium ABI. We make no attempt to be ODR-compatible with
24 // those definitions, since existing ABI implementations aren't.
86 namespace abi = __cxxabiv1;
129 static bool isDerivedFromAtOffset(const abi::__class_type_info *Derived, in isDerivedFromAtOffset()
130 const abi::__class_type_info *Base, in isDerivedFromAtOffset()
136 if (const abi::__si_class_type_info *SI = in isDerivedFromAtOffset()
137 dynamic_cast<const abi::__si_class_type_info*>(Derived)) in isDerivedFromAtOffset()
140 const abi::__vmi_class_type_info *VTI = in isDerivedFromAtOffset()
141 dynamic_cast<const abi::__vmi_class_type_info*>(Derived); in isDerivedFromAtOffset()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DABI.h1 //===-- ABI.h ---------------------------------------------------*- C++ -*-===//
27 class ABI : public PluginInterface {
41 ~ABI() override;
52 // . Because i don't want to change other ABI's this is not declared pure
80 // This is the method the ABI will call to actually calculate the return
82 // ABI::GetReturnValueObject.
92 /// This ABI object may not have been created with a Process object,
113 // the ABI, and false otherwise. This is used by the generic stack frame
122 /// ARM uses bit zero to signify a code address is thumb, so any ARM ABI
155 ABI(lldb::ProcessSP process_sp, std::unique_ptr<llvm::MCRegisterInfo> info_up) in ABI() function
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DMips.cpp86 if (ABI == "o32") { in getTargetDefines()
101 if (ABI == "o32") { in getTargetDefines()
105 } else if (ABI == "n32") { in getTargetDefines()
109 } else if (ABI == "n64") { in getTargetDefines()
114 llvm_unreachable("Invalid ABI."); in getTargetDefines()
210 // the instructions exist but using them violates the ABI since they in getTargetDefines()
212 if (ABI == "n32" || ABI == "n64") in getTargetDefines()
232 return llvm::StringSwitch<unsigned>(ABI) in getUnwindWordWidth()
241 if (getTriple().isMIPS64() && IsMicromips && (ABI == "n32" || ABI == "n64")) { in validateTarget()
246 // 64-bit ABI's require 64-bit CPU's. in validateTarget()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddbuf_stats.c67 arc_buf_info_t abi = { 0 }; in __dbuf_stats_hash_table_data() local
73 arc_buf_info(db->db_buf, &abi, zfs_dbuf_state_index); in __dbuf_stats_hash_table_data()
96 abi.abi_state_type, in __dbuf_stats_hash_table_data()
97 abi.abi_state_contents, in __dbuf_stats_hash_table_data()
98 abi.abi_flags, in __dbuf_stats_hash_table_data()
99 (ulong_t)abi.abi_bufcnt, in __dbuf_stats_hash_table_data()
100 (u_longlong_t)abi.abi_size, in __dbuf_stats_hash_table_data()
101 (u_longlong_t)abi.abi_access, in __dbuf_stats_hash_table_data()
102 (ulong_t)abi.abi_mru_hits, in __dbuf_stats_hash_table_data()
103 (ulong_t)abi.abi_mru_ghost_hits, in __dbuf_stats_hash_table_data()
[all …]
/freebsd/lib/libsysdecode/
H A Dsysdecode_abi_to_freebsd_errno.337 .Fn sysdecode_abi_to_freebsd_errno "enum sysdecode_abi abi" "int error"
39 .Fn sysdecode_freebsd_to_abi_errno "enum sysdecode_abi abi" "int error"
47 for the process ABI
48 .Fa abi .
52 .Fa abi ,
58 function the error value for the process ABI
59 .Fa abi
78 In addition, multiple error values in one ABI may map to a single
79 error in another ABI.
H A Dsysdecode_syscallnames.336 .Fn sysdecode_syscallnames "enum sysdecode_abi abi" "unsigned int code"
40 for the process ABI
41 .Fa abi .
45 .Fa abi
46 is an unsupported ABI,
62 .Fa ABI
/freebsd/contrib/libucl/tests/basic/
H A D2.in22 keyvar = "${ABI}$ABI${ABI}${$ABI}";
24 keyvar = "$ABI$$ABI$$$ABI$$$$";
/freebsd/usr.sbin/pkg/
H A Dconfig.c67 URL_SCHEME_PREFIX "http://pkg.FreeBSD.org/${ABI}/latest",
73 [ABI] = {
75 "ABI",
152 char *abi; in pkg_get_myabi() local
170 error = asprintf(&abi, "%s:%d:%s", uts.sysname, __FreeBSD_version/100000, in pkg_get_myabi()
175 return (abi); in pkg_get_myabi()
179 subst_packagesite(const char *abi) in subst_packagesite() argument
190 if ((variable_string = strstr(oldval, "${ABI}")) == NULL) in subst_packagesite()
194 (int)(variable_string - oldval), oldval, abi, in subst_packagesite()
195 variable_string + strlen("${ABI}")); in subst_packagesite()
479 const char *abi = pkg_get_myabi(); read_conf_file() local
553 char *abi, *env_list_item; config_init() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DMips.cpp22 // Get CPU and ABI names. They are not independent
59 // Convert a GNU style Mips ABI name to the name in getMipsCPUAndABI()
67 // Setup default CPU and ABI names. in getMipsCPUAndABI()
111 // Deduce ABI name from the target triple. in getMipsCPUAndABI()
116 // Deduce CPU name from ABI name. in getMipsCPUAndABI()
136 // Convert ABI name to the GNU tools acceptable variant.
137 StringRef mips::getGnuCompatibleMipsABIName(StringRef ABI) { in getGnuCompatibleMipsABIName() argument
138 return llvm::StringSwitch<llvm::StringRef>(ABI) in getGnuCompatibleMipsABIName()
141 .Default(ABI); in getGnuCompatibleMipsABIName()
144 // Select the MIPS float ABI as determined by -msoft-float, -mhard-float,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DEPCIndirectionUtils.cpp83 auto &ABI = EPCIU.getABISupport(); in EPCTrampolinePool() local
85 TrampolineSize = ABI.getTrampolineSize(); in EPCTrampolinePool()
87 (EPC.getPageSize() - ABI.getPointerSize()) / TrampolineSize; in EPCTrampolinePool()
294 assert(ABI && "ABI can not be null"); in writeResolverBlock()
295 auto ResolverSize = ABI->getResolverCodeSize(); in writeResolverBlock()
307 ABI->writeResolverCode(SegInfo.WorkingMem.data(), ResolverBlockAddr, in writeResolverBlock()
339 std::unique_ptr<ABISupport> ABI) in EPCIndirectionUtils() argument
340 : EPC(EPC), ABI(std::move(ABI)) { in EPCIndirectionUtils()
341 assert(this->ABI && "ABI can not be null"); in EPCIndirectionUtils()
357 auto StubBytes = alignTo(NumStubsToAllocate * ABI->getStubSize(), PageSize); in getIndirectStubs()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DMipsABIFlags.h1 //===--- MipsABIFlags.h - MIPS ABI flags ----------------------------------===//
9 // This file defines the constants for the ABI flags structure contained
22 // Values for the xxx_size bytes of an ABI flags structure.
30 // Masks for the ases word of an ABI flags structure.
49 // Values for the isa_ext word of an ABI flags structure.
73 // Values for the flags1 word of an ABI flags structure.
78 Tag_GNU_MIPS_ABI_FP = 4, // Floating-point ABI used by this object file
79 Tag_GNU_MIPS_ABI_MSA = 8, // MSA ABI used by this object file
82 // Values for the fp_abi word of an ABI flags structure
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp38 ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits, in computeTargetABI()
47 << "' is not a recognized ABI for this target (ignoring target-abi)\n"; in computeTargetABI()
50 "target-abi)\n"; in computeTargetABI()
54 "target-abi)\n"; in computeTargetABI()
60 << "Only the ilp32e ABI is supported for RV32E (ignoring target-abi)\n"; in computeTargetABI()
66 << "Only the lp64e ABI is supported for RV64E (ignoring target-abi)\n"; in computeTargetABI()
70 if ((TargetABI == RISCVABI::ABI::ABI_ILP32E || in computeTargetABI()
78 // If no explicit ABI is given, try to compute the default ABI. in computeTargetABI()
85 ABI getTargetABI(StringRef ABIName) { in getTargetABI()
86 auto TargetABI = StringSwitch<ABI>(ABIName) in getTargetABI()
/freebsd/contrib/llvm-project/libcxx/include/__configuration/
H A Dabi.h37 // This is an ABI break on platforms that sign and authenticate vtable function pointers
63 // std::random_device, one needs to retain the same object layout to remain ABI
65 // about ABI compatibility.
74 // This is an ABI break because `std::hash` will return a different result,
98 // and WCHAR_MAX. This ABI setting determines whether we should instead track whether the fill
99 // value has been initialized using a separate boolean, which changes the ABI.
117 // Feature macros for disabling pre ABI v1 features. All of these options
130 // To fix the bug we had to change the ABI of some classes to remove [[no_unique_address]] under ce…
131 // The macro below is used for all classes whose ABI have changed as part of fixing these bugs.
137 // ABI impact: changes the iterator type of the relevant containers.
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXXABI.h42 /// Implements C++ ABI-specific code generation functions.
63 /// Issue a diagnostic about unsupported features in the ABI.
99 /// the ABI tell us that 'this' is a complete object within the
118 /// kinds that the ABI says returns 'this' (only applies when called
145 /// If the C++ ABI requires the given type be returned in a particular way,
151 /// Pass it using the normal C aggregate rules for the ABI, potentially
171 /// Returns true if the ABI permits the argument to be a homogeneous
248 /// support an ABI that allows this). Returns null if no adjustment
317 /// to handle virtual inheritance, if needed by the ABI.
322 /// Emit constructor variants required by this ABI.
[all …]

12345678910>>...59