Searched refs:IntLiteral (Results 1 – 4 of 4) sorted by relevance
218 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(B->getRHS()); in checkBranchCondition() local220 if (!IntLiteral) { in checkBranchCondition()221 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition()225 if (!IntLiteral || IntLiteral->getValue() != 0) in checkBranchCondition()
124 class IntLiteral : public Expression class127 IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange);128 virtual ~IntLiteral (void) {} in ~IntLiteral()
284 { getWeight<IntLiteral>, create<IntLiteral> },417 IntLiteral::IntLiteral (GeneratorState& state, ConstValueRangeAccess valueRange) in IntLiteral() function in rsg::IntLiteral442 float IntLiteral::getWeight (const GeneratorState& state, ConstValueRangeAccess valueRange) in getWeight()465 void IntLiteral::tokenize (GeneratorState& state, TokenStream& str) const in tokenize()
506 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() local509 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() local548 if (!IntLiteral) { in checkIncorrectEqualityOperator()549 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()553 if (!IntLiteral) in checkIncorrectEqualityOperator()[all …]