reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Passes/PassBuilder.cpp
  428   if (PGOOpt && PGOOpt->Action == PGOOptions::IRUse &&
  428   if (PGOOpt && PGOOpt->Action == PGOOptions::IRUse &&
  471   if ((Phase != ThinLTOPhase::PreLink || !PGOOpt ||
  472        PGOOpt->Action != PGOOptions::SampleUse) &&
  540   if (EnableCHR && Level == O3 && PGOOpt &&
  541       (PGOOpt->Action == PGOOptions::IRUse ||
  542        PGOOpt->Action == PGOOptions::SampleUse))
  657   bool HasSampleProfile = PGOOpt && (PGOOpt->Action == PGOOptions::SampleUse);
  657   bool HasSampleProfile = PGOOpt && (PGOOpt->Action == PGOOptions::SampleUse);
  710     MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile,
  711                                         PGOOpt->ProfileRemappingFile,
  761   if (PGOOpt && Phase != ThinLTOPhase::PostLink &&
  762       (PGOOpt->Action == PGOOptions::IRInstr ||
  763        PGOOpt->Action == PGOOptions::IRUse)) {
  765                       /* RunProfileGen */ PGOOpt->Action == PGOOptions::IRInstr,
  766                       /* IsCS */ false, PGOOpt->ProfileFile,
  767                       PGOOpt->ProfileRemappingFile);
  770   if (PGOOpt && Phase != ThinLTOPhase::PostLink &&
  771       PGOOpt->CSAction == PGOOptions::CSIRInstr)
  772     MPM.addPass(PGOInstrumentationGenCreateVar(PGOOpt->CSProfileGenFile));
  775   if (EnableSyntheticCounts && !PGOOpt)
  803   if (Phase == ThinLTOPhase::PreLink && PGOOpt &&
  804       PGOOpt->Action == PGOOptions::SampleUse)
  873   if (!LTOPreLink && PGOOpt) {
  874     if (PGOOpt->CSAction == PGOOptions::CSIRInstr)
  876                         /* IsCS */ true, PGOOpt->CSProfileGenFile,
  877                         PGOOpt->ProfileRemappingFile);
  878     else if (PGOOpt->CSAction == PGOOptions::CSIRUse)
  880                         /* IsCS */ true, PGOOpt->ProfileFile,
  881                         PGOOpt->ProfileRemappingFile);
 1035   if (PGOOpt && PGOOpt->SamplePGOSupport)
 1035   if (PGOOpt && PGOOpt->SamplePGOSupport)
 1058   if (PGOOpt && PGOOpt->SamplePGOSupport)
 1058   if (PGOOpt && PGOOpt->SamplePGOSupport)
 1150   if (PGOOpt && PGOOpt->Action == PGOOptions::SampleUse) {
 1150   if (PGOOpt && PGOOpt->Action == PGOOptions::SampleUse) {
 1152     MPM.addPass(SampleProfileLoaderPass(PGOOpt->ProfileFile,
 1153                                         PGOOpt->ProfileRemappingFile,
 1181         true /* InLTO */, PGOOpt && PGOOpt->Action == PGOOptions::SampleUse));
 1181         true /* InLTO */, PGOOpt && PGOOpt->Action == PGOOptions::SampleUse));
 1265   if (PGOOpt) {
 1266     if (PGOOpt->CSAction == PGOOptions::CSIRInstr)
 1268                         /* IsCS */ true, PGOOpt->CSProfileGenFile,
 1269                         PGOOpt->ProfileRemappingFile);
 1270     else if (PGOOpt->CSAction == PGOOptions::CSIRUse)
 1272                         /* IsCS */ true, PGOOpt->ProfileFile,
 1273                         PGOOpt->ProfileRemappingFile);
 1878       if (PGOOpt && Matches[1] != "thinlto" &&
 1879           (PGOOpt->Action == PGOOptions::IRInstr ||
 1880            PGOOpt->Action == PGOOptions::IRUse))
 1883             /* RunProfileGen */ (PGOOpt->Action == PGOOptions::IRInstr),
 1884             /* IsCS */ false, PGOOpt->ProfileFile,
 1885             PGOOpt->ProfileRemappingFile);