Lines Matching refs:APValue

123 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const {  in toAPValue()
124 llvm::SmallVector<APValue::LValuePathEntry, 5> Path; in toAPValue()
127 return APValue(static_cast<const Expr *>(nullptr), CharUnits::Zero(), Path, in toAPValue()
130 return APValue(static_cast<const Expr *>(nullptr), in toAPValue()
137 APValue::LValueBase Base; in toAPValue()
146 return APValue(Base, CharUnits::Zero(), Path, in toAPValue()
165 Path.push_back(APValue::LValuePathEntry( in toAPValue()
180 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Index)); in toAPValue()
206 Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual})); in toAPValue()
224 return APValue(Base, Offset, Path, /*IsOnePastEnd=*/isOnePastEnd(), in toAPValue()
384 std::optional<APValue> Pointer::toRValue(const Context &Ctx, in toRValue()
389 std::function<bool(QualType, const Pointer &, APValue &)> Composite; in toRValue()
391 APValue &R) { in toRValue()
413 APValue Value; in toRValue()
427 R = APValue(ActiveField, Value); in toRValue()
433 R = APValue(APValue::UninitStruct(), NB, NF); in toRValue()
439 APValue &Value = R.getStructField(I); in toRValue()
466 R = APValue(APValue::UninitArray(), 0, 0); in toRValue()
473 R = APValue(APValue::UninitArray{}, NumElems, NumElems); in toRValue()
477 APValue &Slot = R.getArrayInitializedElt(I); in toRValue()
498 R = APValue(V1.toAPSInt(), V2.toAPSInt()); in toRValue()
502 R = APValue(Ptr.atIndex(0).deref<Floating>().getAPFloat(), in toRValue()
515 SmallVector<APValue> Values; in toRValue()
524 R = APValue(Values.data(), Values.size()); in toRValue()
545 APValue Result; in toRValue()