Searched refs:CastSrcTy (Results 1 – 6 of 6) sorted by relevance
404 Type *CastSrcTy = 0; 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()
318 Type* CastSrcTy = SIOp0->getType(); in InstCombineStoreToCast() local321 if (CastSrcTy->isIntegerTy()) in InstCombineStoreToCast()
486 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local489 CastSrcTy = FirstInst->getOperand(0)->getType(); in FoldPHIArgOpIntoPHI()493 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI()494 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()512 if (CastSrcTy) { in FoldPHIArgOpIntoPHI()513 if (I->getOperand(0)->getType() != CastSrcTy) in FoldPHIArgOpIntoPHI()
1052 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local1068 bool BCAlreadyExists = NewBCs.find(CastSrcTy) != NewBCs.end(); in visitShuffleVectorInst()1071 ? NewBCs[CastSrcTy] in visitShuffleVectorInst()1072 : Builder->CreateBitCast(V, CastSrcTy, SVI.getName() + ".bc"); in visitShuffleVectorInst()1074 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst()
742 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local745 CastSrcTy = FirstInst->getOperand(0)->getType(); in FoldPHIArgOpIntoPHI()749 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI()750 if (!shouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()768 if (CastSrcTy) { in FoldPHIArgOpIntoPHI()769 if (I->getOperand(0)->getType() != CastSrcTy) in FoldPHIArgOpIntoPHI()
1486 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local1502 bool BCAlreadyExists = NewBCs.find(CastSrcTy) != NewBCs.end(); in visitShuffleVectorInst()1505 ? NewBCs[CastSrcTy] in visitShuffleVectorInst()1506 : Builder.CreateBitCast(V, CastSrcTy, SVI.getName() + ".bc"); in visitShuffleVectorInst()1508 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst()