Home
last modified time | relevance | path

Searched refs:CodeGenSchedRW (Results 1 – 6 of 6) sorted by relevance

/external/llvm/utils/TableGen/
DCodeGenSchedule.h46 struct CodeGenSchedRW { struct
58 CodeGenSchedRW() in CodeGenSchedRW() argument
61 CodeGenSchedRW(unsigned Idx, Record *Def) in CodeGenSchedRW() function
75 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW() function
241 std::vector<CodeGenSchedRW> SchedWrites;
242 std::vector<CodeGenSchedRW> SchedReads;
318 const CodeGenSchedRW &getSchedWrite(unsigned Idx) const { in getSchedWrite()
324 const CodeGenSchedRW &getSchedRead(unsigned Idx) const { in getSchedRead()
330 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW()
333 CodeGenSchedRW &getSchedRW(Record *Def) { in getSchedRW()
[all …]
DCodeGenSchedule.cpp289 for (std::vector<CodeGenSchedRW>::iterator WI = SchedWrites.begin(), in collectSchedRW()
301 CodeGenSchedRW &RW = getSchedRW(MatchDef); in collectSchedRW()
342 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
344 for (std::vector<CodeGenSchedRW>::const_iterator I = RWVec.begin() + After, in getSchedRWIdx()
403 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence()
424 const CodeGenSchedRW &SchedWrite = getSchedRW(RWIdx, IsRead); in expandRWSeqForProc()
428 const CodeGenSchedRW &AliasRW = getSchedRW((*AI)->getValueAsDef("AliasRW")); in expandRWSeqForProc()
462 std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in findRWForSequence()
464 for (std::vector<CodeGenSchedRW>::iterator I = RWVec.begin(), E = RWVec.end(); in findRWForSequence()
485 CodeGenSchedRW SchedRW(RWIdx, IsRead, Seq, genRWName(Seq, IsRead)); in findOrInsertRW()
[all …]
DSubtargetEmitter.cpp93 Record *FindWriteResources(const CodeGenSchedRW &SchedWrite,
95 Record *FindReadAdvance(const CodeGenSchedRW &SchedRead,
649 const CodeGenSchedRW &SchedWrite, const CodeGenProcModel &ProcModel) { in FindWriteResources()
658 const CodeGenSchedRW &AliasRW = in FindWriteResources()
701 Record *SubtargetEmitter::FindReadAdvance(const CodeGenSchedRW &SchedRead, in FindReadAdvance()
710 const CodeGenSchedRW &AliasRW = in FindReadAdvance()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeGenSchedule.h44 struct CodeGenSchedRW { struct
56 CodeGenSchedRW() in CodeGenSchedRW() argument
59 CodeGenSchedRW(unsigned Idx, Record *Def) in CodeGenSchedRW() argument
73 CodeGenSchedRW(unsigned Idx, bool Read, ArrayRef<unsigned> Seq, in CodeGenSchedRW() argument
289 std::vector<CodeGenSchedRW> SchedWrites;
290 std::vector<CodeGenSchedRW> SchedReads;
366 const CodeGenSchedRW &getSchedWrite(unsigned Idx) const { in getSchedWrite()
372 const CodeGenSchedRW &getSchedRead(unsigned Idx) const { in getSchedRead()
378 const CodeGenSchedRW &getSchedRW(unsigned Idx, bool IsRead) const { in getSchedRW()
381 CodeGenSchedRW &getSchedRW(Record *Def) { in getSchedRW()
[all …]
DCodeGenSchedule.cpp408 for (CodeGenSchedRW &CGRW : SchedWrites) { in collectSchedRW()
419 CodeGenSchedRW &RW = getSchedRW(MatchDef); in collectSchedRW()
460 const std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in getSchedRWIdx()
462 RWVec, [Def](const CodeGenSchedRW &RW) { return RW.TheDef == Def; }); in getSchedRWIdx()
467 for (const CodeGenSchedRW &Read : SchedReads) { in hasReadOfWrite()
514 const CodeGenSchedRW &SchedRW = getSchedRW(RWIdx, IsRead); in expandRWSequence()
534 const CodeGenSchedRW &SchedWrite = getSchedRW(RWIdx, IsRead); in expandRWSeqForProc()
537 const CodeGenSchedRW &AliasRW = getSchedRW(Rec->getValueAsDef("AliasRW")); in expandRWSeqForProc()
570 std::vector<CodeGenSchedRW> &RWVec = IsRead ? SchedReads : SchedWrites; in findRWForSequence()
572 auto I = find_if(RWVec, [Seq](CodeGenSchedRW &RW) { in findRWForSequence()
[all …]
DSubtargetEmitter.cpp104 Record *FindWriteResources(const CodeGenSchedRW &SchedWrite,
106 Record *FindReadAdvance(const CodeGenSchedRW &SchedRead,
837 const CodeGenSchedRW &SchedWrite, const CodeGenProcModel &ProcModel) { in FindWriteResources()
846 const CodeGenSchedRW &AliasRW = in FindWriteResources()
889 Record *SubtargetEmitter::FindReadAdvance(const CodeGenSchedRW &SchedRead, in FindReadAdvance()
898 const CodeGenSchedRW &AliasRW = in FindReadAdvance()