Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Fn

198   llvm::Function *fn = CGM.CreateGlobalInitOrDestructFunction(ty, FnName.str(),
203 CGF.StartFunction(&VD, CGM.getContext().VoidTy, fn,
215 return fn;
253 llvm::Function *Fn =
259 Fn->setSection(Section);
262 Fn->setCallingConv(getRuntimeCC());
265 Fn->setDoesNotThrow();
267 if (!isInSanitizerBlacklist(Fn, Loc)) {
269 Fn->addFnAttr(llvm::Attribute::SanitizeAddress);
271 Fn->addFnAttr(llvm::Attribute::SanitizeThread);
273 Fn->addFnAttr(llvm::Attribute::SanitizeMemory);
276 return Fn;
314 llvm::Function *Fn =
318 CodeGenFunction(*this).GenerateCXXGlobalVarDeclInitFunc(Fn, D, Addr,
331 CXXThreadLocalInits.push_back(Fn);
334 EmitPointerToInitFunc(D, Addr, Fn, ISA);
337 PrioritizedCXXGlobalInits.push_back(std::make_pair(Key, Fn));
351 AddGlobalCtor(Fn, 65535, COMDATKey);
356 AddGlobalCtor(Fn, 65535, COMDATKey);
360 CXXGlobalInits.push_back(Fn);
364 CXXGlobalInits[I->second] = Fn;
413 llvm::Function *Fn = CreateGlobalInitOrDestructFunction(
419 CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn, LocalCXXGlobalInits);
420 AddGlobalCtor(Fn, Priority);
442 llvm::Function *Fn = CreateGlobalInitOrDestructFunction(
445 CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn, CXXGlobalInits);
446 AddGlobalCtor(Fn);
459 llvm::Function *Fn = CreateGlobalInitOrDestructFunction(FTy, "_GLOBAL__D_a");
461 CodeGenFunction(*this).GenerateCXXGlobalDtorsFunc(Fn, CXXGlobalDtors);
462 AddGlobalDtor(Fn);
466 void CodeGenFunction::GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn,
476 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn,
494 CodeGenFunction::GenerateCXXGlobalInitFunc(llvm::Function *Fn,
499 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
545 void CodeGenFunction::GenerateCXXGlobalDtorsFunc(llvm::Function *Fn,
550 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
582 llvm::Function *fn = CGM.CreateGlobalInitOrDestructFunction(
587 StartFunction(VD, getContext().VoidTy, fn, FI, args);
593 return fn;