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.h57 Function *createSanitizerCtor(Module &M, StringRef CtorName);
64 Module &M, StringRef CtorName, StringRef InitName,
76 Module &M, StringRef CtorName, StringRef InitName,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp193 Function *llvm::createSanitizerCtor(Module &M, StringRef CtorName) { in createSanitizerCtor() argument
197 CtorName, &M); in createSanitizerCtor()
208 Module &M, StringRef CtorName, StringRef InitName, in createSanitizerCtorAndInitFunctions() argument
216 Function *Ctor = createSanitizerCtor(M, CtorName); in createSanitizerCtorAndInitFunctions()
253 Module &M, StringRef CtorName, StringRef InitName, in getOrCreateSanitizerCtorAndInitFunctions() argument
257 assert(!CtorName.empty() && "Expected ctor function name"); in getOrCreateSanitizerCtorAndInitFunctions()
259 if (Function *Ctor = M.getFunction(CtorName)) in getOrCreateSanitizerCtorAndInitFunctions()
270 M, CtorName, InitName, InitArgTypes, InitArgs, VersionCheckName, Weak); in getOrCreateSanitizerCtorAndInitFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerCoverage.cpp244 Function *CreateInitCallsForSections(Module &M, const char *CtorName,
343 Module &M, const char *CtorName, const char *InitFunctionName, Type *Ty, in CreateInitCallsForSections() argument
350 M, CtorName, InitFunctionName, {PtrTy, PtrTy}, {SecStart, SecEnd}); in CreateInitCallsForSections()
351 assert(CtorFunc->getName() == CtorName); in CreateInitCallsForSections()
355 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections()