Home
last modified time | relevance | path

Searched refs:GIMatchDagInstr (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DGIMatchDagEdge.h16 class GIMatchDagInstr; variable
38 const GIMatchDagInstr *FromMI;
40 const GIMatchDagInstr *ToMI;
44 GIMatchDagEdge(StringRef Name, const GIMatchDagInstr *FromMI, const GIMatchDagOperand *FromMO, in GIMatchDagEdge()
45 const GIMatchDagInstr *ToMI, const GIMatchDagOperand *ToMO) in GIMatchDagEdge()
49 const GIMatchDagInstr *getFromMI() const { return FromMI; } in getFromMI()
51 const GIMatchDagInstr *getToMI() const { return ToMI; } in getToMI()
DGIMatchDagPredicateDependencyEdge.h16 class GIMatchDagInstr; variable
26 const GIMatchDagInstr *RequiredMI;
37 GIMatchDagPredicateDependencyEdge(const GIMatchDagInstr *RequiredMI, in GIMatchDagPredicateDependencyEdge()
44 const GIMatchDagInstr *getRequiredMI() const { return RequiredMI; } in getRequiredMI()
DGIMatchDagInstr.cpp16 void GIMatchDagInstr::print(raw_ostream &OS) const { in print()
40 void GIMatchDagInstr::setMatchRoot() { in setMatchRoot()
45 raw_ostream &llvm::operator<<(raw_ostream &OS, const GIMatchDagInstr &N) { in operator <<()
DGIMatchDag.h54 using InstrNodesVec = std::vector<std::unique_ptr<GIMatchDagInstr>>;
81 std::vector<GIMatchDagInstr *> MatchRoots;
111 iterator_range<std::vector<GIMatchDagInstr *>::iterator> roots() { in roots()
114 iterator_range<std::vector<GIMatchDagInstr *>::const_iterator> roots() const { in roots()
183 template <class... Args> GIMatchDagInstr *addInstrNode(Args &&... args) { in addInstrNode()
185 std::make_unique<GIMatchDagInstr>(*this, std::forward<Args>(args)...); in addInstrNode()
228 void addMatchRoot(GIMatchDagInstr *N) { MatchRoots.push_back(N); } in addMatchRoot()
DGIMatchDagInstr.h28 class GIMatchDagInstr {
70 GIMatchDagInstr(GIMatchDag &Dag, StringRef Name, StringRef UserAssignedName, in GIMatchDagInstr() function
112 raw_ostream &operator<<(raw_ostream &OS, const GIMatchDagInstr &N);
DGIMatchTree.h205 const GIMatchDagInstr *InstrNode;
208 GIMatchTreeInstrInfo(unsigned ID, const GIMatchDagInstr *InstrNode) in GIMatchTreeInstrInfo()
212 const GIMatchDagInstr *getInstrNode() const { return InstrNode; } in getInstrNode()
225 const GIMatchDagInstr *InstrNode;
229 GIMatchTreeOperandInfo(const GIMatchDagInstr *InstrNode, unsigned OpIdx) in GIMatchTreeOperandInfo()
232 const GIMatchDagInstr *getInstrNode() const { return InstrNode; } in getInstrNode()
258 DenseMap<const GIMatchDagInstr *, GIMatchTreeInstrInfo> InstrNodeToInfo;
322 const GIMatchDagInstr *getInstr(unsigned Idx) const { in getInstr()
349 void declareInstr(const GIMatchDagInstr *Instr, unsigned ID);
DCMakeLists.txt10 GIMatchDagInstr.cpp
DGIMatchTree.cpp109 void GIMatchTreeBuilderLeafInfo::declareInstr(const GIMatchDagInstr *Instr, unsigned ID) { in declareInstr()
152 const GIMatchDagInstr *Instr = InstrIDToInfo.lookup(InstrID)->getInstrNode(); in declareOperand()
366 GIMatchDagInstr *Root = in run()
576 const GIMatchDagInstr *Instr = InstrInfo->getInstrNode(); in applyForPartition()
/external/llvm-project/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/
DBUILD.gn7 "GIMatchDagInstr.cpp",
/external/llvm-project/llvm/utils/TableGen/
DGICombinerEmitter.cpp119 const GIMatchDagInstr *N;
124 VarInfo(const GIMatchDagInstr *N, const GIMatchDagOperand *Op, in VarInfo()
230 SmallSet<const GIMatchDagInstr *, 5> Roots; in reorientToRoots()
231 SmallSet<const GIMatchDagInstr *, 5> Visited; in reorientToRoots()
408 GIMatchDagInstr *N = in parseInstructionMatcher()
459 GIMatchDagInstr *N = in parseWipMatchOpcodeMatcher()