Changeset View
Changeset View
Standalone View
Standalone View
clang/lib/CodeGen/CodeGenModule.h
Show First 20 Lines • Show All 1,286 Lines • ▼ Show 20 Lines | public: | ||||
void emitOpenMPDeviceFunctionRedefinition(GlobalDecl OldGD, GlobalDecl NewGD, | void emitOpenMPDeviceFunctionRedefinition(GlobalDecl OldGD, GlobalDecl NewGD, | ||||
llvm::GlobalValue *GV); | llvm::GlobalValue *GV); | ||||
/// Returns whether the given record has hidden LTO visibility and therefore | /// Returns whether the given record has hidden LTO visibility and therefore | ||||
/// may participate in (single-module) CFI and whole-program vtable | /// may participate in (single-module) CFI and whole-program vtable | ||||
/// optimization. | /// optimization. | ||||
bool HasHiddenLTOVisibility(const CXXRecordDecl *RD); | bool HasHiddenLTOVisibility(const CXXRecordDecl *RD); | ||||
/// Returns whether the given record has public std LTO visibility | |||||
/// and therefore may not participate in (single-module) CFI and whole-program | |||||
/// vtable optimization. | |||||
bool HasLTOVisibilityPublicStd(const CXXRecordDecl *RD); | |||||
/// Returns the vcall visibility of the given type. This is the scope in which | /// Returns the vcall visibility of the given type. This is the scope in which | ||||
/// a virtual function call could be made which ends up being dispatched to a | /// a virtual function call could be made which ends up being dispatched to a | ||||
/// member function of this class. This scope can be wider than the visibility | /// member function of this class. This scope can be wider than the visibility | ||||
/// of the class itself when the class has a more-visible dynamic base class. | /// of the class itself when the class has a more-visible dynamic base class. | ||||
llvm::GlobalObject::VCallVisibility | llvm::GlobalObject::VCallVisibility | ||||
GetVCallVisibilityLevel(const CXXRecordDecl *RD); | GetVCallVisibilityLevel(const CXXRecordDecl *RD); | ||||
/// Emit type metadata for the given vtable using the given layout. | /// Emit type metadata for the given vtable using the given layout. | ||||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 Lines |