Searched refs:RTTI (Results 1 - 12 of 12) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGException.cpp601 TypeInfo.RTTI = CGM.getObjCRuntime().GetEHType(CaughtType);
850 if (!handler.Type.RTTI) {
857 if (catchTypes.insert(handler.Type.RTTI).second)
859 LPadInst->addClause(handler.Type.RTTI);
929 if (!TypeInfo.RTTI)
930 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy);
936 CatchSwitch, {TypeInfo.RTTI, CGF.Builder.getInt32(TypeInfo.Flags),
939 CGF.Builder.CreateCatchPad(CatchSwitch, {TypeInfo.RTTI});
979 if (!TypeInfo.RTTI)
980 TypeInfo.RTTI
[all...]
H A DCGCleanup.h35 /// The MS C++ ABI needs a pointer to RTTI data plus some flags to describe the
38 llvm::Constant *RTTI; member in struct:clang::CodeGen::CatchTypeInfo
162 bool isCatchAll() const { return Type.RTTI == nullptr; }
H A DCGObjCRuntime.cpp180 Handler.TypeInfo = catchAll.RTTI;
H A DCGVTables.cpp649 // The RTTI component may not always be emitted in the same linkage unit as
650 // the vtable. As a general case, we can make a dso_local proxy to the RTTI
651 // that points to the actual RTTI struct somewhere. This will result in a
987 llvm::Constant *RTTI = CGM.GetAddrOfRTTIDescriptor( local
993 createVTableInitializer(components, *VTLayout, RTTI,
H A DItaniumCXXABI.cpp379 /**************************** RTTI Uniqueness ******************************/
382 /// Returns true if the ABI requires RTTI type_info objects to be unique
387 /// What sort of unique-RTTI behavior should we use?
389 /// We are guaranteeing, or need to guarantee, that the RTTI string
393 /// We are not guaranteeing uniqueness for the RTTI string, so we
397 /// We are not guaranteeing uniqueness for the RTTI string, so we
494 // ARM64 libraries are prepared for non-unique RTTI.
1739 llvm::Constant *RTTI = local
1745 CGVT.createVTableInitializer(components, VTLayout, RTTI,
2891 /// Fields - The fields of the RTTI descripto
[all...]
H A DMicrosoftCXXABI.cpp453 // 5 routines for constructing the llvm types for MS RTTI structs.
1647 // aka the "address point" on Itanium. This is at offset 0 if RTTI is
1648 // disabled, or sizeof(void*) if RTTI is enabled.
1701 llvm::Constant *RTTI = nullptr; local
1704 RTTI = getMSCompleteObjectLocator(RD, *Info);
1708 CGVT.createVTableInitializer(components, VTLayout, RTTI,
1839 // or may not include space for a pointer to RTTI data.
1853 // Only insert a pointer into the VFTable for RTTI data if we are not
1854 // importing it. We never reference the RTTI data directly so there is no
1876 // be referencing any RTTI dat
[all...]
H A DCodeGenModule.cpp2224 // lazily. Note that it also uses fact that we eagerly emitting RTTI.
5810 // Return a bogus pointer if RTTI is disabled, unless it's for EH.
5811 // FIXME: should we even be calling this method if RTTI is disabled
5813 if ((!ForEH && !getLangOpts().RTTI) || getLangOpts().CUDAIsDevice ||
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp488 if (LangOpts.RTTI)
740 if (LangOpts.GNUCVersion && LangOpts.RTTI)
H A DCompilerInvocation.cpp2853 Opts.RTTI = Opts.CPlusPlus && !Args.hasArg(OPT_fno_rtti);
2854 Opts.RTTIData = Opts.RTTI && !Args.hasArg(OPT_fno_rtti_data);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp888 // use RTTI.
889 if (!Self.getLangOpts().RTTI && !DestPointee->isVoidType()) {
H A DSemaCodeComplete.cpp2423 if (SemaRef.getLangOpts().RTTI) {
2465 if (SemaRef.getLangOpts().RTTI) {
H A DSemaExprCXX.cpp645 if (!getLangOpts().RTTI) {

Completed in 333 milliseconds