Home | History | Annotate | Download | only in Sema

Lines Matching defs:Lhs

1819   // 1) unary, vector mask: (lhs, mask)
1820 // 2) binary, vector mask: (lhs, rhs, mask)
1821 // 3) binary, scalar mask: (lhs, rhs, index, ..., index)
1841 // same number of elts as lhs.
4222 const Expr *LHS = BO->getLHS()->IgnoreParenCasts();
4225 Ex = LHS;
4226 else if (isa<IntegerLiteral>(LHS))
4575 // the RHS argument instead of the LHS.
4582 // For conditional operators we need to see if either the LHS or RHS are
4587 // Handle the GNU extension for missing LHS.
4592 if (Expr *LHS = EvalAddr(LHSExpr, refVars, ParentDecl))
4593 return LHS;
4748 // For conditional operators we need to see if either the LHS or RHS are
4752 // Handle the GNU extension for missing LHS.
4756 if (Expr *LHS = EvalVal(LHSExpr, refVars, ParentDecl))
4757 return LHS;
4840 void Sema::CheckFloatComparison(SourceLocation Loc, Expr* LHS, Expr *RHS) {
4841 Expr* LeftExprSansParen = LHS->IgnoreParenImpCasts();
4876 << LHS->getSourceRange() << RHS->getSourceRange();
5091 // The type of the assignments is the type of the LHS, so the RHS
5104 // been coerced to the LHS type.
5167 // of the LHS.
5184 // Otherwise, just use the LHS's width.
5452 enum ConstantSide { Lhs, Rhs, SizeOfConstSides };
5463 // Constant on LHS. | Constant on RHS. |
5567 Expr *LHS = E->getLHS()->IgnoreParenImpCasts();
5580 LHS->isIntegerConstantExpr(LHSValue, S.Context);
5582 DiagnoseOutOfRangeComparison(S, E, RHS, LHS, RHSValue, true);
5584 DiagnoseOutOfRangeComparison(S, E, LHS, RHS, LHSValue, false);
5603 if (LHS->getType()->hasSignedIntegerRepresentation()) {
5606 signedOperand = LHS;
5610 unsignedOperand = LHS;
5621 AnalyzeImplicitConversions(S, LHS, E->getOperatorLoc());
5648 << LHS->getType() << RHS->getType()
5649 << LHS->getSourceRange() << RHS->getSourceRange());
5711 // Just recurse on the LHS.
6685 SequenceTree::Seq LHS = Tree.allocate(Region);
6691 Region = LHS;
6700 // Forget that LHS and RHS are sequenced. They are both unsequenced
6702 Tree.merge(LHS);
6707 // The modification is sequenced after the value computation of the LHS
6772 // The side-effects of the LHS of an '&&' are sequenced before the
6774 // of the '&&' itself, unless the LHS evaluates to zero. We treat them
7232 if (const Expr *lhs = cond->getLHS())
7233 CheckArrayAccess(lhs);
7392 Expr *LHS = BinOp->getLHS();
7393 if (const DeclRefExpr *DRE = dyn_cast_or_null<DeclRefExpr>(LHS)) {
7569 QualType LHS, Expr *RHS) {
7570 Qualifiers::ObjCLifetime LT = LHS.getObjCLifetime();
7582 Expr *LHS, Expr *RHS) {
7584 // PropertyRef on LHS type need be directly obtained from
7587 = dyn_cast<ObjCPropertyRefExpr>(LHS->IgnoreParens());
7595 LHSType = LHS->getType();
7601 getCurFunction()->markSafeWeakUse(LHS);