Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp7785 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull()
7793 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull()
7843 Expr *LHSExpr = LHS.get(); in checkConditionalVoidType() local
8790 if (LHSExpr) { in ActOnConditionalOp()
8799 LHSExpr = LHSResult.get(); in ActOnConditionalOp()
8807 if (!LHSExpr) { in ActOnConditionalOp()
10594 IndexExpr = LHSExpr; in diagnoseStringPlusInt()
10674 << LHSExpr->getType() << RHSExpr->getType() << LHSExpr->getSourceRange() in diagnosePointerIncompatibility()
13909 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment()
14615 LHSExpr = LHS.get(); in BuildBinOp()
[all …]
H A DSemaChecking.cpp15755 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
15764 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
15779 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove()
15790 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
15791 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
15800 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove()
15802 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove()
15827 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
15828 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
15834 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp44 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local
48 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate()
52 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp497 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument
502 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp921 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
924 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator()
929 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator()
960 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
963 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator()
968 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp2100 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local
2102 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp5842 const Expr *LHSExpr; member
5869 Info.FFDiag(LHSExpr, in found()
5902 for (const Expr *E = LHSExpr; E != nullptr;) { in HandleUnionActiveMemberChange()
5969 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in HandleUnionActiveMemberChange()
5981 Info, LHSExpr, LengthAndField.second, DuringInit}; in HandleUnionActiveMemberChange()
5982 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in HandleUnionActiveMemberChange()
12432 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
12434 if (!LHSExpr || !RHSExpr) in VisitBinOp()
12436 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp()
12943 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2592 const MCExpr *LHSExpr = in lowerConstant() local
2596 LHSExpr = in lowerConstant()
2599 LHSExpr, MCSymbolRefExpr::create(getSymbol(RHSGV), Ctx), Ctx); in lowerConstant()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4920 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
5497 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5499 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
5501 Expr *LHSExpr, Expr *RHSExpr);
5511 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5550 Expr *CondExpr, Expr *LHSExpr,
11683 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType);
11718 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,