Lines Matching refs:ptrId
457 uint32_t ptrId = GetOrCreatePointerType(typeId); in CreateVariable() local
465 context(), SpvOpVariable, ptrId, id, in CreateVariable()
522 uint32_t ptrId = 0; in GetOrCreatePointerType() local
525 ptrId = context()->get_type_mgr()->GetTypeInstruction(pointerTy.get()); in GetOrCreatePointerType()
526 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType()
527 return ptrId; in GetOrCreatePointerType()
538 ptrId = global.result_id(); in GetOrCreatePointerType()
544 if (ptrId != 0) { in GetOrCreatePointerType()
545 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType()
546 return ptrId; in GetOrCreatePointerType()
549 ptrId = TakeNextId(); in GetOrCreatePointerType()
551 context(), SpvOpTypePointer, 0, ptrId, in GetOrCreatePointerType()
557 pointee_to_pointer_[id] = ptrId; in GetOrCreatePointerType()
559 context()->get_type_mgr()->RegisterType(ptrId, *pointerTy); in GetOrCreatePointerType()
561 return ptrId; in GetOrCreatePointerType()