HomeSort by: relevance | last modified time | path
    Searched refs:GlobalDecl (Results 1 - 25 of 49) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
GlobalDecl.h 1 //===- GlobalDecl.h - Global declaration holder -----------------*- C++ -*-===//
9 // A GlobalDecl can hold either a regular variable/function or a C++ ctor/dtor
43 /// GlobalDecl - represents a global declaration. This can either be a
49 /// When a new type of GlobalDecl is added, the following places should
50 /// be updated to convert a Decl* to a GlobalDecl:
55 class GlobalDecl {
68 GlobalDecl() = default;
69 GlobalDecl(const VarDecl *D) { Init(D);}
70 GlobalDecl(const FunctionDecl *D, unsigned MVIndex = 0)
78 GlobalDecl(const FunctionDecl *D, KernelReferenceKind Kind
    [all...]
VTableBuilder.h 18 #include "clang/AST/GlobalDecl.h"
153 GlobalDecl getGlobalDecl() const {
155 "GlobalDecl can be created only from virtual function");
160 return GlobalDecl(getFunctionDecl());
162 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Complete);
164 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Deleting);
342 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) {
368 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy;
418 uint64_t getMethodVTableIndex(GlobalDecl GD);
550 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation
    [all...]
Mangle.h 17 #include "clang/AST/GlobalDecl.h"
120 void mangleName(GlobalDecl GD, raw_ostream &);
121 virtual void mangleCXXName(GlobalDecl GD, raw_ostream &) = 0;
  /src/external/apache2/llvm/dist/clang/include/clang/CodeGen/
ModuleBuilder.h 30 class GlobalDecl;
85 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenModule.h 23 #include "clang/AST/GlobalDecl.h"
348 std::map<StringRef, GlobalDecl> DeferredDecls;
352 std::vector<GlobalDecl> DeferredDeclsToEmit;
353 void addDeferredDeclToEmit(GlobalDecl GD) {
359 std::vector<GlobalDecl> Aliases;
363 std::vector<GlobalDecl> MultiVersionFuncs;
381 llvm::DenseSet<GlobalDecl> DiagnosedConflictingDefinitions;
404 llvm::MapVector<GlobalDecl, StringRef> MangledDeclNames;
405 llvm::StringMap<GlobalDecl, llvm::BumpPtrAllocator> Manglings;
409 llvm::MapVector<std::pair<GlobalDecl, unsigned>, StringRef
    [all...]
CGCXX.cpp 112 GlobalDecl AliasDecl(D, Dtor_Base);
113 GlobalDecl TargetDecl(BaseD, Dtor_Base);
207 llvm::Function *CodeGenModule::codegenCXXStructor(GlobalDecl GD) {
222 GlobalDecl GD, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType,
248 GlobalDecl GD,
304 GlobalDecl(DD, Dtor_Complete));
306 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD);
CGCall.h 21 #include "clang/AST/GlobalDecl.h"
49 GlobalDecl CalleeDecl;
53 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl)
57 CGCalleeInfo(GlobalDecl calleeDecl)
63 const GlobalDecl getCalleeDecl() const { return CalleeDecl; }
86 GlobalDecl MD;
145 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr,
201 GlobalDecl getVirtualMethodDecl() const {
CodeGenTypes.h 48 class GlobalDecl;
142 llvm::FunctionType *GetFunctionType(GlobalDecl GD);
158 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD);
190 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
240 const CGFunctionInfo &arrangeCXXStructorDeclaration(GlobalDecl GD);
CGVTables.h 18 #include "clang/AST/GlobalDecl.h"
60 llvm::Constant *maybeEmitThunk(GlobalDecl GD,
136 void EmitThunks(GlobalDecl GD);
CGCXXABI.h 90 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0;
107 virtual bool HasThisReturn(GlobalDecl GD) const { return false; }
109 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; }
332 buildStructorSignature(GlobalDecl GD,
365 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
385 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) {
456 GlobalDecl GD, Address This,
471 GlobalDecl GD,
481 GlobalDecl GD, bool ReturnAdjustment) = 0;
553 virtual bool NeedsVTTParameter(GlobalDecl GD)
    [all...]
CGCUDARuntime.h 18 #include "clang/AST/GlobalDecl.h"
100 GlobalDecl GD) = 0;
ModuleBuilder.cpp 111 GlobalDecl Result;
125 llvm::Constant *GetAddrOfGlobal(GlobalDecl global, bool isForDefinition) {
328 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global,
CodeGenPGO.h 82 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
CGDebugInfo.h 40 class GlobalDecl;
247 /// function GlobalDecl.
424 void emitFunctionStart(GlobalDecl GD, SourceLocation Loc,
429 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD);
435 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc,
656 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub);
659 /// represented in the given FunctionDecl wrapped in a GlobalDecl.
660 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD);
663 /// represented in the given FunctionDecl wrapped in a GlobalDecl.
664 llvm::DISubprogram *getFunctionStub(GlobalDecl GD)
    [all...]
CodeGenModule.cpp 342 for (const GlobalDecl &GD : Aliases) {
402 for (const GlobalDecl &GD : Aliases) {
1073 GlobalDecl GD) const {
1094 GlobalDecl GD) const {
1201 static bool isUniqueInternalLinkageDecl(GlobalDecl GD,
1208 static std::string getMangledNameImpl(CodeGenModule &CGM, GlobalDecl GD,
1274 void CodeGenModule::UpdateMultiVersionNames(GlobalDecl GD,
1284 GlobalDecl OtherGD;
1314 StringRef CodeGenModule::getMangledName(GlobalDecl GD) {
1315 GlobalDecl CanonicalGD = GD.getCanonicalDecl()
    [all...]
CGDeclCXX.cpp 110 GlobalDecl(Record->getDestructor(), Dtor_Complete)) ||
120 Func = CGM.getAddrAndTypeOfCXXStructor(GlobalDecl(Dtor, Dtor_Complete));
247 CGF.StartFunction(GlobalDecl(&VD, DynamicInitKind::AtExit),
383 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI);
723 StartFunction(GlobalDecl(D, DynamicInitKind::Initializer),
753 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
813 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
862 StartFunction(GlobalDecl(VD, DynamicInitKind::GlobalArrayDestructor),
CGVTables.cpp 35 GlobalDecl GD) {
42 GlobalDecl GD) {
159 GlobalDecl GD, const ThunkInfo &Thunk) {
236 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD,
271 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs,
276 // Since we didn't pass a GlobalDecl to StartFunction, do this ourselves.
392 void CodeGenFunction::EmitMustTailThunk(GlobalDecl GD,
448 const CGFunctionInfo &FnInfo, GlobalDecl GD,
492 llvm::Constant *CodeGenVTables::maybeEmitThunk(GlobalDecl GD,
605 void CodeGenVTables::EmitThunks(GlobalDecl GD)
    [all...]
MicrosoftCXXABI.cpp 52 bool HasThisReturn(GlobalDecl GD) const override;
53 bool hasMostDerivedReturn(GlobalDecl GD) const override;
61 bool isThisCompleteObject(GlobalDecl GD) const override {
215 buildStructorSignature(GlobalDecl GD,
252 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD,
308 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
317 void adjustCallArgsForDestructorThunk(CodeGenFunction &CGF, GlobalDecl GD,
378 GlobalDecl GD, bool ReturnAdjustment) override {
578 CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) override;
695 void emitCXXStructor(GlobalDecl GD) override
    [all...]
ItaniumCXXABI.cpp 77 bool isThisCompleteObject(GlobalDecl GD) const override {
207 buildStructorSignature(GlobalDecl GD,
271 CGCallee getVirtualFunctionPointer(CodeGenFunction &CGF, GlobalDecl GD,
285 void setThunkLinkage(llvm::Function *Thunk, bool ForVTable, GlobalDecl GD,
378 bool NeedsVTTParameter(GlobalDecl GD) override;
411 void emitCXXStructor(GlobalDecl GD) override;
470 bool HasThisReturn(GlobalDecl GD) const override {
505 bool HasThisReturn(GlobalDecl GD) const override {
523 bool HasThisReturn(GlobalDecl GD) const override {
1339 Dtor = CGM.getAddrOfCXXStructor(GlobalDecl(DtorD, Dtor_Complete))
    [all...]
TargetInfo.h 65 const llvm::MapVector<GlobalDecl, StringRef> &MangledDeclNames) const {}
CGOpenMPRuntime.h 18 #include "clang/AST/GlobalDecl.h"
1582 virtual bool emitTargetFunctions(GlobalDecl GD);
1587 virtual bool emitTargetGlobalVariable(GlobalDecl GD);
1602 virtual bool emitTargetGlobal(GlobalDecl GD);
1785 bool markAsGlobalTarget(GlobalDecl GD);
2422 bool emitTargetFunctions(GlobalDecl GD) override;
2427 bool emitTargetGlobalVariable(GlobalDecl GD) override;
2432 bool emitTargetGlobal(GlobalDecl GD) override;
CGCUDANV.cpp 164 llvm::GlobalValue *getKernelHandle(llvm::Function *F, GlobalDecl GD) override;
257 GlobalDecl GD;
260 GD = GlobalDecl(FD, KernelReferenceKind::Kernel);
262 GD = GlobalDecl(ND);
1124 GlobalDecl GD) {
CGCXXABI.cpp 278 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) {
  /src/external/apache2/llvm/dist/clang/lib/AST/
Mangle.cpp 141 void MangleContext::mangleName(GlobalDecl GD, raw_ostream &Out) {
272 mangleName(GlobalDecl(CD, CT), Out);
281 mangleName(GlobalDecl(DD, DT), Out);
521 GlobalDecl GD;
523 GD = GlobalDecl(CtorD, Ctor_Complete);
525 GD = GlobalDecl(DtorD, Dtor_Complete);
527 GD = GlobalDecl(cast<FunctionDecl>(D));
529 GD = GlobalDecl(D);
550 GlobalDecl GD;
552 GD = GlobalDecl(CD, static_cast<CXXCtorType>(StructorType))
    [all...]
ItaniumMangle.cpp 153 void mangleCXXName(GlobalDecl GD, raw_ostream &) override;
462 void mangle(GlobalDecl GD);
467 void mangleFunctionEncoding(GlobalDecl GD);
469 void mangleName(GlobalDecl GD);
506 void mangleNameWithAbiTags(GlobalDecl GD,
513 void mangleUnqualifiedName(GlobalDecl GD,
518 void mangleUnqualifiedName(GlobalDecl GD, DeclarationName Name,
521 void mangleUnscopedName(GlobalDecl GD,
523 void mangleUnscopedTemplateName(GlobalDecl GD,
530 void mangleLocalName(GlobalDecl GD
    [all...]

Completed in 34 milliseconds

1 2