Home
last modified time | relevance | path

Searched refs:LHSExpr (Results 1 – 9 of 9) sorted by relevance

/external/clang/include/clang/AST/
DAPValue.h106 const AddrLabelExpr* LHSExpr; member
161 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) in APValue() argument
163 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); in APValue()
340 return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; in getAddrLabelDiffLHS()
386 void setAddrLabelDiff(const AddrLabelExpr* LHSExpr, in setAddrLabelDiff() argument
388 ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; in setAddrLabelDiff()
/external/clang/lib/Sema/
DSemaExpr.cpp5814 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument
5816 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull()
5824 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull()
5874 Expr *LHSExpr = LHS.get(); in checkConditionalVoidType() local
5877 if (!LHSExpr->getType()->isVoidType()) in checkConditionalVoidType()
5881 S.Diag(LHSExpr->getLocStart(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType()
5882 << LHSExpr->getSourceRange(); in checkConditionalVoidType()
6590 Expr *LHSExpr, in DiagnoseConditionalPrecedence() argument
6621 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
6636 if (!LHSExpr) { in ActOnConditionalOp()
[all …]
DSemaChecking.cpp5773 if (Expr *LHSExpr = C->getLHS()) { in EvalAddr() local
5775 if (!LHSExpr->getType()->isVoidType()) in EvalAddr()
5776 if (Expr *LHS = EvalAddr(LHSExpr, refVars, ParentDecl)) in EvalAddr()
5942 if (Expr *LHSExpr = C->getLHS()) { in EvalVal() local
5944 if (!LHSExpr->getType()->isVoidType()) in EvalVal()
5945 if (Expr *LHS = EvalVal(LHSExpr, refVars, ParentDecl)) in EvalVal()
9413 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
9423 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
9440 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove()
9451 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
[all …]
/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp504 Instruction *NaryReassociate::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument
509 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp42 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local
46 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate()
50 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp1368 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in EmitConstantValue() local
1370 llvm::Constant *LHS = EmitConstantExpr(LHSExpr, LHSExpr->getType(), CGF); in EmitConstantValue()
/external/clang/lib/Analysis/
DCFG.cpp645 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
648 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator()
653 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator()
684 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
687 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator()
692 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
/external/clang/include/clang/Sema/
DSema.h3513 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);
4009 Expr *CondExpr, Expr *LHSExpr,
8485 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType);
8517 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
/external/clang/lib/AST/
DExprConstant.cpp7111 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
7113 if (!LHSExpr || !RHSExpr) in VisitBinOp()
7115 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp()
7309 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator() local
7311 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator()
7313 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinaryOperator()