Home | History | Annotate | Download | only in IPO

Lines Matching refs:CurInst

2329   // CurInst - The current instruction we're evaluating.
2330 BasicBlock::iterator CurInst = F->begin()->begin();
2336 if (StoreInst *SI = dyn_cast<StoreInst>(CurInst)) {
2388 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(CurInst)) {
2392 } else if (CmpInst *CI = dyn_cast<CmpInst>(CurInst)) {
2396 } else if (CastInst *CI = dyn_cast<CastInst>(CurInst)) {
2400 } else if (SelectInst *SI = dyn_cast<SelectInst>(CurInst)) {
2404 } else if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(CurInst)) {
2413 CurInst)) {
2418 } else if (AllocaInst *AI = dyn_cast<AllocaInst>(CurInst)) {
2426 } else if (CallInst *CI = dyn_cast<CallInst>(CurInst)) {
2430 ++CurInst;
2445 ++CurInst;
2480 } else if (isa<TerminatorInst>(CurInst)) {
2482 if (BranchInst *BI = dyn_cast<BranchInst>(CurInst)) {
2492 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(CurInst)) {
2497 } else if (IndirectBrInst *IBI = dyn_cast<IndirectBrInst>(CurInst)) {
2503 } else if (ReturnInst *RI = dyn_cast<ReturnInst>(CurInst)) {
2523 BasicBlock *OldBB = CurInst->getParent();
2524 CurInst = NewBB->begin();
2526 for (; (PN = dyn_cast<PHINode>(CurInst)); ++CurInst)
2529 // Do NOT increment CurInst. We know that the terminator had no value.
2536 if (!CurInst->use_empty()) {
2540 Values[CurInst] = InstResult;
2544 ++CurInst;