Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp443 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits() local
444 return InsertNewInstWith(NewCast, *I); in SimplifyDemandedUseBits()
H A DInstCombineCasts.cpp171 Value *NewCast = Builder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() local
172 replaceInstUsesWith(AI, NewCast); in PromoteCastOfAllocation()
2070 Value *NewCast = Builder.CreatePtrToInt(Scalar, Ty->getScalarType()); in visitPtrToInt() local
2071 return InsertElementInst::Create(Vec, NewCast, Index); in visitPtrToInt()
H A DInstCombineSelect.cpp3011 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst() local
3012 return replaceInstUsesWith(SI, NewCast); in visitSelectInst()