Home
last modified time | relevance | path

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

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp202 Value *NewBC; in hoistAddrSpaceCastFromBitCast() local
205 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
206 NewBC->takeName(BC); in hoistAddrSpaceCastFromBitCast()
210 BC->replaceAllUsesWith(NewBC); in hoistAddrSpaceCastFromBitCast()
215 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType()); in hoistAddrSpaceCastFromBitCast()
217 return NewBC; in hoistAddrSpaceCastFromBitCast()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp660 Instruction *NewBC = nullptr; in FoldReturnIntoUncondBranch() local
665 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch()
666 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch()
667 *i = NewBC; in FoldReturnIntoUncondBranch()
671 if (NewBC) in FoldReturnIntoUncondBranch()
672 NewBC->setOperand(0, PN->getIncomingValueForBlock(Pred)); in FoldReturnIntoUncondBranch()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp980 auto *NewBC = in visitShuffleVectorInst() local
985 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst()
987 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()
DInstCombineCasts.cpp1784 auto *NewBC = IC.Builder->CreateBitCast(ExtElt->getVectorOperand(), in canonicalizeBitCastExtElt() local
1786 return ExtractElementInst::Create(NewBC, ExtElt->getIndexOperand()); in canonicalizeBitCastExtElt()