Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Function

79   llvm::Constant *function;
82 // Special-case non-array C++ destructors, where there's a function
90 function = CGM.GetAddrOfCXXDestructor(dtor, Dtor_Complete);
93 // Otherwise, the standard logic requires a helper function.
95 function = CodeGenFunction(CGM).generateDestroyHelper(addr, type,
101 CGF.EmitCXXGlobalDtorRegistration(function, argument);
130 // Get the destructor function type
138 // Get the __cxa_atexit function type
145 if (llvm::Function *Fn = dyn_cast<llvm::Function>(AtExitFn))
169 static llvm::Function *
173 llvm::Function *Fn =
174 llvm::Function::Create(FTy, llvm::GlobalValue::InternalLinkage,
196 // Create a variable initialization function.
197 llvm::Function *Fn =
233 // Create our global initialization function.
234 llvm::Function *Fn =
242 llvm::Function *Fn = PrioritizedCXXGlobalInits[i].second;
267 // Create our global destructor function.
268 llvm::Function *Fn =
276 void CodeGenFunction::GenerateCXXGlobalVarDeclInitFunc(llvm::Function *Fn,
296 void CodeGenFunction::GenerateCXXGlobalInitFunc(llvm::Function *Fn,
321 void CodeGenFunction::GenerateCXXGlobalDtorFunc(llvm::Function *Fn,
334 if (llvm::Function *F = dyn_cast<llvm::Function>(Callee))
341 /// generateDestroyHelper - Generates a helper function which, when
343 llvm::Function *
356 llvm::Function *fn =