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

References

lib/Transforms/InstCombine/InstCombineCasts.cpp
 2298   if (DestTy == Src->getType())
 2301   if (PointerType *DstPTy = dyn_cast<PointerType>(DestTy)) {
 2310       return new AddrSpaceCastInst(Src, DestTy);
 2361   if (VectorType *DestVTy = dyn_cast<VectorType>(DestTy)) {
 2364       return InsertElementInst::Create(UndefValue::get(DestTy), Elem,
 2378                                                cast<VectorType>(DestTy), *this))
 2394       if (!DestTy->isVectorTy()) {
 2398         return CastInst::Create(Instruction::BitCast, Elem, DestTy);
 2405         return new BitCastInst(InsElt->getOperand(1), DestTy);
 2416     if (Shuf->hasOneUse() && DestTy->isVectorTy() &&
 2417         DestTy->getVectorNumElements() == NumShufElts &&
 2424            Tmp->getOperand(0)->getType() == DestTy) ||
 2426            Tmp->getOperand(0)->getType() == DestTy)) {
 2427         Value *LHS = Builder.CreateBitCast(ShufOp0, DestTy);
 2428         Value *RHS = Builder.CreateBitCast(ShufOp1, DestTy);
 2439     if (DestTy->isIntegerTy() &&
 2440         DL.isLegalInteger(DestTy->getScalarSizeInBits()) &&
 2446           Intrinsic::getDeclaration(CI.getModule(), Intrinsic::bswap, DestTy);
 2447       Value *ScalarX = Builder.CreateBitCast(ShufOp0, DestTy);