Lines Matching refs:ArgCodes
292 static void EncodeFixedType(Record *R, std::vector<unsigned char> &ArgCodes, in EncodeFixedType() argument
299 assert(Number < ArgCodes.size() && "Invalid matching number!"); in EncodeFixedType()
308 Sig.push_back((Number << 3) | ArgCodes[Number]); in EncodeFixedType()
352 assert(NextArgCode < ArgCodes.size() && ArgCodes[NextArgCode] == Tmp && in EncodeFixedType()
372 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig, in EncodeFixedType()
402 static void UpdateArgCodes(Record *R, std::vector<unsigned char> &ArgCodes, in UpdateArgCodes() argument
407 ArgCodes.push_back(3 /*vAny*/); in UpdateArgCodes()
417 UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping); in UpdateArgCodes()
432 unsigned OriginalIdx = ArgCodes.size() - NumInserted; in UpdateArgCodes()
435 Mapping[OriginalIdx] = ArgCodes.size(); in UpdateArgCodes()
436 ArgCodes.push_back(Tmp); in UpdateArgCodes()
449 std::vector<unsigned char> ArgCodes; in ComputeFixedEncoding() local
455 UpdateArgCodes(Int.IS.RetTypeDefs[i], ArgCodes, NumInserted, ArgMapping); in ComputeFixedEncoding()
459 UpdateArgCodes(Int.IS.ParamTypeDefs[i], ArgCodes, NumInserted, ArgMapping); in ComputeFixedEncoding()
482 EncodeFixedType(Int.IS.RetTypeDefs[i], ArgCodes, NextArgCode, TypeSig, in ComputeFixedEncoding()
487 EncodeFixedType(Int.IS.ParamTypeDefs[i], ArgCodes, NextArgCode, TypeSig, in ComputeFixedEncoding()