reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
989 if (PHINode *UserPN = dyn_cast<PHINode>(UserI)) { 996 if (isa<TruncInst>(UserI)) { 997 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI)); 1002 if (UserI->getOpcode() != Instruction::LShr || 1003 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || 1003 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || 1004 !isa<ConstantInt>(UserI->getOperand(1))) 1008 unsigned SizeInBits = UserI->getType()->getScalarSizeInBits(); 1009 if (cast<ConstantInt>(UserI->getOperand(1))->getValue().uge(SizeInBits)) 1012 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); 1013 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back()));