Lines Matching refs:First

772                                            BasicBlock::iterator First,
793 assert(First == Last);
795 bool ReadFromHead = First.getHeadBit();
812 // There are instructions in this block; if the First iterator was
815 if (Src->empty() || First != Src->begin() || !ReadFromHead)
819 if (!First->hasDbgRecords())
822 createMarker(Dest)->absorbDebugValues(*First->DebugMarker, InsertAtHead);
826 BasicBlock::iterator First,
839 First Last
850 front of the First instruction, then splice like normal, which joins the
854 * move the "~" DbgRecords onto First,
860 // move the DbgRecords onto "First". They'll then be moved naturally in the
867 if (!First.getHeadBit() && First->hasDbgRecords()) {
868 MoreDanglingDbgRecords = Src->getMarker(First);
872 if (First->hasDbgRecords()) {
879 // First Last
880 First->adoptDbgRecords(this, end(), true);
884 DbgMarker *CurMarker = Src->createMarker(&*First);
889 First.setHeadBit(true);
893 spliceDebugInfoImpl(Dest, Src, First, Last);
908 BasicBlock::iterator First,
914 bool ReadFromHead = First.getHeadBit();
932 First Last
934 The splice method is going to take all the instructions from First up to
936 long list. All the DbgRecords attached to instructions _between_ First and
954 Dest.Head = true, First.Head = true, Last.Tail = false
958 First Dest
962 Dest.Head = true, First.Head = false, Last.Tail = false
966 First Dest
970 Dest.Head = false, First.Head = false, Last.Tail = false
974 First Dest
1016 // If we're _not_ reading from the head of First, i.e. the "++++" DbgRecords,
1019 if (!ReadFromHead && First->hasDbgRecords()) {
1021 Last->adoptDbgRecords(Src, First, true);
1024 DbgMarker *FromFirst = Src->createMarker(First);
1038 // Insert them right at the start of the range we moved, ahead of First
1043 // "normally" have been pushed in front of "First". We move it there now.
1044 DbgMarker *FirstMarker = createMarker(First);
1051 void BasicBlock::splice(iterator Dest, BasicBlock *Src, iterator First,
1056 // Check that First is before Last.
1058 for (auto It = First; It != Last; ++It)
1064 if (First == Last) {
1065 spliceDebugInfoEmptyBlock(Dest, Src, First, Last);
1071 spliceDebugInfo(Dest, Src, First, Last);
1074 getInstList().splice(Dest, Src->getInstList(), First, Last);