Home
last modified time | relevance | path

Searched refs:NewCast (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp207 Value *NewCast = new BitCastInst(Src, TypeOfNewCast, "", BCI); in hoistAddrSpaceCastFromBitCast() local
208 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
216 Constant *NewCast = in hoistAddrSpaceCastFromBitCast() local
218 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType()); in hoistAddrSpaceCastFromBitCast()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp315 Value *NewCast; in InstCombineStoreToCast() local
333 NewCast = IC.Builder->CreateCast(opcode, SIOp0, CastDstTy, in InstCombineStoreToCast()
335 SI.setOperand(0, NewCast); in InstCombineStoreToCast()
DInstCombineSimplifyDemanded.cpp471 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits() local
472 return InsertNewInstWith(NewCast, *I); in SimplifyDemandedUseBits()
DInstCombineCasts.cpp144 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() local
145 ReplaceInstUsesWith(AI, NewCast); in PromoteCastOfAllocation()
DInstCombineAndOrXor.cpp1137 Value *NewCast = Builder->CreateTrunc(X, I.getType(), "and.shrunk"); in visitAnd() local
1140 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp517 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits() local
518 return InsertNewInstWith(NewCast, *I); in SimplifyDemandedUseBits()
DInstCombineCasts.cpp151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() local
152 replaceInstUsesWith(AI, NewCast); in PromoteCastOfAllocation()
DInstCombineAndOrXor.cpp1422 Value *NewCast = Builder->CreateTrunc(X, I.getType(), "and.shrunk"); in visitAnd() local
1425 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp395 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits() local
396 return InsertNewInstWith(NewCast, *I); in SimplifyDemandedUseBits()
DInstCombineSelect.cpp1795 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst() local
1796 return replaceInstUsesWith(SI, NewCast); in visitSelectInst()
DInstCombineCasts.cpp154 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() local
155 replaceInstUsesWith(AI, NewCast); in PromoteCastOfAllocation()
DInstCombineAndOrXor.cpp1535 Value *NewCast = Builder.CreateTrunc(X, I.getType(), "and.shrunk"); in visitAnd() local
1538 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()