Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h157 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 DSemaExpr.cpp6526 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 DSemaChecking.cpp13273 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 DNaryReassociate.cpp473 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 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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp892 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 DCGExprConstant.cpp1928 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 DSema.h3973 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 DExprConstant.cpp8987 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()