Lines Matching refs:WriteoutF
677 Function *WriteoutF = insertCounterWriteout(CountersBySP); in emitProfileArcs() local
705 Builder.CreateCall(GCOVInit, {WriteoutF, FlushF}); in emitProfileArcs()
833 Function *WriteoutF = M->getFunction("__llvm_gcov_writeout"); in insertCounterWriteout() local
834 if (!WriteoutF) in insertCounterWriteout()
835 WriteoutF = Function::Create(WriteoutFTy, GlobalValue::InternalLinkage, in insertCounterWriteout()
837 WriteoutF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout()
838 WriteoutF->addFnAttr(Attribute::NoInline); in insertCounterWriteout()
840 WriteoutF->addFnAttr(Attribute::NoRedZone); in insertCounterWriteout()
842 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", WriteoutF); in insertCounterWriteout()
891 return WriteoutF; in insertCounterWriteout()
962 Constant *WriteoutF = M->getFunction("__llvm_gcov_writeout"); in insertFlush() local
963 assert(WriteoutF && "Need to create the writeout function first!"); in insertFlush()
966 Builder.CreateCall(WriteoutF, {}); in insertFlush()