Home
last modified time | relevance | path

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

/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp204 Value *NewCast = new BitCastInst(Src, TypeOfNewCast, "", BCI); in hoistAddrSpaceCastFromBitCast() local
205 NewBC = new AddrSpaceCastInst(NewCast, BC->getType(), "", BCI); in hoistAddrSpaceCastFromBitCast()
213 Constant *NewCast = in hoistAddrSpaceCastFromBitCast() local
215 NewBC = ConstantExpr::getAddrSpaceCast(NewCast, BC->getType()); in hoistAddrSpaceCastFromBitCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp518 CastInst *NewCast = new ZExtInst(I->getOperand(0), VTy, I->getName()); in SimplifyDemandedUseBits() local
519 return InsertNewInstWith(NewCast, *I); in SimplifyDemandedUseBits()
DInstCombineCasts.cpp151 Value *NewCast = AllocaBuilder.CreateBitCast(New, AI.getType(), "tmpcast"); in PromoteCastOfAllocation() local
152 ReplaceInstUsesWith(AI, NewCast); in PromoteCastOfAllocation()
DInstCombineAndOrXor.cpp1364 Value *NewCast = Builder->CreateTrunc(X, I.getType(), "and.shrunk"); in visitAnd() local
1367 return BinaryOperator::CreateAnd(NewCast, C3); in visitAnd()