Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp279 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
281 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
283 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
286 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
294 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
949 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI); in ifPatternMatch() local
950 NumMatch += serialPatternMatch(TrueMBB); in ifPatternMatch()
951 NumMatch += ifPatternMatch(TrueMBB); in ifPatternMatch()
958 assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty()); in ifPatternMatch()
960 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch()
[all …]
DSIRemoveShortExecBranches.cpp41 MachineBasicBlock *&TrueMBB,
68 MachineBasicBlock &SrcMBB, MachineBasicBlock *&TrueMBB, in getBlockDestinations() argument
70 if (TII->analyzeBranch(SrcMBB, TrueMBB, FalseMBB, Cond)) in getBlockDestinations()
119 MachineBasicBlock *TrueMBB = nullptr; in removeExeczBranch() local
123 if (!getBlockDestinations(SrcMBB, TrueMBB, FalseMBB, Cond)) in removeExeczBranch()
127 if ((SrcMBB.getNumber() >= TrueMBB->getNumber()) || in removeExeczBranch()
128 mustRetainExeczBranch(*FalseMBB, *TrueMBB)) in removeExeczBranch()
133 SrcMBB.removeSuccessor(TrueMBB); in removeExeczBranch()
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp281 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
283 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
285 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
288 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
296 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
974 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI); in ifPatternMatch() local
975 NumMatch += serialPatternMatch(TrueMBB); in ifPatternMatch()
976 NumMatch += ifPatternMatch(TrueMBB); in ifPatternMatch()
983 assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty()); in ifPatternMatch()
985 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp279 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
281 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
283 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
286 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
294 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
949 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI); in ifPatternMatch() local
950 NumMatch += serialPatternMatch(TrueMBB); in ifPatternMatch()
951 NumMatch += ifPatternMatch(TrueMBB); in ifPatternMatch()
958 assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty()); in ifPatternMatch()
960 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch()
[all …]
/external/llvm/lib/Target/X86/
DX86FastISel.cpp1559 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)]; in X86SelectBranch() local
1575 case CmpInst::FCMP_TRUE: fastEmitBranch(TrueMBB, DbgLoc); return true; in X86SelectBranch()
1592 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) { in X86SelectBranch()
1593 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
1606 std::swap(TrueMBB, FalseMBB); // fall-through in X86SelectBranch()
1627 .addMBB(TrueMBB); in X86SelectBranch()
1633 .addMBB(TrueMBB); in X86SelectBranch()
1636 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch()
1660 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) { in X86SelectBranch()
1661 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FastISel.cpp1629 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)]; in X86SelectBranch() local
1645 case CmpInst::FCMP_TRUE: fastEmitBranch(TrueMBB, DbgLoc); return true; in X86SelectBranch()
1662 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) { in X86SelectBranch()
1663 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
1676 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
1696 .addMBB(TrueMBB).addImm(CC); in X86SelectBranch()
1702 .addMBB(TrueMBB).addImm(X86::COND_P); in X86SelectBranch()
1705 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch()
1730 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) { in X86SelectBranch()
1731 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
[all …]
DX86ISelLowering.cpp30722 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB, in createPHIsForCMOVsInSinkBB() argument
30724 MachineFunction *MF = TrueMBB->getParent(); in createPHIsForCMOVsInSinkBB()
30763 .addMBB(TrueMBB); in createPHIsForCMOVsInSinkBB()
/external/llvm-project/llvm/lib/Target/X86/
DX86FastISel.cpp1645 MachineBasicBlock *TrueMBB = FuncInfo.MBBMap[BI->getSuccessor(0)]; in X86SelectBranch() local
1661 case CmpInst::FCMP_TRUE: fastEmitBranch(TrueMBB, DbgLoc); return true; in X86SelectBranch()
1678 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) { in X86SelectBranch()
1679 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
1692 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
1712 .addMBB(TrueMBB).addImm(CC); in X86SelectBranch()
1718 .addMBB(TrueMBB).addImm(X86::COND_P); in X86SelectBranch()
1721 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch()
1746 if (FuncInfo.MBB->isLayoutSuccessor(TrueMBB)) { in X86SelectBranch()
1747 std::swap(TrueMBB, FalseMBB); in X86SelectBranch()
[all …]
DX86ISelLowering.cpp31930 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB, in createPHIsForCMOVsInSinkBB() argument
31932 MachineFunction *MF = TrueMBB->getParent(); in createPHIsForCMOVsInSinkBB()
31971 .addMBB(TrueMBB); in createPHIsForCMOVsInSinkBB()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp369 MachineBasicBlock *TrueMBB = F->CreateMachineBasicBlock(LLVMBB); in LowerFPToInt() local
375 F->insert(It, TrueMBB); in LowerFPToInt()
382 BB->addSuccessor(TrueMBB); in LowerFPToInt()
384 TrueMBB->addSuccessor(DoneMBB); in LowerFPToInt()
424 BuildMI(BB, DL, TII.get(WebAssembly::BR_IF)).addMBB(TrueMBB).addReg(EqzReg); in LowerFPToInt()
427 BuildMI(TrueMBB, DL, TII.get(IConst), TrueReg).addImm(Substitute); in LowerFPToInt()
432 .addMBB(TrueMBB); in LowerFPToInt()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyISelLowering.cpp359 MachineBasicBlock *TrueMBB = F->CreateMachineBasicBlock(LLVMBB); in LowerFPToInt() local
365 F->insert(It, TrueMBB); in LowerFPToInt()
372 BB->addSuccessor(TrueMBB); in LowerFPToInt()
374 TrueMBB->addSuccessor(DoneMBB); in LowerFPToInt()
414 BuildMI(BB, DL, TII.get(WebAssembly::BR_IF)).addMBB(TrueMBB).addReg(EqzReg); in LowerFPToInt()
417 BuildMI(TrueMBB, DL, TII.get(IConst), TrueReg).addImm(Substitute); in LowerFPToInt()
422 .addMBB(TrueMBB); in LowerFPToInt()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1459 MachineBasicBlock *TrueMBB, in finishCondBranch() argument
1464 if (TrueMBB != FalseMBB) { in finishCondBranch()
1467 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
1468 FuncInfo.MBB->addSuccessor(TrueMBB, BranchProbability); in finishCondBranch()
1470 FuncInfo.MBB->addSuccessorWithoutProb(TrueMBB); in finishCondBranch()
/external/llvm/include/llvm/CodeGen/
DFastISel.h459 void finishCondBranch(const BasicBlock *BranchBB, MachineBasicBlock *TrueMBB,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1692 MachineBasicBlock *TrueMBB, in finishCondBranch() argument
1697 if (TrueMBB != FalseMBB) { in finishCondBranch()
1700 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
1701 FuncInfo.MBB->addSuccessor(TrueMBB, BranchProbability); in finishCondBranch()
1703 FuncInfo.MBB->addSuccessorWithoutProb(TrueMBB); in finishCondBranch()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1759 MachineBasicBlock *TrueMBB, in finishCondBranch() argument
1764 if (TrueMBB != FalseMBB) { in finishCondBranch()
1767 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
1768 FuncInfo.MBB->addSuccessor(TrueMBB, BranchProbability); in finishCondBranch()
1770 FuncInfo.MBB->addSuccessorWithoutProb(TrueMBB); in finishCondBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFastISel.h459 void finishCondBranch(const BasicBlock *BranchBB, MachineBasicBlock *TrueMBB,
/external/llvm-project/llvm/include/llvm/CodeGen/
DFastISel.h458 void finishCondBranch(const BasicBlock *BranchBB, MachineBasicBlock *TrueMBB,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp6792 MachineBasicBlock *TrueMBB, in createPHIsForSelects() argument
6795 MachineFunction *MF = TrueMBB->getParent(); in createPHIsForSelects()
6831 .addReg(TrueReg).addMBB(TrueMBB) in createPHIsForSelects()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp7088 MachineBasicBlock *TrueMBB, in createPHIsForSelects() argument
7091 MachineFunction *MF = TrueMBB->getParent(); in createPHIsForSelects()
7127 .addReg(TrueReg).addMBB(TrueMBB) in createPHIsForSelects()