HomeSort by relevance Sort by last modified time
    Searched refs:GlobalDecl (Results 1 - 25 of 37) sorted by null

1 2

  /external/clang/include/clang/AST/
GlobalDecl.h 1 //===--- GlobalDecl.h - Global declaration holder ---------------*- C++ -*-===//
10 // A GlobalDecl can hold either a regular variable/function or a C++ ctor/dtor
24 /// GlobalDecl - represents a global declaration. This can either be a
28 class GlobalDecl {
39 GlobalDecl() {}
41 GlobalDecl(const VarDecl *D) { Init(D);}
42 GlobalDecl(const FunctionDecl *D) { Init(D); }
43 GlobalDecl(const BlockDecl *D) { Init(D); }
44 GlobalDecl(const CapturedDecl *D) { Init(D); }
45 GlobalDecl(const ObjCMethodDecl *D) { Init(D);
    [all...]
VTableBuilder.h 19 #include "clang/AST/GlobalDecl.h"
316 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) {
339 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy;
380 uint64_t getMethodVTableIndex(GlobalDecl GD);
503 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation>
542 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD);
544 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override {
  /external/clang/lib/CodeGen/
CGCXX.cpp 112 return TryEmitDefinitionAsAlias(GlobalDecl(D, Dtor_Base),
113 GlobalDecl(BaseD, Dtor_Base),
120 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl,
121 GlobalDecl TargetDecl,
225 GlobalDecl GD;
227 GD = GlobalDecl(DD, toCXXDtorType(Type));
230 GD = GlobalDecl(CD, toCXXCtorType(Type));
245 GlobalDecl GD;
247 GD = GlobalDecl(CD, toCXXCtorType(Type));
249 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type))
    [all...]
CGVTables.h 19 #include "clang/AST/GlobalDecl.h"
53 void emitThunk(GlobalDecl GD, const ThunkInfo &Thunk, bool ForVTable);
57 void maybeEmitThunkForVTable(GlobalDecl GD, const ThunkInfo &Thunk);
106 void EmitThunks(GlobalDecl GD);
CodeGenModule.h 24 #include "clang/AST/GlobalDecl.h"
302 std::map<StringRef, GlobalDecl> DeferredDecls;
307 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {}
309 GlobalDecl GD;
312 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) {
318 std::vector<GlobalDecl> Aliases;
332 llvm::DenseSet<GlobalDecl> DiagnosedConflictingDefinitions;
352 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames;
353 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings;
448 bool shouldEmitFunction(GlobalDecl GD)
    [all...]
CGCXXABI.h 88 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0;
105 virtual bool HasThisReturn(GlobalDecl GD) const { return false; }
107 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; }
311 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
332 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) {
391 GlobalDecl GD,
403 GlobalDecl GD,
412 GlobalDecl GD, bool ReturnAdjustment) = 0;
484 virtual bool NeedsVTTParameter(GlobalDecl GD);
CodeGenPGO.h 85 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
CGVTables.cpp 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD,
60 GlobalDecl GD) {
146 GlobalDecl GD, const ThunkInfo &Thunk) {
210 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD,
237 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs,
240 // Since we didn't pass a GlobalDecl to StartFunction, do this ourselves.
401 GlobalDecl GD, const ThunkInfo &Thunk) {
413 void CodeGenVTables::emitThunk(GlobalDecl GD, const ThunkInfo &Thunk,
488 void CodeGenVTables::maybeEmitThunkForVTable(GlobalDecl GD,
507 void CodeGenVTables::EmitThunks(GlobalDecl GD
    [all...]
CodeGenTypes.h 18 #include "clang/AST/GlobalDecl.h"
181 /// \brief Converts the GlobalDecl into an llvm::Type. This should be used
198 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
209 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
241 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
CodeGenModule.cpp 285 for (const GlobalDecl &GD : Aliases) {
332 for (const GlobalDecl &GD : Aliases) {
613 StringRef CodeGenModule::getMangledName(GlobalDecl GD) {
641 StringRef CodeGenModule::getBlockMangledName(GlobalDecl GD,
712 CodeGenModule::getFunctionLinkage(GlobalDecl GD) {
729 void CodeGenModule::setFunctionDLLStorageClass(GlobalDecl GD, llvm::Function *F) {
    [all...]
ItaniumCXXABI.cpp 72 bool isThisCompleteObject(GlobalDecl GD) const override {
272 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
286 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD,
338 bool NeedsVTTParameter(GlobalDecl GD) override;
415 bool HasThisReturn(GlobalDecl GD) const override {
449 bool HasThisReturn(GlobalDecl GD) const override {
    [all...]
CGDebugInfo.h 36 class GlobalDecl;
206 /// function GlobalDecl.
298 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc,
303 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
503 /// \param GD A GlobalDecl whose getDecl() must return a FunctionDecl.
504 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit,
MicrosoftCXXABI.cpp 51 bool HasThisReturn(GlobalDecl GD) const override;
52 bool hasMostDerivedReturn(GlobalDecl GD) const override;
60 bool isThisCompleteObject(GlobalDecl GD) const override {
235 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
243 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override;
287 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
297 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD,
358 GlobalDecl GD, bool ReturnAdjustment) override {
554 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD);
    [all...]
CGDeclCXX.cpp 486 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn,
509 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
560 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
ModuleBuilder.cpp 81 GlobalDecl Result;
CGCXXABI.cpp 315 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) {
CGDecl.cpp 167 ContextName = CGM.getBlockMangledName(GlobalDecl(), BD);
252 GlobalDecl GD;
254 GD = GlobalDecl(CD, Ctor_Base);
256 GD = GlobalDecl(DD, Dtor_Base);
258 GD = GlobalDecl(FD);
    [all...]
CGOpenMPRuntime.cpp     [all...]
CodeGenFunction.h 155 /// CurGD - The GlobalDecl for the current function being compiled.
156 GlobalDecl CurGD;
    [all...]
CGCall.cpp 229 GlobalDecl GD;
231 GD = GlobalDecl(CD, toCXXCtorType(Type));
234 GD = GlobalDecl(DD, toCXXDtorType(Type));
271 GlobalDecl GD(D, CtorKind);
352 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) {
    [all...]
CGBlocks.cpp     [all...]
  /external/clang/test/CodeGen/
dllimport.c 25 // CHECK: @GlobalDecl = external dllimport global i32
26 __declspec(dllimport) int GlobalDecl;
27 USEVAR(GlobalDecl)
  /external/clang/test/Sema/
dllimport.c 24 __declspec(dllimport) int GlobalDecl;
29 int *VarForInit = &GlobalDecl; // expected-error{{initializer element is not a compile-time constant}}
  /external/clang/test/CodeGenCXX/
dllimport.cpp 45 // MSC-DAG: @"\01?GlobalDecl@@3HA" = external dllimport global i32
46 // GNU-DAG: @GlobalDecl = external dllimport global i32
47 __declspec(dllimport) int GlobalDecl;
48 USEVAR(GlobalDecl)
    [all...]
  /external/clang/lib/AST/
VTableBuilder.cpp 784 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy;
    [all...]

Completed in 902 milliseconds

1 2