Lines Matching refs:binOp
294 TIntermBinary* binOp = cond->getAsBinaryNode(); in validateForLoopCond() local
295 if (!binOp) { in validateForLoopCond()
300 TIntermSymbol* symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopCond()
302 error(binOp->getLine(), "Invalid condition", "for"); in validateForLoopCond()
311 switch (binOp->getOp()) { in validateForLoopCond()
320 error(binOp->getLine(), in validateForLoopCond()
322 getOperatorString(binOp->getOp())); in validateForLoopCond()
326 if (!isConstExpr(binOp->getRight())) { in validateForLoopCond()
327 error(binOp->getLine(), in validateForLoopCond()
355 TIntermBinary* binOp = unOp ? nullptr : expr->getAsBinaryNode(); in validateForLoopExpr() local
362 } else if (binOp) { in validateForLoopExpr()
363 op = binOp->getOp(); in validateForLoopExpr()
364 symbol = binOp->getLeft()->getAsSymbolNode(); in validateForLoopExpr()
384 ASSERT((unOp != NULL) && (binOp == NULL)); in validateForLoopExpr()
388 ASSERT((unOp == NULL) && (binOp != NULL)); in validateForLoopExpr()
396 if (binOp != NULL) { in validateForLoopExpr()
397 if (!isConstExpr(binOp->getRight())) { in validateForLoopExpr()
398 error(binOp->getLine(), in validateForLoopExpr()