Searched refs:OptDiag (Results 1 – 8 of 8) 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()
71 DiagnosticInfoIROptimization &OptDiag) { in computeHotness() argument72 const Value *V = OptDiag.getCodeRegion(); in computeHotness()74 OptDiag.setHotness(computeHotness(V)); in computeHotness()79 auto &OptDiag = cast<DiagnosticInfoIROptimization>(OptDiagBase); in emit() local80 computeHotness(OptDiag); in emit()83 if (OptDiag.getHotness().getValueOr(0) < in emit()88 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);
66 void emit(DiagnosticInfoOptimizationBase &OptDiag);114 void computeHotness(DiagnosticInfoIROptimization &OptDiag);
151 void emit(DiagnosticInfoOptimizationBase &OptDiag);