Home
last modified time | relevance | path

Searched refs:ArgCodes (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/llvm/utils/TableGen/
DIntrinsicEmitter.cpp290 static void EncodeFixedType(Record *R, std::vector<unsigned char> &ArgCodes, in EncodeFixedType() argument
297 assert(Number < ArgCodes.size() && "Invalid matching number!"); in EncodeFixedType()
306 Sig.push_back((Number << 3) | ArgCodes[Number]); in EncodeFixedType()
350 assert(NextArgCode < ArgCodes.size() && ArgCodes[NextArgCode] == Tmp && in EncodeFixedType()
370 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, NextArgCode, Sig, in EncodeFixedType()
400 static void UpdateArgCodes(Record *R, std::vector<unsigned char> &ArgCodes, in UpdateArgCodes() argument
405 ArgCodes.push_back(3 /*vAny*/); in UpdateArgCodes()
415 UpdateArgCodes(R->getValueAsDef("ElTy"), ArgCodes, NumInserted, Mapping); in UpdateArgCodes()
430 unsigned OriginalIdx = ArgCodes.size() - NumInserted; in UpdateArgCodes()
433 Mapping[OriginalIdx] = ArgCodes.size(); in UpdateArgCodes()
[all …]
/external/llvm/utils/TableGen/
DIntrinsicEmitter.cpp242 static void EncodeFixedType(Record *R, std::vector<unsigned char> &ArgCodes, in EncodeFixedType() argument
247 assert(Number < ArgCodes.size() && "Invalid matching number!"); in EncodeFixedType()
256 Sig.push_back((Number << 3) | ArgCodes[Number]); in EncodeFixedType()
267 return Sig.push_back((Number << 3) | ArgCodes[Number]); in EncodeFixedType()
285 unsigned ArgNo = ArgCodes.size(); in EncodeFixedType()
286 ArgCodes.push_back(Tmp); in EncodeFixedType()
304 return EncodeFixedType(R->getValueAsDef("ElTy"), ArgCodes, Sig); in EncodeFixedType()
337 std::vector<unsigned char> ArgCodes; in ComputeFixedEncoding() local
355 EncodeFixedType(Int.IS.RetTypeDefs[i], ArgCodes, TypeSig); in ComputeFixedEncoding()
359 EncodeFixedType(Int.IS.ParamTypeDefs[i], ArgCodes, TypeSig); in ComputeFixedEncoding()