Lines Matching refs:FromValue

439     Expected<APValue> ImportAPValue(const APValue &FromValue);
9519 llvm::Expected<APValue> ASTImporter::Import(const APValue &FromValue) { in Import() argument
9521 return Importer.ImportAPValue(FromValue); in Import()
9655 ASTNodeImporter::ImportAPValue(const APValue &FromValue) { in ImportAPValue() argument
9664 switch (FromValue.getKind()) { in ImportAPValue()
9672 Result = FromValue; in ImportAPValue()
9677 Result.setVectorUninit(FromValue.getVectorLength()); in ImportAPValue()
9678 ImportLoop(((const APValue::Vec *)(const char *)&FromValue.Data)->Elts, in ImportAPValue()
9679 Elts.data(), FromValue.getVectorLength()); in ImportAPValue()
9683 Result.MakeArray(FromValue.getArrayInitializedElts(), in ImportAPValue()
9684 FromValue.getArraySize()); in ImportAPValue()
9685 ImportLoop(((const APValue::Arr *)(const char *)&FromValue.Data)->Elts, in ImportAPValue()
9687 FromValue.getArrayInitializedElts()); in ImportAPValue()
9690 Result.MakeStruct(FromValue.getStructNumBases(), in ImportAPValue()
9691 FromValue.getStructNumFields()); in ImportAPValue()
9693 ((const APValue::StructData *)(const char *)&FromValue.Data)->Elts, in ImportAPValue()
9695 FromValue.getStructNumBases() + FromValue.getStructNumFields()); in ImportAPValue()
9699 const Decl *ImpFDecl = importChecked(Err, FromValue.getUnionField()); in ImportAPValue()
9700 APValue ImpValue = importChecked(Err, FromValue.getUnionValue()); in ImportAPValue()
9708 const Expr *ImpLHS = importChecked(Err, FromValue.getAddrLabelDiffLHS()); in ImportAPValue()
9709 const Expr *ImpRHS = importChecked(Err, FromValue.getAddrLabelDiffRHS()); in ImportAPValue()
9718 importChecked(Err, FromValue.getMemberPointerDecl()); in ImportAPValue()
9724 FromValue.isMemberPointerToDerivedMember(), in ImportAPValue()
9725 FromValue.getMemberPointerPath().size()); in ImportAPValue()
9728 for (unsigned Idx = 0; Idx < FromValue.getMemberPointerPath().size(); in ImportAPValue()
9740 if (FromValue.getLValueBase()) { in ImportAPValue()
9741 assert(!FromValue.getLValueBase().is<DynamicAllocLValue>() && in ImportAPValue()
9744 if (!FromValue.getLValueBase().is<TypeInfoLValue>()) { in ImportAPValue()
9746 FromValue.getLValueBase().dyn_cast<const Expr *>()) { in ImportAPValue()
9752 FromValue.getLValueBase().getCallIndex(), in ImportAPValue()
9753 FromValue.getLValueBase().getVersion()); in ImportAPValue()
9756 FromValue.getLValueBase().get<const ValueDecl *>()->getType(); in ImportAPValue()
9758 Err, FromValue.getLValueBase().get<const ValueDecl *>()); in ImportAPValue()
9762 FromValue.getLValueBase().getCallIndex(), in ImportAPValue()
9763 FromValue.getLValueBase().getVersion()); in ImportAPValue()
9766 FromElemTy = FromValue.getLValueBase().getTypeInfoType(); in ImportAPValue()
9768 Err, FromValue.getLValueBase().get<TypeInfoLValue>().getType()); in ImportAPValue()
9770 importChecked(Err, FromValue.getLValueBase().getTypeInfoType()); in ImportAPValue()
9777 CharUnits Offset = FromValue.getLValueOffset(); in ImportAPValue()
9778 unsigned PathLength = FromValue.getLValuePath().size(); in ImportAPValue()
9780 if (FromValue.hasLValuePath()) { in ImportAPValue()
9782 Base, Offset, PathLength, FromValue.isLValueOnePastTheEnd(), in ImportAPValue()
9783 FromValue.isNullPointer()); in ImportAPValue()
9785 FromValue.getLValuePath(); in ImportAPValue()
9808 FromValue.isNullPointer()); in ImportAPValue()