Searched refs:instIndex (Results 1 – 3 of 3) sorted by relevance
191 void TypeRecorder::SetBuiltinInst(const std::vector<int64_t> &allTypes, int64_t instIndex) in SetBuiltinInst() argument193 builtinInst_[allTypes] = instIndex; in SetBuiltinInst()194 ASSERT(GetBuiltinInst(allTypes) == instIndex); in SetBuiltinInst()202 void TypeRecorder::SetGenericInst(const std::vector<int64_t> &allTypes, int64_t instIndex) in SetGenericInst() argument204 genericInst_[allTypes] = instIndex; in SetGenericInst()205 ASSERT(GetGenericInst(allTypes) == instIndex); in SetGenericInst()224 void TypeRecorder::SetClassInst(int64_t classIndex, int64_t instIndex) in SetClassInst() argument229 classInst_[classIndex] = instIndex; in SetClassInst()230 ASSERT(GetClassInst(classIndex) == instIndex); in SetClassInst()233 int64_t TypeRecorder::GetClassType(int64_t instIndex) const in GetClassType()[all …]
76 void SetBuiltinInst(const std::vector<int64_t> &allTypes, int64_t instIndex);79 void SetGenericInst(const std::vector<int64_t> &allTypes, int64_t instIndex);85 void SetClassInst(int64_t classIndex, int64_t instIndex);87 int64_t GetClassType(int64_t instIndex) const;88 void SetClassType(int64_t instIndex, int64_t classIndex);
626 auto instIndex = sourceTypeMap[i].asInt(); in GetInstTypeMap() local628 if (instIndex < 0) { // para in GetInstTypeMap()629 instTypeMap.emplace_back(instIndex, typeIndex); in GetInstTypeMap()634 for (; start < instIndex; start++) { in GetInstTypeMap()639 instTypeMap.emplace_back(instIndex - remove, typeIndex); in GetInstTypeMap()