| /freebsd/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 SSE->getRHS(), BO_Sub, SSE->getLHS(), DiffTy); in assumeSym() 80 SSE->getLHS(), BO_EQ, SSE->getRHS(), ExprType); in assumeSym() 223 Sym = SE->getLHS(); in computeAdjustment()
|
| H A D | SymbolManager.cpp | 190 itr.push_back(cast<SymIntExpr>(SE)->getLHS()); in expand() 197 itr.push_back(x->getLHS()); in expand() 364 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive() 370 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
|
| H A D | SimpleSValBuilder.cpp | 281 return std::make_pair(SymInt->getLHS(), in decomposeSymbol() 657 return makeNonLoc(symIntExpr->getLHS(), opc, in evalBinOpNN() 699 lhs = nonloc::SymbolVal(symIntExpr->getLHS()); in evalBinOpNN() 1329 SVal LHS = getConstOrVisit(S->getLHS()); in simplifySValOnce() 1330 if (isUnchanged(S->getLHS(), LHS)) in simplifySValOnce() 1338 if (Loc::isLocType(S->getLHS()->getType()) && in simplifySValOnce() 1365 SVal LHS = SVB.makeIntVal(S->getLHS()); in simplifySValOnce() 1379 if (Loc::isLocType(S->getLHS()->getType()) != in simplifySValOnce() 1383 SVal LHS = getConstOrVisit(S->getLHS()); in simplifySValOnce() 1386 if (isUnchanged(S->getLHS(), LHS) && isUnchanged(S->getRHS(), RHS)) in simplifySValOnce()
|
| H A D | BugReporterVisitors.cpp | 72 if (B->getLHS()->getType()->isPointerType()) { in peelOffPointerArithmetic() 73 return B->getLHS(); in peelOffPointerArithmetic() 115 E = B->getLHS(); in getDerefExpr() 331 N->getSVal(BO->getLHS()).getAsRegion())) in wasRegionOfInterestModifiedAt() 882 const MemRegion *R = N->getSVal(BO->getLHS()).getAsRegion(); in matchAssignment() 2564 SVal LHSV = RVState->getSVal(BO->getLHS(), RVNode->getLocationContext()); in handle() 2569 track(BO->getLHS()); in handle() 2574 track(BO->getLHS()); in handle() 2814 Cond = BO->getLHS(); in VisitTerminator() 3009 const auto *LhsME = dyn_cast<MemberExpr>(BExpr->getLHS()->IgnoreParenCasts()); in VisitTrueTest() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 241 dyn_cast<MCSpecifierExpr>(BinaryExpr->getLHS())) in isHiImm16() 278 dyn_cast<MCSpecifierExpr>(BinaryExpr->getLHS())) in isLoImm16() 302 dyn_cast<MCSpecifierExpr>(BinaryExpr->getLHS())) in isLoImm16Signed() 353 dyn_cast<MCSpecifierExpr>(BinaryExpr->getLHS())) in isLoImm21() 356 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21() 477 assert(BinaryExpr && isa<MCSpecifierExpr>(BinaryExpr->getLHS()) && in addLoImm16Operands() 478 cast<MCSpecifierExpr>(BinaryExpr->getLHS())->getSpecifier() == in addLoImm16Operands() 507 assert(BinaryExpr && isa<MCSpecifierExpr>(BinaryExpr->getLHS()) && in addHiImm16Operands() 508 cast<MCSpecifierExpr>(BinaryExpr->getLHS())->getSpecifier() == in addHiImm16Operands() 544 assert(BinaryExpr && isa<MCSpecifierExpr>(BinaryExpr->getLHS()) && in addLoImm21Operands() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 177 LHS = getSymVal(State, SIE->getLHS()); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 180 LHS = ISE->getLHS().get(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 184 LHS = getSymVal(State, SSM->getLHS()); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 291 return canReasonAbout(SVB.makeSymbolVal(SIE->getLHS())); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 297 return canReasonAbout(SVB.makeSymbolVal(SSE->getLHS())) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefinedAssignmentChecker.cpp | 68 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind() 71 ex = B->getLHS(); in checkBind()
|
| H A D | PointerSubChecker.cpp | 46 SVal LV = C.getSVal(B->getLHS()); in checkPreStmt() 63 if (!B->getLHS()->getType()->isPointerType() || in checkPreStmt()
|
| H A D | UndefResultChecker.cpp | 81 if (C.getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 82 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 | BitwiseShiftChecker.cpp | 72 return Side == OperandSide::Left ? Op->getLHS() : Op->getRHS(); in operandExpr() 165 const QualType LHSTy = Op->getLHS()->getType(); in checkOvershift() 337 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 | TestAfterDivZeroChecker.cpp | 212 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition() 219 SVal Val = C.getSVal(LRHS ? B->getLHS() : B->getRHS()); in checkBranchCondition()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 46 LHS = BO->getLHS(); in LogicalBinOp() 64 const Expr *getLHS() const { return LHS; } in getLHS() function in __anon0c0fec810111::LogicalBinOp 99 return CheckConstraintExpression(BO.getLHS(), NextToken, in CheckConstraintExpression() 473 S, BO.getLHS(), BO.getOp(), BO.getRHS(), Template, TemplateNameLoc, in calculateConstraintSatisfaction() 1274 diagnoseWellFormedUnsatisfiedConstraintExpr(S, BO->getLHS(), First); in diagnoseWellFormedUnsatisfiedConstraintExpr() 1280 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr() 1287 diagnoseWellFormedUnsatisfiedConstraintExpr(S, BO->getLHS(), First); in diagnoseWellFormedUnsatisfiedConstraintExpr() 1303 if (BO->getLHS()->getType()->isIntegerType() && in diagnoseWellFormedUnsatisfiedConstraintExpr() 1307 BO->getLHS()->EvaluateAsInt(SimplifiedLHS, S.Context, in diagnoseWellFormedUnsatisfiedConstraintExpr() 1446 if (substituteParameterMappings(S, N.getLHS(), Concept, MLTAL, in substituteParameterMappings() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZHLASMAsmStreamer.cpp | 221 emitHLASMValueImpl(BE.getLHS(), Size, true); in emitHLASMValueImpl() 229 emitHLASMValueImpl(BE.getLHS(), Size); in emitHLASMValueImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenExprComplex.cpp | 123 assert(cgf.getContext().hasSameUnqualifiedType(e->getLHS()->getType(), in emitBinAssignLValue() 131 LValue lhs = cgf.emitLValue(e->getLHS()); in emitBinAssignLValue() 226 cgf.emitIgnoredExpr(e->getLHS()); in VisitBinComma() 383 binOpInfo.lhs = emitPromotedComplexOperand(e->getLHS(), promotionTy); in emitBinOps()
|
| H A D | CIRGenExprScalar.cpp | 68 QualType lhstype = binOp->getLHS()->getType(); in isFixedPointOp() 762 result.lhs = cgf.emitPromotedScalarExpr(e->getLHS(), promotionType); in emitBinOps() 846 QualType lhsTy = e->getLHS()->getType(); in HANDLEBINOP() 873 mlir::Value lhs = cgf.emitScalarExpr(e->getLHS()); in HANDLEBINOP() 937 switch (e->getLHS()->getType().getObjCLifetime()) { in VISITCOMP() 951 lhs = cgf.emitLValue(e->getLHS()); in VISITCOMP() 985 cgf.emitIgnoredExpr(e->getLHS()); in VisitBinComma() 1002 mlir::Value lhsCondV = cgf.evaluateExprAsBool(e->getLHS()); in VisitBinLAnd() 1034 mlir::Value lhsCondV = cgf.evaluateExprAsBool(e->getLHS()); in VisitBinLOr() 1060 QualType lhsTy = e->getLHS()->getType(); in emitCompoundAssignLValue() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 1110 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma() 1129 QualType ArgTy = E->getLHS()->getType(); in EmitCompare() 1179 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp() 1186 QualType ArgTy = E->getLHS()->getType(); in VisitBinCmp() 1205 auto LHSValues = EmitOperand(E->getLHS()), in VisitBinCmp() 1287 return isBlockVarRef(op->getLHS()); in isBlockVarRef() 1338 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in VisitBinAssign() 1346 if (isBlockVarRef(E->getLHS()) && in VisitBinAssign() 1353 LValue LHS = CGF.EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); in VisitBinAssign() 1362 EmitCopy(E->getLHS()->getType(), in VisitBinAssign() [all …]
|
| H A D | CoverageMappingGen.cpp | 830 setCondID(E->getLHS(), getCondID(E)); in pushAndAssignIDs() 832 setCondID(E->getLHS(), NextID++); in pushAndAssignIDs() 1959 Visit(CS->getLHS()); in VisitSwitchCase() 2265 extendRegion(E->getLHS()); in VisitBinLAnd() 2266 propagateCounts(getRegion().getCounter(), E->getLHS()); in VisitBinLAnd() 2267 handleFileExit(getEnd(E->getLHS())); in VisitBinLAnd() 2293 createBranchRegion(E->getLHS(), RHSExecCnt, LHSExitCnt, DecisionLHS); in VisitBinLAnd() 2326 extendRegion(E->getLHS()); in VisitBinLOr() 2327 Counter OutCount = propagateCounts(getRegion().getCounter(), E->getLHS()); in VisitBinLOr() 2328 handleFileExit(getEnd(E->getLHS())); in VisitBinLOr() [all …]
|
| H A D | CGExprScalar.cpp | 146 QualType LHSType = BinOp->getLHS()->getType(); in isFixedPointOp() 232 auto OptionalLHSTy = getUnwidenedIntegerType(Ctx, BO->getLHS()); in CanElideOverflowCheck() 800 BO->getLHS()->getType().getCanonicalType()); in EmitMul() 1833 CGF.EmitCheckTypeDescriptor(BO->getLHS()->getType())); in EmitBinOpCheck() 3774 Result.LHS = CGF.EmitPromotedScalarExpr(E->getLHS(), PromotionType); in EmitBinOps() 3790 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() 3814 LValue LHSLV = EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); in EmitCompoundAssignLValue() 3930 QualType DstType = E->getLHS()->getType(); in EmitCompoundAssignLValue() 3939 E->getLHS()); in EmitCompoundAssignLValue() 3978 !IsWidenedIntegerOp(CGF.getContext(), BO->getLHS()) && in EmitUndefinedBehaviorIntegerDivAndRemCheck() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCExpr.cpp | 133 BE.getLHS()->print(OS, MAI, SubPrec); in print() 582 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, InSet) || in evaluateAsRelocatableImpl() 585 if (const MCTargetExpr *L = dyn_cast<MCTargetExpr>(ABE->getLHS())) { in evaluateAsRelocatableImpl() 728 MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment(); in findAssociatedFragment()
|
| /freebsd/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() 889 for (const auto *C : {E->getLHS(), E->getRHS()}) { in computeDependence()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/ |
| H A D | XCoreInstPrinter.cpp | 57 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 120 const Expr *MaybeDecl = B->getLHS(); in tryNormalizeBinaryOperator() 135 Constant = tryTransformToLiteralConstant(B->getLHS()); in tryNormalizeBinaryOperator() 954 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() 993 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 1011 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator() 1114 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectLogicOperator() 1304 tryTransformToLiteralConstant(B->getLHS()->IgnoreParenImpCasts()); in checkIncorrectBitwiseOrOperator() 1364 if (Bop->getLHS()->EvaluateAsInt(LHSResult, *Context)) { in tryEvaluateBool() 1390 TryResult LHS = tryEvaluateBool(Bop->getLHS()); in evaluateAsBooleanConditionNoCache() 1619 findConstructionContexts(Layer, CO->getLHS()); in findConstructionContexts() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 82 if (BO->getLHS()->IgnoreParenCasts() == E) in getRolesForRef() 85 if (CA->getLHS()->IgnoreParenCasts() == E) { in getRolesForRef() 253 E = BinOp->getLHS(); in VisitObjCMessageExpr()
|