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()
656 OperandUse, NewAddrSpace, ValueWithNewAddrSpace, PredicatedAS, in cloneInstructionWithNewAddressSpace()
706 ConstantExpr *CE, unsigned NewAddrSpace, in cloneConstantExprWithNewAddressSpace() argument
711 ? getPtrOrVecOfPtrsWithNewAS(CE->getType(), NewAddrSpace) in cloneConstantExprWithNewAddressSpace()
719 NewAddrSpace); in cloneConstantExprWithNewAddressSpace()
732 assert(Src->getType()->getPointerAddressSpace() == NewAddrSpace); in cloneConstantExprWithNewAddressSpace()
753 CExpr, NewAddrSpace, ValueWithNewAddrSpace, DL, TTI)) { in cloneConstantExprWithNewAddressSpace()
783 Value *V, unsigned NewAddrSpace, in cloneValueWithNewAddressSpace() argument
793 I, NewAddrSpace, ValueWithNewAddrSpace, PredicatedAS, PoisonUsesToFix); in cloneValueWithNewAddressSpace()
805 cast<ConstantExpr>(V), NewAddrSpace, ValueWithNewAddrSpace, DL, TTI); in cloneValueWithNewAddressSpace()
1142 unsigned NewAddrSpace = InferredAddrSpace.lookup(V); in rewriteWithNewAddressSpaces() local
1146 if (NewAddrSpace == UninitializedAddressSpace) in rewriteWithNewAddressSpaces()
1149 if (V->getType()->getPointerAddressSpace() != NewAddrSpace) { in rewriteWithNewAddressSpaces()
1151 cloneValueWithNewAddressSpace(V, NewAddrSpace, ValueWithNewAddrSpace, in rewriteWithNewAddressSpaces()