Searched refs:LHSValue (Results 1 – 5 of 5) sorted by relevance
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| D | SimpleSValBuilder.cpp | 511 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local 520 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN() 522 CompareType.apply(LHSValue); in evalBinOpNN() 526 IntType.apply(LHSValue); in evalBinOpNN() 531 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN() 560 if (LHSValue.isAllOnes() && LHSValue.isSigned()) in evalBinOpNN() 565 if (LHSValue == 0) in evalBinOpNN() 572 if (LHSValue == 0) in evalBinOpNN()
|
| /openbsd/src/gnu/llvm/llvm/lib/MC/ |
| D | MCExpr.cpp | 881 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local 883 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup, in evaluateAsRelocatableImpl() 905 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl() 912 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl() 917 return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl() 926 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
|
| /openbsd/src/gnu/llvm/clang/lib/AST/ |
| D | ExprConstant.cpp | 2886 static bool handleLogicalOpForVector(const APInt &LHSValue, in handleLogicalOpForVector() argument 2889 bool LHS = (LHSValue != 0); in handleLogicalOpForVector() 2898 static bool handleLogicalOpForVector(const APFloat &LHSValue, in handleLogicalOpForVector() argument 2901 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector() 2911 static bool handleLogicalOpForVector(const APValue &LHSValue, in handleLogicalOpForVector() argument 2915 if (LHSValue.getKind() == APValue::Int) in handleLogicalOpForVector() 2916 return handleLogicalOpForVector(LHSValue.getInt(), Opcode, in handleLogicalOpForVector() 2918 assert(LHSValue.getKind() == APValue::Float && "Should be no other options"); in handleLogicalOpForVector() 2919 return handleLogicalOpForVector(LHSValue.getFloat(), Opcode, in handleLogicalOpForVector() 2925 handleCompareOpForVectorHelper(const APTy &LHSValue, BinaryOperatorKind Opcode, in handleCompareOpForVectorHelper() argument [all …]
|
| D | ASTContext.cpp | 10607 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local 10610 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes() 10613 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes() 10617 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
|
| /openbsd/src/gnu/llvm/clang/lib/Sema/ |
| D | SemaChecking.cpp | 13161 std::optional<llvm::APSInt> LHSValue = in AnalyzeComparison() local 13165 if (RHSValue && LHSValue) in AnalyzeComparison() 13169 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison() 13174 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
|