Home
last modified time | relevance | path

Searched refs:FromBB (Results 1 – 18 of 18) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp46 MachineBasicBlock *FromBB = nullptr);
82 MachineBasicBlock *FromBB) { in measureFunction() argument
84 MF->RenumberBlocks(FromBB); in measureFunction()
87 if (FromBB == nullptr) { in measureFunction()
90 Begin = FromBB->getIterator(); in measureFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h529 void spliceDebugInfoEmptyBlock(BasicBlock::iterator ToIt, BasicBlock *FromBB,
537 void spliceDebugInfo(BasicBlock::iterator ToIt, BasicBlock *FromBB,
540 void spliceDebugInfoImpl(BasicBlock::iterator ToIt, BasicBlock *FromBB,
621 void splice(BasicBlock::iterator ToIt, BasicBlock *FromBB) { in splice() argument
622 splice(ToIt, FromBB, FromBB->begin(), FromBB->end()); in splice()
627 void splice(BasicBlock::iterator ToIt, BasicBlock *FromBB, in splice() argument
633 splice(ToIt, FromBB, FromIt, FromItNext); in splice()
638 void splice(BasicBlock::iterator ToIt, BasicBlock *FromBB,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeMoverUtils.h56 /// Move instructions, in an order-preserving manner, from \p FromBB to the
58 void moveInstructionsToTheBeginning(BasicBlock &FromBB, BasicBlock &ToBB,
63 /// Move instructions, in an order-preserving manner, from \p FromBB to the end
65 void moveInstructionsToTheEnd(BasicBlock &FromBB, BasicBlock &ToBB,
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLazyValueInfo.h69 BasicBlock *FromBB, BasicBlock *ToBB,
103 Constant *getConstantOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB,
109 ConstantRange getConstantRangeOnEdge(Value *V, BasicBlock *FromBB,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp424 void llvm::moveInstructionsToTheBeginning(BasicBlock &FromBB, BasicBlock &ToBB, in moveInstructionsToTheBeginning() argument
429 llvm::make_early_inc_range(llvm::drop_begin(llvm::reverse(FromBB)))) { in moveInstructionsToTheBeginning()
437 void llvm::moveInstructionsToTheEnd(BasicBlock &FromBB, BasicBlock &ToBB, in moveInstructionsToTheEnd() argument
442 while (FromBB.size() > 1) { in moveInstructionsToTheEnd()
443 Instruction &I = FromBB.front(); in moveInstructionsToTheEnd()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineDominators.h79 MachineBasicBlock *FromBB; member
259 void recordSplitCriticalEdge(MachineBasicBlock *FromBB, in recordSplitCriticalEdge() argument
266 CriticalEdgesToSplit.push_back({FromBB, ToBB, NewBB}); in recordSplitCriticalEdge()
H A DTailDuplicator.h111 void updateSuccessorsPHIs(MachineBasicBlock *FromBB, bool isDead,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyValueInfo.cpp478 ValueLatticeElement getValueOnEdge(Value *V, BasicBlock *FromBB,
1564 getValueOnEdge(Value *V, BasicBlock *FromBB, BasicBlock *ToBB, in getValueOnEdge() argument
1567 << FromBB->getName() << "' to '" << ToBB->getName() in getValueOnEdge()
1571 getEdgeValue(V, FromBB, ToBB, CxtI); in getValueOnEdge()
1577 Result = getEdgeValue(V, FromBB, ToBB, CxtI); in getValueOnEdge()
1760 Constant *LazyValueInfo::getConstantOnEdge(Value *V, BasicBlock *FromBB, in getConstantOnEdge() argument
1763 Module *M = FromBB->getModule(); in getConstantOnEdge()
1765 getOrCreateImpl(M).getValueOnEdge(V, FromBB, ToBB, CxtI); in getConstantOnEdge()
1778 BasicBlock *FromBB, in getConstantRangeOnEdge() argument
1781 Module *M = FromBB->getModule(); in getConstantRangeOnEdge()
[all …]
H A DMemoryDependenceAnalysis.cpp875 BasicBlock *FromBB = QueryInst->getParent(); in getNonLocalPointerDependency() local
876 assert(FromBB); in getNonLocalPointerDependency()
909 Result.push_back(NonLocalDepResult(FromBB, MemDepResult::getUnknown(), in getNonLocalPointerDependency()
913 const DataLayout &DL = FromBB->getDataLayout(); in getNonLocalPointerDependency()
921 if (getNonLocalPointerDepFromBB(QueryInst, Address, Loc, isLoad, FromBB, in getNonLocalPointerDependency()
925 Result.push_back(NonLocalDepResult(FromBB, MemDepResult::getUnknown(), in getNonLocalPointerDependency()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineSink.cpp960 MachineBasicBlock *FromBB, in isLegalToBreakCriticalEdge() argument
964 if (!SplitEdges || FromBB == ToBB || !FromBB->isSuccessor(ToBB)) in isLegalToBreakCriticalEdge()
967 MachineCycle *FromCycle = CI->getCycle(FromBB); in isLegalToBreakCriticalEdge()
1016 if (Pred != FromBB && !DT->dominates(ToBB, Pred)) in isLegalToBreakCriticalEdge()
1024 MachineBasicBlock *FromBB, in PostponeSplitCriticalEdge() argument
1029 if (isWorthBreakingCriticalEdge(MI, FromBB, ToBB, DeferredFromBB)) { in PostponeSplitCriticalEdge()
1035 isLegalToBreakCriticalEdge(MI, FromBB, ToBB, BreakPHIEdge)) { in PostponeSplitCriticalEdge()
1036 ToSplit.insert(std::make_pair(FromBB, ToBB)); in PostponeSplitCriticalEdge()
H A DMachineDominators.cpp179 Edge.NewBB, Edge.FromBB); in applySplitCriticalEdges()
H A DTailDuplicator.cpp485 MachineBasicBlock *FromBB, bool isDead, in updateSuccessorsPHIs() argument
492 MachineInstrBuilder MIB(*FromBB->getParent(), MI); in updateSuccessorsPHIs()
496 if (MO.getMBB() == FromBB) { in updateSuccessorsPHIs()
511 if (MO.getMBB() == FromBB) { in updateSuccessorsPHIs()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp1391 static void moveBBContents(BasicBlock *FromBB, Instruction *InsertBefore) { in moveBBContents() argument
1394 ToBB->splice(InsertBefore->getIterator(), FromBB, FromBB->begin(), in moveBBContents()
1395 FromBB->getTerminator()->getIterator()); in moveBBContents()
H A DGVN.cpp1216 BasicBlock *FromBB = From->getParent(); in findDominatingValue() local
1218 for (BasicBlock *BB = FromBB; BB; BB = BB->getSinglePredecessor()) in findDominatingValue()
1219 for (auto *Inst = BB == FromBB ? From : BB->getTerminator(); in findDominatingValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.h405 bool isExportableFromCurrentBlock(const Value *V, const BasicBlock *FromBB);
H A DSelectionDAGBuilder.cpp2363 const BasicBlock *FromBB) { in isExportableFromCurrentBlock() argument
2368 if (VI->getParent() == FromBB) in isExportableFromCurrentBlock()
2378 if (FromBB->isEntryBlock()) in isExportableFromCurrentBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp3630 const BasicBlock *FromBB = RQI.From->getParent(); in isReachableImpl() local
3632 assert(FromBB->getParent() == ToBB->getParent() && in isReachableImpl()
3637 if (FromBB == ToBB && in isReachableImpl()
3648 const Function *Fn = FromBB->getParent(); in isReachableImpl()
3656 if (ExclusionBlocks.count(FromBB) && in isReachableImpl()
3657 !WillReachInBlock(*RQI.From, *FromBB->getTerminator(), in isReachableImpl()
3671 Worklist.push_back(FromBB); in isReachableImpl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp9236 llvm::BasicBlock *FromBB = MapperCGF.createBasicBlock("omp.type.from"); in emitUserDefinedMapper() local
9270 MapperCGF.Builder.CreateCondBr(IsFrom, FromBB, EndBB); in emitUserDefinedMapper()
9272 MapperCGF.EmitBlock(FromBB); in emitUserDefinedMapper()
9285 CurMapType->addIncoming(FromMapType, FromBB); in emitUserDefinedMapper()