| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefResultChecker.cpp | 63 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType())); in isShiftOverflow() 70 const llvm::APSInt *LHS = SB.getKnownValue(State, C.getSVal(B->getLHS())); in isLeftShiftResultUnrepresentable() 102 if (C.getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 103 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt() 148 << B->getLHS()->getType().getAsString() << "'."; in checkPostStmt() 150 C.isNegative(B->getLHS())) { in checkPostStmt() 153 Ex = B->getLHS(); in checkPostStmt() 159 SB.getKnownValue(State, C.getSVal(B->getLHS())); in checkPostStmt() 165 << "the return type \'" << B->getLHS()->getType().getAsString() in checkPostStmt() 167 Ex = B->getLHS(); in checkPostStmt()
|
| H A D | ConversionChecker.cpp | 84 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); in checkPreStmt() 87 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); in checkPreStmt() 96 LossOfPrecision = isLossOfPrecision(Cast, B->getLHS()->getType(), C); in checkPreStmt()
|
| H A D | MallocOverflowSecurityChecker.cpp | 89 const Expr *lhs = binop->getLHS(); in CheckMallocArgument() 198 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr() 211 const Expr *lhs = AssignEx->getLHS(); in CheckAssignmentExpr() 229 const Expr * lhs = E->getLHS(); in VisitBinaryOperator()
|
| H A D | UndefinedAssignmentChecker.cpp | 75 if (C.getSVal(B->getLHS()).isUndef()) { in checkBind() 78 ex = B->getLHS(); in checkBind()
|
| H A D | InvalidatedIteratorChecker.cpp | 93 SVal LVal = State->getSVal(BO->getLHS(), C.getLocationContext()); in checkPreStmt() 103 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 | 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 | 41 SVal LV = C.getSVal(B->getLHS()); in checkPreStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | RangedConstraintManager.cpp | 41 return assumeSymRel(State, SIE->getLHS(), op, SIE->getRHS()); in assumeSym() 49 if (Loc::isLocType(SSE->getLHS()->getType()) && in assumeSym() 61 SymMgr.getSymSymExpr(SSE->getRHS(), BO_Sub, SSE->getLHS(), DiffTy); in assumeSym() 75 SymMgr.getSymSymExpr(SSE->getLHS(), BO_EQ, SSE->getRHS(), ExprType); in assumeSym() 217 Sym = SE->getLHS(); in computeAdjustment()
|
| H A D | SimpleSValBuilder.cpp | 227 return std::make_pair(SymInt->getLHS(), in decomposeSymbol() 584 return makeNonLoc(symIntExpr->getLHS(), opc, in evalBinOpNN() 615 lhs = nonloc::SymbolVal(symIntExpr->getLHS()); in evalBinOpNN() 1163 SVal LHS = Visit(S->getLHS()); in simplifySVal() 1164 if (isUnchanged(S->getLHS(), LHS)) in simplifySVal() 1172 if (Loc::isLocType(S->getLHS()->getType()) && in simplifySVal() 1199 if (Loc::isLocType(S->getLHS()->getType()) != in simplifySVal() 1203 SVal LHS = Visit(S->getLHS()); in simplifySVal() 1205 if (isUnchanged(S->getLHS(), LHS) && isUnchanged(S->getRHS(), RHS)) in simplifySVal()
|
| H A D | SymbolManager.cpp | 141 itr.push_back(cast<SymIntExpr>(SE)->getLHS()); in expand() 148 itr.push_back(x->getLHS()); in expand() 471 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive() 477 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 43 LHS = BO->getLHS(); in LogicalBinOp() 59 const Expr *getLHS() const { return LHS; } in getLHS() function in __anon29d1acb50111::LogicalBinOp 73 return CheckConstraintExpression(BO.getLHS(), NextToken, in CheckConstraintExpression() 134 if (calculateConstraintSatisfaction(S, BO.getLHS(), Satisfaction, in calculateConstraintSatisfaction() 544 BO->getLHS()->EvaluateKnownConstInt(S.Context).getBoolValue(); in diagnoseWellFormedUnsatisfiedConstraintExpr() 567 if (BO->getLHS()->getType()->isIntegerType() && in diagnoseWellFormedUnsatisfiedConstraintExpr() 571 BO->getLHS()->EvaluateAsInt(SimplifiedLHS, S.Context, in diagnoseWellFormedUnsatisfiedConstraintExpr() 689 if (substituteParameterMappings(S, N.getLHS(), Concept, TemplateArgs, in substituteParameterMappings() 768 auto LHS = fromConstraintExpr(S, D, BO.getLHS()); in fromConstraintExpr() 820 NormalForm LCNF = makeCNF(Normalized.getLHS()); in makeCNF() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 244 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16() 281 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16() 305 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed() 356 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21() 359 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21() 481 assert(BinaryExpr && isa<LanaiMCExpr>(BinaryExpr->getLHS()) && in addLoImm16Operands() 482 cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addLoImm16Operands() 512 assert(BinaryExpr && isa<LanaiMCExpr>(BinaryExpr->getLHS()) && in addHiImm16Operands() 513 cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addHiImm16Operands() 552 cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addLoImm21Operands() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConstraintManager.h | 172 LHS = getSymVal(State, SIE->getLHS()); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 175 LHS = &ISE->getLHS(); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 179 LHS = getSymVal(State, SSM->getLHS()); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 279 return canReasonAbout(SVB.makeSymbolVal(SIE->getLHS())); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 285 return canReasonAbout(SVB.makeSymbolVal(SSE->getLHS())) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaConcept.h | 106 NormalizedConstraint(C, Other.getLHS()), in NormalizedConstraint() 131 NormalizedConstraint &getLHS() const { in getLHS() function
|
| /freebsd-13.1/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() 879 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl() 884 if (const MCTargetExpr *L = dyn_cast<MCTargetExpr>(ABE->getLHS())) in evaluateAsRelocatableImpl() 1003 MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment(); in findAssociatedFragment()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 939 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma() 958 QualType ArgTy = E->getLHS()->getType(); in EmitCompare() 1008 assert(CGF.getContext().hasSameType(E->getLHS()->getType(), in VisitBinCmp() 1015 QualType ArgTy = E->getLHS()->getType(); in VisitBinCmp() 1034 auto LHSValues = EmitOperand(E->getLHS()), in VisitBinCmp() 1116 return isBlockVarRef(op->getLHS()); in isBlockVarRef() 1174 if (isBlockVarRef(E->getLHS()) && in VisitBinAssign() 1190 EmitCopy(E->getLHS()->getType(), in VisitBinAssign() 1192 needsGC(E->getLHS()->getType()), in VisitBinAssign() 1199 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign() [all …]
|
| H A D | CGExprComplex.cpp | 884 if (E->getLHS()->getType()->isRealFloatingType()) in EmitBinOps() 885 Ops.LHS = ComplexPairTy(CGF.EmitScalarExpr(E->getLHS()), nullptr); in EmitBinOps() 887 Ops.LHS = Visit(E->getLHS()); in EmitBinOps() 904 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() 929 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue() 988 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in EmitBinAssignLValue() 998 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue() 1022 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma() 1156 E->getLHS()); in EmitComplexAssignmentLValue()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ComputeDependence.cpp | 113 return E->getLHS()->getDependence() | E->getRHS()->getDependence(); in computeDependence() 144 return E->getLHS()->getDependence() | E->getRHS()->getDependence(); in computeDependence() 152 return E->getCond()->getDependence() | E->getLHS()->getDependence() | in computeDependence() 187 E->getCond()->getDependence() | E->getLHS()->getDependence() | in computeDependence() 191 auto Active = E->getLHS()->getDependence(); in computeDependence() 790 for (const auto *C : {E->getLHS(), E->getRHS()}) { in computeDependence()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolutionExpressions.h | 315 const SCEV *getLHS() const { return Operands[0]; } in getLHS() function 320 return i == 0 ? getLHS() : getRHS(); in getOperand() 666 push(UDiv->getLHS()); in visitAll() 790 auto *LHS = ((SC *)this)->visit(Expr->getLHS()); in visitUDivExpr() 792 bool Changed = LHS != Expr->getLHS() || RHS != Expr->getRHS(); in visitUDivExpr()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYMCExpr.cpp | 67 fixELFSymbolsInTLSFixupsImpl(BE->getLHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/ |
| H A D | XCoreInstPrinter.cpp | 56 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | CFG.cpp | 117 const Expr *MaybeDecl = B->getLHS(); in tryNormalizeBinaryOperator() 921 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator() 1446 findConstructionContexts(Layer, CO->getLHS()); in findConstructionContexts() 2476 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitLogicalOperator() 2528 return addStmt(B->getLHS()); in VisitBinaryOperator() 2536 Visit(B->getLHS()); in VisitBinaryOperator() 2549 CFGBlock *LBlock = Visit(B->getLHS()); in VisitBinaryOperator() 5323 if (B->getLHS()) in VisitBinaryOperator() 5324 B->getLHS()->printPretty(OS, Helper, Policy); in VisitBinaryOperator() 5656 if (C->getLHS()) in print_block() [all …]
|