Home
last modified time | relevance | path

Searched refs:LHSValue (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/MC/
DMCExpr.cpp500 MCValue LHSValue, RHSValue; in EvaluateAsRelocatableImpl() local
502 if (!ABE->getLHS()->EvaluateAsRelocatableImpl(LHSValue, Asm, Layout, in EvaluateAsRelocatableImpl()
510 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in EvaluateAsRelocatableImpl()
516 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in EvaluateAsRelocatableImpl()
522 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in EvaluateAsRelocatableImpl()
532 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in EvaluateAsRelocatableImpl()
/external/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp364 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
373 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
375 CompareType.apply(LHSValue); in evalBinOpNN()
379 IntType.apply(LHSValue); in evalBinOpNN()
384 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
413 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
418 if (LHSValue == 0) in evalBinOpNN()
/external/llvm/lib/MC/
DMCExpr.cpp686 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
688 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
696 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
703 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
708 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
717 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCExpr.cpp753 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
755 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
777 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
784 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
789 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
798 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/external/clang/lib/AST/
DExprConstant.cpp7589 LValue LHSValue, RHSValue; in VisitBinaryOperator() local
7591 bool LHSOK = EvaluatePointer(E->getLHS(), LHSValue, Info); in VisitBinaryOperator()
7600 if (!HasSameBase(LHSValue, RHSValue)) { in VisitBinaryOperator()
7603 if (!LHSValue.Offset.isZero() || !RHSValue.Offset.isZero()) in VisitBinaryOperator()
7605 const Expr *LHSExpr = LHSValue.Base.dyn_cast<const Expr*>(); in VisitBinaryOperator()
7626 if ((!LHSValue.Base && !LHSValue.Offset.isZero()) || in VisitBinaryOperator()
7633 if ((IsLiteralLValue(LHSValue) || IsLiteralLValue(RHSValue)) && in VisitBinaryOperator()
7634 LHSValue.Base && RHSValue.Base) in VisitBinaryOperator()
7638 if (IsWeakLValue(LHSValue) || IsWeakLValue(RHSValue)) in VisitBinaryOperator()
7642 if ((LHSValue.Base && LHSValue.Offset.isZero() && in VisitBinaryOperator()
[all …]
DASTContext.cpp7798 QualType LHSValue = LHS->getAs<AtomicType>()->getValueType(); in mergeTypes() local
7801 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
7804 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7807 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
7906 QualType LHSValue = LHS->getAs<PipeType>()->getElementType(); in mergeTypes() local
7909 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
7912 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
7915 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/external/clang/lib/Sema/
DSemaChecking.cpp7672 llvm::APSInt LHSValue; in AnalyzeComparison() local
7674 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison()
7678 DiagnoseOutOfRangeComparison(S, E, LHS, RHS, LHSValue, false); in AnalyzeComparison()