reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6924 if (InsertedInsts.count(I)) 6928 if (PHINode *P = dyn_cast<PHINode>(I)) { 6942 if (CastInst *CI = dyn_cast<CastInst>(I)) { 6955 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { 6955 if (isa<ZExtInst>(I) || isa<SExtInst>(I)) { 6964 bool MadeChange = optimizeExt(I); 6965 return MadeChange | optimizeExtUses(I); 6971 if (auto *Cmp = dyn_cast<CmpInst>(I)) 6975 if (LoadInst *LI = dyn_cast<LoadInst>(I)) { 6980 Modified |= optimizeMemoryInst(I, I->getOperand(0), LI->getType(), AS); 6980 Modified |= optimizeMemoryInst(I, I->getOperand(0), LI->getType(), AS); 6986 if (StoreInst *SI = dyn_cast<StoreInst>(I)) { 6992 return optimizeMemoryInst(I, SI->getOperand(1), 6998 if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(I)) { 7000 return optimizeMemoryInst(I, RMW->getPointerOperand(), 7004 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { 7006 return optimizeMemoryInst(I, CmpX->getPointerOperand(), 7010 BinaryOperator *BinOp = dyn_cast<BinaryOperator>(I); 7025 if (GetElementPtrInst *GEPI = dyn_cast<GetElementPtrInst>(I)) { 7043 if (tryToSinkFreeOperands(I)) 7046 switch (I->getOpcode()) { 7050 return optimizeShiftInst(cast<BinaryOperator>(I)); 7052 return optimizeCallInst(cast<CallInst>(I), ModifiedDT); 7054 return optimizeSelectInst(cast<SelectInst>(I)); 7056 return optimizeShuffleVectorInst(cast<ShuffleVectorInst>(I)); 7058 return optimizeSwitchInst(cast<SwitchInst>(I)); 7060 return optimizeExtractElementInst(cast<ExtractElementInst>(I));