Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DIR2Vec.cpp218 return Vocab.size() == (MaxOpcodes + MaxTypeIDs + MaxOperandKinds) && Valid; in isValid()
237 assert(static_cast<unsigned>(TypeId) < MaxTypeIDs && "Invalid type ID"); in operator []()
243 return Vocab[MaxOpcodes + MaxTypeIDs + static_cast<unsigned>(ArgKind)]; in operator []()
307 for (unsigned _ : seq(0u, Vocabulary::MaxOpcodes + Vocabulary::MaxTypeIDs + in createDummyVocabForTest()
327 assert(Pos < MaxOpcodes + MaxTypeIDs + MaxOperandKinds && in getStringKey()
333 if (Pos < MaxOpcodes + MaxTypeIDs) in getStringKey()
337 static_cast<OperandKind>(Pos - MaxOpcodes - MaxTypeIDs)); in getStringKey()
451 std::vector<Embedding> NumericTypeEmbeddings(Vocabulary::MaxTypeIDs, in generateNumMappedVocab()
453 for (unsigned TypeID : seq(0u, Vocabulary::MaxTypeIDs)) { in generateNumMappedVocab()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIR2Vec.h161 static constexpr unsigned MaxTypeIDs = Type::TypeID::TargetExtTyID + 1; variable