Lines Matching refs:APValue
143 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue()
144 llvm::SmallVector<APValue::LValuePathEntry, 5> Path; in toAPValue()
147 return APValue(static_cast<const Expr *>(nullptr), CharUnits::Zero(), Path, in toAPValue()
150 return APValue(static_cast<const Expr *>(nullptr), in toAPValue()
157 return APValue(FD, CharUnits::fromQuantity(Offset), {}, in toAPValue()
159 return APValue(FP.getFunction()->getExpr(), CharUnits::fromQuantity(Offset), in toAPValue()
166 return APValue( in toAPValue()
167 APValue::LValueBase::getTypeInfo( in toAPValue()
175 APValue::LValueBase Base; in toAPValue()
185 Base = APValue::LValueBase::getDynamicAlloc(DA, AllocatedType); in toAPValue()
193 return APValue(Base, CharUnits::Zero(), Path, in toAPValue()
227 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Index)); in toAPValue()
232 Path.push_back(APValue::LValuePathEntry({Dcl, /*IsVirtual=*/false})); in toAPValue()
257 Path.push_back(APValue::LValuePathEntry::ArrayIndex(Index)); in toAPValue()
283 Path.push_back(APValue::LValuePathEntry({BaseOrMember, IsVirtual})); in toAPValue()
297 return APValue(Base, Offset, Path, OnePastEnd); in toAPValue()
299 return APValue(Base, Offset, APValue::NoLValuePath()); in toAPValue()
642 std::optional<APValue> Pointer::toRValue(const Context &Ctx, in toRValue()
647 std::function<bool(QualType, const Pointer &, APValue &)> Composite; in toRValue()
649 APValue &R) { in toRValue()
671 APValue Value; in toRValue()
685 R = APValue(ActiveField, Value); in toRValue()
691 R = APValue(APValue::UninitStruct(), NB, NF); in toRValue()
697 APValue &Value = R.getStructField(I); in toRValue()
724 R = APValue(APValue::UninitArray(), 0, 0); in toRValue()
731 R = APValue(APValue::UninitArray{}, NumElems, NumElems); in toRValue()
735 APValue &Slot = R.getArrayInitializedElt(I); in toRValue()
756 R = APValue(V1.toAPSInt(), V2.toAPSInt()); in toRValue()
760 R = APValue(Ptr.atIndex(0).deref<Floating>().getAPFloat(), in toRValue()
773 SmallVector<APValue> Values; in toRValue()
782 R = APValue(Values.data(), Values.size()); in toRValue()
803 APValue Result; in toRValue()