Searched refs:ThunkFn (Results 1 - 3 of 3) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGVTables.cpp | 41 llvm::Function *ThunkFn, bool ForVTable, 43 CGM.setFunctionLinkage(GD, ThunkFn); 44 CGM.getCXXABI().setThunkLinkage(ThunkFn, ForVTable, GD, 48 CGM.setGVProperties(ThunkFn, GD); 51 ThunkFn->setDLLStorageClass(llvm::GlobalValue::DefaultStorageClass); 52 ThunkFn->setDSOLocal(true); 55 if (CGM.supportsCOMDAT() && ThunkFn->isWeakForLinker()) 56 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); 522 llvm::Function *ThunkFn local 40 setThunkProperties(CodeGenModule &CGM, const ThunkInfo &Thunk, llvm::Function *ThunkFn, bool ForVTable, GlobalDecl GD) argument [all...] |
H A D | MicrosoftCXXABI.cpp | 1996 llvm::Function *ThunkFn = local 1999 assert(ThunkFn->getName() == ThunkName && "name was uniqued!"); 2001 ThunkFn->setLinkage(MD->isExternallyVisible() 2005 ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName())); 2007 CGM.SetLLVMFunctionAttributes(MD, FnInfo, ThunkFn); 2008 CGM.SetLLVMFunctionAttributesForDefinition(MD, ThunkFn); 2014 ThunkFn->addFnAttr("thunk"); 2017 ThunkFn->setUnnamedAddr(llvm::GlobalValue::UnnamedAddr::None); 2030 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInf local 3927 llvm::Function *ThunkFn = llvm::Function::Create( local 3969 CGF.StartFunction(GlobalDecl(), FnInfo.getReturnType(), ThunkFn, FnInfo, local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | HWAddressSanitizer.cpp | 1452 auto *ThunkFn = Function::Create(ThunkFnTy, local 1457 ThunkFn->setVisibility(GlobalValue::HiddenVisibility); 1458 ThunkFn->setComdat(M.getOrInsertComdat(ThunkName)); 1461 auto *BB = BasicBlock::Create(*C, "entry", ThunkFn); 1465 {ThunkFn->getArg(0), ThunkFn->getArg(1), ThunkFn->getArg(2), 1466 ThunkFn->getArg(3), ThunkFn->getArg(4), 1475 F->setPersonalityFn(ThunkFn); [all...] |
Completed in 281 milliseconds