| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
| HD | APValue.h | 271 const AddrLabelExpr* LHSExpr; 330 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) 332 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); 536 return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr; 586 void setAddrLabelDiff(const AddrLabelExpr* LHSExpr, 588 ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr;
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaExpr.cpp | 6954 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument 6956 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull() 6964 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull() 7014 Expr *LHSExpr = LHS.get(); in checkConditionalVoidType() local 7017 if (!LHSExpr->getType()->isVoidType()) in checkConditionalVoidType() 7021 S.Diag(LHSExpr->getBeginLoc(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType() 7022 << LHSExpr->getSourceRange(); in checkConditionalVoidType() 7829 Expr *LHSExpr, in DiagnoseConditionalPrecedence() argument 7914 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument 7921 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp() [all …]
|
| HD | SemaChecking.cpp | 14393 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 14402 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 14417 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() 14428 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() 14429 << LHSExpr->getSourceRange() in DiagnoseSelfMove() 14438 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove() 14440 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove() 14465 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() 14466 << LHSExpr->getSourceRange() in DiagnoseSelfMove() 14472 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| HD | NaryReassociate.cpp | 473 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument 478 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
|
| /freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| HD | RuntimeDyldChecker.cpp | 43 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local 47 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate() 51 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
| HD | CFG.cpp | 923 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local 926 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() 931 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator() 962 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local 965 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectEqualityOperator() 970 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGExprConstant.cpp | 2078 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local 2080 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
|
| /freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
| HD | Sema.h | 4404 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 4935 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr); 4937 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr); 4939 Expr *LHSExpr, Expr *RHSExpr); 4947 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 4986 Expr *CondExpr, Expr *LHSExpr, 10829 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType); 10864 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
|
| /freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
| HD | ExprConstant.cpp | 5317 static bool HandleUnionActiveMemberChange(EvalInfo &Info, const Expr *LHSExpr, in HandleUnionActiveMemberChange() argument 5326 for (const Expr *E = LHSExpr; E != nullptr;) { in HandleUnionActiveMemberChange() 5393 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in HandleUnionActiveMemberChange() 5403 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in HandleUnionActiveMemberChange() 11595 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 11597 if (!LHSExpr || !RHSExpr) in VisitBinOp() 11599 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp() 12113 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local 12115 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator() 12117 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinaryOperator()
|