Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DModuleUtils.h57 Function *createSanitizerCtor(Module &M, StringRef CtorName);
64 Module &M, StringRef CtorName, StringRef InitName,
76 Module &M, StringRef CtorName, StringRef InitName,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp190 Function *llvm::createSanitizerCtor(Module &M, StringRef CtorName) { in createSanitizerCtor() argument
194 CtorName, &M); in createSanitizerCtor()
205 Module &M, StringRef CtorName, StringRef InitName, in createSanitizerCtorAndInitFunctions() argument
213 Function *Ctor = createSanitizerCtor(M, CtorName); in createSanitizerCtorAndInitFunctions()
250 Module &M, StringRef CtorName, StringRef InitName, in getOrCreateSanitizerCtorAndInitFunctions() argument
254 assert(!CtorName.empty() && "Expected ctor function name"); in getOrCreateSanitizerCtorAndInitFunctions()
256 if (Function *Ctor = M.getFunction(CtorName)) in getOrCreateSanitizerCtorAndInitFunctions()
267 M, CtorName, InitName, InitArgTypes, InitArgs, VersionCheckName, Weak); in getOrCreateSanitizerCtorAndInitFunctions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp245 Function *CreateInitCallsForSections(Module &M, const char *CtorName,
338 Module &M, const char *CtorName, const char *InitFunctionName, Type *Ty, in CreateInitCallsForSections() argument
345 M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd}); in CreateInitCallsForSections()
346 assert(CtorFunc->getName() == CtorName); in CreateInitCallsForSections()
350 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections()