Home
last modified time | relevance | path

Searched refs:BB1 (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp237 bool llvm::isControlFlowEquivalent(const BasicBlock &BB0, const BasicBlock &BB1, in isControlFlowEquivalent() argument
240 if (&BB0 == &BB1) in isControlFlowEquivalent()
243 if ((DT.dominates(&BB0, &BB1) && PDT.dominates(&BB1, &BB0)) || in isControlFlowEquivalent()
244 (PDT.dominates(&BB0, &BB1) && DT.dominates(&BB1, &BB0))) in isControlFlowEquivalent()
249 const BasicBlock *CommonDominator = DT.findNearestCommonDominator(&BB0, &BB1); in isControlFlowEquivalent()
251 << " and " << BB1.getName() << " is " in isControlFlowEquivalent()
261 ControlConditions::collectControlConditions(BB1, *CommonDominator, DT, in isControlFlowEquivalent()
486 const BasicBlock *BB1 = I1->getParent(); in isReachedBefore() local
487 if (BB0 == BB1) in isReachedBefore()
490 return nonStrictlyPostDominate(BB1, BB0, DT, PDT); in isReachedBefore()
H A DIntegerDivision.cpp205 BasicBlock *BB1 = BasicBlock::Create(Builder.getContext(), in generateUnsignedDivisionCode() local
242 Builder.CreateCondBr(EarlyRet, End, BB1); in generateUnsignedDivisionCode()
250 Builder.SetInsertPoint(BB1); in generateUnsignedDivisionCode()
336 Carry_2->addIncoming(Zero, BB1); in generateUnsignedDivisionCode()
339 Q_3->addIncoming(Q, BB1); in generateUnsignedDivisionCode()
H A DSimplifyCFG.cpp1424 static bool isSafeToHoistInvoke(BasicBlock *BB1, BasicBlock *BB2, in isSafeToHoistInvoke() argument
1426 for (BasicBlock *Succ : successors(BB1)) { in isSafeToHoistInvoke()
1428 Value *BB1V = PN.getIncomingValueForBlock(BB1); in isSafeToHoistInvoke()
1786 BasicBlock *BB1 = I1->getParent(); in hoistSuccIdenticalTerminatorToSwitchOrIf() local
1801 if (isa<InvokeInst>(I1) && (!BI || !isSafeToHoistInvoke(BB1, BB2, I1, I2))) in hoistSuccIdenticalTerminatorToSwitchOrIf()
1808 for (BasicBlock *Succ : successors(BB1)) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
1810 Value *BB1V = PN.getIncomingValueForBlock(BB1); in hoistSuccIdenticalTerminatorToSwitchOrIf()
1859 for (BasicBlock *Succ : successors(BB1)) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
1861 Value *BB1V = PN.getIncomingValueForBlock(BB1); in hoistSuccIdenticalTerminatorToSwitchOrIf()
1882 if (PN.getIncomingBlock(i) == BB1 || PN.getIncomingBlock(i) == BB2) in hoistSuccIdenticalTerminatorToSwitchOrIf()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DPostDominators.cpp58 const BasicBlock *BB1 = I1->getParent(); in dominates() local
61 if (BB1 != BB2) in dominates()
62 return Base::dominates(BB1, BB2); in dominates()
69 BasicBlock::const_iterator I = BB1->begin(); in dominates()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseImpl.h243 void findEquivalencesFor(BasicBlockT *BB1,
605 BasicBlockT *BB1, ArrayRef<BasicBlockT *> Descendants,
607 const BasicBlockT *EC = EquivalenceClass[BB1];
610 bool IsDomParent = DomTree->dominates(BB2, BB1);
611 bool IsInSameLoop = LI->getLoopFor(BB1) == LI->getLoopFor(BB2);
612 if (BB1 != BB2 && IsDomParent && IsInSameLoop) {
653 BasicBlockT *BB1 = &BB;
656 if (EquivalenceClass.count(BB1)) {
657 LLVM_DEBUG(printBlockEquivalence(dbgs(), BB1));
662 EquivalenceClass[BB1] = BB1;
[all …]
H A DCodeMoverUtils.h35 /// Return true if \p BB0 and \p BB1 are control flow equivalent.
38 bool isControlFlowEquivalent(const BasicBlock &BB0, const BasicBlock &BB1,
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDominators.cpp346 BasicBlock *BB1 = I1->getParent(); in findNearestCommonDominator() local
348 if (BB1 == BB2) in findNearestCommonDominator()
352 if (!isReachableFromEntry(BB1)) in findNearestCommonDominator()
354 BasicBlock *DomBB = findNearestCommonDominator(BB1, BB2); in findNearestCommonDominator()
355 if (BB1 == DomBB) in findNearestCommonDominator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp183 StoreInst *MergedLoadStoreMotion::canSinkFromBlock(BasicBlock *BB1, in canSinkFromBlock() argument
187 for (Instruction &Inst : reverse(*BB1)) { in canSinkFromBlock()
196 !isStoreSinkBarrierInRange(*Store1->getNextNode(), BB1->back(), Loc1) && in canSinkFromBlock()
H A DGVNSink.cpp264 auto ComesBefore = [BlockOrder](const BasicBlock *BB1, in verifyModelledPHI()
266 return BlockOrder.lookup(BB1) < BlockOrder.lookup(BB2); in verifyModelledPHI()
823 auto ComesBefore = [this](const BasicBlock *BB1, const BasicBlock *BB2) { in sinkBB() argument
824 return RPOTOrder.lookup(BB1) < RPOTOrder.lookup(BB2); in sinkBB()
H A DConstantHoisting.cpp343 BasicBlock *BB, *BB1, *BB2; in findConstantInsertionPoint() local
344 BB1 = BBs.pop_back_val(); in findConstantInsertionPoint()
346 BB = DT->findNearestCommonDominator(BB1, BB2); in findConstantInsertionPoint()
H A DLoopInterchange.cpp1399 static void swapBBContents(BasicBlock *BB1, BasicBlock *BB2) { in swapBBContents() argument
1402 auto Iter = map_range(*BB1, [](Instruction &I) { return &I; }); in swapBBContents()
1408 moveBBContents(BB2, BB1->getTerminator()); in swapBBContents()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMCInstLower.h43 MCOperand createSub(MachineBasicBlock *BB1, MachineBasicBlock *BB2,
H A DMipsMCInstLower.cpp203 MCOperand MipsMCInstLower::createSub(MachineBasicBlock *BB1,
206 const MCSymbolRefExpr *Sym1 = MCSymbolRefExpr::create(BB1->getSymbol(), *Ctx); in createSub()
204 createSub(MachineBasicBlock * BB1,MachineBasicBlock * BB2,MipsMCExpr::MipsExprKind Kind) const createSub() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h66 // Union BB1 and BB2 into the same group and return true. in unionGroups()
67 // Returns false if BB1 and BB2 are already in the same group. in unionGroups()
68 bool unionGroups(const BasicBlock *BB1, const BasicBlock *BB2) { in unionGroups()
69 BBInfo *BB1G = findAndCompressGroup(&getBBInfo(BB1)); in unionGroups()
63 unionGroups(const BasicBlock * BB1,const BasicBlock * BB2) unionGroups() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCSE.cpp854 auto BB = MBB->getBasicBlock(), BB1 = MBB1->getBasicBlock(); in ProcessBlockPRE() local
855 if (BB != nullptr && BB1 != nullptr && in ProcessBlockPRE()
856 (isPotentiallyReachable(BB1, BB) || in ProcessBlockPRE()
857 isPotentiallyReachable(BB, BB1))) { in ProcessBlockPRE()
H A DModuloSchedule.cpp370 MachineBasicBlock *NewBB, MachineBasicBlock *BB1, MachineBasicBlock *BB2, in generateExistingPhis() argument
558 NewPhi.addReg(PhiOp1).addMBB(BB1); in generateExistingPhis()
608 MachineBasicBlock *NewBB, MachineBasicBlock *BB1, MachineBasicBlock *BB2, in generatePhis() argument
697 NewPhi.addReg(PhiOp1).addMBB(BB1); in generatePhis()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DModuloSchedule.h198 void generateExistingPhis(MachineBasicBlock *NewBB, MachineBasicBlock *BB1,
203 void generatePhis(MachineBasicBlock *NewBB, MachineBasicBlock *BB1,
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfoImpl.h650 bool compareVectors(std::vector<T> &BB1, std::vector<T> &BB2) { in compareVectors() argument
651 llvm::sort(BB1); in compareVectors()
653 return BB1 == BB2; in compareVectors()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1466 static unsigned getSrcVReg(unsigned Reg, MachineBasicBlock *BB1, in getSrcVReg() argument
1472 if (BB1 && Inst->getOpcode() == PPC::PHI && Inst->getParent() == BB2) { in getSrcVReg()
1473 NextReg = getIncomingRegForBlock(Inst, BB1); in getSrcVReg()
1475 BB1 = nullptr; in getSrcVReg()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp961 til::BasicBlock *BB1 = *It ? lookupBlock(*It) : nullptr; in exitCFGBlockBody() local
965 auto *Tm = new (Arena) til::Branch(C, BB1, BB2); in exitCFGBlockBody()
/freebsd/share/ctypedef/
H A Dzh_TW.Big5.src1540 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
3856 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
6132 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
H A Dja_JP.eucJP.src2829 <CJK_UNIFIED_IDEOGRAPH-5BB1>;/
5390 <CJK_UNIFIED_IDEOGRAPH-6BB1>;/
7715 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
12315 <CJK_UNIFIED_IDEOGRAPH-9BB1>;/
15876 <CJK_UNIFIED_IDEOGRAPH-5BB1>;/
18437 <CJK_UNIFIED_IDEOGRAPH-6BB1>;/
20762 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
25362 <CJK_UNIFIED_IDEOGRAPH-9BB1>;/
28981 <CJK_UNIFIED_IDEOGRAPH-5BB1>;/
31542 <CJK_UNIFIED_IDEOGRAPH-6BB1>;/
[all …]
H A Dzh_CN.eucCN.src2920 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
6305 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
9912 <CJK_UNIFIED_IDEOGRAPH-7BB1>;/
/freebsd/tools/tools/locale/etc/final-maps/
H A Dwidths.txt4816 <CJK_UNIFIED_IDEOGRAPH-3BB1> 2
8912 <CJK_UNIFIED_IDEOGRAPH-4BB1> 2
12944 <CJK_UNIFIED_IDEOGRAPH-5BB1> 2
17040 <CJK_UNIFIED_IDEOGRAPH-6BB1> 2
21136 <CJK_UNIFIED_IDEOGRAPH-7BB1> 2
25232 <CJK_UNIFIED_IDEOGRAPH-8BB1> 2
29328 <CJK_UNIFIED_IDEOGRAPH-9BB1> 2
47270 <TANGUT_IDEOGRAPH-17BB1> 2
51358 <KHITAN_SMALL_SCRIPT_CHARACTER-18BB1> 2
56844 <CJK_UNIFIED_IDEOGRAPH-20BB1> 2
[all …]
/freebsd/share/colldef_unicode/
H A Dzh_TW.UTF-8.src3161 <CJK_UNIFIED_IDEOGRAPH-7BB1> "<XFBB8><X4800>";<X05>;"<X05><XC0>";<CJK_UNIFIED_IDEOGRAPH-7BB1>

12