Lines Matching defs:Addrs
338 std::array<Address, N> Addrs) {
340 FT, CurStructOffset + asDerived().getFieldOffset(FD), Addrs);
346 std::array<Address, N> Addrs) {
350 Addrs);
352 asDerived().flushTrivialFields(Addrs);
358 std::array<Address, N> StartAddrs = Addrs;
360 StartAddrs[I] = getAddrWithOffset(Addrs[I], CurStructOffset, FD);
396 std::array<Address, N> NewAddrs = Addrs;
476 std::array<Address, N> Addrs =
478 asDerived().visitStructFields(QT, CharUnits::Zero(), Addrs);
484 void callFunc(StringRef FuncName, QualType QT, std::array<Address, N> Addrs,
490 Alignments[I] = Addrs[I].getAlignment();
491 Ptrs[I] = Addrs[I].emitRawPointer(CallerCGF);
511 void flushTrivialFields(std::array<Address, 2> Addrs) {
517 Address DstAddr = this->getAddrWithOffset(Addrs[DstIdx], this->Start);
518 Address SrcAddr = this->getAddrWithOffset(Addrs[SrcIdx], this->Start);
543 std::array<Address, 2> Addrs) {
552 Address DstAddr = this->getAddrWithOffset(Addrs[DstIdx], Offset);
556 Address SrcAddr = this->getAddrWithOffset(Addrs[SrcIdx], Offset);
562 Address DstAddr = Addrs[DstIdx].withElementType(Ty);
563 Address SrcAddr = Addrs[SrcIdx].withElementType(Ty);
581 std::array<Address, 1> Addrs) {
583 visitArray(DK, AT, FT.isVolatileQualified(), FD, CurStructOffset, Addrs);
587 Super::visitWithKind(DK, FT, FD, CurStructOffset, Addrs);
591 CharUnits CurStructOffset, std::array<Address, 1> Addrs) {
593 *CGF, getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD), QT);
597 std::array<Address, 1> Addrs) {
599 *CGF, getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD), QT);
603 std::array<Address, 1> Addrs) {
605 CGF->MakeAddrLValue(getAddrWithOffset(Addrs[DstIdx], Offset), FT));
621 std::array<Address, 1> Addrs) {
624 Addrs);
628 Super::visitWithKind(PDIK, FT, FD, CurStructOffset, Addrs);
632 CharUnits CurStructOffset, std::array<Address, 1> Addrs) {
634 getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD), QT);
638 std::array<Address, 1> Addrs) {
640 getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD), QT);
646 std::array<Address, 1> Addrs) {
648 return visitTrivial(QualType(AT, 0), FD, CurStructOffset, Addrs);
655 GenFuncBaseTy::visitArray(FK, AT, IsVolatile, FD, CurStructOffset, Addrs);
660 Address DstAddr = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
667 std::array<Address, 1> Addrs) {
669 CGF->MakeAddrLValue(getAddrWithOffset(Addrs[DstIdx], Offset), FT));
678 CharUnits CurStructOffset, std::array<Address, 2> Addrs) {
679 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
680 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
682 Addrs[SrcIdx], QT.isVolatileQualified(), QT, SourceLocation());
684 CGF->EmitStoreOfScalar(Val, CGF->MakeAddrLValue(Addrs[DstIdx], QT), true);
688 std::array<Address, 2> Addrs) {
689 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
690 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
691 CGF->EmitARCCopyWeak(Addrs[DstIdx], Addrs[SrcIdx]);
695 std::array<Address, 2> Addrs) {
696 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], Offset);
697 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], Offset);
698 CGF->callCStructCopyConstructor(CGF->MakeAddrLValue(Addrs[DstIdx], FT),
699 CGF->MakeAddrLValue(Addrs[SrcIdx], FT));
708 CharUnits CurStructOffset, std::array<Address, 2> Addrs) {
709 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
710 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
711 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT);
715 CGF->EmitStoreOfScalar(SrcVal, CGF->MakeAddrLValue(Addrs[DstIdx], QT),
720 std::array<Address, 2> Addrs) {
721 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
722 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
723 CGF->EmitARCMoveWeak(Addrs[DstIdx], Addrs[SrcIdx]);
727 std::array<Address, 2> Addrs) {
728 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], Offset);
729 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], Offset);
730 CGF->callCStructMoveConstructor(CGF->MakeAddrLValue(Addrs[DstIdx], FT),
731 CGF->MakeAddrLValue(Addrs[SrcIdx], FT));
740 CharUnits CurStructOffset, std::array<Address, 2> Addrs) {
741 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
742 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
744 Addrs[SrcIdx], QT.isVolatileQualified(), QT, SourceLocation());
745 CGF->EmitARCStoreStrong(CGF->MakeAddrLValue(Addrs[DstIdx], QT), SrcVal,
750 std::array<Address, 2> Addrs) {
751 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
752 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
753 CGF->emitARCCopyAssignWeak(QT, Addrs[DstIdx], Addrs[SrcIdx]);
757 std::array<Address, 2> Addrs) {
758 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], Offset);
759 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], Offset);
761 CGF->MakeAddrLValue(Addrs[DstIdx], FT),
762 CGF->MakeAddrLValue(Addrs[SrcIdx], FT));
771 CharUnits CurStructOffset, std::array<Address, 2> Addrs) {
772 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
773 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
774 LValue SrcLV = CGF->MakeAddrLValue(Addrs[SrcIdx], QT);
778 LValue DstLV = CGF->MakeAddrLValue(Addrs[DstIdx], QT);
786 std::array<Address, 2> Addrs) {
787 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], CurStructOffset, FD);
788 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], CurStructOffset, FD);
789 CGF->emitARCMoveAssignWeak(QT, Addrs[DstIdx], Addrs[SrcIdx]);
793 std::array<Address, 2> Addrs) {
794 Addrs[DstIdx] = getAddrWithOffset(Addrs[DstIdx], Offset);
795 Addrs[SrcIdx] = getAddrWithOffset(Addrs[SrcIdx], Offset);
797 CGF->MakeAddrLValue(Addrs[DstIdx], FT),
798 CGF->MakeAddrLValue(Addrs[SrcIdx], FT));
823 std::array<Address, N> Addrs) {
826 Addrs[I] = Addrs[I].withElementType(CGF.CGM.Int8PtrTy);
828 Gen.callFunc(FuncName, QT, Addrs, CGF);