Home | History | Annotate | Download | only in Utils

Lines Matching refs:BBI

135       for (BasicBlock::iterator BBI = (*I)->begin();
136 isa<PHINode>(BBI); ++BBI) {
137 PHINode *PN = cast<PHINode>(BBI);
176 for (BasicBlock::iterator BBI = (*I)->begin();
177 isa<PHINode>(BBI); ++BBI) {
178 PHINode *PN = cast<PHINode>(BBI);
986 for (BasicBlock::iterator BBI = SI->begin();
987 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
1068 for (BasicBlock::iterator BBI = SI->begin();
1069 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
1099 for (BasicBlock::iterator BBI = SI->begin();
1100 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
1423 for (BasicBlock::iterator BBI = ThenBB->begin(),
1425 BBI != BBE; ++BBI) {
1426 Instruction *I = BBI;
1584 for (BasicBlock::iterator BBI = BB->begin(); &*BBI != BI; ++BBI) {
1585 if (isa<DbgInfoIntrinsic>(BBI))
1592 for (User *U : BBI->users()) {
1658 for (BasicBlock::iterator BBI = BB->begin(); &*BBI != BI; ++BBI) {
1659 if (PHINode *PN = dyn_cast<PHINode>(BBI)) {
1664 Instruction *N = BBI->clone();
1665 if (BBI->hasName()) N->setName(BBI->getName()+".c");
1677 TranslateMap[BBI] = V;
1682 if (!BBI->use_empty())
1683 TranslateMap[BBI] = N;
2350 BasicBlock::iterator BBI = BB->begin();
2352 while (isa<DbgInfoIntrinsic>(BBI))
2353 ++BBI;
2354 if (&*BBI != BI)
2854 for (BasicBlock::iterator BBI = EdgeBB->begin();
2855 isa<PHINode>(BBI); ++BBI) {
2856 PHINode *PN = cast<PHINode>(BBI);
2987 BasicBlock::iterator BBI = UI;
2988 --BBI;
2992 if (isa<CallInst>(BBI) && !isa<DbgInfoIntrinsic>(BBI)) break;
2994 if (BBI->mayHaveSideEffects()) {
2995 if (StoreInst *SI = dyn_cast<StoreInst>(BBI)) {
2998 } else if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) {
3001 } else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(BBI)) {
3004 } else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(BBI)) {
3007 } else if (!isa<FenceInst>(BBI) && !isa<VAArgInst>(BBI) &&
3008 !isa<LandingPadInst>(BBI)) {
3018 if (!BBI->use_empty())
3019 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType()));
3020 BBI->eraseFromParent();
3199 for (BasicBlock::iterator BBI = SI->case_begin().getCaseSuccessor()->begin();
3200 isa<PHINode>(BBI); ++BBI) {
3202 cast<PHINode>(BBI)->removeIncomingValue(SI->getParent());
3931 BasicBlock::iterator BBI = BB->begin();
3933 while (isa<DbgInfoIntrinsic>(BBI))
3934 ++BBI;
3935 if (SI == &*BBI)