Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/AST/
H A DAPValue.h295 const AddrLabelExpr* LHSExpr;
354 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr)
356 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
573 return ((const AddrLabelDiffData *)(const char *)&Data)->LHSExpr;
617 void setAddrLabelDiff(const AddrLabelExpr* LHSExpr,
619 ((AddrLabelDiffData *)(char *)&Data)->LHSExpr = LHSExpr;
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DBranchCloneCheck.cpp26 const auto *LHSExpr = llvm::cast<Expr>(LHS); in areStatementsIdentical() local
28 if (LHSExpr->containsErrors() && RHSExpr->containsErrors()) { in areStatementsIdentical()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp8113 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull()
8121 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull()
8171 Expr *LHSExpr = LHS.get(); in checkConditionalVoidType() local
9127 if (LHSExpr) { in ActOnConditionalOp()
9136 LHSExpr = LHSResult.get(); in ActOnConditionalOp()
9144 if (!LHSExpr) { in ActOnConditionalOp()
11062 IndexExpr = LHSExpr; in diagnoseStringPlusInt()
11142 << LHSExpr->getType() << RHSExpr->getType() << LHSExpr->getSourceRange() in diagnosePointerIncompatibility()
14654 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment()
15375 LHSExpr = LHS.get(); in BuildBinOp()
[all …]
H A DSemaChecking.cpp16863 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
16872 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
16887 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove()
16899 << LHSExpr->getType() << LHSExpr->getSourceRange() in DiagnoseSelfMove()
16914 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove()
16916 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove()
16942 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
16949 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp45 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()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp501 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument
506 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp925 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
928 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator()
933 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator()
964 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
967 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator()
972 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp2137 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local
2139 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp5924 const Expr *LHSExpr; member
5951 Info.FFDiag(LHSExpr, in found()
5984 for (const Expr *E = LHSExpr; E != nullptr;) { in HandleUnionActiveMemberChange()
6051 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in HandleUnionActiveMemberChange()
6063 Info, LHSExpr, LengthAndField.second, DuringInit}; in HandleUnionActiveMemberChange()
6064 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in HandleUnionActiveMemberChange()
12660 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
12662 if (!LHSExpr || !RHSExpr) in VisitBinOp()
12664 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp()
13171 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2814 const MCExpr *LHSExpr = in lowerConstant() local
2818 LHSExpr = in lowerConstant()
2821 LHSExpr, MCSymbolRefExpr::create(getSymbol(RHSGV), Ctx), Ctx); in lowerConstant()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h5183 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
5778 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5780 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
5782 Expr *LHSExpr, Expr *RHSExpr);
5792 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5831 Expr *CondExpr, Expr *LHSExpr,
12184 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType,
12224 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,