Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp487 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local
488 if (BExpr != RHSExpr) { in tryReassociateBinaryOp()
490 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp()
493 if (AExpr != RHSExpr) { in tryReassociateBinaryOp()
495 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
645 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateMinOrMax() local
647 if (BExpr != RHSExpr) { in tryReassociateMinOrMax()
649 if (auto *NewMinMax = tryCombination(A, AExpr, RHS, RHSExpr, B, BExpr)) in tryReassociateMinOrMax()
653 if (AExpr != RHSExpr) { in tryReassociateMinOrMax()
655 if (auto *NewMinMax = tryCombination(RHS, RHSExpr, B, BExpr, A, AExpr)) in tryReassociateMinOrMax()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAPValue.h296 const AddrLabelExpr* RHSExpr;
354 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr)
356 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
577 return ((const AddrLabelDiffData *)(const char *)&Data)->RHSExpr;
618 const AddrLabelExpr* RHSExpr) {
620 ((AddrLabelDiffData *)(char *)&Data)->RHSExpr = RHSExpr;
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp8351 bool Sema::DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr, in DiagnoseConditionalForNull() argument
8354 Expr *NonPointerExpr = RHSExpr; in DiagnoseConditionalForNull()
8360 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
9272 Expr *RHSExpr) { in DiagnoseConditionalPrecedence() argument
9300 SourceRange(CondRHS->getBeginLoc(), RHSExpr->getEndLoc())); in DiagnoseConditionalPrecedence()
9361 Expr *RHSExpr) { in ActOnConditionalOp() argument
9368 ExprResult RHSResult = CorrectDelayedTyposInExpr(RHSExpr); in ActOnConditionalOp()
9383 RHSExpr = RHSResult.get(); in ActOnConditionalOp()
9404 && commonExpr->getValueKind() == RHSExpr->getValueKind() in ActOnConditionalOp()
9407 && RHSExpr->isOrdinaryOrBitFieldObject() in ActOnConditionalOp()
[all …]
H A DSemaChecking.cpp17142 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
17152 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
17155 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove()
17164 RHSExpr = CE->getArg(0); in DiagnoseSelfMove()
17167 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove()
17179 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
17194 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove()
17196 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove()
17222 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
17229 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp56 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim(); in evaluate() local
59 evalComplexExpr(evalSimpleExpr(RHSExpr, OutsideLoad), OutsideLoad); in evaluate()
63 return handleError(Expr, unexpectedToken(RemainingExpr, RHSExpr, "")); in evaluate()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp930 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
933 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator()
936 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()
969 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
973 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator()
976 IntLiteral1 = getIntegerLiteralSubexpressionValue(RHSExpr); in checkIncorrectEqualityOperator()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprConstant.cpp2137 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local
2139 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
H A DCGOpenMPRuntime.cpp5321 const Expr *RHSExpr = UpExpr; in emitReduction() local
5322 if (RHSExpr) { in emitReduction()
5325 RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
5328 RHSExpr = ACO->getCond(); in emitReduction()
5331 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h5312 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
5921 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5923 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
5925 Expr *LHSExpr, Expr *RHSExpr);
5935 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5975 Expr *RHSExpr, SourceLocation RPLoc);
12597 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp12749 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
12750 if (!LHSExpr || !RHSExpr) in VisitBinOp()
12753 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp()
13292 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local
13293 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator()
13296 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()