Lines Matching refs:APValue
83 APValue Pointer::toAPValue() const { in toAPValue()
84 APValue::LValueBase Base; in toAPValue()
85 llvm::SmallVector<APValue::LValuePathEntry, 5> Path; in toAPValue()
123 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Ptr.getIndex())); in toAPValue()
132 Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual})); in toAPValue()
150 return APValue(Base, Offset, Path, IsOnePastEnd, IsNullPtr); in toAPValue()
234 std::optional<APValue> Pointer::toRValue(const Context &Ctx) const { in toRValue()
236 std::function<bool(QualType, const Pointer &, APValue &)> Composite; in toRValue()
237 Composite = [&Composite, &Ctx](QualType Ty, const Pointer &Ptr, APValue &R) { in toRValue()
263 APValue Value; in toRValue()
276 R = APValue(ActiveField, Value); in toRValue()
282 R = APValue(APValue::UninitStruct(), NB, NF); in toRValue()
288 APValue &Value = R.getStructField(I); in toRValue()
315 R = APValue(APValue::UninitArray(), 0, 0); in toRValue()
322 R = APValue(APValue::UninitArray{}, NumElems, NumElems); in toRValue()
326 APValue &Slot = R.getArrayInitializedElt(I); in toRValue()
347 R = APValue(V1.toAPSInt(), V2.toAPSInt()); in toRValue()
351 R = APValue(Ptr.atIndex(0).deref<Floating>().getAPFloat(), in toRValue()
362 return APValue(static_cast<Expr *>(nullptr), CharUnits::Zero(), {}, false, in toRValue()
369 APValue Result; in toRValue()