Searched refs:ThunkFn (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 430 llvm::Function *ThunkFn = cast<llvm::Function>(Entry); in emitThunk() local 434 if (!ThunkFn->isDeclaration()) { in emitThunk() 441 CGM.setFunctionLinkage(GD, ThunkFn); in emitThunk() 445 CGM.SetLLVMFunctionAttributesForDefinition(GD.getDecl(), ThunkFn); in emitThunk() 447 if (ThunkFn->isVarArg()) { in emitThunk() 454 CodeGenFunction(CGM).GenerateVarArgsThunk(ThunkFn, FnInfo, GD, Thunk); in emitThunk() 455 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, in emitThunk() 460 CodeGenFunction(CGM).GenerateThunk(ThunkFn, FnInfo, GD, Thunk); in emitThunk() 461 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, in emitThunk()
|
D | MicrosoftCXXABI.cpp | 1678 llvm::Function *ThunkFn = in EmitVirtualMemPtrThunk() local 1681 assert(ThunkFn->getName() == ThunkName && "name was uniqued!"); in EmitVirtualMemPtrThunk() 1683 ThunkFn->setLinkage(MD->isExternallyVisible() in EmitVirtualMemPtrThunk() 1687 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); in EmitVirtualMemPtrThunk() 1689 CGM.SetLLVMFunctionAttributes(MD, FnInfo, ThunkFn); in EmitVirtualMemPtrThunk() 1690 CGM.SetLLVMFunctionAttributesForDefinition(MD, ThunkFn); in EmitVirtualMemPtrThunk() 1696 ThunkFn->addFnAttr("thunk"); in EmitVirtualMemPtrThunk() 1699 ThunkFn->setUnnamedAddr(false); in EmitVirtualMemPtrThunk() 1712 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInfo, in EmitVirtualMemPtrThunk() 1726 return ThunkFn; in EmitVirtualMemPtrThunk() [all …]
|