Lines Matching refs:WC
200 const std::string &TestFilename, WriterContext *WC,
209 WC->Errors.emplace_back(make_error<InstrProfError>(IPE), TestFilename);
218 WC->Writer.overlapRecord(std::move(I), Overlap, FuncOverlap, FuncFilter);
225 WriterContext *WC) {
226 std::unique_lock<std::mutex> CtxGuard{WC->Lock};
238 WC->Errors.emplace_back(make_error<InstrProfError>(IPE), Filename);
245 if (WC->Writer.setIsIRLevelProfile(IsIRProfile, HasCSIRProfile)) {
246 WC->Errors.emplace_back(
259 WC->Writer.addRecord(std::move(I), Input.Weight, [&](Error E) {
267 std::unique_lock<std::mutex> ErrGuard{WC->ErrLock};
268 bool firstTime = WC->WriterErrorCodes.insert(IPE).second;
275 WC->Errors.emplace_back(std::move(E), Filename);
355 for (std::unique_ptr<WriterContext> &WC : Contexts) {
356 for (auto &ErrorPair : WC->Errors) {