| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | R600MachineCFGStructurizer.cpp | 933 LandBlk = FalseMBB; in ifPatternMatch() 934 FalseMBB = nullptr; in ifPatternMatch() 958 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch() 967 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch() 968 FalseMBB = cloneBlockForPredecessor(FalseMBB, MBB); in ifPatternMatch() 1133 if (FalseMBB) { in showImproveSimpleJumpintoIf() 1135 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf() 1165 && (!FalseMBB || FalseMBB->succ_size() <= 1)); in improveSimpleJumpintoIf() 1181 if (!MigrateFalse && FalseMBB && FalseMBB->pred_size() > 1) in improveSimpleJumpintoIf() 1380 if (FalseMBB) { in mergeIfthenelseBlock() [all …]
|
| H A D | SIPreEmitPeephole.cpp | 42 MachineBasicBlock *&FalseMBB, 297 MachineBasicBlock *&FalseMBB, SmallVectorImpl<MachineOperand> &Cond) { in getBlockDestinations() argument 298 if (TII->analyzeBranch(SrcMBB, TrueMBB, FalseMBB, Cond)) in getBlockDestinations() 301 if (!FalseMBB) in getBlockDestinations() 302 FalseMBB = SrcMBB.getNextNode(); in getBlockDestinations() 344 MachineBasicBlock *FalseMBB = nullptr; in removeExeczBranch() local 347 if (!getBlockDestinations(SrcMBB, TrueMBB, FalseMBB, Cond)) in removeExeczBranch() 352 mustRetainExeczBranch(*FalseMBB, *TrueMBB)) in removeExeczBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 680 MachineBasicBlock *FalseMBB = F->CreateMachineBasicBlock(BB); in convertCmovInstsToBranches() local 682 F->insert(It, FalseMBB); in convertCmovInstsToBranches() 688 FalseMBB->addLiveIn(X86::EFLAGS); in convertCmovInstsToBranches() 698 MBB->addSuccessor(FalseMBB); in convertCmovInstsToBranches() 705 FalseMBB->addSuccessor(SinkMBB); in convertCmovInstsToBranches() 711 MachineBasicBlock::iterator FalseInsertionPoint = FalseMBB->begin(); in convertCmovInstsToBranches() 790 FalseMBB->insert(FalseInsertionPoint, NewMI); in convertCmovInstsToBranches() 846 .addMBB(FalseMBB) in convertCmovInstsToBranches() 862 L->addBasicBlockToLoop(FalseMBB, MLI->getBase()); in convertCmovInstsToBranches()
|
| H A D | X86FastISel.cpp | 1644 MachineBasicBlock *FalseMBB = FuncInfo.MBBMap[BI->getSuccessor(1)]; in X86SelectBranch() local 1658 case CmpInst::FCMP_FALSE: fastEmitBranch(FalseMBB, DbgLoc); return true; in X86SelectBranch() 1677 std::swap(TrueMBB, FalseMBB); in X86SelectBranch() 1690 std::swap(TrueMBB, FalseMBB); in X86SelectBranch() 1719 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch() 1745 std::swap(TrueMBB, FalseMBB); in X86SelectBranch() 1752 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch() 1765 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch() 1789 finishCondBranch(BI->getParent(), TrueMBB, FalseMBB); in X86SelectBranch()
|
| H A D | X86ISelLowering.cpp | 34649 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB, in createPHIsForCMOVsInSinkBB() argument 34688 .addMBB(FalseMBB) in createPHIsForCMOVsInSinkBB() 34936 MachineBasicBlock *FalseMBB = F->CreateMachineBasicBlock(LLVM_BB); in EmitLoweredSelect() local 34940 F->insert(It, FalseMBB); in EmitLoweredSelect() 34948 FalseMBB->addLiveIn(X86::EFLAGS); in EmitLoweredSelect() 34966 ThisMBB->addSuccessor(FalseMBB); in EmitLoweredSelect() 34970 FalseMBB->addSuccessor(SinkMBB); in EmitLoweredSelect() 34981 createPHIsForCMOVsInSinkBB(MIItBegin, MIItEnd, ThisMBB, FalseMBB, SinkMBB); in EmitLoweredSelect()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCBranchCoalescing.cpp | 237 MachineBasicBlock *FalseMBB = nullptr; in canCoalesceBranch() local 239 if (TII->analyzeBranch(*Cand.BranchBlock, Cand.BranchTargetBlock, FalseMBB, in canCoalesceBranch() 282 if (!Cand.BranchTargetBlock || FalseMBB || in canCoalesceBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyISelLowering.cpp | 456 MachineBasicBlock *FalseMBB = F->CreateMachineBasicBlock(LLVMBB); in LowerFPToInt() local 460 F->insert(It, FalseMBB); in LowerFPToInt() 469 BB->addSuccessor(FalseMBB); in LowerFPToInt() 471 FalseMBB->addSuccessor(DoneMBB); in LowerFPToInt() 511 BuildMI(FalseMBB, DL, TII.get(LoweredOpcode), FalseReg).addReg(InReg); in LowerFPToInt() 512 BuildMI(FalseMBB, DL, TII.get(WebAssembly::BR)).addMBB(DoneMBB); in LowerFPToInt() 516 .addMBB(FalseMBB) in LowerFPToInt()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | FastISel.h | 454 MachineBasicBlock *FalseMBB);
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 1583 MachineBasicBlock *FalseMBB) { in finishCondBranch() argument 1587 if (TrueMBB != FalseMBB) { in finishCondBranch() 1596 fastEmitBranch(FalseMBB, DbgLoc); in finishCondBranch()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | x86-cmov-converter.ll | 596 ;; FalseMBB: 600 ;; %v1 = phi[%f1, %FalseMBB], [%t1, %MBB] 601 ;; %v2 = phi[%f1, %FalseMBB], [%f2, %MBB] ; For CMOV with OppCC switch
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 7541 MachineBasicBlock *FalseMBB, in createPHIsForSelects() argument 7580 .addReg(FalseReg).addMBB(FalseMBB); in createPHIsForSelects() 7643 MachineBasicBlock *FalseMBB = SystemZ::emitBlockAfter(StartMBB); in emitSelect() local 7648 FalseMBB->addLiveIn(SystemZ::CC); in emitSelect() 7659 MBB->addSuccessor(FalseMBB); in emitSelect() 7663 MBB = FalseMBB; in emitSelect() 7670 createPHIsForSelects(Selects, StartMBB, FalseMBB, MBB); in emitSelect() 7736 MachineBasicBlock *FalseMBB = SystemZ::emitBlockAfter(StartMBB); in emitCondStore() local 7741 FalseMBB->addLiveIn(SystemZ::CC); in emitCondStore() 7752 MBB->addSuccessor(FalseMBB); in emitCondStore() [all …]
|