Home
last modified time | relevance | path

Searched refs:RHSExpr (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp482 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local
483 if (BExpr != RHSExpr) { in tryReassociateBinaryOp()
485 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp()
488 if (AExpr != RHSExpr) { in tryReassociateBinaryOp()
490 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
602 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateMinOrMax() local
605 if (BExpr == RHSExpr) in tryReassociateMinOrMax()
609 std::swap(BExpr, RHSExpr); in tryReassociateMinOrMax()
611 if (AExpr == RHSExpr) in tryReassociateMinOrMax()
615 std::swap(AExpr, RHSExpr); in tryReassociateMinOrMax()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DAPValue.h296 const AddrLabelExpr* RHSExpr;
354 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr)
356 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
577 return ((const AddrLabelDiffData *)(const char *)&Data)->RHSExpr;
618 const AddrLabelExpr* RHSExpr) {
620 ((AddrLabelDiffData *)(char *)&Data)->RHSExpr = RHSExpr;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp7719 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument
7722 Expr *NonPointerExpr = RHSExpr; in DiagnoseConditionalForNull()
7728 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
7780 Expr *RHSExpr = RHS.get(); in checkConditionalVoidType() local
7783 S.Diag(RHSExpr->getBeginLoc(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType()
7784 << RHSExpr->getSourceRange(); in checkConditionalVoidType()
7785 if (!RHSExpr->getType()->isVoidType()) in checkConditionalVoidType()
8625 Expr *RHSExpr) { in DiagnoseConditionalPrecedence() argument
8653 SourceRange(CondRHS->getBeginLoc(), RHSExpr->getEndLoc())); in DiagnoseConditionalPrecedence()
8714 Expr *RHSExpr) { in ActOnConditionalOp() argument
[all …]
H A DSemaChecking.cpp15414 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
15424 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
15427 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove()
15436 RHSExpr = CE->getArg(0); in DiagnoseSelfMove()
15439 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove()
15451 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
15460 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove()
15462 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove()
15488 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
15495 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp55 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local
58 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate()
62 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp922 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
925 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator()
928 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()
961 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
964 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator()
967 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp2101 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local
2103 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
H A DCGOpenMPRuntime.cpp5729 const Expr *RHSExpr = UpExpr; in emitReduction() local
5730 if (RHSExpr) { in emitReduction()
5733 RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
5736 RHSExpr = ACO->getCond(); in emitReduction()
5739 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4880 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
5446 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5448 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
5450 Expr *LHSExpr, Expr *RHSExpr);
5460 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5500 Expr *RHSExpr, SourceLocation RPLoc);
11617 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp12398 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
12399 if (!LHSExpr || !RHSExpr) in VisitBinOp()
12402 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp()
12909 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local
12910 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator()
12913 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()