Lines Matching refs:Reads
383 IdxVec &Writes, IdxVec &Reads) const { in findRWs()
388 findRWs(ReadDefs, Reads, true); in findRWs()
509 IdxVec Writes, Reads; in collectSchedClasses() local
511 findRWs(Inst->TheDef->getValueAsListOfDefs("SchedRW"), Writes, Reads); in collectSchedClasses()
516 unsigned SCIdx = addSchedClass(ItinDef, Writes, Reads, ProcIndices); in collectSchedClasses()
556 for (IdxIter RI = SC.Reads.begin(), RE = SC.Reads.end(); RI != RE; ++RI) in collectSchedClasses()
568 IdxVec Reads; in collectSchedClasses() local
570 Writes, Reads); in collectSchedClasses()
573 for (IdxIter RI = Reads.begin(), RE = Reads.end(); RI != RE; ++RI) in collectSchedClasses()
590 ArrayRef<unsigned> Reads) const { in findSchedClassIdx()
593 makeArrayRef(I->Reads) == Reads) { in findSchedClassIdx()
664 SC.Reads = OperReads; in addSchedClass()
739 SC.Reads = SchedClasses[OldSCIdx].Reads; in createInstRWClass()
859 inferFromRW(SchedClasses[Idx].Writes, SchedClasses[Idx].Reads, in inferSchedClasses()
884 IdxVec Writes, Reads; in inferFromItinClass() local
885 findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in inferFromItinClass()
887 inferFromRW(Writes, Reads, FromClassIdx, ProcIndices); in inferFromItinClass()
907 IdxVec Writes, Reads; in inferFromInstRWs() local
908 findRWs(Rec->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in inferFromInstRWs()
911 inferFromRW(Writes, Reads, SCIdx, ProcIndices); // May mutate SchedClasses. in inferFromInstRWs()
1463 IdxVec Writes, Reads; in collectProcResources() local
1465 Writes, Reads); in collectProcResources()
1466 collectRWResources(Writes, Reads, ProcIndices); in collectProcResources()
1469 collectRWResources(SCI->Writes, SCI->Reads, SCI->ProcIndices); in collectProcResources()
1617 IdxVec Writes, Reads; in collectItinProcResources() local
1618 findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in collectItinProcResources()
1620 collectRWResources(Writes, Reads, ProcIndices); in collectItinProcResources()
1661 ArrayRef<unsigned> Reads, in collectRWResources() argument
1667 for (unsigned Idx : Reads) in collectRWResources()
1814 for (unsigned i = 0, N = Reads.size(); i < N; ++i) { in dump()
1815 SchedModels->getSchedRead(Reads[i]).dump(); in dump()