| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangedConstraintManager.cpp | 41 return assumeSymRel(State, SIE->getLHS(), op, SIE->getRHS()); in assumeSym() 54 if (Loc::isLocType(SSE->getLHS()->getType()) && in assumeSym() 66 SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, SSE->getLHS(), DiffTy); in assumeSym() 80 SymMgr.getSymSymExpr(SSE->getLHS(), BO_EQ, SSE->getRHS(), ExprType); in assumeSym() 223 Sym = SE->getLHS(); in computeAdjustment()
|
| H A D | SimpleSValBuilder.cpp | 280 return std::make_pair(SymInt->getLHS(), in decomposeSymbol() 655 return makeNonLoc(symIntExpr->getLHS(), opc, in evalBinOpNN() 697 lhs = nonloc::SymbolVal(symIntExpr->getLHS()); in evalBinOpNN() 1326 SVal LHS = getConstOrVisit(S->getLHS()); in simplifySValOnce() 1327 if (isUnchanged(S->getLHS(), LHS)) in simplifySValOnce() 1335 if (Loc::isLocType(S->getLHS()->getType()) && in simplifySValOnce() 1362 SVal LHS = SVB.makeIntVal(S->getLHS()); in simplifySValOnce() 1376 if (Loc::isLocType(S->getLHS()->getType()) != in simplifySValOnce() 1380 SVal LHS = getConstOrVisit(S->getLHS()); in simplifySValOnce() 1383 if (isUnchanged(S->getLHS(), LHS) && isUnchanged(S->getRHS(), RHS)) in simplifySValOnce()
|
| H A D | SymbolManager.cpp | 151 itr.push_back(cast<SymIntExpr>(SE)->getLHS()); in expand() 158 itr.push_back(x->getLHS()); in expand() 487 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive() 493 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ConversionChecker.cpp | 89 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); in checkPreStmt() 92 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); in checkPreStmt() 101 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); in checkPreStmt()
|
| H A D | MallocOverflowSecurityChecker.cpp | 91 const Expr *lhs = binop->getLHS(); in CheckMallocArgument() 200 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 213 const Expr *lhs = AssignEx->getLHS(); in CheckAssignmentExpr() 231 const Expr * lhs = E->getLHS(); in VisitBinaryOperator()
|
| H A D | UndefinedAssignmentChecker.cpp | 69 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind() 72 ex = B->getLHS(); in checkBind()
|
| H A D | UndefResultChecker.cpp | 82 if (C.getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 83 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
|
| H A D | InvalidatedIteratorChecker.cpp | 88 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() 98 SVal LVal = State->getSVal(ASE->getLHS(), C.getLocationContext()); in checkPreStmt()
|
| H A D | IdenticalExprChecker.cpp | 81 const Expr *LHS = B->getLHS(); in checkBitwiseOrLogicalOp() 96 LHS = B2->getLHS(); in checkBitwiseOrLogicalOp() 222 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); in checkComparisonOp() 253 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) { in checkComparisonOp()
|
| H A D | BitwiseShiftChecker.cpp | 74 return Side == OperandSide::Left ? Op->getLHS() : Op->getRHS(); in operandExpr() 167 const QualType LHSTy = Op->getLHS()->getType(); in checkOvershift() 338 bugreporter::trackExpressionValue(ErrNode, Op->getLHS(), *BR); in createBugReport()
|
| H A D | CStringSyntaxChecker.cpp | 133 const Expr *L = BE->getLHS(); in containsBadStrncatPattern() 190 DstArgDRE = dyn_cast<DeclRefExpr>(BE->getLHS()->IgnoreParenImpCasts()); in containsBadStrlcpyStrlcatPattern()
|
| H A D | PointerSubChecker.cpp | 42 SVal LV = C.getSVal(B->getLHS()); in checkPreStmt()
|
| H A D | TestAfterDivZeroChecker.cpp | 215 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition() 222 SVal Val = C.getSVal(LRHS ? B->getLHS() : B->getRHS()); in checkBranchCondition()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 242 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16() 279 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16() 303 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed() 354 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21() 357 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21() 479 assert(BinaryExpr && isa<LanaiMCExpr>(BinaryExpr->getLHS()) && in addLoImm16Operands() 480 cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addLoImm16Operands() 510 assert(BinaryExpr && isa<LanaiMCExpr>(BinaryExpr->getLHS()) && in addHiImm16Operands() 511 cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addHiImm16Operands() 550 cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addLoImm21Operands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 173 LHS = getSymVal(State, SIE->getLHS()); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 176 LHS = &ISE->getLHS(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 180 LHS = getSymVal(State, SSM->getLHS()); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 280 return canReasonAbout(SVB.makeSymbolVal(SIE->getLHS())); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 286 return canReasonAbout(SVB.makeSymbolVal(SSE->getLHS())) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransZeroOutPropsInDealloc.cpp | 160 return isZeroingPropIvar(BOE->getLHS()) && in isZeroingPropIvar() 166 Expr *LHS = BOE->getLHS(); in isZeroingPropIvar() 196 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
|
| H A D | TransARCAssign.cpp | 45 Expr *E = Exp->getLHS(); in VisitBinaryOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaConcept.h | 105 NormalizedConstraint(C, Other.getLHS()), in NormalizedConstraint() 130 NormalizedConstraint &getLHS() const { in getLHS() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 48 LHS = BO->getLHS(); in LogicalBinOp() 66 const Expr *getLHS() const { return LHS; } in getLHS() function in __anon8f98cdf70111::LogicalBinOp 100 return CheckConstraintExpression(BO.getLHS(), NextToken, in CheckConstraintExpression() 190 S, BO.getLHS(), Satisfaction, Evaluator); in calculateConstraintSatisfaction() 1057 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr() 1080 if (BO->getLHS()->getType()->isIntegerType() && in diagnoseWellFormedUnsatisfiedConstraintExpr() 1084 BO->getLHS()->EvaluateAsInt(SimplifiedLHS, S.Context, in diagnoseWellFormedUnsatisfiedConstraintExpr() 1210 if (substituteParameterMappings(S, N.getLHS(), Concept, MLTAL, in substituteParameterMappings() 1307 auto LHS = fromConstraintExpr(S, D, BO.getLHS()); in fromConstraintExpr() 1357 NormalForm LCNF = makeCNF(Normalized.getLHS()); in makeCNF() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCExpr.cpp | 118 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print() 119 BE.getLHS()->print(OS, MAI); in print() 122 BE.getLHS()->print(OS, MAI); in print() 946 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl() 951 if (const MCTargetExpr *L = dyn_cast<MCTargetExpr>(ABE->getLHS())) { in evaluateAsRelocatableImpl() 1077 MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment(); in findAssociatedFragment()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 963 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma() 982 QualType ArgTy = E->getLHS()->getType(); in EmitCompare() 1032 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp() 1039 QualType ArgTy = E->getLHS()->getType(); in VisitBinCmp() 1058 auto LHSValues = EmitOperand(E->getLHS()), in VisitBinCmp() 1140 return isBlockVarRef(op->getLHS()); in isBlockVarRef() 1198 if (isBlockVarRef(E->getLHS()) && in VisitBinAssign() 1214 EmitCopy(E->getLHS()->getType(), in VisitBinAssign() 1216 needsGC(E->getLHS()->getType()), in VisitBinAssign() 1223 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign() [all …]
|
| H A D | CoverageMappingGen.cpp | 753 setCondID(E->getLHS(), getCondID(E)); in pushAndAssignIDs() 755 setCondID(E->getLHS(), NextID++); in pushAndAssignIDs() 1777 Visit(CS->getLHS()); in VisitSwitchCase() 1986 extendRegion(E->getLHS()); in VisitBinLAnd() 1987 propagateCounts(getRegion().getCounter(), E->getLHS()); in VisitBinLAnd() 1988 handleFileExit(getEnd(E->getLHS())); in VisitBinLAnd() 2015 createBranchRegion(E->getLHS(), RHSExecCnt, in VisitBinLAnd() 2039 extendRegion(E->getLHS()); in VisitBinLOr() 2041 handleFileExit(getEnd(E->getLHS())); in VisitBinLOr() 2064 if (!shouldVisitRHS(E->getLHS())) { in VisitBinLOr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ComputeDependence.cpp | 115 return E->getLHS()->getDependence() | E->getRHS()->getDependence(); in computeDependence() 161 return E->getLHS()->getDependence() | E->getRHS()->getDependence(); in computeDependence() 169 return E->getCond()->getDependence() | E->getLHS()->getDependence() | in computeDependence() 205 E->getCond()->getDependence() | E->getLHS()->getDependence() | in computeDependence() 209 auto Active = E->getLHS()->getDependence(); in computeDependence() 849 for (const auto *C : {E->getLHS(), E->getRHS()}) { in computeDependence()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/ |
| H A D | XCoreInstPrinter.cpp | 57 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYMCExpr.cpp | 80 fixELFSymbolsInTLSFixupsImpl(BE->getLHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
|