Lines Matching refs:NewAddrSpace

210       Instruction *I, unsigned NewAddrSpace,
237 Value *V, unsigned NewAddrSpace,
263 static Type *getPtrOrVecOfPtrsWithNewAS(Type *Ty, unsigned NewAddrSpace) { in INITIALIZE_PASS_DEPENDENCY()
265 PointerType *NPT = PointerType::get(Ty->getContext(), NewAddrSpace); in INITIALIZE_PASS_DEPENDENCY()
561 const Use &OperandUse, unsigned NewAddrSpace, in operandWithNewAddressSpaceOrCreatePoison() argument
567 Type *NewPtrTy = getPtrOrVecOfPtrsWithNewAS(Operand->getType(), NewAddrSpace); in operandWithNewAddressSpaceOrCreatePoison()
604 Instruction *I, unsigned NewAddrSpace, in cloneInstructionWithNewAddressSpace() argument
608 Type *NewPtrType = getPtrOrVecOfPtrsWithNewAS(I->getType(), NewAddrSpace); in cloneInstructionWithNewAddressSpace()
615 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneInstructionWithNewAddressSpace()
626 II->getArgOperandUse(0), NewAddrSpace, ValueWithNewAddrSpace, in cloneInstructionWithNewAddressSpace()
655 OperandUse, NewAddrSpace, ValueWithNewAddrSpace, PredicatedAS, in cloneInstructionWithNewAddressSpace()
705 ConstantExpr *CE, unsigned NewAddrSpace, in cloneConstantExprWithNewAddressSpace() argument
710 ? getPtrOrVecOfPtrsWithNewAS(CE->getType(), NewAddrSpace) in cloneConstantExprWithNewAddressSpace()
718 NewAddrSpace); in cloneConstantExprWithNewAddressSpace()
731 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneConstantExprWithNewAddressSpace()
752 CExpr, NewAddrSpace, ValueWithNewAddrSpace, DL, TTI)) { in cloneConstantExprWithNewAddressSpace()
782 Value *V, unsigned NewAddrSpace, in cloneValueWithNewAddressSpace() argument
792 I, NewAddrSpace, ValueWithNewAddrSpace, PredicatedAS, PoisonUsesToFix); in cloneValueWithNewAddressSpace()
804 cast<ConstantExpr>(V), NewAddrSpace, ValueWithNewAddrSpace, DL, TTI); in cloneValueWithNewAddressSpace()
1141 unsigned NewAddrSpace = InferredAddrSpace.lookup(V); in rewriteWithNewAddressSpaces() local
1145 if (NewAddrSpace == UninitializedAddressSpace) in rewriteWithNewAddressSpaces()
1148 if (V->getType()->getPointerAddressSpace() != NewAddrSpace) { in rewriteWithNewAddressSpaces()
1150 cloneValueWithNewAddressSpace(V, NewAddrSpace, ValueWithNewAddrSpace, in rewriteWithNewAddressSpaces()