Searched refs:CastSrcTy (Results 1 – 2 of 2) sorted by relevance
404 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local408 CastSrcTy = FirstInst->getOperand(0)->getType(); in FoldPHIArgOpIntoPHI()412 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI()413 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()439 if (CastSrcTy) { in FoldPHIArgOpIntoPHI()440 if (I->getOperand(0)->getType() != CastSrcTy) in FoldPHIArgOpIntoPHI()
1012 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local1028 bool BCAlreadyExists = NewBCs.find(CastSrcTy) != NewBCs.end(); in visitShuffleVectorInst()1031 ? NewBCs[CastSrcTy] in visitShuffleVectorInst()1032 : Builder->CreateBitCast(V, CastSrcTy, SVI.getName() + ".bc"); in visitShuffleVectorInst()1034 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst()