Lines Matching defs:PGOOpt
812 std::optional<PGOOptions> PGOOpt;
816 PGOOpt = PGOOptions(
827 PGOOpt = PGOOptions(CodeGenOpts.ProfileInstrumentUsePath, "",
834 PGOOpt = PGOOptions(
841 PGOOpt = PGOOptions("", "", "", CodeGenOpts.MemoryProfileUsePath, VFS,
846 PGOOpt =
852 PGOOpt = PGOOptions("", "", "", /*MemoryProfile=*/"", nullptr,
861 if (PGOOpt) {
862 assert(PGOOpt->Action != PGOOptions::IRInstr &&
863 PGOOpt->Action != PGOOptions::SampleUse &&
866 PGOOpt->CSProfileGenFile = CodeGenOpts.InstrProfileOutput.empty()
869 PGOOpt->CSAction = PGOOptions::CSIRInstr;
871 PGOOpt = PGOOptions("",
880 TM->setPGOOption(PGOOpt);
910 PassBuilder PB(TM.get(), PTO, PGOOpt, &PIC);