Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Fn

145   if (llvm::Function *Fn = dyn_cast<llvm::Function>(AtExitFn))
146 Fn->setDoesNotThrow();
173 llvm::Function *Fn =
180 Fn->setSection(Section);
184 Fn->setDoesNotThrow();
186 return Fn;
197 llvm::Function *Fn =
200 CodeGenFunction(*this).GenerateCXXGlobalVarDeclInitFunc(Fn, D, Addr);
205 PrioritizedCXXGlobalInits.push_back(std::make_pair(Key, Fn));
212 CXXGlobalInits.push_back(Fn);
215 CXXGlobalInits[I->second] = Fn;
234 llvm::Function *Fn =
242 llvm::Function *Fn = PrioritizedCXXGlobalInits[i].second;
243 LocalCXXGlobalInits.push_back(Fn);
246 CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn,
251 CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn,
254 AddGlobalCtor(Fn);
268 llvm::Function *Fn =
271 CodeGenFunction(*this).GenerateCXXGlobalDtorFunc(Fn, CXXGlobalDtors);
272 AddGlobalDtor(Fn);
276 void CodeGenFunction::GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn,
279 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
296 void CodeGenFunction::GenerateCXXGlobalInitFunc(llvm::Function *Fn,
299 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
321 void CodeGenFunction::GenerateCXXGlobalDtorFunc(llvm::Function *Fn,
324 StartFunction(GlobalDecl(), getContext().VoidTy, Fn,
356 llvm::Function *fn =
359 StartFunction(GlobalDecl(), getContext().VoidTy, fn, FI, args,
366 return fn;