Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DAPValue.h303 const AddrLabelExpr* LHSExpr;
362 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr)
364 MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
581 return ((const AddrLabelDiffData *)(const char *)&Data)->LHSExpr;
625 void setAddrLabelDiff(const AddrLabelExpr* LHSExpr,
627 ((AddrLabelDiffData *)(char *)&Data)->LHSExpr = LHSExpr;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp8694 const Expr *NullExpr = LHSExpr; in DiagnoseConditionalForNull()
8702 NonPointerExpr = LHSExpr; in DiagnoseConditionalForNull()
9713 if (LHSExpr) { in ActOnConditionalOp()
9722 LHSExpr = LHSResult.get(); in ActOnConditionalOp()
9730 if (!LHSExpr) { in ActOnConditionalOp()
9770 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
11757 IndexExpr = LHSExpr; in diagnoseStringPlusInt()
11837 << LHSExpr->getType() << RHSExpr->getType() << LHSExpr->getSourceRange() in diagnosePointerIncompatibility()
15420 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfAssignment()
16131 LHSExpr = LHS.get(); in BuildBinOp()
[all …]
H A DSemaChecking.cpp18938 void Sema::DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr, in DiagnoseSelfMove() argument
18947 LHSExpr = LHSExpr->IgnoreParenImpCasts(); in DiagnoseSelfMove()
18962 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove()
18974 << LHSExpr->getType() << LHSExpr->getSourceRange() in DiagnoseSelfMove()
18989 const Expr *LHSBase = LHSExpr; in DiagnoseSelfMove()
18991 const MemberExpr *LHSME = dyn_cast<MemberExpr>(LHSExpr); in DiagnoseSelfMove()
19017 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
19024 << LHSExpr->getType() << 0 << LHSExpr->getSourceRange() in DiagnoseSelfMove()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp502 Instruction *NaryReassociatePass::tryReassociatedBinaryOp(const SCEV *LHSExpr, in tryReassociatedBinaryOp() argument
507 auto *LHS = findClosestMatchingDominator(LHSExpr, I); in tryReassociatedBinaryOp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp65 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim(); in evaluate() local
69 evalComplexExpr(evalSimpleExpr(LHSExpr, OutsideLoad), OutsideLoad); in evaluate()
73 return handleError(Expr, unexpectedToken(RemainingExpr, LHSExpr, "")); in evaluate()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp926 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() local
929 const IntegerLiteral *IntLiteral = dyn_cast<IntegerLiteral>(LHSExpr); in checkIncorrectRelationalOperator()
934 BoolExpr = LHSExpr; in checkIncorrectRelationalOperator()
965 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() local
969 getIntegerLiteralSubexpressionValue(LHSExpr); in checkIncorrectEqualityOperator()
974 BoolExpr = LHSExpr; in checkIncorrectEqualityOperator()
1086 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectLogicOperator() local
1103 TryResult Result = CheckLogicalOpWithNegatedVariable(LHSExpr, RHSExpr); in checkIncorrectLogicOperator()
1106 Result = CheckLogicalOpWithNegatedVariable(RHSExpr, LHSExpr); in checkIncorrectLogicOperator()
1110 const auto *LHS = dyn_cast<BinaryOperator>(LHSExpr); in checkIncorrectLogicOperator()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp2155 const AddrLabelExpr *LHSExpr = Value.getAddrLabelDiffLHS(); in tryEmitPrivate() local
2157 llvm::Constant *LHS = tryEmitPrivate(LHSExpr, LHSExpr->getType()); in tryEmitPrivate()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp6017 const Expr *LHSExpr; member
6044 Info.FFDiag(LHSExpr, in found()
6069 const Expr *LHSExpr, in MaybeHandleUnionActiveMemberChange() argument
6078 for (const Expr *E = LHSExpr; E != nullptr;) { in MaybeHandleUnionActiveMemberChange()
6151 findCompleteObject(Info, LHSExpr, AK_Assign, LHS, LHSExpr->getType()); in MaybeHandleUnionActiveMemberChange()
6163 Info, LHSExpr, LengthAndField.second, DuringInit}; in MaybeHandleUnionActiveMemberChange()
6164 if (!findSubobject(Info, LHSExpr, Obj, D, StartLifetime)) in MaybeHandleUnionActiveMemberChange()
13069 if (!LHSExpr || !RHSExpr) in VisitBinOp()
13071 const AddrLabelExpr *LHSAddrExpr = dyn_cast<AddrLabelExpr>(LHSExpr); in VisitBinOp()
13614 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr *>(); in VisitBinaryOperator() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3236 const MCExpr *LHSExpr = in lowerConstant() local
3240 LHSExpr = in lowerConstant()
3243 LHSExpr, MCSymbolRefExpr::create(getSymbol(RHSGV), Ctx), Ctx); in lowerConstant()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5438 void DiagnoseSelfMove(const Expr *LHSExpr, const Expr *RHSExpr,
6075 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
6077 BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr);
6079 Expr *LHSExpr, Expr *RHSExpr);
6089 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
6128 Expr *CondExpr, Expr *LHSExpr,
12971 Expr *LHSExpr, ExprResult &RHS, SourceLocation Loc, QualType CompoundType,
13011 bool DiagnoseConditionalForNull(const Expr *LHSExpr, const Expr *RHSExpr,