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.cpp484 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy); in SimplifyDemandedUseBits() local
485 NewCast->takeName(I); in SimplifyDemandedUseBits()
486 return InsertNewInstWith(NewCast, I->getIterator()); in SimplifyDemandedUseBits()
H A DInstCombineCasts.cpp2150 Value *NewCast = Builder.CreatePtrToInt(Scalar, Ty->getScalarType()); in visitPtrToInt() local
2151 return InsertElementInst::Create(Vec, NewCast, Index); in visitPtrToInt()
H A DInstCombineSelect.cpp4197 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst() local
4198 return replaceInstUsesWith(SI, NewCast); in visitSelectInst()
H A DInstCombineCompares.cpp3524 Value *NewCast = Builder.CreateBitCast(X, NewType); in foldICmpBitCast() local
3525 return new ICmpInst(Pred, NewCast, ConstantInt::getNullValue(NewType)); in foldICmpBitCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp3126 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions() local
3127 replaceValue(I, *NewCast); in foldCastFromReductions()