Lines Matching refs:FromValue
437 Expected<APValue> ImportAPValue(const APValue &FromValue);
9673 llvm::Expected<APValue> ASTImporter::Import(const APValue &FromValue) { in Import() argument
9675 return Importer.ImportAPValue(FromValue); in Import()
9809 ASTNodeImporter::ImportAPValue(const APValue &FromValue) { in ImportAPValue() argument
9818 switch (FromValue.getKind()) { in ImportAPValue()
9826 Result = FromValue; in ImportAPValue()
9831 Result.setVectorUninit(FromValue.getVectorLength()); in ImportAPValue()
9832 ImportLoop(((const APValue::Vec *)(const char *)&FromValue.Data)->Elts, in ImportAPValue()
9833 Elts.data(), FromValue.getVectorLength()); in ImportAPValue()
9837 Result.MakeArray(FromValue.getArrayInitializedElts(), in ImportAPValue()
9838 FromValue.getArraySize()); in ImportAPValue()
9839 ImportLoop(((const APValue::Arr *)(const char *)&FromValue.Data)->Elts, in ImportAPValue()
9841 FromValue.getArrayInitializedElts()); in ImportAPValue()
9844 Result.MakeStruct(FromValue.getStructNumBases(), in ImportAPValue()
9845 FromValue.getStructNumFields()); in ImportAPValue()
9847 ((const APValue::StructData *)(const char *)&FromValue.Data)->Elts, in ImportAPValue()
9849 FromValue.getStructNumBases() + FromValue.getStructNumFields()); in ImportAPValue()
9853 const Decl *ImpFDecl = importChecked(Err, FromValue.getUnionField()); in ImportAPValue()
9854 APValue ImpValue = importChecked(Err, FromValue.getUnionValue()); in ImportAPValue()
9862 const Expr *ImpLHS = importChecked(Err, FromValue.getAddrLabelDiffLHS()); in ImportAPValue()
9863 const Expr *ImpRHS = importChecked(Err, FromValue.getAddrLabelDiffRHS()); in ImportAPValue()
9872 importChecked(Err, FromValue.getMemberPointerDecl()); in ImportAPValue()
9878 FromValue.isMemberPointerToDerivedMember(), in ImportAPValue()
9879 FromValue.getMemberPointerPath().size()); in ImportAPValue()
9882 for (unsigned Idx = 0; Idx < FromValue.getMemberPointerPath().size(); in ImportAPValue()
9894 if (FromValue.getLValueBase()) { in ImportAPValue()
9895 assert(!FromValue.getLValueBase().is<DynamicAllocLValue>() && in ImportAPValue()
9898 if (!FromValue.getLValueBase().is<TypeInfoLValue>()) { in ImportAPValue()
9900 FromValue.getLValueBase().dyn_cast<const Expr *>()) { in ImportAPValue()
9906 FromValue.getLValueBase().getCallIndex(), in ImportAPValue()
9907 FromValue.getLValueBase().getVersion()); in ImportAPValue()
9910 FromValue.getLValueBase().get<const ValueDecl *>()->getType(); in ImportAPValue()
9912 Err, FromValue.getLValueBase().get<const ValueDecl *>()); in ImportAPValue()
9916 FromValue.getLValueBase().getCallIndex(), in ImportAPValue()
9917 FromValue.getLValueBase().getVersion()); in ImportAPValue()
9920 FromElemTy = FromValue.getLValueBase().getTypeInfoType(); in ImportAPValue()
9922 Err, FromValue.getLValueBase().get<TypeInfoLValue>().getType()); in ImportAPValue()
9924 importChecked(Err, FromValue.getLValueBase().getTypeInfoType()); in ImportAPValue()
9931 CharUnits Offset = FromValue.getLValueOffset(); in ImportAPValue()
9932 unsigned PathLength = FromValue.getLValuePath().size(); in ImportAPValue()
9934 if (FromValue.hasLValuePath()) { in ImportAPValue()
9936 Base, Offset, PathLength, FromValue.isLValueOnePastTheEnd(), in ImportAPValue()
9937 FromValue.isNullPointer()); in ImportAPValue()
9939 FromValue.getLValuePath(); in ImportAPValue()
9962 FromValue.isNullPointer()); in ImportAPValue()