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

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
  174   unsigned Opc = I->getOpcode();
  187     Value *LHS = EvaluateInDifferentType(I->getOperand(0), Ty, isSigned);
  188     Value *RHS = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned);
  198     if (I->getOperand(0)->getType() == Ty)
  199       return I->getOperand(0);
  203     Res = CastInst::CreateIntegerCast(I->getOperand(0), Ty,
  207     Value *True = EvaluateInDifferentType(I->getOperand(1), Ty, isSigned);
  208     Value *False = EvaluateInDifferentType(I->getOperand(2), Ty, isSigned);
  209     Res = SelectInst::Create(I->getOperand(0), True, False);
  213     PHINode *OPN = cast<PHINode>(I);
  228   Res->takeName(I);
  229   return InsertNewInstWith(Res, *I);