Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp467 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local
476 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN()
478 CompareType.apply(LHSValue); in evalBinOpNN()
482 IntType.apply(LHSValue); in evalBinOpNN()
487 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN()
516 if (LHSValue.isAllOnesValue() && LHSValue.isSigned()) in evalBinOpNN()
521 if (LHSValue == 0) in evalBinOpNN()
528 if (LHSValue == 0) in evalBinOpNN()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCExpr.cpp898 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
900 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl()
922 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
929 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
934 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
943 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp2872 static bool handleLogicalOpForVector(const APInt &LHSValue, in handleLogicalOpForVector() argument
2875 bool LHS = (LHSValue != 0); in handleLogicalOpForVector()
2884 static bool handleLogicalOpForVector(const APFloat &LHSValue, in handleLogicalOpForVector() argument
2887 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector()
2897 static bool handleLogicalOpForVector(const APValue &LHSValue, in handleLogicalOpForVector() argument
2901 if (LHSValue.getKind() == APValue::Int) in handleLogicalOpForVector()
2902 return handleLogicalOpForVector(LHSValue.getInt(), Opcode, in handleLogicalOpForVector()
2904 assert(LHSValue.getKind() == APValue::Float && "Should be no other options"); in handleLogicalOpForVector()
2905 return handleLogicalOpForVector(LHSValue.getFloat(), Opcode, in handleLogicalOpForVector()
2911 handleCompareOpForVectorHelper(const APTy &LHSValue, BinaryOperatorKind Opcode, in handleCompareOpForVectorHelper() argument
[all …]
H A DASTContext.cpp9797 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
9800 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
9803 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
9807 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp11525 Optional<llvm::APSInt> LHSValue = LHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() local
11528 if (RHSValue && LHSValue) in AnalyzeComparison()
11532 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
11537 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()