Home
last modified time | relevance | path

Searched refs:RTTI (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/
H A Dtypeinfo127 // This implementation of type_info assumes a unique copy of the RTTI for a
138 // copy of the RTTI for a given type inside a program. For various reasons
139 // the linker may have failed to merge every copy of a types RTTI
150 // the RTTI for a given type inside a program. When constructing the type_info,
153 // ABI. If that high bit is set, that specific copy of the RTTI can't be assumed
154 // to be unique within the program. If the high bit is unset, then the RTTI can
164 // if a type would normally have a default-visibility RTTI emitted as a weak
167 // a unique RTTI: the RTTI is emitted with linkonce_odr linkage and is assumed
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtypeinfo120 // This implementation of type_info assumes a unique copy of the RTTI for a
131 // copy of the RTTI for a given type inside a program. For various reasons
132 // the linker may have failed to merge every copy of a types RTTI
143 // the RTTI for a given type inside a program. When constructing the type_info,
146 // ABI. If that high bit is set, that specific copy of the RTTI can't be assumed
147 // to be unique within the program. If the high bit is unset, then the RTTI can
157 // if a type would normally have a default-visibility RTTI emitted as a weak
160 // a unique RTTI: the RTTI is emitted with linkonce_odr linkage and is assumed
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp656 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType); in EnterCXXTryStmt()
909 if (!handler.Type.RTTI) { in EmitLandingPad()
916 if (catchTypes.insert(handler.Type.RTTI).second) in EmitLandingPad()
918 LPadInst->addClause(handler.Type.RTTI); in EmitLandingPad()
988 if (!TypeInfo.RTTI) in emitCatchPadBlock()
989 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock()
995 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags), in emitCatchPadBlock()
998 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI}); in emitCatchPadBlock()
1038 if (!TypeInfo.RTTI) in emitWasmCatchPadBlock()
1039 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitWasmCatchPadBlock()
[all …]
H A DCGCleanup.h40 llvm::Constant *RTTI; member
177 bool isCatchAll() const { return Type.RTTI == nullptr; }
H A DCGObjCRuntime.cpp176 Handler.TypeInfo = catchAll.RTTI; in EmitTryCatchStmt()
H A DCGVTables.cpp973 llvm::Constant *RTTI = CGM.GetAddrOfRTTIDescriptor( in GenerateConstructionVTable() local
979 createVTableInitializer(components, *VTLayout, RTTI, in GenerateConstructionVTable()
H A DItaniumCXXABI.cpp2018 llvm::Constant *RTTI = in emitVTableDefinitions() local
2024 CGVT.createVTableInitializer(components, VTLayout, RTTI, in emitVTableDefinitions()
3755 if (!Context.getLangOpts().RTTI) return false; in ShouldUseExternalRTTIDescriptor()
4047 if (!CGM.getLangOpts().RTTI) in getTypeInfoLinkage()
H A DCodeGenModule.h1081 return (ForEH || getLangOpts().RTTI) &&
H A DMicrosoftCXXABI.cpp1768 llvm::Constant *RTTI = nullptr; in emitVTableDefinitions() local
1771 RTTI = getMSCompleteObjectLocator(RD, *Info); in emitVTableDefinitions()
1775 CGVT.createVTableInitializer(components, VTLayout, RTTI, in emitVTableDefinitions()
/freebsd/contrib/googletest/googletest/cmake/
H A Dinternal_utils.cmake113 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
121 # RTTI are enabled, so we define GTEST_HAS_* explicitly.
130 # whether RTTI is enabled. Therefore we define GTEST_HAS_RTTI
137 # RTTI can not be disabled in HP aCC compiler.
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMDBuilder.h140 Constant *RTTI);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMDBuilder.cpp167 Constant *RTTI) { in createRTTIPointerPrologue() argument
170 Ops.push_back(createConstant(RTTI)); in createRTTIPointerPrologue()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetCXXABI.def69 /// that RTTI objects must still be unique at the moment.
H A DLangOptions.def107 LANGOPT(RTTI , 1, 1, NotCompatible, "run-time type information")
464 "Use an ABI-incompatible v-table layout that omits the RTTI component")
H A DFeatures.def134 FEATURE(cxx_rtti, LangOpts.RTTI &&LangOpts.RTTIData)
H A DDiagnosticGroups.td1697 def RTTI : DiagGroup<"rtti">;
H A DDiagnosticSemaKinds.td8808 "dynamic_cast will not work since RTTI data is disabled by "
8809 "%select{-fno-rtti-data|/GR-}0">, InGroup<RTTI>;
8811 "typeid will not work since RTTI data is disabled by "
8812 "%select{-fno-rtti-data|/GR-}0">, InGroup<RTTI>;
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp401 if (!D->getASTContext().getLangOpts().RTTI) in hasRTTI()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp659 if (LangOpts.RTTI) in InitializeCPlusPlusFeatureTestMacros()
1031 if (LangOpts.GNUCVersion && LangOpts.RTTI) in InitializePredefinedMacros()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp978 if (!Self.getLangOpts().RTTI && !DestPointee->isVoidType()) { in CheckDynamicCast()
H A DSemaCodeComplete.cpp2671 if (SemaRef.getLangOpts().RTTI) { in AddOrdinaryNameResults()
2713 if (SemaRef.getLangOpts().RTTI) { in AddOrdinaryNameResults()
H A DSemaExprCXX.cpp661 if (!getLangOpts().RTTI) { in ActOnCXXTypeid()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DOptions.td3055 BothFlags<[], [CC1Option], " the RTTI component from virtual tables">>;
3972 LangOpts<"RTTI">, Default<cplusplus.KeyPath>,
3979 "Disable generation of RTTI data">,
8858 def _SLASH_GR : CLFlag<"GR">, HelpText<"Emit RTTI data (default)">;
8859 def _SLASH_GR_ : CLFlag<"GR-">, HelpText<"Do not emit RTTI data">;