/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 487 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local 488 if (BExpr != RHSExpr) { in tryReassociateBinaryOp() 490 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp() 493 if (AExpr != RHSExpr) { in tryReassociateBinaryOp() 495 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp() 645 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateMinOrMax() local 647 if (BExpr != RHSExpr) { in tryReassociateMinOrMax() 649 if (auto *NewMinMax = tryCombination(A, AExpr, RHS, RHSExpr, B, BExpr)) in tryReassociateMinOrMax() 653 if (AExpr != RHSExpr) { in tryReassociateMinOrMax() 655 if (auto *NewMinMax = tryCombination(RHS, RHSExpr, B, BExpr, A, AExpr)) in tryReassociateMinOrMax()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | APValue.h | 304 const AddrLabelExpr* RHSExpr; 362 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) 364 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); 585 return ((const AddrLabelDiffData *)(const char *)&Data)->RHSExpr; 626 const AddrLabelExpr* RHSExpr) { 628 ((AddrLabelDiffData *)(char *)&Data)->RHSExpr = RHSExpr;
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 8701 NullExpr = RHSExpr; in DiagnoseConditionalForNull() 9723 RHSExpr = RHSResult.get(); in ActOnConditionalOp() 10084 ExprResult RHSPtr = &RHSExpr; in CheckAssignmentConstraints() 11259 *RHSExpr = ImpCastExprToType(RHSExpr->get(), LHSType, CK_BitCast); in CheckVectorOperands() 11754 Expr* IndexExpr = RHSExpr; in diagnoseStringPlusInt() 11770 if (IndexExpr == RHSExpr) { in diagnoseStringPlusInt() 11789 StringRefExpr = RHSExpr; in diagnoseStringPlusChar() 15421 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment() 15604 RHSExpr->getBeginLoc(), RHSExpr->getBeginLoc(), RHSExpr->getEndLoc()); in CreateBuiltinBinOp() 15611 RHSExpr = Init.get(); in CreateBuiltinBinOp() [all …]
|
H A D | SemaChecking.cpp | 18938 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 18948 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 18951 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove() 18960 RHSExpr = CE->getArg(0); in DiagnoseSelfMove() 18963 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() 18975 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 18990 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove() 18992 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove() 19018 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 19025 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 76 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local 79 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate() 83 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 927 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local 930 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator() 933 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator() 966 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local 970 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator() 973 IntLiteral1 = getIntegerLiteralSubexpressionValue(RHSExpr); in checkIncorrectEqualityOperator() 1087 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectLogicOperator() local 1103 TryResult Result = CheckLogicalOpWithNegatedVariable(LHSExpr, RHSExpr); in checkIncorrectLogicOperator() 1106 Result = CheckLogicalOpWithNegatedVariable(RHSExpr, LHSExpr); in checkIncorrectLogicOperator() 1111 const auto *RHS = dyn_cast<BinaryOperator>(RHSExpr); in checkIncorrectLogicOperator()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 2156 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local 2158 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
|
H A D | CGOpenMPRuntime.cpp | 5118 const Expr *RHSExpr = UpExpr; in emitReduction() local 5119 if (RHSExpr) { in emitReduction() 5122 RHSExpr->IgnoreParenImpCasts())) { in emitReduction() 5125 RHSExpr = ACO->getCond(); in emitReduction() 5128 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 5438 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 6075 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr); 6077 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr); 6079 Expr *LHSExpr, Expr *RHSExpr); 6089 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 6129 Expr *RHSExpr, SourceLocation RPLoc); 13011 bool DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 13068 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 13069 if (!LHSExpr || !RHSExpr) in VisitBinOp() 13072 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp() 13615 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local 13616 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator() 13619 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()
|