Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp478 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy); in SimplifyDemandedUseBits() local
479 NewCast->takeName(I); in SimplifyDemandedUseBits()
480 return InsertNewInstWith(NewCast, I->getIterator()); in SimplifyDemandedUseBits()
H A DInstCombineCasts.cpp2088 Value *NewCast = Builder.CreatePtrToInt(Scalar, Ty->getScalarType()); in visitPtrToInt() local
2089 return InsertElementInst::Create(Vec, NewCast, Index); in visitPtrToInt()
H A DInstCombineSelect.cpp3837 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst() local
3838 return replaceInstUsesWith(SI, NewCast); in visitSelectInst()
H A DInstCombineCompares.cpp3377 Value *NewCast = Builder.CreateBitCast(X, NewType); in foldICmpBitCast() local
3378 return new ICmpInst(Pred, NewCast, ConstantInt::getNullValue(NewType)); in foldICmpBitCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp2173 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions() local
2174 replaceValue(I, *NewCast); in foldCastFromReductions()