Home | History | Annotate | Download | only in Utils

Lines Matching full:bbi

190       for (BasicBlock::iterator BBI = Succ->begin(); isa<PHINode>(BBI); ++BBI) {
191 PHINode *PN = cast<PHINode>(BBI);
230 for (BasicBlock::iterator BBI = Succ->begin(); isa<PHINode>(BBI); ++BBI) {
231 PHINode *PN = cast<PHINode>(BBI);
1156 for (BasicBlock::iterator BBI = Succ->begin();
1157 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
1255 for (BasicBlock::iterator BBI = Succ->begin();
1256 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
1292 for (BasicBlock::iterator BBI = Succ->begin();
1293 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
1624 for (BasicBlock::iterator BBI = ThenBB->begin(),
1626 BBI != BBE; ++BBI) {
1627 Instruction *I = &*BBI;
1782 for (BasicBlock::iterator BBI = BB->begin(); &*BBI != BI; ++BBI) {
1783 if (isa<DbgInfoIntrinsic>(BBI))
1791 for (User *U : BBI->users()) {
1866 for (BasicBlock::iterator BBI = BB->begin(); &*BBI != BI; ++BBI) {
1867 if (PHINode *PN = dyn_cast<PHINode>(BBI)) {
1872 Instruction *N = BBI->clone();
1873 if (BBI->hasName())
1874 N->setName(BBI->getName() + ".c");
1885 if (!BBI->use_empty())
1886 TranslateMap[&*BBI] = V;
1892 if (!BBI->use_empty())
1893 TranslateMap[&*BBI] = N;
2824 BasicBlock::iterator BBI = BB->begin();
2826 while (isa<DbgInfoIntrinsic>(BBI))
2827 ++BBI;
2828 if (&*BBI != BI)
3347 for (BasicBlock::iterator BBI = EdgeBB->begin(); isa<PHINode>(BBI); ++BBI) {
3348 PHINode *PN = cast<PHINode>(BBI);
3723 BasicBlock::iterator BBI = UI->getIterator();
3724 --BBI;
3728 if (isa<CallInst>(BBI) && !isa<DbgInfoIntrinsic>(BBI))
3731 if (BBI->mayHaveSideEffects()) {
3732 if (auto *SI = dyn_cast<StoreInst>(BBI)) {
3735 } else if (auto *LI = dyn_cast<LoadInst>(BBI)) {
3738 } else if (auto *RMWI = dyn_cast<AtomicRMWInst>(BBI)) {
3741 } else if (auto *CXI = dyn_cast<AtomicCmpXchgInst>(BBI)) {
3744 } else if (isa<CatchPadInst>(BBI)) {
3752 } else if (!isa<FenceInst>(BBIBBI) &&
3753 !isa<LandingPadInst>(BBI)) {
3763 if (!BBI->use_empty())
3764 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType()));
3765 BBI->eraseFromParent();
3969 for (auto BBI = ContiguousDest->begin(); isa<PHINode>(BBI); ++BBI) {
3974 cast<PHINode>(BBI)->removeIncomingValue(SI->getParent());
3976 for (auto BBI = OtherDest->begin(); isa<PHINode>(BBI); ++BBI) {
3981 cast<PHINode>(BBI)->removeIncomingValue(SI->getParent());
5058 BasicBlock::iterator BBI = BB->begin();
5060 while (isa<DbgInfoIntrinsic>(BBI))
5061 ++BBI;
5062 if (SI == &*BBI)