Lines Matching refs:NewTy

525   Type *NewTy = TypeMap->remapType(Ty);  in visitAllocaInst()  local
526 if (Ty == NewTy) in visitAllocaInst()
528 I.setAllocatedType(NewTy); in visitAllocaInst()
534 Type *NewTy = TypeMap->remapType(Ty); in visitGetElementPtrInst() local
535 if (Ty == NewTy) in visitGetElementPtrInst()
539 I.setSourceElementType(NewTy); in visitGetElementPtrInst()
614 auto *NewTy = dyn_cast<StructType>(TypeMap->remapType(SrcTy)); in materializeBufferFatPtrConst() local
616 return ConstantAggregateZero::getNullValue(NewTy); in materializeBufferFatPtrConst()
618 return ConstantStruct::get(NewTy, in materializeBufferFatPtrConst()
619 {PoisonValue::get(NewTy->getElementType(0)), in materializeBufferFatPtrConst()
620 PoisonValue::get(NewTy->getElementType(1))}); in materializeBufferFatPtrConst()
623 return ConstantStruct::get(NewTy, in materializeBufferFatPtrConst()
624 {UndefValue::get(NewTy->getElementType(0)), in materializeBufferFatPtrConst()
625 UndefValue::get(NewTy->getElementType(1))}); in materializeBufferFatPtrConst()
635 return ConstantStruct::get(NewTy, {ConstantVector::getSplat(EC, Rsrc), in materializeBufferFatPtrConst()
650 return ConstantStruct::get(NewTy, {RsrcVec, OffVec}); in materializeBufferFatPtrConst()
1558 Type *NewTy = PointerType::get(I.getContext(), AMDGPUAS::BUFFER_RESOURCE); in visitIntrinsicInst() local
1559 auto *NewRsrc = IRB.CreateIntrinsic(IID, {NewTy}, {I.getOperand(0), Rsrc}); in visitIntrinsicInst()
1662 static Function *moveFunctionAdaptingType(Function *OldF, FunctionType *NewTy, in moveFunctionAdaptingType() argument
1666 Function::Create(NewTy, OldF->getLinkage(), OldF->getAddressSpace()); in moveFunctionAdaptingType()