Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp128 Value *NewCast = Builder.CreatePointerCast(NewF, BC->getDestTy()); in runOnModule() local
129 Inst->replaceAllUsesWith(NewCast); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp417 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits() local
418 return InsertNewInstWith(NewCast, *I); in SimplifyDemandedUseBits()
H A DInstCombineSelect.cpp1862 Value *NewCast = Builder.CreateCast(CastOp, NewSI, SelType); in visitSelectInst() local
1863 return replaceInstUsesWith(SI, NewCast); in visitSelectInst()
H A DInstCombineCasts.cpp154 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() local
155 replaceInstUsesWith(AI, NewCast); in PromoteCastOfAllocation()
H A DInstCombineAndOrXor.cpp1662 Value *NewCast = Builder.CreateTrunc(X, I.getType(), "and.shrunk"); in visitAnd() local
1665 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()