Searched refs:IntLiteral (Results 1 – 2 of 2) sorted by relevance
212 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() local214 if (!IntLiteral) { in checkBranchCondition()215 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition()219 if (!IntLiteral || IntLiteral->getValue() != 0) in checkBranchCondition()
929 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() local932 if (!IntLiteral) { in checkIncorrectRelationalOperator()933 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()938 if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue()) in checkIncorrectRelationalOperator()941 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectRelationalOperator()945 bool IntLarger = IntLiteral->getType()->isUnsignedIntegerType() || in checkIncorrectRelationalOperator()1029 if (const auto *IntLiteral = dyn_cast<IntegerLiteral>(SubExpr)) { in getIntegerLiteralSubexpressionValue() local1031 llvm::APInt Value = IntLiteral->getValue(); in getIntegerLiteralSubexpressionValue()1048 } else if (const auto *IntLiteral = in getIntegerLiteralSubexpressionValue() local1050 return IntLiteral->getValue(); in getIntegerLiteralSubexpressionValue()