Lines Matching refs:Contexts
890 SmallVector<std::unique_ptr<WriterContext>, 4> Contexts; in mergeInstrProfile() local
892 Contexts.emplace_back(std::make_unique<WriterContext>( in mergeInstrProfile()
899 Contexts[0].get()); in mergeInstrProfile()
907 Contexts[Ctx].get()); in mergeInstrProfile()
913 unsigned Mid = Contexts.size() / 2; in mergeInstrProfile()
914 unsigned End = Contexts.size(); in mergeInstrProfile()
918 Pool.async(mergeWriterContexts, Contexts[I].get(), in mergeInstrProfile()
919 Contexts[I + Mid].get()); in mergeInstrProfile()
922 Pool.async(mergeWriterContexts, Contexts[0].get(), in mergeInstrProfile()
923 Contexts[End - 1].get()); in mergeInstrProfile()
934 for (std::unique_ptr<WriterContext> &WC : Contexts) { in mergeInstrProfile()
944 filterFunctions(Contexts[0]->Writer.getProfileData()); in mergeInstrProfile()
946 writeInstrProfile(OutputFilename, OutputFormat, Contexts[0]->Writer); in mergeInstrProfile()