Home
last modified time | relevance | path

Searched refs:IntLiteral (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DTestAfterDivZeroChecker.cpp218 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() local
220 if (!IntLiteral) { in checkBranchCondition()
221 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition()
225 if (!IntLiteral || IntLiteral->getValue() != 0) in checkBranchCondition()
/external/deqp/framework/randomshaders/
DrsgExpression.hpp124 class IntLiteral : public Expression class
127 IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange);
128 virtual ~IntLiteral (void) {} in ~IntLiteral()
DrsgExpression.cpp284 { getWeight<IntLiteral>, create<IntLiteral> },
417 IntLiteral::IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in IntLiteral() function in rsg::IntLiteral
442 float IntLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()
465 void IntLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
/external/clang/lib/Analysis/
DCFG.cpp506 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() local
509 if (!IntLiteral) { in checkIncorrectRelationalOperator()
510 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()
515 if (!IntLiteral || !BoolExpr->isKnownToHaveBooleanValue()) in checkIncorrectRelationalOperator()
518 llvm::APInt IntValue = IntLiteral->getValue(); in checkIncorrectRelationalOperator()
522 bool IntLarger = IntLiteral->getType()->isUnsignedIntegerType() || in checkIncorrectRelationalOperator()
545 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator() local
548 if (!IntLiteral) { in checkIncorrectEqualityOperator()
549 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()
553 if (!IntLiteral) in checkIncorrectEqualityOperator()
[all …]