Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCExpr.cpp917 MCValue LHSValue, RHSValue; in evaluateAsRelocatableImpl() local
919 if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Fixup, Addrs, in evaluateAsRelocatableImpl()
943 if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) { in evaluateAsRelocatableImpl()
951 Asm, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
959 Asm, Addrs, InSet, LHSValue, in evaluateAsRelocatableImpl()
969 int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant(); in evaluateAsRelocatableImpl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp61 Value *LHSValue = Env.getValue(LHS); in evaluateBooleanEquality() local
64 if (LHSValue == RHSValue) in evaluateBooleanEquality()
67 if (auto *LHSBool = dyn_cast_or_null<BoolValue>(LHSValue)) in evaluateBooleanEquality()
71 if (auto *LHSPtr = dyn_cast_or_null<PointerValue>(LHSValue)) in evaluateBooleanEquality()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp2955 static bool handleLogicalOpForVector(const APInt &LHSValue, in handleLogicalOpForVector() argument
2958 bool LHS = (LHSValue != 0); in handleLogicalOpForVector()
2967 static bool handleLogicalOpForVector(const APFloat &LHSValue, in handleLogicalOpForVector() argument
2970 bool LHS = !LHSValue.isZero(); in handleLogicalOpForVector()
2980 static bool handleLogicalOpForVector(const APValue &LHSValue, in handleLogicalOpForVector() argument
2984 if (LHSValue.getKind() == APValue::Int) in handleLogicalOpForVector()
2985 return handleLogicalOpForVector(LHSValue.getInt(), Opcode, in handleLogicalOpForVector()
2987 assert(LHSValue.getKind() == APValue::Float && "Should be no other options"); in handleLogicalOpForVector()
2988 return handleLogicalOpForVector(LHSValue.getFloat(), Opcode, in handleLogicalOpForVector()
2994 handleCompareOpForVectorHelper(const APTy &LHSValue, BinaryOperatorKind Opcode, in handleCompareOpForVectorHelper() argument
[all …]
H A DASTContext.cpp11192 QualType LHSValue = LHS->castAs<AtomicType>()->getValueType(); in mergeTypes() local
11195 LHSValue = LHSValue.getUnqualifiedType(); in mergeTypes()
11198 QualType ResultType = mergeTypes(LHSValue, RHSValue, false, in mergeTypes()
11202 if (getCanonicalType(LHSValue) == getCanonicalType(ResultType)) in mergeTypes()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10128 std::optional<llvm::APSInt> LHSValue = in AnalyzeComparison() local
10132 if (RHSValue && LHSValue) in AnalyzeComparison()
10136 if ((bool)RHSValue ^ (bool)LHSValue) { in AnalyzeComparison()
10141 const llvm::APSInt &Value = RhsConstant ? *RHSValue : *LHSValue; in AnalyzeComparison()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp11077 for (auto &LHSValue : LHSValues) in handleCmp() local
11079 if (!CheckPair(*LHSValue.getValue(), *RHSValue.getValue())) in handleCmp()