Home
last modified time | relevance | path

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

12

/external/clang/lib/Basic/
DObjCRuntime.cpp19 std::string ObjCRuntime::getAsString() const { in getAsString()
28 raw_ostream &clang::operator<<(raw_ostream &out, const ObjCRuntime &value) { in operator <<()
30 case ObjCRuntime::MacOSX: out << "macosx"; break; in operator <<()
31 case ObjCRuntime::FragileMacOSX: out << "macosx-fragile"; break; in operator <<()
32 case ObjCRuntime::iOS: out << "ios"; break; in operator <<()
33 case ObjCRuntime::GNUstep: out << "gnustep"; break; in operator <<()
34 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<()
35 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<()
43 bool ObjCRuntime::tryParse(StringRef input) { in tryParse()
60 kind = ObjCRuntime::MacOSX; in tryParse()
[all …]
DAndroid.mk34 ObjCRuntime.cpp \
DCMakeLists.txt14 ObjCRuntime.cpp
/external/clang/include/clang/Basic/
DObjCRuntime.h25 class ObjCRuntime {
61 ObjCRuntime() : TheKind(MacOSX) {} in ObjCRuntime() function
63 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function
270 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
275 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
280 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h66 clang::ObjCRuntime ObjCRuntime;
/external/clang/lib/Driver/
DToolChain.cpp52 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
53 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
DToolChains.cpp82 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
84 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime()
86 return ObjCRuntime(ObjCRuntime::iOS, TargetSimulatorVersionFromDefines); in getDefaultObjCRuntime()
89 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime()
91 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
DTools.h21 class ObjCRuntime; variable
51 ObjCRuntime AddObjCRuntimeArgs(const ArgList &args, ArgStringList &cmdArgs,
DTools.cpp1225 shouldUseExceptionTablesForObjCExceptions(const ObjCRuntime &runtime, in shouldUseExceptionTablesForObjCExceptions()
1249 const ObjCRuntime &objcRuntime, in addExceptionArgs()
2524 ObjCRuntime objcRuntime = AddObjCRuntimeArgs(Args, CmdArgs, rewriteKind); in ConstructJob()
2889 ObjCRuntime Clang::AddObjCRuntimeArgs(const ArgList &args, in AddObjCRuntimeArgs()
2901 ObjCRuntime runtime; in AddObjCRuntimeArgs()
2970 ObjCRuntime runtime; in AddObjCRuntimeArgs()
2977 runtime = ObjCRuntime(ObjCRuntime::FragileMacOSX, VersionTuple()); in AddObjCRuntimeArgs()
2980 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
2992 runtime = ObjCRuntime(ObjCRuntime::MacOSX, VersionTuple()); in AddObjCRuntimeArgs()
3001 runtime = ObjCRuntime(ObjCRuntime::GNUstep, VersionTuple()); in AddObjCRuntimeArgs()
[all …]
DToolChains.h290 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/lib/CodeGen/
DCGException.cpp129 CGF.getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
183 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
184 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
186 case ObjCRuntime::MacOSX: in getObjCPersonality()
187 case ObjCRuntime::iOS: in getObjCPersonality()
189 case ObjCRuntime::GNUstep: in getObjCPersonality()
190 case ObjCRuntime::GCC: in getObjCPersonality()
191 case ObjCRuntime::ObjFW: in getObjCPersonality()
207 switch (L.ObjCRuntime.getKind()) { in getObjCXXPersonality()
211 case ObjCRuntime::MacOSX: in getObjCXXPersonality()
[all …]
DCodeGenModule.cpp72 VTables(*this), ObjCRuntime(0), OpenCLRuntime(0), CUDARuntime(0), in CodeGenModule()
126 delete ObjCRuntime; in ~CodeGenModule()
140 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime()
141 case ObjCRuntime::GNUstep: in createObjCRuntime()
142 case ObjCRuntime::GCC: in createObjCRuntime()
143 case ObjCRuntime::ObjFW: in createObjCRuntime()
144 ObjCRuntime = CreateGNUObjCRuntime(*this); in createObjCRuntime()
147 case ObjCRuntime::FragileMacOSX: in createObjCRuntime()
148 case ObjCRuntime::MacOSX: in createObjCRuntime()
149 case ObjCRuntime::iOS: in createObjCRuntime()
[all …]
DCodeGenModule.h233 CGObjCRuntime* ObjCRuntime; variable
371 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime()
372 return *ObjCRuntime; in getObjCRuntime()
377 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
DCGObjCGNU.cpp954 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
2049 if (CGM.getContext().getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2064 if (CGM.getContext().getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2688 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset()
2713 switch (CGM.getLangOpts().ObjCRuntime.getKind()) { in CreateGNUObjCRuntime()
2714 case ObjCRuntime::GNUstep: in CreateGNUObjCRuntime()
2717 case ObjCRuntime::GCC: in CreateGNUObjCRuntime()
2720 case ObjCRuntime::ObjFW: in CreateGNUObjCRuntime()
2723 case ObjCRuntime::FragileMacOSX: in CreateGNUObjCRuntime()
2724 case ObjCRuntime::MacOSX: in CreateGNUObjCRuntime()
[all …]
DCGRTTI.cpp984 LangOpts.ObjCRuntime.isGNUFamily()) in GetAddrOfRTTIDescriptor()
985 return ObjCRuntime->GetEHType(Ty); in GetAddrOfRTTIDescriptor()
DCGObjC.cpp1709 if (!CGM.getLangOpts().ObjCRuntime.hasNativeARC()) in createARCRuntimeFunction()
2742 if (CGM.getLangOpts().ObjCRuntime.hasNativeARC()) { in EmitObjCAutoreleasePoolStmt()
2774 static bool hasAtomicCopyHelperAPI(const ObjCRuntime &runtime) { in hasAtomicCopyHelperAPI()
2788 !hasAtomicCopyHelperAPI(getLangOpts().ObjCRuntime)) in GenerateObjCAtomicSetterCopyHelperFunction()
2873 !hasAtomicCopyHelperAPI(getLangOpts().ObjCRuntime)) in GenerateObjCAtomicGetterCopyHelperFunction()
DCGObjCMac.cpp6384 switch (CGM.getLangOpts().ObjCRuntime.getKind()) { in CreateMacObjCRuntime()
6385 case ObjCRuntime::FragileMacOSX: in CreateMacObjCRuntime()
6388 case ObjCRuntime::MacOSX: in CreateMacObjCRuntime()
6389 case ObjCRuntime::iOS: in CreateMacObjCRuntime()
6392 case ObjCRuntime::GNUstep: in CreateMacObjCRuntime()
6393 case ObjCRuntime::GCC: in CreateMacObjCRuntime()
6394 case ObjCRuntime::ObjFW: in CreateMacObjCRuntime()
/external/clang/include/clang/Driver/
DToolChain.h21 class ObjCRuntime; variable
213 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/lib/Rewrite/Frontend/
DFrontendActions.cpp158 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp657 .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
658 .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) in HasFeature()
663 .Case("objc_subscripting", LangOpts.ObjCRuntime.isNonFragile()) in HasFeature()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp933 if (getLangOpts().ObjCRuntime.isFragile()) in ActOnPropertyImplDecl()
938 } else if (getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1112 getLangOpts().ObjCRuntime.isNonFragile() && in ActOnPropertyImplDecl()
1633 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile()) in DefaultSynthesizeProperties()
1677 if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedProperties()
1692 if (LangOpts.ObjCDefaultSynthProperties && LangOpts.ObjCRuntime.isNonFragile()) in DiagnoseUnimplementedProperties()
DSemaDeclObjC.cpp1093 if (LangOpts.ObjCRuntime.isNonFragile()) { in CheckImplementationIvars()
1555 if (getLangOpts().ObjCRuntime.isNeXTFamily()) { in CheckProtocolMethodDefs()
1785 LangOpts.ObjCRuntime.isNonFragile()) || in ImplMethodsVsClassMethods()
2415 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnAtEnd()
3041 if (LangOpts.ObjCRuntime.isNonFragile()) { in ActOnDefs()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp368 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
378 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
DCompilerInvocation.cpp814 Res.push_back("-fobjc-runtime=" + Opts.ObjCRuntime.getAsString()); in LangOptsToArgs()
1971 if (Opts.ObjCRuntime.tryParse(value)) in ParseLangArgs()
1981 if (!Opts.ObjCRuntime.allowsARC()) in ParseLangArgs()
1988 Opts.ObjCARCWeak = Opts.ObjCRuntime.allowsWeak(); in ParseLangArgs()
/external/clang/lib/Serialization/
DASTReader.cpp94 if (PPLangOpts.ObjCRuntime != LangOpts.ObjCRuntime) { in ReadLanguageOptions()
3343 ObjCRuntime::Kind runtimeKind = (ObjCRuntime::Kind) Record[Idx++]; in ParseLanguageOptions()
3345 LangOpts.ObjCRuntime = ObjCRuntime(runtimeKind, runtimeVersion); in ParseLanguageOptions()

12