/external/clang/include/clang/AST/ |
D | APValue.h | 107 const AddrLabelExpr* RHSExpr; member 161 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) in APValue() argument 163 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); in APValue() 344 return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; in getAddrLabelDiffRHS() 387 const AddrLabelExpr* RHSExpr) { in setAddrLabelDiff() argument 389 ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; in setAddrLabelDiff()
|
/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 489 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local 490 if (BExpr != RHSExpr) { in tryReassociateBinaryOp() 492 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp() 495 if (AExpr != RHSExpr) { in tryReassociateBinaryOp() 497 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
|
/external/clang/lib/Sema/ |
D | SemaExpr.cpp | 5814 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument 5817 Expr *NonPointerExpr = RHSExpr; in DiagnoseConditionalForNull() 5823 NullExpr = RHSExpr; in DiagnoseConditionalForNull() 5875 Expr *RHSExpr = RHS.get(); in checkConditionalVoidType() local 5878 S.Diag(RHSExpr->getLocStart(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType() 5879 << RHSExpr->getSourceRange(); in checkConditionalVoidType() 5880 if (!RHSExpr->getType()->isVoidType()) in checkConditionalVoidType() 6591 Expr *RHSExpr) { in DiagnoseConditionalPrecedence() argument 6614 SourceRange(CondRHS->getLocStart(), RHSExpr->getLocEnd())); in DiagnoseConditionalPrecedence() 6622 Expr *RHSExpr) { in ActOnConditionalOp() argument [all …]
|
D | SemaChecking.cpp | 9413 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 9424 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 9427 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove() 9438 RHSExpr = CE->getArg(0); in DiagnoseSelfMove() 9441 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() 9453 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 9462 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove() 9464 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove() 9490 << RHSExpr->getSourceRange(); in DiagnoseSelfMove() 9497 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldChecker.cpp | 53 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local 56 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate() 60 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 1369 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in EmitConstantValue() local 1371 llvm::Constant *RHS = EmitConstantExpr(RHSExpr, RHSExpr->getType(), CGF); in EmitConstantValue()
|
D | CGOpenMPRuntime.cpp | 3043 auto *RHSExpr = UpExpr; in emitReduction() local 3044 if (RHSExpr) { in emitReduction() 3047 RHSExpr->IgnoreParenImpCasts())) { in emitReduction() 3050 RHSExpr = ACO->getCond(); in emitReduction() 3053 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 646 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local 649 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator() 652 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator() 685 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local 688 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator() 691 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3513 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 3964 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr); 3966 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr); 3968 Expr *LHSExpr, Expr *RHSExpr); 3974 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 4010 Expr *RHSExpr, SourceLocation RPLoc); 8517 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 7112 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 7113 if (!LHSExpr || !RHSExpr) in VisitBinOp() 7116 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp() 7310 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator() local 7311 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator() 7314 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()
|