/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/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-project/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 935 Instruction *NewBC = nullptr; in FoldReturnIntoUncondBranch() local 940 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch() 941 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch() 942 *i = NewBC; in FoldReturnIntoUncondBranch() 949 if (NewBC) { in FoldReturnIntoUncondBranch() 950 NewBC->setOperand(0, NewEV); in FoldReturnIntoUncondBranch() 951 Pred->getInstList().insert(NewBC->getIterator(), NewEV); in FoldReturnIntoUncondBranch() 962 } else if (NewBC) in FoldReturnIntoUncondBranch() 963 NewBC->setOperand(0, PN->getIncomingValueForBlock(Pred)); in FoldReturnIntoUncondBranch()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BasicBlockUtils.cpp | 895 Instruction *NewBC = nullptr; in FoldReturnIntoUncondBranch() local 900 NewBC = BCI->clone(); in FoldReturnIntoUncondBranch() 901 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch() 902 *i = NewBC; in FoldReturnIntoUncondBranch() 906 if (NewBC) in FoldReturnIntoUncondBranch() 907 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/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 2263 auto *NewBC = IC.Builder.CreateBitCast(ExtElt->getVectorOperand(), in canonicalizeBitCastExtElt() local 2265 return ExtractElementInst::Create(NewBC, ExtElt->getIndexOperand()); in canonicalizeBitCastExtElt() 2514 auto *NewBC = in optimizeBitCastFromPhi() local 2516 SI->setOperand(0, NewBC); in optimizeBitCastFromPhi() 2518 assert(hasStoreUsersOnly(*NewBC)); in optimizeBitCastFromPhi()
|
D | InstCombineVectorOps.cpp | 2454 auto *NewBC = in visitShuffleVectorInst() local 2459 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst() 2461 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCasts.cpp | 2110 auto *NewBC = IC.Builder.CreateBitCast(ExtElt->getVectorOperand(), in canonicalizeBitCastExtElt() local 2112 return ExtractElementInst::Create(NewBC, ExtElt->getIndexOperand()); in canonicalizeBitCastExtElt() 2359 auto *NewBC = in optimizeBitCastFromPhi() local 2361 SI->setOperand(0, NewBC); in optimizeBitCastFromPhi() 2363 assert(hasStoreUsersOnly(*NewBC)); in optimizeBitCastFromPhi()
|
D | InstCombineVectorOps.cpp | 2043 auto *NewBC = in visitShuffleVectorInst() local 2048 NewBCs[CastSrcTy] = NewBC; in visitShuffleVectorInst() 2050 NewBC, ConstantInt::get(Int32Ty, BegIdx), SVI.getName() + ".extract"); in visitShuffleVectorInst()
|