Lines Matching defs:PGOOpt
778 std::optional<PGOOptions> PGOOpt;
782 PGOOpt = PGOOptions(
793 PGOOpt = PGOOptions(CodeGenOpts.ProfileInstrumentUsePath, "",
800 PGOOpt = PGOOptions(
807 PGOOpt = PGOOptions("", "", "", CodeGenOpts.MemoryProfileUsePath, VFS,
812 PGOOpt =
818 PGOOpt = PGOOptions("", "", "", /*MemoryProfile=*/"", nullptr,
827 if (PGOOpt) {
828 assert(PGOOpt->Action != PGOOptions::IRInstr &&
829 PGOOpt->Action != PGOOptions::SampleUse &&
832 PGOOpt->CSProfileGenFile = CodeGenOpts.InstrProfileOutput.empty()
835 PGOOpt->CSAction = PGOOptions::CSIRInstr;
837 PGOOpt = PGOOptions("",
846 TM->setPGOOption(PGOOpt);
876 PassBuilder PB(TM.get(), PTO, PGOOpt, &PIC);