| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 35 class GlobalDecl { 47 GlobalDecl() = default; 60 GlobalDecl getCanonicalDecl() const { in getCanonicalDecl() 61 GlobalDecl CanonGD; in getCanonicalDecl() 89 friend bool operator==(const GlobalDecl &LHS, const GlobalDecl &RHS) { 97 GlobalDecl GD; in getFromOpaquePtr() 103 GlobalDecl Result(*this); in getWithDecl() 113 GlobalDecl Result(*this); in getWithMultiVersionIndex() 125 return clang::GlobalDecl(); 129 return clang::GlobalDecl:: [all …]
|
| H A D | VTableBuilder.h | 153 GlobalDecl getGlobalDecl() const { in getGlobalDecl() 160 return GlobalDecl(getFunctionDecl()); in getGlobalDecl() 162 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Complete); in getGlobalDecl() 164 return GlobalDecl(DtorDecl, CXXDtorType::Dtor_Deleting); in getGlobalDecl() 330 virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) { in getThunkInfo() 353 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 393 uint64_t getMethodVTableIndex(GlobalDecl GD); 515 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 556 MethodVFTableLocation getMethodVFTableLocation(GlobalDecl GD); 558 const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) override { in getThunkInfo()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenModule.h | 336 std::map<StringRef, GlobalDecl> DeferredDecls; 340 std::vector<GlobalDecl> DeferredDeclsToEmit; 341 void addDeferredDeclToEmit(GlobalDecl GD) { in addDeferredDeclToEmit() 347 std::vector<GlobalDecl> Aliases; 351 std::vector<GlobalDecl> MultiVersionFuncs; 488 bool shouldEmitFunction(GlobalDecl GD); 520 GlobalDecl initializedGlobalDecl; 1130 StringRef getMangledName(GlobalDecl GD); 1223 void EmitGlobal(GlobalDecl D); 1341 void EmitAliasDefinition(GlobalDecl GD); [all …]
|
| H A D | CGCXX.cpp | 112 GlobalDecl AliasDecl(D, Dtor_Base); in TryEmitBaseDestructorAsAlias() 113 GlobalDecl TargetDecl(BaseD, Dtor_Base); in TryEmitBaseDestructorAsAlias() 215 GlobalDecl GD; in codegenCXXStructor() 217 GD = GlobalDecl(DD, toCXXDtorType(Type)); in codegenCXXStructor() 220 GD = GlobalDecl(CD, toCXXCtorType(Type)); in codegenCXXStructor() 235 GlobalDecl GD; in getAddrOfCXXStructor() 237 GD = GlobalDecl(CD, toCXXCtorType(Type)); in getAddrOfCXXStructor() 244 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor() 259 GlobalDecl GD, in BuildAppleKextVirtualCall() 317 return ::BuildAppleKextVirtualCall(*this, GlobalDecl(DD, Type), Ty, RD); in BuildAppleKextVirtualDestructorCall()
|
| H A D | CGCall.h | 49 GlobalDecl CalleeDecl; 53 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl) in CGCalleeInfo() 57 CGCalleeInfo(GlobalDecl calleeDecl) in CGCalleeInfo() 63 const GlobalDecl getCalleeDecl() const { return CalleeDecl; } in getCalleeDecl() 86 GlobalDecl MD; 139 static CGCallee forVirtual(const CallExpr *CE, GlobalDecl MD, Address Addr, in forVirtual() 194 GlobalDecl getVirtualMethodDecl() const { in getVirtualMethodDecl()
|
| H A D | CGCXXABI.h | 90 virtual bool isThisCompleteObject(GlobalDecl GD) const = 0; 107 virtual bool HasThisReturn(GlobalDecl GD) const { return false; } in HasThisReturn() 109 virtual bool hasMostDerivedReturn(GlobalDecl GD) const { return false; } in hasMostDerivedReturn() 346 adjustThisArgumentForVirtualFunctionCall(CodeGenFunction &CGF, GlobalDecl GD, in adjustThisArgumentForVirtualFunctionCall() 366 virtual CharUnits getVirtualFunctionPrologueThisAdjustment(GlobalDecl GD) { in getVirtualFunctionPrologueThisAdjustment() 425 GlobalDecl GD, Address This, 436 GlobalDecl GD, in adjustCallArgsForDestructorThunk() 446 GlobalDecl GD, bool ReturnAdjustment) = 0; 518 virtual bool NeedsVTTParameter(GlobalDecl GD);
|
| H A D | CGDebugInfo.h | 39 class GlobalDecl; variable 397 void EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, 403 void EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD); 408 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType); 591 llvm::DISubprogram *getFunctionFwdDeclOrStub(GlobalDecl GD, bool Stub); 595 llvm::DISubprogram *getFunctionForwardDeclaration(GlobalDecl GD); 599 llvm::DISubprogram *getFunctionStub(GlobalDecl GD); 656 void collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, 746 ApplyInlineDebugLocation(CodeGenFunction &CGF, GlobalDecl InlinedFn);
|
| H A D | CodeGenModule.cpp | 299 for (const GlobalDecl &GD : Aliases) { in checkAliases() 1000 GlobalDecl OtherGD; in UpdateMultiVersionNames() 2501 GlobalDecl CurGD{ in emitMultiVersionFunctions() 2567 GlobalDecl ResolverGD; in emitCPUDispatchDefinition() 2716 GlobalDecl GDDef; in GetOrCreateLLVMFunction() 2722 GDDef = GlobalDecl(FDDef); in GetOrCreateLLVMFunction() 2754 GlobalDecl OtherGD; in GetOrCreateLLVMFunction() 2907 GD = GlobalDecl(DD, Dtor_Base); in GetAddrOfFunction() 3050 GlobalDecl OtherGD; in GetOrCreateLLVMGlobal() 4124 GlobalDecl OtherGD; in emitIFuncDefinition() [all …]
|
| H A D | CodeGenTypes.h | 49 class GlobalDecl; variable 203 llvm::FunctionType *GetFunctionType(GlobalDecl GD); 219 llvm::Type *GetFunctionTypeForVTable(GlobalDecl GD); 251 const CGFunctionInfo &arrangeGlobalDeclaration(GlobalDecl GD);
|
| H A D | CGVTables.cpp | 35 GlobalDecl GD) { in GetAddrOfThunk() 42 GlobalDecl GD) { in setThunkProperties() 159 GlobalDecl GD, const ThunkInfo &Thunk) { in GenerateVarArgsThunk() 225 void CodeGenFunction::StartThunk(llvm::Function *Fn, GlobalDecl GD, in StartThunk() 261 StartFunction(GlobalDecl(), ResultType, Fn, FnInfo, FunctionArgs, in StartThunk() 377 void CodeGenFunction::EmitMustTailThunk(GlobalDecl GD, in EmitMustTailThunk() 474 llvm::Constant *CodeGenVTables::maybeEmitThunk(GlobalDecl GD, in maybeEmitThunk() 571 void CodeGenVTables::EmitThunks(GlobalDecl GD) { in EmitThunks() 616 GlobalDecl GD; in addVTableComponent() 626 GD = GlobalDecl(component.getDestructorDecl(), Dtor_Complete); in addVTableComponent() [all …]
|
| H A D | CGVTables.h | 61 llvm::Constant *maybeEmitThunk(GlobalDecl GD, 114 void EmitThunks(GlobalDecl GD);
|
| H A D | ModuleBuilder.cpp | 104 GlobalDecl Result; in GetDeclForMangledName() 118 llvm::Constant *GetAddrOfGlobal(GlobalDecl global, bool isForDefinition) { in GetAddrOfGlobal() 314 llvm::Constant *CodeGenerator::GetAddrOfGlobal(GlobalDecl global, in GetAddrOfGlobal()
|
| H A D | ItaniumCXXABI.cpp | 347 bool NeedsVTTParameter(GlobalDecl GD) override; 1449 CGM.EmitGlobal(GlobalDecl(D, Ctor_Base)); in EmitCXXConstructors() 1479 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors() 1483 CGM.EmitGlobal(GlobalDecl(D, Dtor_Complete)); in EmitCXXDestructors() 1542 if (!NeedsVTTParameter(GlobalDecl(D, Type))) in addImplicitConstructorArgs() 1557 GlobalDecl GD(DD, Type); in EmitDestructorCall() 3791 GlobalDecl AliasDecl; in getCodegenToUse() 3859 GlobalDecl CompleteDecl; in emitCXXStructor() 3860 GlobalDecl BaseDecl; in emitCXXStructor() 3863 BaseDecl = GlobalDecl(CD, Ctor_Base); in emitCXXStructor() [all …]
|
| H A D | CGOpenMPRuntime.h | 40 class GlobalDecl; variable 1400 virtual bool emitTargetFunctions(GlobalDecl GD); 1405 virtual bool emitTargetGlobalVariable(GlobalDecl GD); 1415 virtual bool emitTargetGlobal(GlobalDecl GD); 1572 bool markAsGlobalTarget(GlobalDecl GD); 2065 bool emitTargetFunctions(GlobalDecl GD) override; 2070 bool emitTargetGlobalVariable(GlobalDecl GD) override; 2075 bool emitTargetGlobal(GlobalDecl GD) override;
|
| H A D | CGDeclCXX.cpp | 111 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy() 336 SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in CreateGlobalInitOrDestructFunction() 607 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc() 630 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc() 689 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc()
|
| H A D | MicrosoftCXXABI.cpp | 52 bool HasThisReturn(GlobalDecl GD) const override; 1044 static bool isDeletingDtor(GlobalDecl GD) { in isDeletingDtor() 1195 CGM.EmitGlobal(GlobalDecl(D, Ctor_Complete)); in EmitCXXConstructors() 1316 CGM.EmitGlobal(GlobalDecl(D, Dtor_Base)); in EmitCXXDestructors() 1331 GD = GlobalDecl(DD, Dtor_Deleting); in getVirtualFunctionPrologueThisAdjustment() 1371 GlobalDecl LookupGD = GD; in adjustThisArgumentForVirtualFunctionCall() 1380 LookupGD = GlobalDecl(DD, Dtor_Deleting); in adjustThisArgumentForVirtualFunctionCall() 1557 GlobalDecl(DD, Type)); in EmitDestructorCall() 1887 GlobalDecl GD(Dtor, Dtor_Deleting); in EmitVirtualDestructorCall() 1976 CGF.CurGD = GlobalDecl(MD); in EmitVirtualMemPtrThunk() [all …]
|
| H A D | CodeGenPGO.h | 83 void assignRegionCounters(GlobalDecl GD, llvm::Function *Fn);
|
| H A D | CGExprCXX.cpp | 181 CGCallee::forDirect(CGM.GetAddrOfFunction(MD), GlobalDecl(MD)); in EmitCXXMemberCallExpr() 357 GlobalDecl(Dtor, Dtor_Complete)); in EmitCXXMemberOrOperatorMemberCallExpr() 362 CGM.GetAddrOfFunction(GlobalDecl(DDtor, Dtor_Complete), Ty), in EmitCXXMemberOrOperatorMemberCallExpr() 363 GlobalDecl(DDtor, Dtor_Complete)); in EmitCXXMemberOrOperatorMemberCallExpr() 375 CGM.GetAddrOfFunction(GlobalDecl(Ctor, Ctor_Complete), Ty), in EmitCXXMemberOrOperatorMemberCallExpr() 376 GlobalDecl(Ctor, Ctor_Complete)); in EmitCXXMemberOrOperatorMemberCallExpr() 394 CGCallee::forDirect(CGM.GetAddrOfFunction(MD, Ty), GlobalDecl(MD)); in EmitCXXMemberOrOperatorMemberCallExpr() 398 GlobalDecl(DevirtualizedMethod)); in EmitCXXMemberOrOperatorMemberCallExpr() 1298 CGCallee Callee = CGCallee::forDirect(CalleePtr, GlobalDecl(CalleeDecl)); in EmitNewDeleteCall()
|
| H A D | CGOpenMPRuntime.cpp | 1274 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FnInfo); in emitCombinerOrInitializer() 3093 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitCopyprivateCopyFunction() 4594 CGF.StartFunction(GlobalDecl(), C.VoidTy, TaskPrivatesMap, in emitTaskPrivateMappingFunction() 5434 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, CGFI); in emitReductionFunction() 5873 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FnInfo); in emitReduceInitFunction() 5950 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FnInfo); in emitReduceCombFunction() 6020 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FnInfo); in emitReduceFiniFunction() 8652 bool CGOpenMPRuntime::emitTargetFunctions(GlobalDecl GD) { in emitTargetFunctions() 8761 bool CGOpenMPRuntime::emitTargetGlobal(GlobalDecl GD) { in emitTargetGlobal() 8805 bool CGOpenMPRuntime::markAsGlobalTarget(GlobalDecl GD) { in markAsGlobalTarget() [all …]
|
| H A D | CodeGenFunction.h | 318 GlobalDecl CurGD; 1496 GlobalDecl OldCurGD; 1746 llvm::Function *GenerateBlockFunction(GlobalDecl GD, 1806 QualType BuildFunctionArgList(GlobalDecl GD, FunctionArgList &Args); 1808 void GenerateCode(GlobalDecl GD, llvm::Function *Fn, 1818 void StartFunction(GlobalDecl GD, 1851 void StartThunk(llvm::Function *Fn, GlobalDecl GD, 1860 void EmitMustTailThunk(GlobalDecl GD, llvm::Value *AdjustedThisPtr, 1865 GlobalDecl GD, const ThunkInfo &Thunk, 2471 llvm::Value *GetVTTParameter(GlobalDecl GD, bool ForVirtualBase, [all …]
|
| H A D | CGBlocks.cpp | 1386 GlobalDecl(), blockInfo, LocalDeclMap, in GetAddrOfGlobalBlock() 1524 CodeGenFunction::GenerateBlockFunction(GlobalDecl GD, in GenerateBlockFunction() 1649 PGO.assignRegionCounters(GlobalDecl(blockDecl), fn); in GenerateBlockFunction() 1985 CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in setBlockHelperAttributesVisibility() 1989 CGM.SetLLVMFunctionAttributes(GlobalDecl(), FI, Fn); in setBlockHelperAttributesVisibility() 2487 CGF.CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in generateByrefCopyHelper() 2562 CGF.CGM.SetInternalFunctionAttributes(GlobalDecl(), Fn, FI); in generateByrefDisposeHelper()
|
| H A D | CGCXXABI.cpp | 304 bool CGCXXABI::NeedsVTTParameter(GlobalDecl GD) { in NeedsVTTParameter()
|
| H A D | CGDebugInfo.cpp | 145 GlobalDecl InlinedFn) in ApplyInlineDebugLocation() 1547 GlobalDecl GD = DD ? GlobalDecl(DD, Dtor_Deleting) : GlobalDecl(Method); in CreateCXXMemberFunction() 3095 void CGDebugInfo::collectFunctionDeclProps(GlobalDecl GD, llvm::DIFile *Unit, in collectFunctionDeclProps() 3189 llvm::DISubprogram *CGDebugInfo::getFunctionFwdDeclOrStub(GlobalDecl GD, in getFunctionFwdDeclOrStub() 3236 llvm::DISubprogram *CGDebugInfo::getFunctionForwardDeclaration(GlobalDecl GD) { in getFunctionForwardDeclaration() 3240 llvm::DISubprogram *CGDebugInfo::getFunctionStub(GlobalDecl GD) { in getFunctionStub() 3401 void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, in EmitFunctionStart() 3510 void CGDebugInfo::EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, in EmitFunctionDecl() 3554 void CGDebugInfo::EmitInlineFunctionStart(CGBuilderTy &Builder, GlobalDecl GD) { in EmitInlineFunctionStart()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/CodeGen/ |
| H A D | ModuleBuilder.h | 31 class GlobalDecl; variable 86 llvm::Constant *GetAddrOfGlobal(GlobalDecl decl, bool isForDefinition);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | VTableBuilder.cpp | 783 typedef llvm::DenseMap<GlobalDecl, int64_t> MethodVTableIndicesTy; 1672 MethodVTableIndices[GlobalDecl(DD, Dtor_Complete)] in LayoutPrimaryAndSecondaryVTables() 1674 MethodVTableIndices[GlobalDecl(DD, Dtor_Deleting)] in LayoutPrimaryAndSecondaryVTables() 2167 GlobalDecl GD(DD, Dtor_Complete); in dumpLayout() 2223 uint64_t ItaniumVTableContext::getMethodVTableIndex(GlobalDecl GD) { in getMethodVTableIndex() 2369 typedef llvm::DenseMap<GlobalDecl, MethodVFTableLocation> 2514 MethodVFTableLocations[GlobalDecl(DD, Dtor_Deleting)] = Loc; in LayoutVFTable() 3732 MicrosoftVTableContext::getMethodVFTableLocation(GlobalDecl GD) { in getMethodVFTableLocation()
|