Home
last modified time | relevance | path

Searched refs:getLHS (Results 1 – 25 of 130) sorted by relevance

123456

/external/clang/lib/StaticAnalyzer/Core/
DSymbolManager.cpp32 getLHS()->dumpToStream(os); in dumpToStream()
41 os << getLHS().getZExtValue(); in dumpToStream()
42 if (getLHS().isUnsigned()) in dumpToStream()
53 getLHS()->dumpToStream(os); in dumpToStream()
128 itr.push_back(cast<SymIntExpr>(SE)->getLHS()); in expand()
135 itr.push_back(x->getLHS()); in expand()
480 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive()
486 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
DSimpleConstraintManager.cpp55 if (Loc::isLocType(SSE->getLHS()->getType())) { in canReasonAbout()
148 return assumeSymRel(state, SE->getLHS(), op, SE->getRHS()); in assumeAux()
163 assert(Loc::isLocType(SSE->getLHS()->getType())); in assumeAux()
167 SSE->getLHS(), DiffTy); in assumeAux()
234 Sym = SE->getLHS(); in computeAdjustment()
DCheckerHelpers.cpp85 if (auto DE = dyn_cast_or_null<DeclRefExpr>(Assign->getLHS())) in parseAssignment()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp66 if (state->getSVal(B->getLHS(), C.getLocationContext()).isUndef()) { in checkBind()
69 ex = B->getLHS(); in checkBind()
DMallocOverflowSecurityChecker.cpp90 const Expr *lhs = binop->getLHS(); in CheckMallocArgument()
196 const Expr *numerator = BOp->getLHS()->IgnoreParenImpCasts(); in CheckAssignmentExpr()
209 const Expr *lhs = AssignEx->getLHS(); in CheckAssignmentExpr()
227 const Expr * lhs = E->getLHS(); in VisitBinaryOperator()
DUndefResultChecker.cpp66 if (state->getSVal(B->getLHS(), LCtx).isUndef()) { in checkPostStmt()
67 Ex = B->getLHS()->IgnoreParenCasts(); in checkPostStmt()
DIdenticalExprChecker.cpp82 const Expr *LHS = B->getLHS(); in checkBitwiseOrLogicalOp()
97 LHS = B2->getLHS(); in checkBitwiseOrLogicalOp()
223 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); in checkComparisonOp()
254 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) { in checkComparisonOp()
DPointerSubChecker.cpp44 SVal LV = state->getSVal(B->getLHS(), LCtx); in checkPreStmt()
DTestAfterDivZeroChecker.cpp222 IntLiteral = dyn_cast<IntegerLiteral>(B->getLHS()); in checkBranchCondition()
229 SVal Val = C.getSVal(LRHS ? B->getLHS() : B->getRHS()); in checkBranchCondition()
/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp163 return isZeroingPropIvar(BOE->getLHS()) && in isZeroingPropIvar()
169 Expr *LHS = BOE->getLHS(); in isZeroingPropIvar()
199 dyn_cast<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens()); in isZeroingPropIvar()
DTransARCAssign.cpp46 Expr *E = Exp->getLHS(); in VisitBinaryOperator()
/external/swiftshader/third_party/LLVM/lib/MC/
DMCExpr.cpp87 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
88 OS << *BE.getLHS(); in print()
90 OS << '(' << *BE.getLHS() << ')'; in print()
502 if (!ABE->getLHS()->EvaluateAsRelocatableImpl(LHSValue, Asm, Layout, in EvaluateAsRelocatableImpl()
588 const MCSection *LHS_S = BE->getLHS()->FindAssociatedSection(); in FindAssociatedSection()
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp227 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isHiImm16()
264 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16()
288 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm16Signed()
339 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())) in isLoImm21()
342 dyn_cast<MCSymbolRefExpr>(BinaryExpr->getLHS())) in isLoImm21()
463 assert(dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()) && in addLoImm16Operands()
464 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addLoImm16Operands()
493 assert(dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()) && in addHiImm16Operands()
494 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS())->getKind() == in addHiImm16Operands()
533 dyn_cast<LanaiMCExpr>(BinaryExpr->getLHS()); in addLoImm21Operands()
[all …]
/external/llvm/lib/MC/
DMCExpr.cpp77 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
78 BE.getLHS()->print(OS, MAI); in print()
81 BE.getLHS()->print(OS, MAI); in print()
688 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
779 MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment(); in findAssociatedFragment()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp773 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma()
814 return isBlockVarRef(op->getLHS()); in isBlockVarRef()
864 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in VisitBinAssign()
872 if (isBlockVarRef(E->getLHS()) && in VisitBinAssign()
879 LValue LHS = CGF.EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); in VisitBinAssign()
888 EmitCopy(E->getLHS()->getType(), in VisitBinAssign()
890 needsGC(E->getLHS()->getType()), in VisitBinAssign()
896 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign()
911 needsGC(E->getLHS()->getType()), in VisitBinAssign()
915 CGF.hasVolatileMember(E->getLHS()->getType())) in VisitBinAssign()
DCGExprComplex.cpp809 if (E->getLHS()->getType()->isRealFloatingType()) in EmitBinOps()
810 Ops.LHS = ComplexPairTy(CGF.EmitScalarExpr(E->getLHS()), nullptr); in EmitBinOps()
812 Ops.LHS = Visit(E->getLHS()); in EmitBinOps()
829 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue()
853 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue()
912 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in EmitBinAssignLValue()
922 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue()
946 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma()
DCGExprScalar.cpp950 CGF.EmitCheckTypeDescriptor(BO->getLHS()->getType())); in EmitBinOpCheck()
2083 Result.LHS = Visit(E->getLHS()); in EmitBinOps()
2096 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue()
2110 LValue LHSLV = EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); in EmitCompoundAssignLValue()
2421 Expr *pointerOperand = expr->getLHS(); in emitPointerArithmetic()
2650 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub()
2829 QualType LHSTy = E->getLHS()->getType(); in EmitCompare()
2834 Value *LHS = CGF.EmitScalarExpr(E->getLHS()); in EmitCompare()
2839 Value *LHS = Visit(E->getLHS()); in EmitCompare()
2927 LHS = CGF.EmitComplexExpr(E->getLHS()); in EmitCompare()
[all …]
/external/clang/lib/Analysis/
DCFG.cpp62 const Expr *MaybeDecl = B->getLHS(); in tryNormalizeBinaryOperator()
77 Constant = tryTransformToIntOrEnumConstant(B->getLHS()); in tryNormalizeBinaryOperator()
645 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
684 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
701 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
761 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
891 if (Bop->getLHS()->EvaluateAsInt(IntVal, *Context)) { in tryEvaluateBool()
914 TryResult LHS = tryEvaluateBool(Bop->getLHS()); in evaluateAsBooleanConditionNoCache()
1713 Expr *LHS = B->getLHS()->IgnoreParens(); in VisitLogicalOperator()
1766 return addStmt(B->getLHS()); in VisitBinaryOperator()
[all …]
DUninitializedValues.cpp393 classify(BO->getLHS(), C); in classify()
424 classify(BO->getLHS(), Use); in VisitBinaryOperator()
426 classify(BO->getLHS(), Ignore); in VisitBinaryOperator()
747 FindVarResult Var = findVar(BO->getLHS()); in VisitBinaryOperator()
DReachableCode.cpp212 return isConfigurationValue(B->getLHS(), PP, SilenceableCondVal, in isConfigurationValue()
524 R1 = CAO->getLHS()->getSourceRange(); in GetUnreachableLoc()
541 R1 = ASE->getLHS()->getSourceRange(); in GetUnreachableLoc()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h122 OS << "(" << Visit(S->getLHS()) << ") " in VisitSymIntExpr()
132 return "(" + Visit(S->getLHS()) + ") " + in VisitSymSymExpr()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMMCExpr.cpp56 AddValueSymbols_(BE->getLHS(), Asm); in AddValueSymbols_()
/external/llvm/lib/Target/XCore/InstPrinter/
DXCoreInstPrinter.cpp54 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
/external/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.cpp40 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h297 const SymExpr *getLHS() const { return LHS; } in getLHS() function
333 const llvm::APSInt &getLHS() const { return LHS; } in getLHS() function
365 const SymExpr *getLHS() const { return LHS; } in getLHS() function

123456