Lines Matching defs:FromBB
884 const BinaryBasicBlock *FromBB = BF.getBasicBlockContainingOffset(From);
887 if (!FromBB || !ToBB)
890 // Adjust FromBB if the first LBR is a return from the last instruction in
892 if (From == FromBB->getOffset() && !BF.containsAddress(FirstLBR.From) &&
893 !FromBB->isEntryPoint() && !FromBB->isLandingPad()) {
895 BF.getLayout().getBlock(FromBB->getIndex() - 1);
896 if (PrevBB->getSuccessor(FromBB->getLabel())) {
899 FromBB = PrevBB;
911 if (FromBB == ToBB)
915 BinaryBasicBlock *BB = BF.getLayout().getBlock(FromBB->getIndex());
916 assert(BB == FromBB && "index mismatch");
943 BinaryBasicBlock *FromBB = BF.getBasicBlockContainingOffset(FromOffset);
945 assert(FromBB && ToBB);
946 BinaryBasicBlock::BinaryBranchInfo &BI = FromBB->getBranchInfo(*ToBB);