Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h304 const AddrLabelExpr* LHSExpr;
428 APValue(const AddrLabelExpr *LHSExpr, const AddrLabelExpr *RHSExpr)
430 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
647 return ((const AddrLabelDiffData *)(const char *)&Data)->LHSExpr;
691 void setAddrLabelDiff(const AddrLabelExpr* LHSExpr,
693 ((AddrLabelDiffData *)(char *)&Data)->LHSExpr = LHSExpr;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp8000 bool Sema::DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseConditionalForNull() argument
8002 const Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull()
8010 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull()
8789 Expr *Condition, const Expr *LHSExpr, in DiagnoseConditionalPrecedence() argument
8875 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
8881 if (!LHSExpr) { in ActOnConditionalOp()
8921 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
8924 QualType LHSTy = LHSExpr->getType(), RHSTy = RHSExpr->getType(); in ActOnConditionalOp()
8927 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
10845 Expr *LHSExpr, Expr *RHSExpr) { in diagnoseArithmeticOnTwoVoidPointers() argument
[all …]
H A DHLSLBuiltinTypeDeclBuilder.cpp467 Expr *LHSExpr = convertPlaceholder(LHS); in assign() local
470 DeclBuilder.SemaRef.getASTContext(), LHSExpr, RHSExpr, BO_Assign, in assign()
471 LHSExpr->getType(), ExprValueKind::VK_PRValue, in assign()
H A DSemaChecking.cpp15009 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
15018 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
15032 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove()
15044 << LHSExpr->getType() << LHSExpr->getSourceRange() in DiagnoseSelfMove()
15059 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove()
15061 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove()
15087 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
15094 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
H A DSemaTemplate.cpp3182 OpaqueValueExpr LHSExpr(TemplateLoc, D1, EVK); in builtinCommonTypeImpl() local
3183 ExprResult LHS = &LHSExpr; in builtinCommonTypeImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp500 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument
505 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp62 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local
66 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate()
70 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLifetimeSafety.cpp445 const Expr *LHSExpr = BO->getLHS(); in VisitBinaryOperator() local
452 if (const auto *DRE_LHS = dyn_cast<DeclRefExpr>(LHSExpr)) in VisitBinaryOperator()
H A DCFG.cpp954 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
957 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator()
962 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator()
993 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
997 getIntegerLiteralSubexpressionValue(LHSExpr); in checkIncorrectEqualityOperator()
1002 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
1114 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectLogicOperator() local
1131 TryResult Result = CheckLogicalOpWithNegatedVariable(LHSExpr, RHSExpr); in checkIncorrectLogicOperator()
1134 Result = CheckLogicalOpWithNegatedVariable(RHSExpr, LHSExpr); in checkIncorrectLogicOperator()
1138 const auto *LHS = dyn_cast<BinaryOperator>(LHSExpr); in checkIncorrectLogicOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp6371 const Expr *LHSExpr; member
6398 Info.FFDiag(LHSExpr, in found()
6423 const Expr *LHSExpr, in MaybeHandleUnionActiveMemberChange() argument
6432 for (const Expr *E = LHSExpr; E != nullptr;) { in MaybeHandleUnionActiveMemberChange()
6505 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in MaybeHandleUnionActiveMemberChange()
6517 Info, LHSExpr, LengthAndField.second, DuringInit}; in MaybeHandleUnionActiveMemberChange()
6518 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in MaybeHandleUnionActiveMemberChange()
14256 const Expr *LHSExpr = LHSVal.getLValueBase().dyn_cast<const Expr*>(); in VisitBinOp() local
14258 if (!LHSExpr || !RHSExpr) in VisitBinOp()
14260 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp2513 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local
2515 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h2739 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
7459 Expr *LHSExpr, Expr *RHSExpr);
7461 Expr *LHSExpr, Expr *RHSExpr,
7468 Expr *LHSExpr, Expr *RHSExpr,
7482 Expr *LHSExpr, Expr *RHSExpr);
7520 Expr *LHSExpr, Expr *RHSExpr,
7794 bool DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr,
8086 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType,