Lines Matching refs:Contexts
948 SmallVector<std::unique_ptr<WriterContext>, 4> Contexts; in mergeInstrProfile() local
950 Contexts.emplace_back(std::make_unique<WriterContext>( in mergeInstrProfile()
957 Contexts[0].get()); in mergeInstrProfile()
965 Contexts[Ctx].get()); in mergeInstrProfile()
971 unsigned Mid = Contexts.size() / 2; in mergeInstrProfile()
972 unsigned End = Contexts.size(); in mergeInstrProfile()
976 Pool.async(mergeWriterContexts, Contexts[I].get(), in mergeInstrProfile()
977 Contexts[I + Mid].get()); in mergeInstrProfile()
980 Pool.async(mergeWriterContexts, Contexts[0].get(), in mergeInstrProfile()
981 Contexts[End - 1].get()); in mergeInstrProfile()
992 for (std::unique_ptr<WriterContext> &WC : Contexts) { in mergeInstrProfile()
1002 filterFunctions(Contexts[0]->Writer.getProfileData()); in mergeInstrProfile()
1004 writeInstrProfile(OutputFilename, OutputFormat, Contexts[0]->Writer); in mergeInstrProfile()