/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UndefinedAssignmentChecker.cpp | 57 if (state->getSVal(B->getLHS()).isUndef()) { in checkBind() 60 ex = B->getLHS(); in checkBind()
|
D | UndefResultChecker.cpp | 53 if (state->getSVal(B->getLHS()).isUndef()) { in checkPostStmt() 54 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
|
D | IdempotentOperationChecker.cpp | 130 const Expr *LHS = B->getLHS(); in checkPreStmt() 414 const Expr *LHS = i->first->getLHS(); in checkEndAnalysis() 669 if (B->getLHS()->getType()->getAs<PointerType>()) in CanVary() 673 || CanVary(B->getLHS(), AC); in CanVary()
|
D | PointerArithChecker.cpp | 40 SVal LV = state->getSVal(B->getLHS()); in checkPreStmt()
|
D | PointerSubChecker.cpp | 43 SVal LV = state->getSVal(B->getLHS()); in checkPreStmt()
|
D | DeadStoresChecker.cpp | 174 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement() 200 if (DeclRefExpr* DR = dyn_cast<DeclRefExpr>(B->getLHS())) in ObserveStmt()
|
/external/llvm/lib/MC/ |
D | MCExpr.cpp | 88 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print() 89 OS << *BE.getLHS(); in print() 91 OS << '(' << *BE.getLHS() << ')'; in print() 503 if (!ABE->getLHS()->EvaluateAsRelocatableImpl(LHSValue, Asm, Layout, in EvaluateAsRelocatableImpl() 589 const MCSection *LHS_S = BE->getLHS()->FindAssociatedSection(); in FindAssociatedSection()
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 521 if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) && in EmitBranchOnBoolExpr() 532 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr() 540 EmitBranchOnBoolExpr(CondBOp->getLHS(), LHSTrue, FalseBlock); in EmitBranchOnBoolExpr() 555 if (ConstantFoldsToSimpleInteger(CondBOp->getLHS(), ConstantBool) && in EmitBranchOnBoolExpr() 566 return EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr() 574 EmitBranchOnBoolExpr(CondBOp->getLHS(), TrueBlock, LHSFalse); in EmitBranchOnBoolExpr() 596 if (CondOp->getLHS()) { in EmitBranchOnBoolExpr() 606 EmitBranchOnBoolExpr(CondOp->getLHS(), TrueBlock, FalseBlock); in EmitBranchOnBoolExpr()
|
D | CGExprAgg.cpp | 392 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma() 417 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in VisitBinAssign() 421 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E->getLHS())) in VisitBinAssign() 428 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign() 431 GCollection = TypeRequiresGCollection(E->getLHS()->getType()); in VisitBinAssign() 437 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign() 456 GCollection = TypeRequiresGCollection(E->getLHS()->getType()); in VisitBinAssign()
|
D | CGExprComplex.cpp | 572 Ops.LHS = Visit(E->getLHS()); in EmitBinOps() 585 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() 600 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue() 644 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in EmitBinAssignLValue() 654 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue() 682 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma()
|
D | CGExprScalar.cpp | 1601 Result.LHS = Visit(E->getLHS()); in EmitBinOps() 1613 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue() 1633 LValue LHSLV = EmitCheckedLValue(E->getLHS()); in EmitCompoundAssignLValue() 1849 Expr *pointerOperand = expr->getLHS(); in emitPointerArithmetic() 1981 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub() 2111 QualType LHSTy = E->getLHS()->getType(); in EmitCompare() 2115 Value *LHS = CGF.EmitScalarExpr(E->getLHS()); in EmitCompare() 2120 Value *LHS = Visit(E->getLHS()); in EmitCompare() 2207 CodeGenFunction::ComplexPairTy LHS = CGF.EmitComplexExpr(E->getLHS()); in EmitCompare() 2245 switch (E->getLHS()->getType().getObjCLifetime()) { in VisitBinAssign() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransZeroOutPropsInDealloc.cpp | 145 return isZeroingPropIvar(BOE->getLHS()) && in isZeroingPropIvar() 153 Expr *LHS = BOE->getLHS(); in isZeroingPropIvar()
|
D | TransARCAssign.cpp | 43 Expr *E = Exp->getLHS(); in VisitBinaryOperator()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 67 R1 = BO->getLHS()->getSourceRange(); in GetUnreachableLoc() 78 R1 = CAO->getLHS()->getSourceRange(); in GetUnreachableLoc() 95 R1 = ASE->getLHS()->getSourceRange(); in GetUnreachableLoc()
|
D | CFG.cpp | 1061 TryResult KnownVal = tryEvaluateBool(B->getLHS()); in VisitBinaryOperator() 1077 return addStmt(B->getLHS()); in VisitBinaryOperator() 1084 return addStmt(B->getLHS()); in VisitBinaryOperator() 1092 Visit(B->getLHS()); in VisitBinaryOperator() 1102 CFGBlock *LBlock = Visit(B->getLHS()); in VisitBinaryOperator() 1224 CFGBlock* LHSBlock = Visit(C->getLHS(), alwaysAdd); in VisitChooseExpr() 2329 CS->getLHS()->Evaluate(V1, Ctx); in shouldAddCase() 2800 CFGBlock *ConfluenceBlock = VisitForTemporaryDtors(E->getLHS()); in VisitBinaryOperatorForTemporaryDtors() 2823 TryResult KnownVal = tryEvaluateBool(E->getLHS()); in VisitBinaryOperatorForTemporaryDtors() 2850 CFGBlock *LHSBlock = VisitForTemporaryDtors(E->getLHS()); in VisitBinaryOperatorForTemporaryDtors() [all …]
|
D | PseudoConstantAnalysis.cpp | 97 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts()); in RunAnalysis()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 2132 Expr *Base = B->getLHS(); in EvalAddr() 2148 if (Expr *lhsExpr = C->getLHS()) { in EvalAddr() 2294 if (Expr *lhsExpr = C->getLHS()) in EvalVal() 2615 return IntRange::meet(GetExprRange(C, BO->getLHS(), MaxWidth), in GetExprRange() 2623 = dyn_cast<IntegerLiteral>(BO->getLHS()->IgnoreParenCasts())) { in GetExprRange() 2637 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth); in GetExprRange() 2660 if (BO->getLHS()->getType()->isPointerType()) in GetExprRange() 2669 IntRange L = GetExprRange(C, BO->getLHS(), opWidth); in GetExprRange() 2692 IntRange L = GetExprRange(C, BO->getLHS(), opWidth); in GetExprRange() 2710 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth); in GetExprRange() [all …]
|
D | SemaStmt.cpp | 568 Expr *Lo = CS->getLHS(); in ActOnFinishSwitchStmt() 630 Diag(CaseVals[i].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt() 632 Diag(CaseVals[i-1].second->getLHS()->getLocStart(), in ActOnFinishSwitchStmt() 668 Diag(CR->getLHS()->getLocStart(), diag::warn_case_empty_range) in ActOnFinishSwitchStmt() 669 << SourceRange(CR->getLHS()->getLocStart(), in ActOnFinishSwitchStmt() 723 Diag(CR->getLHS()->getLocStart(), diag::err_duplicate_case) in ActOnFinishSwitchStmt() 725 Diag(OverlapStmt->getLHS()->getLocStart(), in ActOnFinishSwitchStmt() 779 Diag(CI->second->getLHS()->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt() 790 Diag(RI->second->getLHS()->getExprLoc(), diag::warn_not_in_enum) in ActOnFinishSwitchStmt()
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 309 { return Visit(E->getLHS()) || Visit(E->getRHS()); } in VisitArraySubscriptExpr() 316 { return Visit(E->getLHS()) || Visit(E->getRHS()); } in VisitBinaryOperator() 621 const Expr *PExp = E->getLHS(); in VisitBinaryOperator() 1322 if (!E->getLHS()->isEvaluatable(Info.Ctx)) in VisitBinaryOperator() 1333 if (HandleConversionToBool(E->getLHS(), lhsResult, Info)) { in VisitBinaryOperator() 1363 QualType LHSTy = E->getLHS()->getType(); in VisitBinaryOperator() 1370 if (!EvaluateComplex(E->getLHS(), LHS, Info)) in VisitBinaryOperator() 1415 if (!EvaluateFloat(E->getLHS(), LHS, Info)) in VisitBinaryOperator() 1444 if (!EvaluatePointer(E->getLHS(), LHSValue, Info)) in VisitBinaryOperator() 1474 QualType Type = E->getLHS()->getType(); in VisitBinaryOperator() [all …]
|
D | StmtPrinter.cpp | 152 PrintExpr(Node->getLHS()); in VisitCaseStmt() 806 PrintExpr(Node->getLHS()); in VisitArraySubscriptExpr() 871 PrintExpr(Node->getLHS()); in VisitBinaryOperator() 876 PrintExpr(Node->getLHS()); in VisitCompoundAssignOperator() 883 PrintExpr(Node->getLHS()); in VisitConditionalOperator() 910 PrintExpr(Node->getLHS()); in VisitChooseExpr()
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCExpr.cpp | 56 AddValueSymbols_(BE->getLHS(), Asm); in AddValueSymbols_()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SimpleConstraintManager.cpp | 190 return assumeSymRel(state, SE->getLHS(), op, SE->getRHS()); in assumeAux() 236 Sym = dyn_cast<SymbolData>(SE->getLHS()); in assumeSymRel()
|
D | SVals.cpp | 168 itr.push_back(SIE->getLHS()); in expand() 172 itr.push_back(SSE->getLHS()); in expand()
|
D | SymbolManager.cpp | 53 getLHS()->dumpToStream(os); in dumpToStream() 62 getLHS()->dumpToStream(os); in dumpToStream()
|
D | BugReporter.cpp | 425 DeclRefExpr* DR = dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenCasts()); in HandleBinding() 591 const Expr* LHS = Case->getLHS()->IgnoreParenCasts(); in GenerateMinimalPathDiagnostic() 676 PathDiagnosticLocation End(B->getLHS(), SMgr); in GenerateMinimalPathDiagnostic() 683 PathDiagnosticLocation Start(B->getLHS(), SMgr); in GenerateMinimalPathDiagnostic() 695 PathDiagnosticLocation Start(B->getLHS(), SMgr); in GenerateMinimalPathDiagnostic() 702 PathDiagnosticLocation End(B->getLHS(), SMgr); in GenerateMinimalPathDiagnostic() 876 S = cast<BinaryOperator>(S)->getLHS(); in cleanUpLocation()
|