Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp404 Type *CastSrcTy = 0; 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()
DInstCombineLoadStoreAlloca.cpp318 Type* CastSrcTy = SIOp0->getType(); in InstCombineStoreToCast() local
321 if (CastSrcTy->isIntegerTy()) in InstCombineStoreToCast()
/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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp742 Type *CastSrcTy = nullptr; in FoldPHIArgOpIntoPHI() local
745 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()
DInstCombineVectorOps.cpp1486 VectorType *CastSrcTy = VectorType::get(TgtTy, TgtNumElems); in visitShuffleVectorInst() local
1502 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()