Searched refs:CtorFunc (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerCoverage.cpp | 379 Function *CtorFunc; in CreateInitCallsForSections() local 380 std::tie(CtorFunc, std::ignore) = createSanitizerCtorAndInitFunctions( in CreateInitCallsForSections() 382 assert(CtorFunc->getName() == CtorName); in CreateInitCallsForSections() 386 CtorFunc->setComdat(M.getOrInsertComdat(CtorName)); in CreateInitCallsForSections() 387 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority, CtorFunc); in CreateInitCallsForSections() 389 appendToGlobalCtors(M, CtorFunc, SanCtorAndDtorPriority); in CreateInitCallsForSections() 399 CtorFunc->setLinkage(GlobalValue::WeakODRLinkage); in CreateInitCallsForSections() 401 return CtorFunc; in CreateInitCallsForSections()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
| H A D | OffloadWrapper.cpp | 555 auto *CtorFunc = Function::Create( in createRegisterFatbinFunction() local 558 CtorFunc->setSection(".text.startup"); in createRegisterFatbinFunction() 594 IRBuilder<> CtorBuilder(BasicBlock::Create(C, "entry", CtorFunc)); in createRegisterFatbinFunction() 621 appendToGlobalCtors(M, CtorFunc, /*Priority=*/101); in createRegisterFatbinFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.cpp | 3570 const Function *CtorFunc = nullptr; in VisitCXXNewExpr() local 3572 CtorFunc = getFunction(CE->getConstructor()); in VisitCXXNewExpr() 3573 if (!CtorFunc) in VisitCXXNewExpr() 3642 assert(CtorFunc); in VisitCXXNewExpr() 3643 if (!this->emitCall(CtorFunc, 0, E)) in VisitCXXNewExpr()
|