Searched refs:WriteoutF (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 732 Function *WriteoutF = insertCounterWriteout(CountersBySP); in emitProfileArcs() local 760 Builder.CreateCall(GCOVInit, {WriteoutF, FlushF}); in emitProfileArcs() 905 Function *WriteoutF = M->getFunction("__llvm_gcov_writeout"); in insertCounterWriteout() local 906 if (!WriteoutF) in insertCounterWriteout() 907 WriteoutF = Function::Create(WriteoutFTy, GlobalValue::InternalLinkage, in insertCounterWriteout() 909 WriteoutF->setUnnamedAddr(GlobalValue::UnnamedAddr::Global); in insertCounterWriteout() 910 WriteoutF->addFnAttr(Attribute::NoInline); in insertCounterWriteout() 912 WriteoutF->addFnAttr(Attribute::NoRedZone); in insertCounterWriteout() 914 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", WriteoutF); in insertCounterWriteout() 926 return WriteoutF; in insertCounterWriteout() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | GCOVProfiling.cpp | 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() [all …]
|