Lines Matching refs:pgo
74 type pgo struct { struct
86 func (pgo *pgo) props() []interface{} { argument
87 return []interface{}{&pgo.Properties}
222 func (pgo *pgo) begin(ctx BaseModuleContext) { argument
229 pgo.Properties.PgoPresent = pgo.Properties.isPGO(ctx)
231 if !pgo.Properties.PgoPresent {
239 pgo.Properties.ShouldProfileModule = false
247 pgo.Properties.ShouldProfileModule = true
248 pgo.Properties.PgoInstrLink = pgo.Properties.isInstrumentation()
250 for _, b := range pgo.Properties.Pgo.Benchmarks {
252 pgo.Properties.ShouldProfileModule = true
253 pgo.Properties.PgoInstrLink = pgo.Properties.isInstrumentation()
266 proptools.BoolDefault(pgo.Properties.Pgo.Enable_profile_use, true) {
267 if profileFile := pgo.Properties.getPgoProfileFile(ctx); profileFile.Valid() {
268 pgo.Properties.PgoCompile = true
273 func (pgo *pgo) flags(ctx ModuleContext, flags Flags) Flags {
289 if cc.pgo.Properties.PgoInstrLink { argument
290 pgo.Properties.PgoInstrLink = true
302 if cc.pgo.Properties.PgoInstrLink {
303 pgo.Properties.PgoInstrLink = true
311 props := pgo.Properties