• Home
  • Raw
  • Download

Lines Matching refs:IsRead

709 std::string CodeGenSchedModels::genRWName(ArrayRef<unsigned> Seq, bool IsRead) {  in genRWName()  argument
714 Name += getSchedRW(*I, IsRead).Name; in genRWName()
721 bool IsRead) const { in getSchedRWIdx()
722 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
766 bool IsRead) const { in findRWs()
768 unsigned Idx = getSchedRWIdx(RWDef, IsRead); in findRWs()
775 bool IsRead) const { in expandRWSequence()
776 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence()
785 expandRWSequence(I, RWSeq, IsRead); in expandRWSequence()
793 unsigned RWIdx, IdxVec &RWSeq, bool IsRead, in expandRWSeqForProc() argument
796 const CodeGenSchedRW &SchedWrite = getSchedRW(RWIdx, IsRead); in expandRWSeqForProc()
812 expandRWSeqForProc(getSchedRWIdx(AliasDef, IsRead), in expandRWSeqForProc()
813 RWSeq, IsRead,ProcModel); in expandRWSeqForProc()
824 expandRWSeqForProc(Idx, RWSeq, IsRead, ProcModel); in expandRWSeqForProc()
831 bool IsRead) { in findRWForSequence() argument
832 std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in findRWForSequence()
843 bool IsRead) { in findOrInsertRW() argument
848 unsigned Idx = findRWForSequence(Seq, IsRead); in findOrInsertRW()
852 std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in findOrInsertRW()
854 CodeGenSchedRW SchedRW(RWIdx, IsRead, Seq, genRWName(Seq, IsRead)); in findOrInsertRW()
1304 bool IsRead; member
1308 PredCheck(bool r, unsigned w, Record *p): IsRead(r), RWIdx(w), Predicate(p) {} in PredCheck()
1337 bool IsRead, unsigned StartIdx);
1351 void pushVariant(const TransVariant &VInfo, bool IsRead);
1372 const CodeGenSchedRW &SchedRW = SchedModels.getSchedRW(PC.RWIdx, PC.IsRead); in mutuallyExclusive()
1513 pushVariant(const TransVariant &VInfo, bool IsRead) { in pushVariant() argument
1521 Trans.PredTerm.emplace_back(IsRead, VInfo.RWIdx,PredDef); in pushVariant()
1523 SchedModels.findRWs(SelectedDefs, SelectedRWs, IsRead); in pushVariant()
1528 SelectedRWs.push_back(SchedModels.getSchedRWIdx(VInfo.VarOrSeqDef, IsRead)); in pushVariant()
1531 const CodeGenSchedRW &SchedRW = SchedModels.getSchedRW(VInfo.RWIdx, IsRead); in pushVariant()
1533 SmallVectorImpl<SmallVector<unsigned,4>> &RWSequences = IsRead in pushVariant()
1548 if (IsRead) in pushVariant()
1551 SchedModels.expandRWSequence(*RWI, ExpandedRWs, IsRead); in pushVariant()
1564 if (IsRead) in pushVariant()
1567 SchedModels.expandRWSequence(*RWI, ExpandedRWs, IsRead); in pushVariant()
1578 const SmallVectorImpl<unsigned> &RWSeq, bool IsRead, unsigned StartIdx) { in substituteVariantOperand() argument
1583 const CodeGenSchedRW &SchedRW = SchedModels.getSchedRW(*RWI, IsRead); in substituteVariantOperand()
1595 pushVariant(IV, IsRead); in substituteVariantOperand()
1597 if (IsRead) in substituteVariantOperand()
1651 IdxVec &Result, bool IsRead) { in addSequences() argument
1654 Result.push_back(SchedModels.findOrInsertRW(S, IsRead)); in addSequences()
2063 void CodeGenSchedModels::collectRWResources(unsigned RWIdx, bool IsRead, in collectRWResources() argument
2065 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in collectRWResources()
2067 if (!IsRead && SchedRW.TheDef->isSubClassOf("SchedWriteRes")) { in collectRWResources()
2071 else if (IsRead && SchedRW.TheDef->isSubClassOf("SchedReadAdvance")) { in collectRWResources()
2086 assert(AliasRW.IsRead == IsRead && "cannot alias reads to writes"); in collectRWResources()
2089 expandRWSequence(AliasRW.Index, ExpandedRWs, IsRead); in collectRWResources()
2092 collectRWResources(*SI, IsRead, AliasProcIndices); in collectRWResources()
2270 dbgs() << SchedModels.getSchedRW(PCI->RWIdx, PCI->IsRead).Name in dump()