Lines Matching refs:ptrId
337 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local
340 context(), SpvOpVariable, ptrId, id, in CreateVariable()
365 uint32_t ptrId = 0; in GetOrCreatePointerType() local
368 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType()
369 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType()
370 return ptrId; in GetOrCreatePointerType()
381 ptrId = global.result_id(); in GetOrCreatePointerType()
387 if (ptrId != 0) { in GetOrCreatePointerType()
388 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType()
389 return ptrId; in GetOrCreatePointerType()
392 ptrId = TakeNextId(); in GetOrCreatePointerType()
394 context(), SpvOpTypePointer, 0, ptrId, in GetOrCreatePointerType()
400 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType()
402 context()->get_type_mgr()->RegisterType(ptrId, *pointerTy); in GetOrCreatePointerType()
404 return ptrId; in GetOrCreatePointerType()