Lines Matching refs:CodeGenModule

64 static CGCXXABI *createCXXABI(CodeGenModule &CGM) {  in createCXXABI()
82 CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO, in CodeGenModule() function in CodeGenModule
161 CodeGenModule::~CodeGenModule() {} in ~CodeGenModule()
163 void CodeGenModule::createObjCRuntime() { in createObjCRuntime()
183 void CodeGenModule::createOpenCLRuntime() { in createOpenCLRuntime()
187 void CodeGenModule::createOpenMPRuntime() { in createOpenMPRuntime()
204 void CodeGenModule::createCUDARuntime() { in createCUDARuntime()
208 void CodeGenModule::addReplacement(StringRef Name, llvm::Constant *C) { in addReplacement()
212 void CodeGenModule::applyReplacements() { in applyReplacements()
243 void CodeGenModule::addGlobalValReplacement(llvm::GlobalValue *GV, llvm::Constant *C) { in addGlobalValReplacement()
247 void CodeGenModule::applyGlobalValReplacements() { in applyGlobalValReplacements()
277 void CodeGenModule::checkAliases() { in checkAliases()
354 void CodeGenModule::clear() { in clear()
373 void CodeGenModule::Release() { in Release()
503 void CodeGenModule::UpdateCompletedType(const TagDecl *TD) { in UpdateCompletedType()
508 void CodeGenModule::RefreshTypeCacheForClass(const CXXRecordDecl *RD) { in RefreshTypeCacheForClass()
513 llvm::MDNode *CodeGenModule::getTBAAInfo(QualType QTy) { in getTBAAInfo()
519 llvm::MDNode *CodeGenModule::getTBAAInfoForVTablePtr() { in getTBAAInfoForVTablePtr()
525 llvm::MDNode *CodeGenModule::getTBAAStructInfo(QualType QTy) { in getTBAAStructInfo()
531 llvm::MDNode *CodeGenModule::getTBAAStructTagInfo(QualType BaseTy, in getTBAAStructTagInfo()
543 void CodeGenModule::DecorateInstructionWithTBAA(llvm::Instruction *Inst, in DecorateInstructionWithTBAA()
553 void CodeGenModule::DecorateInstructionWithInvariantGroup( in DecorateInstructionWithInvariantGroup()
563 void CodeGenModule::Error(SourceLocation loc, StringRef message) { in Error()
570 void CodeGenModule::ErrorUnsupported(const Stmt *S, const char *Type) { in ErrorUnsupported()
580 void CodeGenModule::ErrorUnsupported(const Decl *D, const char *Type) { in ErrorUnsupported()
587 llvm::ConstantInt *CodeGenModule::getSize(CharUnits size) { in getSize()
591 void CodeGenModule::setGlobalVisibility(llvm::GlobalValue *GV, in setGlobalVisibility()
628 void CodeGenModule::setTLSMode(llvm::GlobalValue *GV, const VarDecl &D) const { in setTLSMode()
642 StringRef CodeGenModule::getMangledName(GlobalDecl GD) { in getMangledName()
683 StringRef CodeGenModule::getBlockMangledName(GlobalDecl GD, in getBlockMangledName()
704 llvm::GlobalValue *CodeGenModule::GetGlobalValue(StringRef Name) { in GetGlobalValue()
710 void CodeGenModule::AddGlobalCtor(llvm::Function *Ctor, int Priority, in AddGlobalCtor()
718 void CodeGenModule::AddGlobalDtor(llvm::Function *Dtor, int Priority) { in AddGlobalDtor()
723 void CodeGenModule::EmitCtorList(const CtorList &Fns, const char *GlobalName) { in EmitCtorList()
754 CodeGenModule::getFunctionLinkage(GlobalDecl GD) { in getFunctionLinkage()
780 void CodeGenModule::setFunctionDLLStorageClass(GlobalDecl GD, llvm::Function *F) { in setFunctionDLLStorageClass()
799 llvm::ConstantInt *CodeGenModule::CreateCrossDsoCfiTypeId(llvm::Metadata *MD) { in CreateCrossDsoCfiTypeId()
813 void CodeGenModule::setFunctionDefinitionAttributes(const FunctionDecl *D, in setFunctionDefinitionAttributes()
818 void CodeGenModule::SetLLVMFunctionAttributes(const Decl *D, in SetLLVMFunctionAttributes()
849 void CodeGenModule::SetLLVMFunctionAttributesForDefinition(const Decl *D, in SetLLVMFunctionAttributesForDefinition()
932 void CodeGenModule::SetCommonAttributes(const Decl *D, in SetCommonAttributes()
943 void CodeGenModule::setAliasAttributes(const Decl *D, in setAliasAttributes()
953 void CodeGenModule::setNonAliasAttributes(const Decl *D, in setNonAliasAttributes()
964 void CodeGenModule::SetInternalFunctionAttributes(const Decl *D, in SetInternalFunctionAttributes()
996 GV->setVisibility(CodeGenModule::GetLLVMVisibility(LV.getVisibility())); in setLinkageAndVisibilityForGV()
1000 void CodeGenModule::CreateFunctionTypeMetadata(const FunctionDecl *FD, in CreateFunctionTypeMetadata()
1031 void CodeGenModule::SetFunctionAttributes(GlobalDecl GD, llvm::Function *F, in SetFunctionAttributes()
1092 void CodeGenModule::addUsedGlobal(llvm::GlobalValue *GV) { in addUsedGlobal()
1098 void CodeGenModule::addCompilerUsedGlobal(llvm::GlobalValue *GV) { in addCompilerUsedGlobal()
1104 static void emitUsed(CodeGenModule &CGM, StringRef Name, in emitUsed()
1130 void CodeGenModule::emitLLVMUsed() { in emitLLVMUsed()
1135 void CodeGenModule::AppendLinkerOptions(StringRef Opts) { in AppendLinkerOptions()
1140 void CodeGenModule::AddDetectMismatch(StringRef Name, StringRef Value) { in AddDetectMismatch()
1147 void CodeGenModule::AddDependentLib(StringRef Lib) { in AddDependentLib()
1156 static void addLinkOptionsPostorder(CodeGenModule &CGM, Module *Mod, in addLinkOptionsPostorder()
1194 void CodeGenModule::EmitModuleLinkOptions() { in EmitModuleLinkOptions()
1253 void CodeGenModule::EmitDeferred() { in EmitDeferred()
1318 void CodeGenModule::EmitGlobalAnnotations() { in EmitGlobalAnnotations()
1331 llvm::Constant *CodeGenModule::EmitAnnotationString(StringRef Str) { in EmitAnnotationString()
1347 llvm::Constant *CodeGenModule::EmitAnnotationUnit(SourceLocation Loc) { in EmitAnnotationUnit()
1355 llvm::Constant *CodeGenModule::EmitAnnotationLineNo(SourceLocation L) { in EmitAnnotationLineNo()
1363 llvm::Constant *CodeGenModule::EmitAnnotateAttr(llvm::GlobalValue *GV, in EmitAnnotateAttr()
1381 void CodeGenModule::AddGlobalAnnotations(const ValueDecl *D, in AddGlobalAnnotations()
1389 bool CodeGenModule::isInSanitizerBlacklist(llvm::Function *Fn, in isInSanitizerBlacklist()
1407 bool CodeGenModule::isInSanitizerBlacklist(llvm::GlobalVariable *GV, in isInSanitizerBlacklist()
1436 bool CodeGenModule::MustBeEmitted(const ValueDecl *Global) { in MustBeEmitted()
1444 bool CodeGenModule::MayBeEmittedEagerly(const ValueDecl *Global) { in MayBeEmittedEagerly()
1465 ConstantAddress CodeGenModule::GetAddrOfUuidDescriptor( in GetAddrOfUuidDescriptor()
1491 ConstantAddress CodeGenModule::GetWeakRefReference(const ValueDecl *VD) { in GetWeakRefReference()
1523 void CodeGenModule::EmitGlobal(GlobalDecl GD) { in EmitGlobal()
1714 CodeGenModule::isTriviallyRecursive(const FunctionDecl *FD) { in isTriviallyRecursive()
1732 CodeGenModule::shouldEmitFunction(GlobalDecl GD) { in shouldEmitFunction()
1760 void CodeGenModule::CompleteDIClassType(const CXXMethodDecl* D) { in CompleteDIClassType()
1771 void CodeGenModule::EmitGlobalDefinition(GlobalDecl GD, llvm::GlobalValue *GV) { in EmitGlobalDefinition()
1821 CodeGenModule::GetOrCreateLLVMFunction(StringRef MangledName, in GetOrCreateLLVMFunction()
1982 llvm::Constant *CodeGenModule::GetAddrOfFunction(GlobalDecl GD, in GetAddrOfFunction()
2003 CodeGenModule::CreateRuntimeFunction(llvm::FunctionType *FTy, in CreateRuntimeFunction()
2018 CodeGenModule::CreateBuiltinFunction(llvm::FunctionType *FTy, in CreateBuiltinFunction()
2036 bool CodeGenModule::isTypeConstant(QualType Ty, bool ExcludeCtor) { in isTypeConstant()
2062 CodeGenModule::GetOrCreateLLVMGlobal(StringRef MangledName, in GetOrCreateLLVMGlobal()
2179 CodeGenModule::GetAddrOfGlobal(GlobalDecl GD, in GetAddrOfGlobal()
2208 CodeGenModule::CreateOrReplaceCXXRuntimeVariable(StringRef Name, in CreateOrReplaceCXXRuntimeVariable()
2255 llvm::Constant *CodeGenModule::GetAddrOfGlobalVar(const VarDecl *D, in GetAddrOfGlobalVar()
2273 CodeGenModule::CreateRuntimeVariable(llvm::Type *Ty, in CreateRuntimeVariable()
2278 void CodeGenModule::EmitTentativeDefinition(const VarDecl *D) { in EmitTentativeDefinition()
2301 CharUnits CodeGenModule::GetTargetTypeStoreSize(llvm::Type *Ty) const { in GetTargetTypeStoreSize()
2306 unsigned CodeGenModule::GetGlobalVarAddressSpace(const VarDecl *D, in GetGlobalVarAddressSpace()
2321 void CodeGenModule::MaybeHandleStaticInExternC(const SomeDecl *D, in MaybeHandleStaticInExternC()
2353 static bool shouldBeInCOMDAT(CodeGenModule &CGM, const Decl &D) { in shouldBeInCOMDAT()
2378 void CodeGenModule::maybeSetTrivialComdat(const Decl &D, in maybeSetTrivialComdat()
2386 void CodeGenModule::EmitGlobalVarDefinition(const VarDecl *D, in EmitGlobalVarDefinition()
2595 CodeGenModule &CGM, const VarDecl *D, in isVarDeclStrongDefinition()
2650 llvm::GlobalValue::LinkageTypes CodeGenModule::getLLVMLinkageForDeclarator( in getLLVMLinkageForDeclarator()
2718 llvm::GlobalValue::LinkageTypes CodeGenModule::getLLVMLinkageVarDefinition( in getLLVMLinkageVarDefinition()
2853 void CodeGenModule::HandleCXXStaticMemberVarInstantiation(VarDecl *VD) { in HandleCXXStaticMemberVarInstantiation()
2867 void CodeGenModule::EmitGlobalFunctionDefinition(GlobalDecl GD, in EmitGlobalFunctionDefinition()
2913 void CodeGenModule::EmitAliasDefinition(GlobalDecl GD) { in EmitAliasDefinition()
2989 void CodeGenModule::emitIFuncDefinition(GlobalDecl GD) { in emitIFuncDefinition()
3048 llvm::Function *CodeGenModule::getIntrinsic(unsigned IID, in getIntrinsic()
3098 CodeGenModule::GetAddrOfConstantCFString(const StringLiteral *Literal) { in GetAddrOfConstantCFString()
3229 CodeGenModule::GetAddrOfConstantString(const StringLiteral *Literal) { in GetAddrOfConstantString()
3346 QualType CodeGenModule::getObjCFastEnumerationStateType() { in getObjCFastEnumerationStateType()
3380 CodeGenModule::GetConstantArrayFromStringLiteral(const StringLiteral *E) { in GetConstantArrayFromStringLiteral()
3421 CodeGenModule &CGM, StringRef GlobalName, in GenerateStringLiteral()
3446 CodeGenModule::GetAddrOfConstantStringFromLiteral(const StringLiteral *S, in GetAddrOfConstantStringFromLiteral()
3493 CodeGenModule::GetAddrOfConstantStringFromObjCEncode(const ObjCEncodeExpr *E) { in GetAddrOfConstantStringFromObjCEncode()
3503 ConstantAddress CodeGenModule::GetAddrOfConstantCString( in GetAddrOfConstantCString()
3534 ConstantAddress CodeGenModule::GetAddrOfGlobalTemporary( in GetAddrOfGlobalTemporary()
3624 void CodeGenModule::EmitObjCPropertyImplementations(const in EmitObjCPropertyImplementations()
3657 static bool AllTrivialInitializers(CodeGenModule &CGM, in AllTrivialInitializers()
3672 void CodeGenModule::EmitObjCIvarInitializations(ObjCImplementationDecl *D) { in EmitObjCIvarInitializations()
3714 void CodeGenModule::EmitNamespace(const NamespaceDecl *ND) { in EmitNamespace()
3725 void CodeGenModule::EmitLinkageSpec(const LinkageSpecDecl *LSD) { in EmitLinkageSpec()
3744 void CodeGenModule::EmitTopLevelDecl(Decl *D) { in EmitTopLevelDecl()
3950 void CodeGenModule::AddDeferredUnusedCoverageMapping(Decl *D) { in AddDeferredUnusedCoverageMapping()
3973 void CodeGenModule::ClearUnusedCoverageMapping(const Decl *D) { in ClearUnusedCoverageMapping()
3988 void CodeGenModule::EmitDeferredUnusedCoverageMappings() { in EmitDeferredUnusedCoverageMappings()
4042 static void EmitGlobalDeclMetadata(CodeGenModule &CGM, in EmitGlobalDeclMetadata()
4062 void CodeGenModule::EmitStaticExternCAliases() { in EmitStaticExternCAliases()
4075 bool CodeGenModule::lookupRepresentativeDecl(StringRef MangledName, in lookupRepresentativeDecl()
4091 void CodeGenModule::EmitDeclMetadata() { in EmitDeclMetadata()
4130 void CodeGenModule::EmitVersionIdentMetadata() { in EmitVersionIdentMetadata()
4140 void CodeGenModule::EmitTargetMetadata() { in EmitTargetMetadata()
4155 void CodeGenModule::EmitCoverageFile() { in EmitCoverageFile()
4171 llvm::Constant *CodeGenModule::EmitUuidofInitializer(StringRef Uuid) { in EmitUuidofInitializer()
4198 llvm::Constant *CodeGenModule::GetAddrOfRTTIDescriptor(QualType Ty, in GetAddrOfRTTIDescriptor()
4213 void CodeGenModule::EmitOMPThreadPrivateDecl(const OMPThreadPrivateDecl *D) { in EmitOMPThreadPrivateDecl()
4228 llvm::Metadata *CodeGenModule::CreateMetadataIdentifierForType(QualType T) { in CreateMetadataIdentifierForType()
4248 bool CodeGenModule::NeedAllVtablesTypeId() const { in NeedAllVtablesTypeId()
4261 void CodeGenModule::AddVTableTypeMetadata(llvm::GlobalVariable *VTable, in AddVTableTypeMetadata()
4281 void CodeGenModule::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap, in getFunctionFeatureMap()
4308 llvm::SanitizerStatReport &CodeGenModule::getSanStats() { in getSanStats()