Home
last modified time | relevance | path

Searched refs:CompareRHS (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/AST/
DExprConstant.cpp7124 uint64_t CompareRHS = RHSOffset.getQuantity(); in VisitBinaryOperator() local
7128 CompareRHS &= Mask; in VisitBinaryOperator()
7139 if (CompareLHS > OffsetLimit || CompareRHS > OffsetLimit) in VisitBinaryOperator()
7145 case BO_LT: return Success(CompareLHS < CompareRHS, E); in VisitBinaryOperator()
7146 case BO_GT: return Success(CompareLHS > CompareRHS, E); in VisitBinaryOperator()
7147 case BO_LE: return Success(CompareLHS <= CompareRHS, E); in VisitBinaryOperator()
7148 case BO_GE: return Success(CompareLHS >= CompareRHS, E); in VisitBinaryOperator()
7149 case BO_EQ: return Success(CompareLHS == CompareRHS, E); in VisitBinaryOperator()
7150 case BO_NE: return Success(CompareLHS != CompareRHS, E); in VisitBinaryOperator()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp303 Constant *CompareRHS = cast<Constant>(ICI.getOperand(1)); in FoldCmpLoadFromIndexedGlobal() local
317 CompareRHS, DL, TLI); in FoldCmpLoadFromIndexedGlobal()