Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h158 const AddrLabelExpr* RHSExpr; member
213 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) in APValue() argument
215 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr); in APValue()
404 return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr; in getAddrLabelDiffRHS()
447 const AddrLabelExpr* RHSExpr) { in setAddrLabelDiff() argument
449 ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr; in setAddrLabelDiff()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp458 const SCEV *RHSExpr = SE->getSCEV(RHS); in tryReassociateBinaryOp() local
459 if (BExpr != RHSExpr) { in tryReassociateBinaryOp()
461 tryReassociatedBinaryOp(getBinarySCEV(I, AExpr, RHSExpr), B, I)) in tryReassociateBinaryOp()
464 if (AExpr != RHSExpr) { in tryReassociateBinaryOp()
466 tryReassociatedBinaryOp(getBinarySCEV(I, BExpr, RHSExpr), A, I)) in tryReassociateBinaryOp()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExpr.cpp6533 NullExpr = RHSExpr; in DiagnoseConditionalForNull()
6585 Expr *RHSExpr = RHS.get(); in checkConditionalVoidType() local
7496 RHSExpr = RHSResult.get(); in ActOnConditionalOp()
8786 *RHSExpr = ImpCastExprToType(RHSExpr->get(), LHSType, CK_BitCast); in CheckVectorOperands()
9140 Expr* IndexExpr = RHSExpr; in diagnoseStringPlusInt()
9156 if (IndexExpr == RHSExpr) { in diagnoseStringPlusInt()
9175 StringRefExpr = RHSExpr; in diagnoseStringPlusChar()
12112 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment()
12270 RHSExpr->getBeginLoc(), RHSExpr->getBeginLoc(), RHSExpr->getEndLoc()); in CreateBuiltinBinOp()
12277 RHSExpr = Init.get(); in CreateBuiltinBinOp()
[all …]
H A DSemaChecking.cpp13273 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
13283 RHSExpr = RHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
13286 const CallExpr *CE = dyn_cast<CallExpr>(RHSExpr); in DiagnoseSelfMove()
13295 RHSExpr = CE->getArg(0); in DiagnoseSelfMove()
13298 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove()
13310 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
13319 const Expr *RHSBase = RHSExpr; in DiagnoseSelfMove()
13321 const MemberExpr *RHSME = dyn_cast<MemberExpr>(RHSExpr); in DiagnoseSelfMove()
13347 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
13354 << RHSExpr->getSourceRange(); in DiagnoseSelfMove()
/freebsd-12.1/contrib/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()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp893 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
896 const Expr *BoolExpr = RHSExpr; in checkIncorrectRelationalOperator()
899 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectRelationalOperator()
932 const Expr *RHSExpr = B->getRHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
935 const Expr *BoolExpr = RHSExpr; in checkIncorrectEqualityOperator()
938 IntLiteral = dyn_cast<IntegerLiteral>(RHSExpr); in checkIncorrectEqualityOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp1929 const AddrLabelExpr *RHSExpr = Value.getAddrLabelDiffRHS(); in tryEmitPrivate() local
1931 llvm::Constant *RHS = tryEmitPrivate(RHSExpr, RHSExpr->getType()); in tryEmitPrivate()
H A DCGOpenMPRuntime.cpp5731 const Expr *RHSExpr = UpExpr; in emitReduction() local
5732 if (RHSExpr) { in emitReduction()
5735 RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
5738 RHSExpr = ACO->getCond(); in emitReduction()
5741 dyn_cast<BinaryOperator>(RHSExpr->IgnoreParenImpCasts())) { in emitReduction()
/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);
4495 Expr *RHSExpr, SourceLocation RPLoc);
9742 bool DiagnoseConditionalForNull(Expr *LHSExpr, Expr *RHSExpr,
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp8988 const Expr *RHSExpr = RHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
8989 if (!LHSExpr || !RHSExpr) in VisitBinOp()
8992 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinOp()
9468 const Expr *RHSExpr = RHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local
9469 if (!LHSExpr || !RHSExpr) in VisitBinaryOperator()
9472 const AddrLabelExpr *RHSAddrExpr = dyn_cast<AddrLabelExpr>(RHSExpr); in VisitBinaryOperator()