Home
last modified time | relevance | path

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

123

/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::WatchOS: out << "watchos"; break; in operator <<()
34 case ObjCRuntime::GNUstep: out << "gnustep"; break; in operator <<()
35 case ObjCRuntime::GCC: out << "gcc"; break; in operator <<()
36 case ObjCRuntime::ObjFW: out << "objfw"; break; in operator <<()
44 bool ObjCRuntime::tryParse(StringRef input) { in tryParse()
[all …]
DCMakeLists.txt78 ObjCRuntime.cpp
/external/llvm-project/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.txt58 ObjCRuntime.cpp
/external/clang/include/clang/Basic/
DObjCRuntime.h25 class ObjCRuntime {
65 ObjCRuntime() : TheKind(MacOSX) {} in ObjCRuntime() function
67 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function
336 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
341 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
346 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h93 clang::ObjCRuntime ObjCRuntime; variable
143 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
/external/llvm-project/clang/include/clang/Basic/
DObjCRuntime.h27 class ObjCRuntime {
67 ObjCRuntime() = default;
68 ObjCRuntime(Kind kind, const VersionTuple &version) in ObjCRuntime() function
471 friend bool operator==(const ObjCRuntime &left, const ObjCRuntime &right) {
476 friend bool operator!=(const ObjCRuntime &left, const ObjCRuntime &right) {
480 friend llvm::hash_code hash_value(const ObjCRuntime &OCR) { in hash_value()
485 raw_ostream &operator<<(raw_ostream &out, const ObjCRuntime &value);
DLangOptions.h271 clang::ObjCRuntime ObjCRuntime; variable
341 return ObjCRuntime.isSubscriptPointerArithmetic() && in isSubscriptPointerArithmetic()
DFeatures.def105 FEATURE(objc_nonfragile_abi, LangOpts.ObjCRuntime.isNonFragile())
108 FEATURE(objc_weak_class, LangOpts.ObjCRuntime.hasWeakClassImport())
113 FEATURE(objc_subscripting, LangOpts.ObjCRuntime.isNonFragile())
/external/clang/lib/CodeGen/
DCGException.cpp69 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
127 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
128 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
130 case ObjCRuntime::MacOSX: in getObjCPersonality()
131 case ObjCRuntime::iOS: in getObjCPersonality()
132 case ObjCRuntime::WatchOS: in getObjCPersonality()
134 case ObjCRuntime::GNUstep: in getObjCPersonality()
135 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
138 case ObjCRuntime::GCC: in getObjCPersonality()
139 case ObjCRuntime::ObjFW: in getObjCPersonality()
[all …]
DCGObjCGNU.cpp237 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in MakePropertyEncodingString()
238 if ((R.getKind() == ObjCRuntime::GNUstep) && in MakePropertyEncodingString()
738 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep()
791 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction()
799 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction()
812 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction()
1137 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
2211 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2226 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GenerateClass()
2858 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in EmitIvarOffset()
[all …]
DCodeGenModule.cpp166 switch (LangOpts.ObjCRuntime.getKind()) { in createObjCRuntime()
167 case ObjCRuntime::GNUstep: in createObjCRuntime()
168 case ObjCRuntime::GCC: in createObjCRuntime()
169 case ObjCRuntime::ObjFW: in createObjCRuntime()
170 ObjCRuntime.reset(CreateGNUObjCRuntime(*this)); in createObjCRuntime()
173 case ObjCRuntime::FragileMacOSX: in createObjCRuntime()
174 case ObjCRuntime::MacOSX: in createObjCRuntime()
175 case ObjCRuntime::iOS: in createObjCRuntime()
176 case ObjCRuntime::WatchOS: in createObjCRuntime()
177 ObjCRuntime.reset(CreateMacObjCRuntime(*this)); in createObjCRuntime()
[all …]
DCodeGenModule.h288 std::unique_ptr<CGObjCRuntime> ObjCRuntime; variable
509 if (!ObjCRuntime) createObjCRuntime(); in getObjCRuntime()
510 return *ObjCRuntime; in getObjCRuntime()
514 bool hasObjCRuntime() { return !!ObjCRuntime; } in hasObjCRuntime()
/external/llvm-project/clang/lib/CodeGen/
DCGException.cpp70 getLangOpts().ObjCRuntime.hasTerminate()) in getTerminateFn()
139 switch (L.ObjCRuntime.getKind()) { in getObjCPersonality()
140 case ObjCRuntime::FragileMacOSX: in getObjCPersonality()
142 case ObjCRuntime::MacOSX: in getObjCPersonality()
143 case ObjCRuntime::iOS: in getObjCPersonality()
144 case ObjCRuntime::WatchOS: in getObjCPersonality()
146 case ObjCRuntime::GNUstep: in getObjCPersonality()
147 if (L.ObjCRuntime.getVersion() >= VersionTuple(1, 7)) in getObjCPersonality()
150 case ObjCRuntime::GCC: in getObjCPersonality()
151 case ObjCRuntime::ObjFW: in getObjCPersonality()
[all …]
DCGObjCGNU.cpp173 bool isRuntime(ObjCRuntime::Kind kind, unsigned major, unsigned minor=0) { in isRuntime()
174 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in isRuntime()
227 assert(!isRuntime(ObjCRuntime::GNUstep, 2)); in MakePropertyEncodingString()
228 if (isRuntime(ObjCRuntime::GNUstep, 1, 6)) { in MakePropertyEncodingString()
278 if (isRuntime(ObjCRuntime::GNUstep, 2)) { in PushPropertyListHeader()
810 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime; in CGObjCGNUstep()
866 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectGetFunction()
874 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetCppAtomicObjectSetFunction()
887 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >= in GetOptimizedPropertySetFunction()
2377 if (CGM.getLangOpts().ObjCRuntime.isNonFragile()) { in GetEHType()
[all …]
/external/llvm-project/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)
/external/llvm-project/clang/lib/Frontend/
DInitPreprocessor.cpp677 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
687 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
690 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::GNUstep) { in InitializePredefinedMacros()
691 auto version = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
703 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros()
704 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
/external/llvm-project/clang/lib/Driver/ToolChains/
DClang.h22 class ObjCRuntime; variable
81 ObjCRuntime AddObjCRuntimeArgs(const llvm::opt::ArgList &args,
DDarwin.cpp823 ObjCRuntime Darwin::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
825 return ObjCRuntime(ObjCRuntime::WatchOS, TargetVersion); in getDefaultObjCRuntime()
827 return ObjCRuntime(ObjCRuntime::iOS, TargetVersion); in getDefaultObjCRuntime()
829 return ObjCRuntime(ObjCRuntime::MacOSX, TargetVersion); in getDefaultObjCRuntime()
830 return ObjCRuntime(ObjCRuntime::FragileMacOSX, TargetVersion); in getDefaultObjCRuntime()
1022 ObjCRuntime runtime = getDefaultObjCRuntime(/*nonfragile*/ true); in AddLinkARCArgs()
/external/clang/lib/Driver/
DToolChain.cpp397 ObjCRuntime ToolChain::getDefaultObjCRuntime(bool isNonFragile) const { in getDefaultObjCRuntime()
398 return ObjCRuntime(isNonFragile ? ObjCRuntime::GNUstep : ObjCRuntime::GCC, in getDefaultObjCRuntime()
/external/clang/include/clang/Driver/
DToolChain.h35 class ObjCRuntime; variable
353 virtual ObjCRuntime getDefaultObjCRuntime(bool isNonFragile) const;
/external/clang/lib/Frontend/
DInitPreprocessor.cpp560 if (LangOpts.ObjCRuntime.isNonFragile()) { in InitializePredefinedMacros()
570 if (LangOpts.ObjCRuntime.isNeXTFamily()) in InitializePredefinedMacros()
573 if (LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) { in InitializePredefinedMacros()
574 VersionTuple tuple = LangOpts.ObjCRuntime.getVersion(); in InitializePredefinedMacros()
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Basic/
DBUILD.gn63 "ObjCRuntime.cpp",
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp156 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer()

123