Searched refs:CastSrcTy (Results 1 – 2 of 2) sorted by relevance
496 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local500 CastSrcTy = FirstInst->getOperand(0)->getType(); in FoldPHIArgOpIntoPHI()504 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI()505 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()531 if (CastSrcTy) { in FoldPHIArgOpIntoPHI()532 if (I->getOperand(0)->getType() != CastSrcTy) in FoldPHIArgOpIntoPHI()
963 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local979 bool BCAlreadyExists = NewBCs.find(CastSrcTy) != NewBCs.end(); in visitShuffleVectorInst()982 ? NewBCs[CastSrcTy] in visitShuffleVectorInst()983 : Builder->CreateBitCast(V, CastSrcTy, SVI.getName() + ".bc"); in visitShuffleVectorInst()985 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst()