Home
last modified time | relevance | path

Searched refs:BranchBB (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/llvm/lib/CodeGen/
DBranchRelaxation.cpp446 MachineBasicBlock *BranchBB = MBB; in fixupUnconditionalBranch() local
451 BranchBB = createNewBlockAfter(*MBB); in fixupUnconditionalBranch()
456 BranchBB->addLiveIn(LiveIn); in fixupUnconditionalBranch()
459 BranchBB->sortUniqueLiveIns(); in fixupUnconditionalBranch()
460 BranchBB->addSuccessor(DestBB); in fixupUnconditionalBranch()
461 MBB->replaceSuccessor(DestBB, BranchBB); in fixupUnconditionalBranch()
466 BlockInfo[BranchBB->getNumber()].Size += TII->insertIndirectBranch( in fixupUnconditionalBranch()
467 *BranchBB, *DestBB, DL, DestOffset - SrcOffset, RS.get()); in fixupUnconditionalBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchRelaxation.cpp452 MachineBasicBlock *BranchBB = MBB; in fixupUnconditionalBranch() local
457 BranchBB = createNewBlockAfter(*MBB); in fixupUnconditionalBranch()
462 BranchBB->addLiveIn(LiveIn); in fixupUnconditionalBranch()
465 BranchBB->sortUniqueLiveIns(); in fixupUnconditionalBranch()
466 BranchBB->addSuccessor(DestBB); in fixupUnconditionalBranch()
467 MBB->replaceSuccessor(DestBB, BranchBB); in fixupUnconditionalBranch()
472 BlockInfo[BranchBB->getNumber()].Size += TII->insertIndirectBranch( in fixupUnconditionalBranch()
473 *BranchBB, *DestBB, DL, DestOffset - SrcOffset, RS.get()); in fixupUnconditionalBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp392 void PredicateInfo::processBranch(BranchInst *BI, BasicBlock *BranchBB, in processBranch() argument
405 if (Succ == BranchBB) in processBranch()
413 new PredicateBranch(Op, BranchBB, Succ, Cond, TakenEdge); in processBranch()
416 EdgeUsesOnly.insert({BranchBB, Succ}); in processBranch()
462 void PredicateInfo::processSwitch(SwitchInst *SI, BasicBlock *BranchBB, in processSwitch() argument
483 EdgeUsesOnly.insert({BranchBB, TargetBlock}); in processSwitch()
495 BasicBlock *BranchBB = DTN->getBlock(); in buildPredicateInfo() local
496 if (auto *BI = dyn_cast<BranchInst>(BranchBB->getTerminator())) { in buildPredicateInfo()
502 processBranch(BI, BranchBB, OpsToRename); in buildPredicateInfo()
503 } else if (auto *SI = dyn_cast<SwitchInst>(BranchBB->getTerminator())) { in buildPredicateInfo()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp442 BranchInst *BI, BasicBlock *BranchBB, in processBranch() argument
455 if (Succ == BranchBB) in processBranch()
463 new PredicateBranch(Op, BranchBB, Succ, Cond, TakenEdge); in processBranch()
466 EdgeUsesOnly.insert({BranchBB, Succ}); in processBranch()
513 SwitchInst *SI, BasicBlock *BranchBB, in processSwitch() argument
534 EdgeUsesOnly.insert({BranchBB, TargetBlock}); in processSwitch()
546 BasicBlock *BranchBB = DTN->getBlock(); in buildPredicateInfo() local
547 if (auto *BI = dyn_cast<BranchInst>(BranchBB->getTerminator())) { in buildPredicateInfo()
553 processBranch(BI, BranchBB, OpsToRename); in buildPredicateInfo()
554 } else if (auto *SI = dyn_cast<SwitchInst>(BranchBB->getTerminator())) { in buildPredicateInfo()
[all …]
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h150 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, in PredicateBranch() argument
152 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h166 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, in PredicateBranch() argument
168 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
/external/llvm-project/clang/lib/CodeGen/
DCGCleanup.cpp396 llvm::BasicBlock *BranchBB = Fixup.OptimisticBranchBlock; in ResolveBranchFixups() local
397 if (!BranchBB) in ResolveBranchFixups()
401 if (!ModifiedOptimisticBlocks.insert(BranchBB).second) in ResolveBranchFixups()
404 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); in ResolveBranchFixups()
/external/clang/lib/CodeGen/
DCGCleanup.cpp402 llvm::BasicBlock *BranchBB = Fixup.OptimisticBranchBlock; in ResolveBranchFixups() local
403 if (!BranchBB) in ResolveBranchFixups()
407 if (!ModifiedOptimisticBlocks.insert(BranchBB).second) in ResolveBranchFixups()
410 llvm::SwitchInst *Switch = TransitionToCleanupSwitch(*this, BranchBB); in ResolveBranchFixups()
/external/llvm/include/llvm/CodeGen/
DFastISel.h459 void finishCondBranch(const BasicBlock *BranchBB, MachineBasicBlock *TrueMBB,
/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/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1458 void FastISel::finishCondBranch(const BasicBlock *BranchBB, in finishCondBranch() argument
1467 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1691 void FastISel::finishCondBranch(const BasicBlock *BranchBB, in finishCondBranch() argument
1700 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1758 void FastISel::finishCondBranch(const BasicBlock *BranchBB, in finishCondBranch() argument
1767 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()