| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 297 Sema &S, QualType LHSTy, Expr *RHSExpr, AssignmentAction Action, in CheckAssignmentToCountAttrPtrWithIncompletePointeeTy() argument 317 << isa<ImplicitValueInitExpr>(RHSExpr) << LHSTy in CheckAssignmentToCountAttrPtrWithIncompletePointeeTy() 319 << CATy->isOrNull() << RHSExpr->getSourceRange(); in CheckAssignmentToCountAttrPtrWithIncompletePointeeTy() 326 QualType LHSTy, Expr *RHSExpr, AssignmentAction Action, SourceLocation Loc, in BoundsSafetyCheckAssignmentToCountAttrPtr() argument 329 *this, LHSTy, RHSExpr, Action, Loc, Assignee, in BoundsSafetyCheckAssignmentToCountAttrPtr() 336 QualType LHSType, Expr *RHSExpr) { in BoundsSafetyCheckInitialization() argument 351 *this, LHSType, RHSExpr, Action, SL, in BoundsSafetyCheckInitialization()
|
| H A D | SemaExpr.cpp | 8000 bool Sema::DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseConditionalForNull() argument 8003 const Expr *NonPointerExpr = RHSExpr; in DiagnoseConditionalForNull() 8009 NullExpr = RHSExpr; in DiagnoseConditionalForNull() 8790 const Expr *RHSExpr) { in DiagnoseConditionalPrecedence() argument 8818 SourceRange(CondRHS->getBeginLoc(), RHSExpr->getEndLoc())); in DiagnoseConditionalPrecedence() 8876 Expr *RHSExpr) { in ActOnConditionalOp() argument 8895 && commonExpr->getValueKind() == RHSExpr->getValueKind() in ActOnConditionalOp() 8898 && RHSExpr->isOrdinaryOrBitFieldObject() in ActOnConditionalOp() 8899 && Context.hasSameType(commonExpr->getType(), RHSExpr->getType()))) { in ActOnConditionalOp() 8924 QualType LHSTy = LHSExpr->getType(), RHSTy = RHSExpr->getType(); in ActOnConditionalOp() [all …]
|
| H A D | HLSLBuiltinTypeDeclBuilder.cpp | 468 Expr *RHSExpr = convertPlaceholder(RHS); in assign() local 470 DeclBuilder.SemaRef.getASTContext(), LHSExpr, RHSExpr, BO_Assign, in assign()
|
| H A D | SemaChecking.cpp | 15009 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 15019 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 15023 if (const auto *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove() 15025 RHSExpr = CE->getArg(0); in DiagnoseSelfMove() 15026 else if (const auto *CXXSCE = dyn_cast<CXXStaticCastExpr>(RHSExpr); in DiagnoseSelfMove() 15028 RHSExpr = CXXSCE->getSubExpr(); in DiagnoseSelfMove() 15033 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() 15045 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 15060 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove() 15062 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove() [all …]
|
| H A D | SemaTemplate.cpp | 3186 OpaqueValueExpr RHSExpr(TemplateLoc, D2, EVK); in builtinCommonTypeImpl() local 3187 ExprResult RHS = &RHSExpr; in builtinCommonTypeImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 485 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local 486 if (BExpr != RHSExpr) { in tryReassociateBinaryOp() 488 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp() 491 if (AExpr != RHSExpr) { in tryReassociateBinaryOp() 493 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp() 654 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateMinOrMax() local 656 if (BExpr != RHSExpr) { in tryReassociateMinOrMax() 658 if (auto *NewMinMax = tryCombination(A, AExpr, RHS, RHSExpr, B, BExpr)) in tryReassociateMinOrMax() 662 if (AExpr != RHSExpr) { in tryReassociateMinOrMax() 664 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 | 305 const AddrLabelExpr* RHSExpr; 428 APValue(const AddrLabelExpr *LHSExpr, const AddrLabelExpr *RHSExpr) 430 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); 651 return ((const AddrLabelDiffData *)(const char *)&Data)->RHSExpr; 692 const AddrLabelExpr* RHSExpr) { 694 ((AddrLabelDiffData *)(char *)&Data)->RHSExpr = RHSExpr;
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 73 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local 76 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate() 80 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | LifetimeSafety.cpp | 446 const Expr *RHSExpr = BO->getRHS(); in VisitBinaryOperator() local 456 addAssignOriginFact(*VD_LHS, *RHSExpr); in VisitBinaryOperator()
|
| H A D | CFG.cpp | 955 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local 958 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator() 961 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator() 994 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local 998 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator() 1001 IntLiteral1 = getIntegerLiteralSubexpressionValue(RHSExpr); in checkIncorrectEqualityOperator() 1115 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectLogicOperator() local 1131 TryResult Result = CheckLogicalOpWithNegatedVariable(LHSExpr, RHSExpr); in checkIncorrectLogicOperator() 1134 Result = CheckLogicalOpWithNegatedVariable(RHSExpr, LHSExpr); in checkIncorrectLogicOperator() 1139 const auto *RHS = dyn_cast<BinaryOperator>(RHSExpr); in checkIncorrectLogicOperator()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ScalarEvolutionExpander.cpp | 677 const SCEV *RHSExpr = S->getRHS(); in visitUDivExpr() local 678 Value *RHS = expand(RHSExpr); in visitUDivExpr() 681 ScalarEvolution::isGuaranteedNotToBePoison(RHSExpr); in visitUDivExpr() 688 if (!SE.isKnownNonZero(RHSExpr) || !GuaranteedNotPoison) in visitUDivExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 2514 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local 2516 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
|
| H A D | CGOpenMPRuntime.cpp | 5372 const Expr *RHSExpr = UpExpr; in emitReduction() local 5373 if (RHSExpr) { in emitReduction() 5376 RHSExpr->IgnoreParenImpCasts())) { in emitReduction() 5379 RHSExpr = ACO->getCond(); in emitReduction() 5382 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 2468 QualType LHSTy, Expr *RHSExpr, AssignmentAction Action, 2486 QualType LHSType, Expr *RHSExpr); 2739 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 7459 Expr *LHSExpr, Expr *RHSExpr); 7461 Expr *LHSExpr, Expr *RHSExpr, 7468 Expr *LHSExpr, Expr *RHSExpr, 7482 Expr *LHSExpr, Expr *RHSExpr); 7520 Expr *LHSExpr, Expr *RHSExpr, 7794 bool DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr,
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 14257 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 14258 if (!LHSExpr || !RHSExpr) in VisitBinOp() 14261 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp() 14806 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local 14812 if (LHSExpr && LHSExpr == RHSExpr) in VisitBinaryOperator() 14819 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator() 14826 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()
|