| /freebsd/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCExpr.cpp | 580 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local 582 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, InSet) || in evaluateAsRelocatableImpl() 605 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl() 606 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl() 617 LHSValue.Cst += RHSValue.Cst; in evaluateAsRelocatableImpl() 618 Res = LHSValue; in evaluateAsRelocatableImpl() 621 if (LHSValue.isAbsolute()) { in evaluateAsRelocatableImpl() 622 RHSValue.Cst += LHSValue.Cst; in evaluateAsRelocatableImpl() 626 if (LHSValue.SymB && LHSValue.Specifier) in evaluateAsRelocatableImpl() 630 return evaluateSymbolicAdd(Asm, InSet, LHSValue, RHSValue, Res); in evaluateAsRelocatableImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 59 Value *LHSValue = Env.getValue(LHS); in evaluateBooleanEquality() local 64 if (LHSValue == RHSValue && LHSValue) in evaluateBooleanEquality() 72 if (auto *LHSBool = dyn_cast_or_null<BoolValue>(LHSValue)) in evaluateBooleanEquality() 76 if (auto *LHSPtr = dyn_cast_or_null<PointerValue>(LHSValue)) in evaluateBooleanEquality()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 527 llvm::APSInt LHSValue = lhs.castAs<nonloc::ConcreteInt>().getValue(); in evalBinOpNN() local 536 APSIntType CompareType = std::max(APSIntType(LHSValue), in evalBinOpNN() 538 CompareType.apply(LHSValue); in evalBinOpNN() 542 IntType.apply(LHSValue); in evalBinOpNN() 547 BasicVals.evalAPSInt(op, LHSValue, RHSValue); in evalBinOpNN() 589 if (LHSValue.isAllOnes() && LHSValue.isSigned()) in evalBinOpNN() 594 if (LHSValue == 0) in evalBinOpNN() 601 if (LHSValue == 0) in evalBinOpNN()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 3097 static bool handleLogicalOpForVector(const APInt &LHSValue, in handleLogicalOpForVector() argument 3100 bool LHS = (LHSValue != 0); in handleLogicalOpForVector() 3109 static bool handleLogicalOpForVector(const APFloat &LHSValue, in handleLogicalOpForVector() argument 3112 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector() 3122 static bool handleLogicalOpForVector(const APValue &LHSValue, in handleLogicalOpForVector() argument 3126 if (LHSValue.getKind() == APValue::Int) in handleLogicalOpForVector() 3127 return handleLogicalOpForVector(LHSValue.getInt(), Opcode, in handleLogicalOpForVector() 3129 assert(LHSValue.getKind() == APValue::Float && "Should be no other options"); in handleLogicalOpForVector() 3130 return handleLogicalOpForVector(LHSValue.getFloat(), Opcode, in handleLogicalOpForVector() 3136 handleCompareOpForVectorHelper(const APTy &LHSValue, BinaryOperatorKind Opcode, in handleCompareOpForVectorHelper() argument [all …]
|
| H A D | ASTContext.cpp | 11782 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local 11785 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes() 11788 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes() 11792 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 11369 std::optional<llvm::APSInt> LHSValue = in AnalyzeComparison() local 11373 if (RHSValue && LHSValue) in AnalyzeComparison() 11377 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison() 11382 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
|
| H A D | SemaExpr.cpp | 1608 llvm::APSInt LHSValue(32); in CheckUnicodeArithmeticConversions() local 1609 LHSValue = LHSRes.Val.getInt(); in CheckUnicodeArithmeticConversions() 1613 bool LHSSafe = IsSingleCodeUnitCP(LHSType, LHSValue); in CheckUnicodeArithmeticConversions() 1620 << FormatUTFCodeUnitAsCodepoint(LHSValue.getExtValue(), LHSType) in CheckUnicodeArithmeticConversions()
|
| /freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 3720 Value *LHSValue = Builder.CreateLoad(RI.ElementType, LHS, "final.lhs"); in createReductionsGPU() local 3724 RI.ReductionGen(Builder.saveIP(), RHSValue, LHSValue, Reduced); in createReductionsGPU()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | AttributorAttributes.cpp | 11155 for (auto &LHSValue : LHSValues) in handleCmp() local 11157 if (!CheckPair(*LHSValue.getValue(), *RHSValue.getValue())) in handleCmp()
|