Searched refs:Confidence (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | LoopConvertUtils.h | 247 class Confidence { 260 explicit Confidence(Confidence::Level Level) : CurrentLevel(Level) {} in Confidence() function 263 void lowerTo(Confidence::Level Level) { in lowerTo() 327 Confidence::Level getConfidenceLevel() const { in getConfidenceLevel() 383 Confidence ConfidenceLevel;
|
| H A D | LoopConvertCheck.cpp | 33 template <> struct OptionEnumMapping<modernize::Confidence::Level> { 34 static llvm::ArrayRef<std::pair<modernize::Confidence::Level, StringRef>> 36 static constexpr std::pair<modernize::Confidence::Level, StringRef> in getEnumMapping() 37 Mapping[] = {{modernize::Confidence::CL_Reasonable, "reasonable"}, in getEnumMapping() 38 {modernize::Confidence::CL_Safe, "safe"}, in getEnumMapping() 39 {modernize::Confidence::CL_Risky, "risky"}}; in getEnumMapping() 463 MinConfidence(Options.get("MinConfidence", Confidence::CL_Reasonable)), in LoopConvertCheck() 844 Confidence ConfidenceLevel(Confidence::CL_Safe); in check() 872 ConfidenceLevel.lowerTo(Confidence::CL_Reasonable); in check() 925 ConfidenceLevel.lowerTo(Confidence::CL_Risky); in check()
|
| H A D | LoopConvertCheck.h | 79 const Confidence::Level MinConfidence;
|
| H A D | LoopConvertUtils.cpp | 465 ConfidenceLevel(Confidence::CL_Safe), NextStmtParent(nullptr), in ForLoopIndexUseVisitor() 626 ConfidenceLevel.lowerTo(Confidence::CL_Risky); in TraverseCXXMemberCallExpr() 758 ConfidenceLevel.lowerTo(Confidence::CL_Risky); in VisitDeclRefExpr()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 66 auto *Confidence = cast<ConstantFP>(CI->getArgOperand(2)); in getBranchWeight() local 67 double TrueProb = Confidence->getValueAPF().convertToDouble(); in getBranchWeight()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 2765 Constant *Confidence = ConstantFP::get(Ty, Probability); in EmitBuiltinExpr() local 2775 FnExpect, {ArgValue, ExpectedValue, Confidence}, "expval"); in EmitBuiltinExpr()
|