Searched refs:NewCast (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 478 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 D | InstCombineCasts.cpp | 2088 Value *NewCast = Builder.CreatePtrToInt(Scalar, Ty->getScalarType()); in visitPtrToInt() local 2089 return InsertElementInst::Create(Vec, NewCast, Index); in visitPtrToInt()
|
H A D | InstCombineSelect.cpp | 3837 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst() local 3838 return replaceInstUsesWith(SI, NewCast); in visitSelectInst()
|
H A D | InstCombineCompares.cpp | 3377 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 D | VectorCombine.cpp | 2173 Value *NewCast = Builder.CreateCast(CastOpc, NewReduction, ResultTy); in foldCastFromReductions() local 2174 replaceValue(I, *NewCast); in foldCastFromReductions()
|