Home
last modified time | relevance | path

Searched refs:PredB (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/llvm/test/Transforms/UnifyLoopExits/
Dbasic.ll5 define void @loop_1(i1 %PredEntry, i1 %PredB, i1 %PredC, i1 %PredD) {
36 br i1 %PredB, label %C, label %E
57 define void @loop_2(i1 %PredA, i1 %PredB, i1 %PredC) {
91 br i1 %PredB, label %C, label %Y
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp185 void mergeBlocks(MachineBasicBlock *PredB, MachineBasicBlock *SuccB);
990 void HexagonEarlyIfConversion::mergeBlocks(MachineBasicBlock *PredB, in mergeBlocks() argument
992 DEBUG(dbgs() << "Merging blocks " << PrintMB(PredB) << " and " in mergeBlocks()
996 TII->RemoveBranch(*PredB); in mergeBlocks()
997 PredB->removeSuccessor(SuccB); in mergeBlocks()
998 PredB->splice(PredB->end(), SuccB, SuccB->begin(), SuccB->end()); in mergeBlocks()
1001 PredB->addSuccessor(*I); in mergeBlocks()
1002 PredB->normalizeSuccProbs(); in mergeBlocks()
1003 replacePhiEdges(SuccB, PredB); in mergeBlocks()
1006 PredB->updateTerminator(); in mergeBlocks()
DRDFGraph.h443 NodeId PredB; // Id of the predecessor block for a phi use. member
536 return Ref.PhiU.PredB; in getPredecessor()
540 Ref.PhiU.PredB = B; in setPredecessor()
746 RegisterRef RR, NodeAddr<BlockNode*> PredB,
DHexagonHardwareLoops.cpp1879 MachineBasicBlock *PredB = PN->getOperand(i+1).getMBB(); in createPreheaderForLoop() local
1880 if (PredB == Latch) in createPreheaderForLoop()
1886 NewPN->addOperand(MachineOperand::CreateMBB(PredB)); in createPreheaderForLoop()
1892 MachineBasicBlock *PredB = PN->getOperand(i+1).getMBB(); in createPreheaderForLoop() local
1893 if (PredB != Latch) { in createPreheaderForLoop()
DRDFGraph.cpp878 RegisterRef RR, NodeAddr<BlockNode*> PredB, uint16_t Flags) { in newPhiUse() argument
882 PUA.Addr->setPredecessor(PredB.Id); in newPhiUse()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp210 void mergeBlocks(MachineBasicBlock *PredB, MachineBasicBlock *SuccB);
1010 void HexagonEarlyIfConversion::mergeBlocks(MachineBasicBlock *PredB, in mergeBlocks() argument
1012 LLVM_DEBUG(dbgs() << "Merging blocks " << PrintMB(PredB) << " and " in mergeBlocks()
1016 HII->removeBranch(*PredB); in mergeBlocks()
1017 PredB->removeSuccessor(SuccB); in mergeBlocks()
1018 PredB->splice(PredB->end(), SuccB, SuccB->begin(), SuccB->end()); in mergeBlocks()
1019 PredB->transferSuccessorsAndUpdatePHIs(SuccB); in mergeBlocks()
1023 PredB->updateTerminator(OldLayoutSuccessor); in mergeBlocks()
DHexagonHardwareLoops.cpp1917 MachineBasicBlock *PredB = PN->getOperand(i+1).getMBB(); in createPreheaderForLoop() local
1918 if (PredB == Latch) in createPreheaderForLoop()
1924 NewPN->addOperand(MachineOperand::CreateMBB(PredB)); in createPreheaderForLoop()
1930 MachineBasicBlock *PredB = PN->getOperand(i+1).getMBB(); in createPreheaderForLoop() local
1931 if (PredB != Latch) { in createPreheaderForLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp210 void mergeBlocks(MachineBasicBlock *PredB, MachineBasicBlock *SuccB);
1010 void HexagonEarlyIfConversion::mergeBlocks(MachineBasicBlock *PredB, in mergeBlocks() argument
1012 LLVM_DEBUG(dbgs() << "Merging blocks " << PrintMB(PredB) << " and " in mergeBlocks()
1016 HII->removeBranch(*PredB); in mergeBlocks()
1017 PredB->removeSuccessor(SuccB); in mergeBlocks()
1018 PredB->splice(PredB->end(), SuccB, SuccB->begin(), SuccB->end()); in mergeBlocks()
1019 PredB->transferSuccessorsAndUpdatePHIs(SuccB); in mergeBlocks()
1022 PredB->updateTerminator(); in mergeBlocks()
DRDFGraph.h482 NodeId PredB; // Id of the predecessor block for a phi use. member
582 return Ref.PhiU.PredB; in getPredecessor()
586 Ref.PhiU.PredB = B; in setPredecessor()
827 RegisterRef RR, NodeAddr<BlockNode*> PredB,
DHexagonHardwareLoops.cpp1917 MachineBasicBlock *PredB = PN->getOperand(i+1).getMBB(); in createPreheaderForLoop() local
1918 if (PredB == Latch) in createPreheaderForLoop()
1924 NewPN->addOperand(MachineOperand::CreateMBB(PredB)); in createPreheaderForLoop()
1930 MachineBasicBlock *PredB = PN->getOperand(i+1).getMBB(); in createPreheaderForLoop() local
1931 if (PredB != Latch) { in createPreheaderForLoop()
DRDFGraph.cpp814 RegisterRef RR, NodeAddr<BlockNode*> PredB, uint16_t Flags) { in newPhiUse() argument
818 PUA.Addr->setPredecessor(PredB.Id); in newPhiUse()
/external/llvm-project/llvm/test/Transforms/FixIrreducible/
Dbasic.ll73 define i32 @multiple_predecessors(i1 %PredEntry, i1 %PredA, i1 %PredB, i1 %PredC, i1 %PredD, i32 %X…
105 br i1 %PredB, label %D, label %C
121 define i32 @separate_predecessors(i1 %PredEntry, i1 %PredA, i1 %PredB, i1 %PredC, i1 %PredD, i32 %X…
221 define i32 @hidden_nodes(i1 %PredEntry, i1 %PredA, i1 %PredB, i1 %PredC, i1 %PredD, i32 %X, i32 %Y)…
/external/llvm-project/llvm/include/llvm/CodeGen/
DRDFGraph.h482 NodeId PredB; // Id of the predecessor block for a phi use. member
582 return Ref.PhiU.PredB; in getPredecessor()
586 Ref.PhiU.PredB = B; in setPredecessor()
823 RegisterRef RR, NodeAddr<BlockNode*> PredB,
/external/llvm-project/llvm/lib/CodeGen/
DMachinePipeliner.cpp401 MachineBasicBlock &PredB = *PI.getOperand(i+1).getMBB(); in preprocessPhiNodes() local
402 MachineBasicBlock::iterator At = PredB.getFirstTerminator(); in preprocessPhiNodes()
403 const DebugLoc &DL = PredB.findDebugLoc(At); in preprocessPhiNodes()
404 auto Copy = BuildMI(PredB, At, DL, TII->get(TargetOpcode::COPY), NewReg) in preprocessPhiNodes()
DRDFGraph.cpp816 RegisterRef RR, NodeAddr<BlockNode*> PredB, uint16_t Flags) { in newPhiUse() argument
820 PUA.Addr->setPredecessor(PredB.Id); in newPhiUse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp365 MachineBasicBlock &PredB = *PI.getOperand(i+1).getMBB(); in preprocessPhiNodes() local
366 MachineBasicBlock::iterator At = PredB.getFirstTerminator(); in preprocessPhiNodes()
367 const DebugLoc &DL = PredB.findDebugLoc(At); in preprocessPhiNodes()
368 auto Copy = BuildMI(PredB, At, DL, TII->get(TargetOpcode::COPY), NewReg) in preprocessPhiNodes()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2687 ICmpInst::Predicate PredB; in matchThreeWayIntCompare() local
2689 if (!match(UnequalVal, m_Select(m_ICmp(PredB, m_Value(LHS2), m_Value(RHS2)), in matchThreeWayIntCompare()
2697 PredB = ICmpInst::getSwappedPredicate(PredB); in matchThreeWayIntCompare()
2702 if (PredB == ICmpInst::ICMP_SGT && isa<Constant>(RHS2)) { in matchThreeWayIntCompare()
2706 PredB, cast<Constant>(RHS2)); in matchThreeWayIntCompare()
2713 PredB = ICmpInst::ICMP_SLT; in matchThreeWayIntCompare()
2715 return PredB == ICmpInst::ICMP_SLT && RHS == RHS2; in matchThreeWayIntCompare()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp2644 ICmpInst::Predicate PredB; in matchThreeWayIntCompare() local
2646 if (!match(UnequalVal, m_Select(m_ICmp(PredB, m_Value(LHS2), m_Value(RHS2)), in matchThreeWayIntCompare()
2654 PredB = ICmpInst::getSwappedPredicate(PredB); in matchThreeWayIntCompare()
2659 if (PredB == ICmpInst::ICMP_SGT && isa<Constant>(RHS2)) { in matchThreeWayIntCompare()
2662 getFlippedStrictnessPredicateAndConstant(PredB, cast<Constant>(RHS2)); in matchThreeWayIntCompare()
2669 PredB = ICmpInst::ICMP_SLT; in matchThreeWayIntCompare()
2671 return PredB == ICmpInst::ICMP_SLT && RHS == RHS2; in matchThreeWayIntCompare()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DSLPVectorizer.cpp7041 CmpInst::Predicate PredA, PredB; in tryToReduce() local
7043 match(B, m_Cmp(PredB, m_Value(), m_Value()))) { in tryToReduce()
7044 return PredCountMap[PredA] > PredCountMap[PredB]; in tryToReduce()