Lines Matching refs:IBR
667 if (auto *IBR = dyn_cast<IndirectBrInst>(&TI)) {
669 ValueLatticeElement IBRValue = getValueState(IBR->getAddress());
681 for (unsigned i = 0; i < IBR->getNumSuccessors(); ++i) {
683 if (IBR->getDestination(i) == T) {
689 // If we didn't find our destination in the IBR successor list, then we
1543 if (auto *IBR = dyn_cast<IndirectBrInst>(TI)) {
1546 if (IBR->getNumSuccessors() < 1)
1549 if (!getValueState(IBR->getAddress()).isUnknownOrUndef())
1554 if (isa<UndefValue>(IBR->getAddress())) {
1555 IBR->setAddress(BlockAddress::get(IBR->getSuccessor(0)));
1556 markEdgeExecutable(&BB, IBR->getSuccessor(0));
1565 BasicBlock *DefaultSuccessor = IBR->getSuccessor(0);
1859 } else if (IndirectBrInst *IBR = dyn_cast<IndirectBrInst>(I)) {
1860 if (!isa<BlockAddress>(IBR->getAddress()->stripPointerCasts())) {
1862 Dest = IBR->getSuccessor(0);
1863 C = BlockAddress::get(IBR->getSuccessor(0));