Home
last modified time | relevance | path

Searched refs:CtorName (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h67 LLVM_ABI Function *createSanitizerCtor(Module &M, StringRef CtorName);
74 createSanitizerCtorAndInitFunctions(Module &M, StringRef CtorName,
90 Module &M, StringRef CtorName, StringRef InitName,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp237 Function *llvm::createSanitizerCtor(Module &M, StringRef CtorName) { in createSanitizerCtor() argument
241 CtorName, &M); in createSanitizerCtor()
252 Module &M, StringRef CtorName, StringRef InitName, in createSanitizerCtorAndInitFunctions() argument
260 Function *Ctor = createSanitizerCtor(M, CtorName); in createSanitizerCtorAndInitFunctions()
297 Module &M, StringRef CtorName, StringRef InitName, in getOrCreateSanitizerCtorAndInitFunctions() argument
301 assert(!CtorName.empty() && "Expected ctor function name"); in getOrCreateSanitizerCtorAndInitFunctions()
303 if (Function *Ctor = M.getFunction(CtorName)) in getOrCreateSanitizerCtorAndInitFunctions()
314 M, CtorName, InitName, InitArgTypes, InitArgs, VersionCheckName, Weak); in getOrCreateSanitizerCtorAndInitFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp274 Function *CreateInitCallsForSections(Module &M, const char *CtorName,
372 Module &M, const char *CtorName, const char *InitFunctionName, Type *Ty, in CreateInitCallsForSections() argument
381 M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd}); in CreateInitCallsForSections()
382 assert(CtorFunc->getName() == CtorName); in CreateInitCallsForSections()
386 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections()