Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DBranchRelaxation.cpp454 MachineBasicBlock *BranchBB = MBB; in fixupUnconditionalBranch() local
459 BranchBB = createNewBlockAfter(*MBB); in fixupUnconditionalBranch()
464 BranchBB->addLiveIn(LiveIn); in fixupUnconditionalBranch()
467 BranchBB->sortUniqueLiveIns(); in fixupUnconditionalBranch()
468 BranchBB->addSuccessor(DestBB); in fixupUnconditionalBranch()
469 MBB->replaceSuccessor(DestBB, BranchBB); in fixupUnconditionalBranch()
474 BlockInfo[BranchBB->getNumber()].Size += TII->insertIndirectBranch( in fixupUnconditionalBranch()
475 *BranchBB, *DestBB, DL, DestOffset - SrcOffset, RS.get()); in fixupUnconditionalBranch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DPredicateInfo.cpp361 void PredicateInfo::processBranch(BranchInst *BI, BasicBlock *BranchBB, in processBranch() argument
374 if (Succ == BranchBB) in processBranch()
382 new PredicateBranch(Op, BranchBB, Succ, Cond, TakenEdge); in processBranch()
385 EdgeUsesOnly.insert({BranchBB, Succ}); in processBranch()
431 void PredicateInfo::processSwitch(SwitchInst *SI, BasicBlock *BranchBB, in processSwitch() argument
452 EdgeUsesOnly.insert({BranchBB, TargetBlock}); in processSwitch()
464 BasicBlock *BranchBB = DTN->getBlock(); in buildPredicateInfo() local
465 if (auto *BI = dyn_cast<BranchInst>(BranchBB->getTerminator())) { in buildPredicateInfo()
471 processBranch(BI, BranchBB, OpsToRename); in buildPredicateInfo()
472 } else if (auto *SI = dyn_cast<SwitchInst>(BranchBB->getTerminator())) { in buildPredicateInfo()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DPredicateInfo.h167 PredicateBranch(Value *Op, BasicBlock *BranchBB, BasicBlock *SplitBB, in PredicateBranch() argument
169 : PredicateWithEdge(PT_Branch, Op, BranchBB, SplitBB, Condition), in PredicateBranch()
/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-7.0/llvm/include/llvm/CodeGen/
DFastISel.h460 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-7.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1663 void FastISel::finishCondBranch(const BasicBlock *BranchBB, in finishCondBranch() argument
1672 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()