Lines Matching refs:Writes
386 IdxVec &Writes, IdxVec &Reads) const { in findRWs() argument
390 findRWs(WriteDefs, Writes, false); in findRWs()
512 IdxVec Writes, Reads; in collectSchedClasses() local
514 findRWs(Inst->TheDef->getValueAsListOfDefs("SchedRW"), Writes, Reads); in collectSchedClasses()
519 unsigned SCIdx = addSchedClass(ItinDef, Writes, Reads, ProcIndices); in collectSchedClasses()
553 if (!SC.Writes.empty()) { in collectSchedClasses()
556 for (IdxIter WI = SC.Writes.begin(), WE = SC.Writes.end(); WI != WE; ++WI) in collectSchedClasses()
569 IdxVec Writes; in collectSchedClasses() local
572 Writes, Reads); in collectSchedClasses()
573 for (IdxIter WI = Writes.begin(), WE = Writes.end(); WI != WE; ++WI) in collectSchedClasses()
591 const IdxVec &Writes, in findSchedClassIdx() argument
595 && I->Writes == Writes && I->Reads == Reads) { in findSchedClassIdx()
664 SC.Writes = OperWrites; in addSchedClass()
739 SC.Writes = SchedClasses[OldSCIdx].Writes; in createInstRWClass()
850 if (!SchedClasses[Idx].Writes.empty()) { in inferSchedClasses()
851 inferFromRW(SchedClasses[Idx].Writes, SchedClasses[Idx].Reads, in inferSchedClasses()
876 IdxVec Writes, Reads; in inferFromItinClass() local
877 findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in inferFromItinClass()
879 inferFromRW(Writes, Reads, FromClassIdx, ProcIndices); in inferFromItinClass()
899 IdxVec Writes, Reads; in inferFromInstRWs() local
900 findRWs(Rec->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in inferFromInstRWs()
903 inferFromRW(Writes, Reads, SCIdx, ProcIndices); // May mutate SchedClasses. in inferFromInstRWs()
1452 IdxVec Writes, Reads; in collectProcResources() local
1454 Writes, Reads); in collectProcResources()
1455 collectRWResources(Writes, Reads, ProcIndices); in collectProcResources()
1458 collectRWResources(SCI->Writes, SCI->Reads, SCI->ProcIndices); in collectProcResources()
1549 IdxVec Writes, Reads; in collectItinProcResources() local
1550 findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in collectItinProcResources()
1552 collectRWResources(Writes, Reads, ProcIndices); in collectItinProcResources()
1596 void CodeGenSchedModels::collectRWResources(const IdxVec &Writes, in collectRWResources() argument
1600 for (IdxIter WI = Writes.begin(), WE = Writes.end(); WI != WE; ++WI) in collectRWResources()
1733 for (unsigned i = 0, N = Writes.size(); i < N; ++i) { in dump()
1734 SchedModels->getSchedWrite(Writes[i]).dump(); in dump()