/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExpr.cpp | 7841 bool Sema::DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseConditionalForNull() argument 7843 const Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull() 7851 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull() 8618 Expr *Condition, const Expr *LHSExpr, in DiagnoseConditionalPrecedence() argument 8705 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument 8712 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp() 8718 if (LHSExpr) { in ActOnConditionalOp() 8727 LHSExpr = LHSResult.get(); in ActOnConditionalOp() 8735 if (!LHSExpr) { in ActOnConditionalOp() 8775 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp() [all …]
|
H A D | SemaChecking.cpp | 13576 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument 13585 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove() 13599 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() 13611 << LHSExpr->getType() << LHSExpr->getSourceRange() in DiagnoseSelfMove() 13626 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove() 13628 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove() 13654 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove() 13661 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | NaryReassociate.cpp | 502 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument 507 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldChecker.cpp | 65 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local 69 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate() 73 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 926 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local 929 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator() 934 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator() 965 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local 969 getIntegerLiteralSubexpressionValue(LHSExpr); in checkIncorrectEqualityOperator() 974 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator() 1086 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectLogicOperator() local 1103 TryResult Result = CheckLogicalOpWithNegatedVariable(LHSExpr, RHSExpr); in checkIncorrectLogicOperator() 1106 Result = CheckLogicalOpWithNegatedVariable(RHSExpr, LHSExpr); in checkIncorrectLogicOperator() 1110 const auto *LHS = dyn_cast<BinaryOperator>(LHSExpr); in checkIncorrectLogicOperator()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 2396 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local 2398 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 2329 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, 7036 Expr *LHSExpr, Expr *RHSExpr); 7038 Expr *LHSExpr, Expr *RHSExpr); 7044 Expr *LHSExpr, Expr *RHSExpr); 7057 Expr *LHSExpr, Expr *RHSExpr); 7095 Expr *LHSExpr, Expr *RHSExpr, 7371 bool DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr, 7754 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 6078 const Expr *LHSExpr; member 6105 Info.FFDiag(LHSExpr, in found() 6130 const Expr *LHSExpr, in MaybeHandleUnionActiveMemberChange() argument 6139 for (const Expr *E = LHSExpr; E != nullptr;) { in MaybeHandleUnionActiveMemberChange() 6212 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in MaybeHandleUnionActiveMemberChange() 6224 Info, LHSExpr, LengthAndField.second, DuringInit}; in MaybeHandleUnionActiveMemberChange() 6225 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in MaybeHandleUnionActiveMemberChange() 13434 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local 13436 if (!LHSExpr || !RHSExpr) in VisitBinOp() 13438 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | AsmPrinter.cpp | 3247 const MCExpr *LHSExpr = in lowerConstant() local 3251 LHSExpr = in lowerConstant() 3254 LHSExpr, MCSymbolRefExpr::create(getSymbol(RHSGV), Ctx), Ctx); in lowerConstant()
|