Lines Matching refs:Fn

262   llvm::Function *Fn =  in CreateGlobalInitOrDestructFunction()  local
268 Fn->setSection(Section); in CreateGlobalInitOrDestructFunction()
271 SetInternalFunctionAttributes(nullptr, Fn, FI); in CreateGlobalInitOrDestructFunction()
273 Fn->setCallingConv(getRuntimeCC()); in CreateGlobalInitOrDestructFunction()
276 Fn->setDoesNotThrow(); in CreateGlobalInitOrDestructFunction()
278 if (!isInSanitizerBlacklist(Fn, Loc)) { in CreateGlobalInitOrDestructFunction()
281 Fn->addFnAttr(llvm::Attribute::SanitizeAddress); in CreateGlobalInitOrDestructFunction()
283 Fn->addFnAttr(llvm::Attribute::SanitizeThread); in CreateGlobalInitOrDestructFunction()
285 Fn->addFnAttr(llvm::Attribute::SanitizeMemory); in CreateGlobalInitOrDestructFunction()
287 Fn->addFnAttr(llvm::Attribute::SafeStack); in CreateGlobalInitOrDestructFunction()
290 return Fn; in CreateGlobalInitOrDestructFunction()
339 llvm::Function *Fn = in EmitCXXGlobalVarDeclInitFunc() local
345 CodeGenFunction(*this).GenerateCXXGlobalVarDeclInitFunc(Fn, D, Addr, in EmitCXXGlobalVarDeclInitFunc()
358 CXXThreadLocalInits.push_back(Fn); in EmitCXXGlobalVarDeclInitFunc()
361 EmitPointerToInitFunc(D, Addr, Fn, ISA); in EmitCXXGlobalVarDeclInitFunc()
364 PrioritizedCXXGlobalInits.push_back(std::make_pair(Key, Fn)); in EmitCXXGlobalVarDeclInitFunc()
378 AddGlobalCtor(Fn, 65535, COMDATKey); in EmitCXXGlobalVarDeclInitFunc()
383 AddGlobalCtor(Fn, 65535, COMDATKey); in EmitCXXGlobalVarDeclInitFunc()
387 CXXGlobalInits.push_back(Fn); in EmitCXXGlobalVarDeclInitFunc()
391 CXXGlobalInits[I->second] = Fn; in EmitCXXGlobalVarDeclInitFunc()
440 llvm::Function *Fn = CreateGlobalInitOrDestructFunction( in EmitCXXGlobalInitFunc() local
446 CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn, LocalCXXGlobalInits); in EmitCXXGlobalInitFunc()
447 AddGlobalCtor(Fn, Priority); in EmitCXXGlobalInitFunc()
470 llvm::Function *Fn = CreateGlobalInitOrDestructFunction( in EmitCXXGlobalInitFunc() local
473 CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn, CXXGlobalInits); in EmitCXXGlobalInitFunc()
474 AddGlobalCtor(Fn); in EmitCXXGlobalInitFunc()
487 llvm::Function *Fn = in EmitCXXGlobalDtorFunc() local
490 CodeGenFunction(*this).GenerateCXXGlobalDtorsFunc(Fn, CXXGlobalDtors); in EmitCXXGlobalDtorFunc()
491 AddGlobalDtor(Fn); in EmitCXXGlobalDtorFunc()
495 void CodeGenFunction::GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn, in GenerateCXXGlobalVarDeclInitFunc() argument
505 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, in GenerateCXXGlobalVarDeclInitFunc()
523 CodeGenFunction::GenerateCXXGlobalInitFunc(llvm::Function *Fn, in GenerateCXXGlobalInitFunc() argument
528 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalInitFunc()
574 void CodeGenFunction::GenerateCXXGlobalDtorsFunc(llvm::Function *Fn, in GenerateCXXGlobalDtorsFunc() argument
579 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, in GenerateCXXGlobalDtorsFunc()