Home
last modified time | relevance | path

Searched refs:ComparisonCategoryResult (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/include/clang/AST/
DComparisonCategories.h65 enum class ComparisonCategoryResult : unsigned char { enum
84 ComparisonCategoryResult Kind;
87 ValueInfo(ComparisonCategoryResult Kind, VarDecl *VD) in ValueInfo()
104 ValueInfo, static_cast<unsigned>(ComparisonCategoryResult::Last) + 1>
112 ValueInfo *lookupValueInfo(ComparisonCategoryResult ValueKind) const;
126 const ValueInfo *getValueInfo(ComparisonCategoryResult ValueKind) const { in getValueInfo()
151 ComparisonCategoryResult makeWeakResult(ComparisonCategoryResult Res) const { in makeWeakResult()
152 using CCR = ComparisonCategoryResult; in makeWeakResult()
159 return getValueInfo(makeWeakResult(ComparisonCategoryResult::Equal)); in getEqualOrEquiv()
162 return getValueInfo(ComparisonCategoryResult::Less); in getLess()
[all …]
/external/llvm-project/clang/lib/AST/
DComparisonCategories.cpp72 ComparisonCategoryResult ValueKind) const { in lookupValueInfo()
184 StringRef ComparisonCategories::getResultString(ComparisonCategoryResult Kind) { in getResultString()
185 using CCVT = ComparisonCategoryResult; in getResultString()
201 std::vector<ComparisonCategoryResult>
204 using CCR = ComparisonCategoryResult; in getPossibleResultsForType()
DExprConstant.cpp12802 ComparisonCategoryResult CCR; in VisitBinCmp()
12807 CCR = ComparisonCategoryResult::Less; in VisitBinCmp()
12810 CCR = ComparisonCategoryResult::Equal; in VisitBinCmp()
12813 CCR = ComparisonCategoryResult::Greater; in VisitBinCmp()
12816 CCR = ComparisonCategoryResult::Unordered; in VisitBinCmp()
/external/llvm-project/clang/lib/AST/Interp/
DIntegral.h32 ComparisonCategoryResult Compare(const T &X, const T &Y) { in Compare()
34 return ComparisonCategoryResult::Less; in Compare()
36 return ComparisonCategoryResult::Greater; in Compare()
37 return ComparisonCategoryResult::Equal; in Compare()
134 ComparisonCategoryResult compare(const Integral &RHS) const {
DInterp.h159 using CompareFn = llvm::function_ref<bool(ComparisonCategoryResult)>;
200 S.Stk.push<BoolT>(BoolT::from(Fn(ComparisonCategoryResult::Equal)));
205 S.Stk.push<BoolT>(BoolT::from(Fn(ComparisonCategoryResult::Unordered)));
217 return CmpHelperEQ<T>(S, OpPC, [](ComparisonCategoryResult R) { in EQ()
218 return R == ComparisonCategoryResult::Equal; in EQ()
224 return CmpHelperEQ<T>(S, OpPC, [](ComparisonCategoryResult R) { in NE()
225 return R != ComparisonCategoryResult::Equal; in NE()
231 return CmpHelper<T>(S, OpPC, [](ComparisonCategoryResult R) { in LT()
232 return R == ComparisonCategoryResult::Less; in LT()
238 return CmpHelper<T>(S, OpPC, [](ComparisonCategoryResult R) { in LE()
[all …]
DBoolean.h74 ComparisonCategoryResult compare(const Boolean &RHS) const { in compare()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp13939 ComparisonCategoryResult Result; in BuildSynthesizedThreeWayComparison()
13941 { {Eq, Info->isStrong() ? ComparisonCategoryResult::Equal in BuildSynthesizedThreeWayComparison()
13942 : ComparisonCategoryResult::Equivalent}, in BuildSynthesizedThreeWayComparison()
13943 {Less, ComparisonCategoryResult::Less}, in BuildSynthesizedThreeWayComparison()
13944 {Greater, ComparisonCategoryResult::Greater}, in BuildSynthesizedThreeWayComparison()
13945 {ExprResult(), ComparisonCategoryResult::Unordered}, in BuildSynthesizedThreeWayComparison()
DSemaDeclCXX.cpp7980 .getValueInfo(ComparisonCategoryResult::Equal) in build()
11145 for (ComparisonCategoryResult CCR : in CheckComparisonCategoryType()