Searched refs:CastSrcTy (Results 1 – 4 of 4) sorted by relevance
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()
755 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local758 CastSrcTy = FirstInst->getOperand(0)->getType(); in FoldPHIArgOpIntoPHI()762 if (PN.getType()->isIntegerTy() && CastSrcTy->isIntegerTy()) { in FoldPHIArgOpIntoPHI()763 if (!shouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()781 if (CastSrcTy) { in FoldPHIArgOpIntoPHI()782 if (I->getOperand(0)->getType() != CastSrcTy) in FoldPHIArgOpIntoPHI()
2026 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local2042 bool BCAlreadyExists = NewBCs.find(CastSrcTy) != NewBCs.end(); in visitShuffleVectorInst()2045 ? NewBCs[CastSrcTy] in visitShuffleVectorInst()2046 : Builder.CreateBitCast(V, CastSrcTy, SVI.getName() + ".bc"); in visitShuffleVectorInst()2048 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst()