Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp508 auto *RegisterF = Function::Create(RegisterFTy, GlobalValue::InternalLinkage, in emitRegistration() local
510 RegisterF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in emitRegistration()
512 RegisterF->addFnAttr(Attribute::NoRedZone); in emitRegistration()
519 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", RegisterF)); in emitRegistration()
605 Constant *RegisterF = M->getFunction(getInstrProfRegFuncsName()); in emitInitialization() local
606 if (!RegisterF && InstrProfileOutput.empty()) in emitInitialization()
621 if (RegisterF) in emitInitialization()
622 IRB.CreateCall(RegisterF, {}); in emitInitialization()