Home
last modified time | relevance | path

Searched refs:CastSrcTy (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp404 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local
408 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()
DInstCombineVectorOps.cpp1012 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local
1028 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()