| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | APValue.h | 157 const AddrLabelExpr* LHSExpr; member 213 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) in APValue() argument 215 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); in APValue() 400 return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; in getAddrLabelDiffLHS() 446 void setAddrLabelDiff(const AddrLabelExpr* LHSExpr, in setAddrLabelDiff() argument 448 ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr; in setAddrLabelDiff()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 6526 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull() 6534 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull() 6584 Expr *LHSExpr = LHS.get(); in checkConditionalVoidType() local 7486 if (LHSExpr) { in ActOnConditionalOp() 7495 LHSExpr = LHSResult.get(); in ActOnConditionalOp() 7503 if (!LHSExpr) { in ActOnConditionalOp() 9143 IndexExpr = LHSExpr; in diagnoseStringPlusInt() 9223 << LHSExpr->getType() << RHSExpr->getType() << LHSExpr->getSourceRange() in diagnosePointerIncompatibility() 12111 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment() 12762 LHSExpr = LHS.get(); in BuildBinOp() [all …]
|
| H A D | SemaChecking.cpp | 13273 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 13282 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 13297 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() 13308 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() 13309 << LHSExpr->getSourceRange() in DiagnoseSelfMove() 13318 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove() 13320 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove() 13345 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() 13346 << LHSExpr->getSourceRange() in DiagnoseSelfMove() 13352 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 473 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument 478 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
|
| /freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldChecker.cpp | 45 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local 49 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate() 53 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | CFG.cpp | 892 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local 895 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() 900 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator() 931 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local 934 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator() 939 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 1928 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local 1930 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3973 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 4447 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr); 4449 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr); 4451 Expr *LHSExpr, Expr *RHSExpr); 4459 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 4494 Expr *CondExpr, Expr *LHSExpr, 9710 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType); 9742 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 8987 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 8989 if (!LHSExpr || !RHSExpr) in VisitBinOp() 8991 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp() 9467 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local 9469 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator() 9471 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinaryOperator()
|