reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
  350   switch (I->getOpcode()) {
  358     return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) &&
  359            canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI);
  368     if (IC.MaskedValueIsZero(I->getOperand(0), Mask, 0, CxtI) &&
  369         IC.MaskedValueIsZero(I->getOperand(1), Mask, 0, CxtI)) {
  370       return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI) &&
  371              canEvaluateTruncated(I->getOperand(1), Ty, IC, CxtI);
  379     if (match(I->getOperand(1), m_APInt(Amt))) {
  382         return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI);
  391     if (match(I->getOperand(1), m_APInt(Amt))) {
  395           IC.MaskedValueIsZero(I->getOperand(0),
  397         return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI);
  409     if (match(I->getOperand(1), m_APInt(Amt))) {
  414               IC.ComputeNumSignBits(I->getOperand(0), 0, CxtI))
  415         return canEvaluateTruncated(I->getOperand(0), Ty, IC, CxtI);
  428     SelectInst *SI = cast<SelectInst>(I);
  436     PHINode *PN = cast<PHINode>(I);