Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp486 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local
489 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()
DInstCombineVectorOps.cpp1052 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local
1068 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp755 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local
758 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()
DInstCombineVectorOps.cpp2026 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local
2042 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()