Lines Matching refs:Writes
383 IdxVec &Writes, IdxVec &Reads) const { in findRWs() argument
387 findRWs(WriteDefs, Writes, false); 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()
551 if (!SC.Writes.empty()) { in collectSchedClasses()
554 for (IdxIter WI = SC.Writes.begin(), WE = SC.Writes.end(); WI != WE; ++WI) in collectSchedClasses()
567 IdxVec Writes; in collectSchedClasses() local
570 Writes, Reads); in collectSchedClasses()
571 for (IdxIter WI = Writes.begin(), WE = Writes.end(); WI != WE; ++WI) in collectSchedClasses()
589 ArrayRef<unsigned> Writes, in findSchedClassIdx() argument
592 if (I->ItinClassDef == ItinClassDef && makeArrayRef(I->Writes) == Writes && in findSchedClassIdx()
663 SC.Writes = OperWrites; in addSchedClass()
738 SC.Writes = SchedClasses[OldSCIdx].Writes; in createInstRWClass()
858 if (!SchedClasses[Idx].Writes.empty()) { in inferSchedClasses()
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()
1569 if (!SC.Writes.empty()) in checkCompleteness()
1617 IdxVec Writes, Reads; in collectItinProcResources() local
1618 findRWs((*II)->getValueAsListOfDefs("OperandReadWrites"), Writes, Reads); in collectItinProcResources()
1620 collectRWResources(Writes, Reads, ProcIndices); in collectItinProcResources()
1660 void CodeGenSchedModels::collectRWResources(ArrayRef<unsigned> Writes, in collectRWResources() argument
1664 for (unsigned Idx : Writes) in collectRWResources()
1806 for (unsigned i = 0, N = Writes.size(); i < N; ++i) { in dump()
1807 SchedModels->getSchedWrite(Writes[i]).dump(); in dump()