HomeSort by relevance Sort by last modified time
    Searched refs:GlobalDecl (Results 1 - 25 of 30) 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"
291 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) {
314 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy;
355 uint64_t getMethodVTableIndex(GlobalDecl GD);
482 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation>
521 const MethodVFTableLocation &getMethodVFTableLocation(GlobalDecl GD);
523 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override {
  /external/clang/lib/CodeGen/
CGCXX.cpp 104 return TryEmitDefinitionAsAlias(GlobalDecl(D, Dtor_Base),
105 GlobalDecl(BaseD, Dtor_Base),
112 bool CodeGenModule::TryEmitDefinitionAsAlias(GlobalDecl AliasDecl,
113 GlobalDecl TargetDecl,
209 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete),
210 GlobalDecl(ctor, Ctor_Base), true);
220 setFunctionLinkage(GlobalDecl(ctor, ctorType), fn);
222 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorType), fn, fnInfo);
233 GlobalDecl GD(ctor, ctorType);
255 !TryEmitDefinitionAsAlias(GlobalDecl(dtor, Dtor_Complete)
    [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);
110 void EmitThunks(GlobalDecl GD);
CodeGenModule.h 23 #include "clang/AST/GlobalDecl.h"
314 std::map<StringRef, GlobalDecl> DeferredDecls;
319 DeferredGlobal(llvm::GlobalValue *GV, GlobalDecl GD) : GV(GV), GD(GD) {}
321 GlobalDecl GD;
324 void addDeferredDeclToEmit(llvm::GlobalValue *GV, GlobalDecl GD) {
330 std::vector<GlobalDecl> Aliases;
353 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames;
354 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings;
450 bool shouldEmitFunction(GlobalDecl GD);
474 GlobalDecl initializedGlobalDecl
    [all...]
CGCXXABI.h 94 virtual bool HasThisReturn(GlobalDecl GD) const { return false; }
242 /// 'this' if HasThisReturn(GlobalDecl(Ctor, T)) is true or 'void' otherwise
268 /// 'this' if HasThisReturn(GlobalDecl(Dtor, T)) is true or 'void' otherwise
297 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
319 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) {
366 GlobalDecl GD,
378 GlobalDecl GD,
387 GlobalDecl GD, bool ReturnAdjustment) = 0;
457 virtual bool NeedsVTTParameter(GlobalDecl GD);
CodeGenTypes.h 18 #include "clang/AST/GlobalDecl.h"
133 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
144 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
176 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
CGVTables.cpp 35 llvm::Constant *CodeGenModule::GetAddrOfThunk(GlobalDecl GD,
129 GlobalDecl GD, const ThunkInfo &Thunk) {
193 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD,
219 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs,
222 // Since we didn't pass a GlobalDecl to StartFunction, do this ourselves.
227 void CodeGenFunction::EmitCallAndReturnForThunk(GlobalDecl GD,
300 GlobalDecl GD, const ThunkInfo &Thunk) {
319 void CodeGenVTables::emitThunk(GlobalDecl GD, const ThunkInfo &Thunk,
396 void CodeGenVTables::maybeEmitThunkForVTable(GlobalDecl GD,
415 void CodeGenVTables::EmitThunks(GlobalDecl GD
    [all...]
ModuleBuilder.cpp 53 GlobalDecl Result;
CodeGenModule.cpp 250 for (std::vector<GlobalDecl>::iterator I = Aliases.begin(),
252 const GlobalDecl &GD = *I;
299 for (std::vector<GlobalDecl>::iterator I = Aliases.begin(),
301 const GlobalDecl &GD = *I;
528 StringRef CodeGenModule::getMangledName(GlobalDecl GD) {
556 StringRef CodeGenModule::getBlockMangledName(GlobalDecl GD,
629 CodeGenModule::getFunctionLinkage(GlobalDecl GD) {
821 void CodeGenModule::SetFunctionAttributes(GlobalDecl GD,
    [all...]
MicrosoftCXXABI.cpp 45 bool HasThisReturn(GlobalDecl GD) const override;
171 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
179 CodeGenFunction &CGF, GlobalDecl GD, llvm::Value *This) override;
208 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
217 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD,
235 GlobalDecl GD, bool ReturnAdjustment) override {
425 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD);
762 bool MicrosoftCXXABI::HasThisReturn(GlobalDecl GD) const {
    [all...]
CGDeclCXX.cpp 429 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn,
452 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
503 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
ItaniumCXXABI.cpp 191 llvm::Value *getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
202 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD,
244 bool NeedsVTTParameter(GlobalDecl GD) override;
284 bool HasThisReturn(GlobalDecl GD) const override {
    [all...]
CodeGenFunction.h 151 /// CurGD - The GlobalDecl for the current function being compiled.
152 GlobalDecl CurGD;
    [all...]
CGDebugInfo.h 38 class GlobalDecl;
232 void EmitFunctionStart(GlobalDecl GD,
CGCXXABI.cpp 325 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) {
CGCall.cpp 227 GlobalDecl GD(D, ctorKind);
260 GlobalDecl GD(D, CtorKind);
277 GlobalDecl GD(D, dtorKind);
358 CodeGenTypes::arrangeGlobalDeclaration(GlobalDecl GD) {
    [all...]
CGClass.cpp 288 llvm::Value *CodeGenFunction::GetVTTParameter(GlobalDecl GD,
    [all...]
CGExprCXX.cpp 199 Callee = CGM.GetAddrOfFunction(GlobalDecl(DDtor, Dtor_Complete), Ty);
208 Callee = CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty);
404 // We should be emitting a constructor; GlobalDecl will assert this
    [all...]
CodeGenFunction.cpp 521 void CodeGenFunction::StartFunction(GlobalDecl GD,
757 void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
    [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 44 // MSC-DAG: @"\01?GlobalDecl@@3HA" = external dllimport global i32
45 // GNU-DAG: @GlobalDecl = external dllimport global i32
46 __declspec(dllimport) int GlobalDecl;
47 USEVAR(GlobalDecl)
    [all...]
  /external/clang/lib/AST/
VTableBuilder.cpp 786 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy;
    [all...]
MicrosoftMangle.cpp 520 VTContext->getMethodVFTableLocation(GlobalDecl(MD));
    [all...]

Completed in 417 milliseconds

1 2