Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExpr.cpp7719 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument
7721 Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull()
7729 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull()
7779 Expr *LHSExpr = LHS.get(); in checkConditionalVoidType() local
7782 if (!LHSExpr->getType()->isVoidType()) in checkConditionalVoidType()
7786 S.Diag(LHSExpr->getBeginLoc(), diag::ext_typecheck_cond_one_void) in checkConditionalVoidType()
7787 << LHSExpr->getSourceRange(); in checkConditionalVoidType()
8624 Expr *LHSExpr, in DiagnoseConditionalPrecedence() argument
8713 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
8720 ExprResult LHSResult = CorrectDelayedTyposInExpr(LHSExpr); in ActOnConditionalOp()
[all …]
H A DSemaChecking.cpp15414 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
15423 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
15438 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove()
15449 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
15450 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
15459 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove()
15461 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove()
15486 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
15487 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
15493 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2567 const MCExpr *LHSExpr = in lowerConstant() local
2571 LHSExpr = in lowerConstant()
2574 LHSExpr, MCSymbolRefExpr::create(getSymbol(RHSGV), Ctx), Ctx); in lowerConstant()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp5839 const Expr *LHSExpr; member
5866 Info.FFDiag(LHSExpr, in found()
5890 static bool HandleUnionActiveMemberChange(EvalInfo &Info, const Expr *LHSExpr, in HandleUnionActiveMemberChange() argument
5899 for (const Expr *E = LHSExpr; E != nullptr;) { in HandleUnionActiveMemberChange()
5966 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in HandleUnionActiveMemberChange()
5978 Info, LHSExpr, LengthAndField.second, DuringInit}; in HandleUnionActiveMemberChange()
5979 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in HandleUnionActiveMemberChange()
12397 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
12399 if (!LHSExpr || !RHSExpr) in VisitBinOp()
12401 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4880 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
5446 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5448 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
5450 Expr *LHSExpr, Expr *RHSExpr);
5460 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5499 Expr *CondExpr, Expr *LHSExpr,
11582 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType);
11617 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,