Searched refs:NewBC (Results 1 – 7 of 7) sorted by relevance
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 205 Value *NewBC; in hoistAddrSpaceCastFromBitCast() local 208 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast() 209 NewBC->takeName(BC); in hoistAddrSpaceCastFromBitCast() 213 BC->replaceAllUsesWith(NewBC); in hoistAddrSpaceCastFromBitCast() 218 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType()); in hoistAddrSpaceCastFromBitCast() 220 return NewBC; in hoistAddrSpaceCastFromBitCast()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 658 Instruction *NewBC = nullptr; in FoldReturnIntoUncondBranch() local 663 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch() 664 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch() 665 *i = NewBC; in FoldReturnIntoUncondBranch() 669 if (NewBC) in FoldReturnIntoUncondBranch() 670 NewBC->setOperand(0, PN->getIncomingValueForBlock(Pred)); in FoldReturnIntoUncondBranch()
|
/external/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 589 Instruction *NewBC = nullptr; in FoldReturnIntoUncondBranch() local 594 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch() 595 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch() 596 *i = NewBC; in FoldReturnIntoUncondBranch() 600 if (NewBC) in FoldReturnIntoUncondBranch() 601 NewBC->setOperand(0, PN->getIncomingValueForBlock(Pred)); in FoldReturnIntoUncondBranch()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineVectorOps.cpp | 1069 auto *NewBC = in visitShuffleVectorInst() local 1074 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst() 1076 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()
|
D | InstCombineCasts.cpp | 1787 auto *NewBC = IC.Builder->CreateBitCast(ExtElt->getVectorOperand(), in canonicalizeBitCastExtElt() local 1789 return ExtractElementInst::Create(NewBC, ExtElt->getIndexOperand()); in canonicalizeBitCastExtElt()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 2013 auto *NewBC = IC.Builder.CreateBitCast(ExtElt->getVectorOperand(), in canonicalizeBitCastExtElt() local 2015 return ExtractElementInst::Create(NewBC, ExtElt->getIndexOperand()); in canonicalizeBitCastExtElt() 2218 auto *NewBC = in optimizeBitCastFromPhi() local 2220 SI->setOperand(0, NewBC); in optimizeBitCastFromPhi() 2222 assert(hasStoreUsersOnly(*NewBC)); in optimizeBitCastFromPhi()
|
D | InstCombineVectorOps.cpp | 1503 auto *NewBC = in visitShuffleVectorInst() local 1508 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst() 1510 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()
|