Home
last modified time | relevance | path

Searched refs:ObjCRuntime (Results 1 – 25 of 39) sorted by relevance

12

/openbsd/src/gnu/llvm/clang/lib/Basic/
DObjCRuntime.cpp23 std::string ObjCRuntime::getAsString() const { in getAsString()
32 raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) { in operator <<()
34 case ObjCRuntime::MacOSX: out << "macosx"; break; in operator <<()
35 case ObjCRuntime::FragileMacOSX: out << "macosx-fragile"; break; in operator <<()
36 case ObjCRuntime::iOS: out << "ios"; break; in operator <<()
37 case ObjCRuntime::WatchOS: out << "watchos"; break; in operator <<()
38 case ObjCRuntime::GNUstep: out << "gnustep"; break; in operator <<()
39 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<()
40 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<()
48 bool ObjCRuntime::tryParse(StringRef input) { in tryParse()
[all …]
DCMakeLists.txt60 ObjCRuntime.cpp
/openbsd/src/gnu/llvm/clang/include/clang/Basic/
DObjCRuntime.h28 class ObjCRuntime {
68 ObjCRuntime() = default;
69 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function
472 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
477 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
481 friend llvm::hash_code hash_value(const ObjCRuntime &OCR) { in hash_value()
487 const ObjCRuntime &OCR) { in addHash()
492 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h417 clang::ObjCRuntime ObjCRuntime; variable
538 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
DFeatures.def115 FEATURE(objc_nonfragile_abi, LangOpts.ObjCRuntime.isNonFragile())
118 FEATURE(objc_weak_class, LangOpts.ObjCRuntime.hasWeakClassImport())
123 FEATURE(objc_subscripting, LangOpts.ObjCRuntime.isNonFragile())
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGException.cpp82 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
151 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
152 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
154 case ObjCRuntime::MacOSX: in getObjCPersonality()
155 case ObjCRuntime::iOS: in getObjCPersonality()
156 case ObjCRuntime::WatchOS: in getObjCPersonality()
158 case ObjCRuntime::GNUstep: in getObjCPersonality()
159 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
162 case ObjCRuntime::GCC: in getObjCPersonality()
163 case ObjCRuntime::ObjFW: in getObjCPersonality()
[all …]
DCGObjCGNU.cpp177 bool isRuntime(ObjCRuntime::Kind kind, unsigned major, unsigned minor=0) { in isRuntime()
178 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in isRuntime()
231 assert(!isRuntime(ObjCRuntime::GNUstep, 2)); in MakePropertyEncodingString()
232 if (isRuntime(ObjCRuntime::GNUstep, 1, 6)) { in MakePropertyEncodingString()
282 if (isRuntime(ObjCRuntime::GNUstep, 2)) { in PushPropertyListHeader()
815 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep()
870 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction()
878 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction()
891 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction()
2393 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
[all …]
DCodeGenModule.h328 std::unique_ptr<CGObjCRuntime> ObjCRuntime; variable
620 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime()
621 return *ObjCRuntime; in getObjCRuntime()
625 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
DCodeGenModule.cpp220 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime()
221 case ObjCRuntime::GNUstep: in createObjCRuntime()
222 case ObjCRuntime::GCC: in createObjCRuntime()
223 case ObjCRuntime::ObjFW: in createObjCRuntime()
224 ObjCRuntime.reset(CreateGNUObjCRuntime(*this)); in createObjCRuntime()
227 case ObjCRuntime::FragileMacOSX: in createObjCRuntime()
228 case ObjCRuntime::MacOSX: in createObjCRuntime()
229 case ObjCRuntime::iOS: in createObjCRuntime()
230 case ObjCRuntime::WatchOS: in createObjCRuntime()
231 ObjCRuntime.reset(CreateMacObjCRuntime(*this)); in createObjCRuntime()
[all …]
DCGObjC.cpp135 if (NumElements == 0 && CGM.getLangOpts().ObjCRuntime.hasEmptyCollections()) { in EmitObjCCollectionLiteral()
385 auto &Runtime = CGM.getLangOpts().ObjCRuntime; in tryGenerateSpecializedMessageSend()
526 auto &Runtime = CGF.getLangOpts().ObjCRuntime; in tryEmitSpecializedAllocInit()
1432 return CGM.getLangOpts().ObjCRuntime.hasOptimizedSetter(); in UseOptimizedSetter()
2156 if (!CGM.getLangOpts().ObjCRuntime.hasNativeARC() && in setARCRuntimeFunctionLinkage()
3073 CGM.getLangOpts().ObjCRuntime.hasARCUnsafeClaimAutoreleasedReturnValue()) { in EmitARCReclaimReturnedObject()
3680 if (CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in EmitObjCAutoreleasePoolStmt()
3734 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicSetterCopyHelperFunction()
3832 !getLangOpts().ObjCRuntime.hasAtomicCopyHelper()) in GenerateObjCAtomicGetterCopyHelperFunction()
/openbsd/src/gnu/llvm/lldb/examples/summaries/cocoa/
DClass.py15 runtime = lldb.runtime.objc.objc_runtime.ObjCRuntime.runtime_from_isa(
Dobjc_runtime.py100 class_data = ObjCRuntime(valobj)
679 self.runtime_version = ObjCRuntime.runtime_version(process)
730 class ObjCRuntime: class
768 runtime = ObjCRuntime(isa)
/openbsd/src/gnu/llvm/clang/lib/Frontend/
DInitPreprocessor.cpp815 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
825 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
828 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::GNUstep) { in InitializePredefinedMacros()
829 auto version = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
842 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros()
843 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
/openbsd/src/gnu/llvm/clang/lib/Driver/ToolChains/
DClang.h22 class ObjCRuntime; variable
87 ObjCRuntime AddObjCRuntimeArgs(const llvm::opt::ArgList &args,
DDarwin.cpp916 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
918 return ObjCRuntime(ObjCRuntime::WatchOS, TargetVersion); in getDefaultObjCRuntime()
920 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime()
922 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime()
923 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
1142 ObjCRuntime runtime = getDefaultObjCRuntime(/*nonfragile*/ true); in AddLinkARCArgs()
DClang.cpp297 shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime, in shouldUseExceptionTablesForObjCExceptions()
319 const ObjCRuntime &objcRuntime, in addExceptionArgs()
3863 ObjCRuntime &Runtime, bool InferCovariantReturns, in RenderObjCOptions()
3884 Runtime.getKind() == ObjCRuntime::FragileMacOSX && Runtime.isNeXTFamily()) in RenderObjCOptions()
6762 ObjCRuntime Runtime = AddObjCRuntimeArgs(Args, Inputs, CmdArgs, rewriteKind); in ConstructJob()
7487 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, in AddObjCRuntimeArgs()
7500 ObjCRuntime runtime; in AddObjCRuntimeArgs()
7506 if ((runtime.getKind() == ObjCRuntime::GNUstep) && in AddObjCRuntimeArgs()
7576 ObjCRuntime runtime; in AddObjCRuntimeArgs()
7583 runtime = ObjCRuntime(ObjCRuntime::FragileMacOSX, VersionTuple()); in AddObjCRuntimeArgs()
[all …]
DDarwin.h533 ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const override;
/openbsd/src/gnu/usr.bin/clang/libclangBasic/
DMakefile32 ObjCRuntime.cpp \
/openbsd/src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
DClangExpressionParser.cpp615 lang_opts.ObjCRuntime.set(ObjCRuntime::MacOSX, VersionTuple(10, 7)); in ClangExpressionParser()
617 lang_opts.ObjCRuntime.set(ObjCRuntime::FragileMacOSX, in ClangExpressionParser()
/openbsd/src/gnu/llvm/llvm/utils/gn/secondary/clang/lib/Basic/
DBUILD.gn77 "ObjCRuntime.cpp",
/openbsd/src/gnu/llvm/clang/lib/Driver/
DToolChain.cpp757 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
758 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
/openbsd/src/gnu/llvm/clang/include/clang/Driver/
DToolChain.h52 class ObjCRuntime; variable
618 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/openbsd/src/gnu/llvm/clang/lib/AST/
DMangle.cpp329 if (getASTContext().getLangOpts().ObjCRuntime.isGNUFamily()) { in mangleObjCMethodName()
444 if (Context.getLangOpts().ObjCRuntime.isGNUFamily()) in getClassSymbolPrefix()
/openbsd/src/gnu/llvm/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp167 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaObjCProperty.cpp710 } else if (getLangOpts().ObjCRuntime.allowsDirectDispatch()) { in CreatePropertyDecl()
1344 if (getLangOpts().ObjCRuntime.isFragile()) in ActOnPropertyImplDecl()
1349 } else if (getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1575 getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1983 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile()) in DefaultSynthesizeProperties()
2023 S.LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedAccessor()

12