| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 482 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 …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | APValue.h | 296 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;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 7792 NullExpr = RHSExpr; in DiagnoseConditionalForNull() 7844 Expr *RHSExpr = RHS.get(); in checkConditionalVoidType() local 8800 RHSExpr = RHSResult.get(); in ActOnConditionalOp() 10190 *RHSExpr = ImpCastExprToType(RHSExpr->get(), LHSType, CK_BitCast); in CheckVectorOperands() 10591 Expr* IndexExpr = RHSExpr; in diagnoseStringPlusInt() 10607 if (IndexExpr == RHSExpr) { in diagnoseStringPlusInt() 10626 StringRefExpr = RHSExpr; in diagnoseStringPlusChar() 13910 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment() 14087 RHSExpr->getBeginLoc(), RHSExpr->getBeginLoc(), RHSExpr->getEndLoc()); in CreateBuiltinBinOp() 14094 RHSExpr = Init.get(); in CreateBuiltinBinOp() [all …]
|
| H A D | SemaChecking.cpp | 15755 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 15765 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 15768 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove() 15777 RHSExpr = CE->getArg(0); in DiagnoseSelfMove() 15780 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() 15792 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 15801 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove() 15803 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove() 15829 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 15836 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 55 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 922 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 2101 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local 2103 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
|
| H A D | CGOpenMPRuntime.cpp | 5742 const Expr *RHSExpr = UpExpr; in emitReduction() local 5743 if (RHSExpr) { in emitReduction() 5746 RHSExpr->IgnoreParenImpCasts())) { in emitReduction() 5749 RHSExpr = ACO->getCond(); in emitReduction() 5752 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4920 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 5497 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr); 5499 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr); 5501 Expr *LHSExpr, Expr *RHSExpr); 5511 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 5551 Expr *RHSExpr, SourceLocation RPLoc); 11718 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 12433 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 12434 if (!LHSExpr || !RHSExpr) in VisitBinOp() 12437 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp() 12944 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local 12945 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator() 12948 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()
|