Lines Matching defs:BB

47   const BasicBlock *BB = I->getParent();
48 auto ItBB = BlockInstRange.find(BB);
93 for (const BasicBlock *BB : depth_first(&F)) {
94 for (const Instruction &I : *BB) {
110 BBMarkerSet[BB][II] = {AllocaNo, IsStart};
120 // * the sets of allocas whose lifetime starts or ends in this BB
122 for (const BasicBlock *BB : depth_first(&F)) {
123 LLVM_DEBUG(dbgs() << " " << Instructions.size() << ": BB " << BB->getName()
129 BlockLiveness.try_emplace(BB, NumAllocas).first->getSecond();
131 auto &BlockMarkerSet = BBMarkerSet[BB];
133 BlockInstRange[BB] = std::make_pair(BBStart, Instructions.size());
142 BBMarkers[BB].push_back({Instructions.size(), M});
158 // Scan the BB to determine the marker order.
159 for (const Instruction &I : *BB) {
170 BlockInstRange[BB] = std::make_pair(BBStart, Instructions.size());
185 for (const BasicBlock *BB : depth_first(&F)) {
186 BlockLifetimeInfo &BlockInfo = BlockLiveness.find(BB)->getSecond();
190 for (const auto *PredBB : predecessors(BB)) {
237 for (auto &[BB, BlockInfo] : BlockLiveness) {
246 const BasicBlock *BB = IT.getFirst();
249 std::tie(BBStart, BBEnd) = BlockInstRange[BB];
265 for (auto &It : BBMarkers[BB]) {
301 const BasicBlock *BB = IT.getFirst();
302 const BlockLifetimeInfo &BlockInfo = BlockLiveness.find(BB)->getSecond();
303 auto BlockRange = BlockInstRange.find(BB)->getSecond();
304 dbgs() << " BB (" << BB->getName() << ") [" << BlockRange.first << ", " << BlockRange.second
370 void emitBasicBlockStartAnnot(const BasicBlock *BB,
372 auto ItBB = SL.BlockInstRange.find(BB);