Home
last modified time | relevance | path

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

12345

/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCExpr.cpp34 if (isa<MCBinaryExpr>(BE->getLHS())) { in isSupportedBinaryExpr()
37 BE = cast<MCBinaryExpr>(BE->getLHS()); in isSupportedBinaryExpr()
39 return (isa<MCSymbolRefExpr>(BE->getLHS()) in isSupportedBinaryExpr()
/external/clang/lib/StaticAnalyzer/Core/
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()
198 Sym = SE->getLHS(); in computeAdjustment()
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()
468 KnownLive = isLive(cast<SymIntExpr>(sym)->getLHS()); in isLive()
474 KnownLive = isLive(cast<SymSymExpr>(sym)->getLHS()) && in isLive()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp66 if (state->getSVal(B->getLHS(), C.getLocationContext()).isUndef()) { in checkBind()
69 ex = B->getLHS(); in checkBind()
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()
205 const Expr *LHS = B->getLHS()->IgnoreParenImpCasts(); in checkComparisonOp()
236 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) { in checkComparisonOp()
DMallocOverflowSecurityChecker.cpp81 const Expr *lhs = binop->getLHS(); in CheckMallocArgument()
161 const Expr * lhs = E->getLHS(); in VisitBinaryOperator()
DPointerArithChecker.cpp41 SVal LV = state->getSVal(B->getLHS(), LCtx); in checkPreStmt()
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()
DDeadStoresChecker.cpp247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement()
272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) in observeStmt()
/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/llvm/lib/MC/
DMCExpr.cpp74 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
75 OS << *BE.getLHS(); in print()
77 OS << '(' << *BE.getLHS() << ')'; in print()
686 if (!ABE->getLHS()->EvaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in EvaluateAsRelocatableImpl()
769 const MCSection *LHS_S = BE->getLHS()->FindAssociatedSection(); in FindAssociatedSection()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp759 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma()
800 return isBlockVarRef(op->getLHS()); in isBlockVarRef()
850 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in VisitBinAssign()
858 if (isBlockVarRef(E->getLHS()) && in VisitBinAssign()
865 LValue LHS = CGF.EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); in VisitBinAssign()
874 EmitCopy(E->getLHS()->getType(), in VisitBinAssign()
876 needsGC(E->getLHS()->getType()), in VisitBinAssign()
882 LValue LHS = CGF.EmitLValue(E->getLHS()); in VisitBinAssign()
897 needsGC(E->getLHS()->getType()), in VisitBinAssign()
901 CGF.hasVolatileMember(E->getLHS()->getType())) in VisitBinAssign()
DCGExprComplex.cpp802 if (E->getLHS()->getType()->isRealFloatingType()) in EmitBinOps()
803 Ops.LHS = ComplexPairTy(CGF.EmitScalarExpr(E->getLHS()), nullptr); in EmitBinOps()
805 Ops.LHS = Visit(E->getLHS()); in EmitBinOps()
822 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue()
846 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitCompoundAssignLValue()
903 assert(CGF.getContext().hasSameUnqualifiedType(E->getLHS()->getType(), in EmitBinAssignLValue()
913 LValue LHS = CGF.EmitLValue(E->getLHS()); in EmitBinAssignLValue()
937 CGF.EmitIgnoredExpr(E->getLHS()); in VisitBinComma()
DCGExprScalar.cpp942 CGF.EmitCheckTypeDescriptor(BO->getLHS()->getType())); in EmitBinOpCheck()
2092 Result.LHS = Visit(E->getLHS()); in EmitBinOps()
2105 QualType LHSTy = E->getLHS()->getType(); in EmitCompoundAssignLValue()
2119 LValue LHSLV = EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store); in EmitCompoundAssignLValue()
2426 Expr *pointerOperand = expr->getLHS(); in emitPointerArithmetic()
2658 QualType elementType = expr->getLHS()->getType()->getPointeeType(); in EmitSub()
2835 QualType LHSTy = E->getLHS()->getType(); in EmitCompare()
2840 Value *LHS = CGF.EmitScalarExpr(E->getLHS()); in EmitCompare()
2845 Value *LHS = Visit(E->getLHS()); in EmitCompare()
2935 LHS = CGF.EmitComplexExpr(E->getLHS()); in EmitCompare()
[all …]
/external/clang/lib/Analysis/
DCFG.cpp573 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectRelationalOperator()
612 const Expr *LHSExpr = B->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
629 const Expr *LHSExpr2 = BitOp->getLHS()->IgnoreParens(); in checkIncorrectEqualityOperator()
689 dyn_cast<BinaryOperator>(B->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
700 dyn_cast<DeclRefExpr>(LHS->getLHS()->IgnoreParenImpCasts()); in checkIncorrectLogicOperator()
713 Literal1 = dyn_cast<IntegerLiteral>(LHS->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
721 dyn_cast<DeclRefExpr>(RHS->getLHS()->IgnoreParenImpCasts()); in checkIncorrectLogicOperator()
734 Literal2 = dyn_cast<IntegerLiteral>(RHS->getLHS()->IgnoreParens()); in checkIncorrectLogicOperator()
843 if (Bop->getLHS()->EvaluateAsInt(IntVal, *Context)) { in tryEvaluateBool()
866 TryResult LHS = tryEvaluateBool(Bop->getLHS()); in evaluateAsBooleanConditionNoCache()
[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/llvm/lib/Target/XCore/InstPrinter/
DXCoreInstPrinter.cpp53 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
/external/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.cpp39 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); in printExpr()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h260 const SCEV *getLHS() const { return LHS; } in getLHS() function
614 push(UDiv->getLHS()); in visitAll()
685 return SE.getUDivExpr(visit(Expr->getLHS()), visit(Expr->getRHS())); in visitUDivExpr()
781 return SE.getUDivExpr(visit(Expr->getLHS()), visit(Expr->getRHS())); in visitUDivExpr()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCExpr.cpp115 fixELFSymbolsInTLSFixupsImpl(BE->getLHS(), Asm); in fixELFSymbolsInTLSFixupsImpl()
/external/clang/lib/Sema/
DSemaChecking.cpp4677 S.getLocForEndOfToken(Size->getLHS()->getLocEnd()), ")") in CheckMemorySizeofForComparison()
4919 const Expr *LHS = BO->getLHS()->IgnoreParenCasts(); in ignoreLiteralAdditions()
5060 const Expr *L = BE->getLHS()->IgnoreParenCasts(); in CheckStrncatArguments()
5270 Expr *Base = B->getLHS(); in EvalAddr()
5287 if (Expr *LHSExpr = C->getLHS()) { in EvalAddr()
5451 if (Expr *LHSExpr = C->getLHS()) { in EvalVal()
5819 return IntRange::meet(GetExprRange(C, BO->getLHS(), MaxWidth), in GetExprRange()
5827 = dyn_cast<IntegerLiteral>(BO->getLHS()->IgnoreParenCasts())) { in GetExprRange()
5841 IntRange L = GetExprRange(C, BO->getLHS(), MaxWidth); in GetExprRange()
5864 if (BO->getLHS()->getType()->isPointerType()) in GetExprRange()
[all …]

12345