Home
last modified time | relevance | path

Searched refs:EndLoopOp (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp136 static MachineInstr *findLoopInstr(MachineBasicBlock *BB, int EndLoopOp, in findLoopInstr() argument
140 if (EndLoopOp == Hexagon::ENDLOOP0) { in findLoopInstr()
162 if (Opc == EndLoopOp) in findLoopInstr()
166 MachineInstr *loop = findLoopInstr(*PB, EndLoopOp, Visited); in findLoopInstr()
600 int EndLoopOp = Cond[0].getImm(); in InsertBranch() local
605 MachineInstr *Loop = findLoopInstr(TBB, EndLoopOp, VisitedBBs); in InsertBranch()
609 BuildMI(&MBB, DL, get(EndLoopOp)).addMBB(TBB); in InsertBranch()
640 int EndLoopOp = Cond[0].getImm(); in InsertBranch() local
645 MachineInstr *Loop = findLoopInstr(TBB, EndLoopOp, VisitedBBs); in InsertBranch()
649 BuildMI(&MBB, DL, get(EndLoopOp)).addMBB(TBB); in InsertBranch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.cpp148 unsigned EndLoopOp, MachineBasicBlock *TargetBB, in findLoopInstr() argument
152 if (EndLoopOp == Hexagon::ENDLOOP0) { in findLoopInstr()
173 if (Opc == EndLoopOp && I->getOperand(0).getMBB() != TargetBB) in findLoopInstr()
177 if (MachineInstr *Loop = findLoopInstr(PB, EndLoopOp, TargetBB, Visited)) in findLoopInstr()
615 int EndLoopOp = Cond[0].getImm(); in insertBranch() local
620 MachineInstr *Loop = findLoopInstr(TBB, EndLoopOp, Cond[1].getMBB(), in insertBranch()
625 BuildMI(&MBB, DL, get(EndLoopOp)).addMBB(TBB); in insertBranch()
657 int EndLoopOp = Cond[0].getImm(); in insertBranch() local
662 MachineInstr *Loop = findLoopInstr(TBB, EndLoopOp, Cond[1].getMBB(), in insertBranch()
667 BuildMI(&MBB, DL, get(EndLoopOp)).addMBB(TBB); in insertBranch()
DHexagonInstrInfo.h349 MachineInstr *findLoopInstr(MachineBasicBlock *BB, unsigned EndLoopOp,