Searched refs:OptDiag (Results 1 – 4 of 4) sorted by relevance
67 DiagnosticInfoIROptimization &OptDiag) { in computeHotness() argument68 const Value *V = OptDiag.getCodeRegion(); in computeHotness()70 OptDiag.setHotness(computeHotness(V)); in computeHotness()75 auto &OptDiag = cast<DiagnosticInfoIROptimization>(OptDiagBase); in emit() local76 computeHotness(OptDiag); in emit()79 if (OptDiag.getHotness().getValueOr(0) < in emit()84 F->getContext().diagnose(OptDiag); in emit()
51 auto &OptDiag = cast<DiagnosticInfoMIROptimization>(OptDiagCommon); in emit() local52 computeHotness(OptDiag); in emit()57 if (OptDiag.getHotness().getValueOr(0) < in emit()62 Ctx.diagnose(OptDiag); in emit()
70 void emit(DiagnosticInfoOptimizationBase &OptDiag);112 void computeHotness(DiagnosticInfoIROptimization &OptDiag);
151 void emit(DiagnosticInfoOptimizationBase &OptDiag);