Lines Matching refs:BB
17 auto ItE = BB->end(); in operator ++()
30 assert(It != BB->begin() && "Already at begin!"); in operator --()
31 if (It == BB->end()) { in operator --()
38 assert(std::prev(It, Num - 1) != BB->begin() && "Already at begin!"); in operator --()
54 auto *BB = cast<llvm::BasicBlock>(Val); in getParent() local
55 auto *F = BB->getParent(); in getParent()
79 llvm::BasicBlock *BB = cast<llvm::BasicBlock>(Val); in begin() local
80 llvm::BasicBlock::iterator It = BB->begin(); in begin()
81 if (!BB->empty()) { in begin()
82 auto *V = Ctx.getValue(&*BB->begin()); in begin()
89 return iterator(BB, It, &Ctx); in begin()
99 auto *BB = cast<llvm::BasicBlock>(Val); in front() local
100 assert(!BB->empty() && "Empty block!"); in front()
101 auto *SBI = cast<Instruction>(getContext().getValue(&*BB->begin())); in front()
107 auto *BB = cast<llvm::BasicBlock>(Val); in back() local
108 assert(!BB->empty() && "Empty block!"); in back()
109 auto *SBI = cast<Instruction>(getContext().getValue(&*BB->rbegin())); in back()
116 llvm::BasicBlock *BB = cast<llvm::BasicBlock>(Val); in dumpOS() local
117 const auto &Name = BB->getName(); in dumpOS()
123 if (any_of(*BB, [this](llvm::Instruction &I) { in dumpOS()
128 for (llvm::Instruction &IRef : *BB) { in dumpOS()