reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
336 if (I != E) { 337 if (I->isUnconditionalBranch() || I->getOpcode() == AMDGPU::S_ENDPGM) 337 if (I->isUnconditionalBranch() || I->getOpcode() == AMDGPU::S_ENDPGM) 338 ++I; 339 else if (I->isBranch()) 343 while (I != E) { 344 if (I->isDebugInstr()) { 345 I = std::next(I); 345 I = std::next(I); 349 if (I->mayStore() || I->isBarrier() || I->isCall() || 349 if (I->mayStore() || I->isBarrier() || I->isCall() || 349 if (I->mayStore() || I->isBarrier() || I->isCall() || 350 I->hasUnmodeledSideEffects() || I->hasOrderedMemoryRef()) 350 I->hasUnmodeledSideEffects() || I->hasOrderedMemoryRef()) 354 << "Removing no effect instruction: " << *I << '\n'); 356 for (auto &Op : I->operands()) { 361 auto Next = std::next(I); 362 LIS->RemoveMachineInstrFromMaps(*I); 363 I->eraseFromParent(); 364 I = Next; 369 if (I != E)