Searched refs:BailoutReason (Results 1 – 14 of 14) sorted by relevance
13 const char* GetBailoutReason(BailoutReason reason) { in GetBailoutReason()14 DCHECK_LT(reason, BailoutReason::kLastErrorMessage); in GetBailoutReason()15 DCHECK_GE(reason, BailoutReason::kNoReason); in GetBailoutReason()
125 void OptimizedCompilationInfo::AbortOptimization(BailoutReason reason) { in AbortOptimization()126 DCHECK_NE(reason, BailoutReason::kNoReason); in AbortOptimization()127 if (bailout_reason_ == BailoutReason::kNoReason) { in AbortOptimization()133 void OptimizedCompilationInfo::RetryOptimization(BailoutReason reason) { in RetryOptimization()134 DCHECK_NE(reason, BailoutReason::kNoReason); in RetryOptimization()
176 void AbortOptimization(BailoutReason reason);178 void RetryOptimization(BailoutReason reason);180 BailoutReason bailout_reason() const { return bailout_reason_; } in bailout_reason()286 BailoutReason bailout_reason_ = BailoutReason::kNoReason;
112 enum class BailoutReason : uint8_t { enum121 const char* GetBailoutReason(BailoutReason reason);
411 Status RetryOptimization(BailoutReason reason);415 Status AbortOptimization(BailoutReason reason);
473 BailoutReason reason) { in RetryOptimization()480 BailoutReason reason) { in AbortOptimization()1230 shared->disabled_optimization_reason() == BailoutReason::kNeverOptimize) { in GetOrCompileOptimized()3463 job->RetryOptimization(BailoutReason::kOptimizationDisabled); in Compile()
19 type BailoutReason extends uint8 constexpr 'BailoutReason';33 disabled_optimization_reason: BailoutReason: 4 bit;
517 inline BailoutReason disabled_optimization_reason() const;521 void DisableOptimization(BailoutReason reason);674 STATIC_ASSERT(BailoutReason::kLastErrorMessage <=
469 void SharedFunctionInfo::DisableOptimization(BailoutReason reason) { in DisableOptimization()470 DCHECK_NE(reason, BailoutReason::kNoReason); in DisableOptimization()
301 return disabled_optimization_reason() != BailoutReason::kNoReason; in BIT_FIELD_ACCESSORS()304 BailoutReason SharedFunctionInfo::disabled_optimization_reason() const { in disabled_optimization_reason()
250 BailoutReason::kNeverOptimize) { in CanOptimizeFunction()509 BailoutReason::kNeverOptimize) { in RUNTIME_FUNCTION()595 BailoutReason::kNeverOptimize) { in RUNTIME_FUNCTION()714 sfi->DisableOptimization(BailoutReason::kNeverOptimize); in RUNTIME_FUNCTION()
1153 return AbortOptimization(BailoutReason::kFunctionTooBig); in PrepareJobImpl()1215 return AbortOptimization(BailoutReason::kGraphBuildingFailed); in ExecuteJobImpl()1235 if (compilation_info()->bailout_reason() == BailoutReason::kNoReason) { in FinalizeJobImpl()1236 return AbortOptimization(BailoutReason::kCodeGenerationFailed); in FinalizeJobImpl()1241 return RetryOptimization(BailoutReason::kBailedOutDueToDependencyChange); in FinalizeJobImpl()2725 BailoutReason::kCyclicObjectStateDetectedInEscapeAnalysis); in OptimizeGraph()3448 info()->AbortOptimization(BailoutReason::kCodeGenerationFailed); in SelectInstructions()3519 BailoutReason::kNotEnoughVirtualRegistersRegalloc); in SelectInstructions()
442 void DisableOptimization(BailoutReason reason) { in DisableOptimization()445 BailoutReason dont_optimize_reason() { return dont_optimize_reason_; } in dont_optimize_reason()521 BailoutReason dont_optimize_reason_;1634 dont_optimize_reason_(BailoutReason::kNoReason), in FunctionState()4272 function_state_->DisableOptimization(BailoutReason::kNativeFunctionLiteral); in ParseNativeDeclaration()
447 if (bailout_reason != GetBailoutReason(BailoutReason::kNoReason) && in Print()