Home
last modified time | relevance | path

Searched refs:BitList (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/test/TableGen/
H A Dinterleave.td9 defvar BitList = [0, 1, 1, 0, 1]<bit>;
58 string Test1 = !interleave(BitList, "");
59 string Test2 = !interleave(BitList, ", ");
60 string Test3 = !interleave(!listconcat(BitList, [1]), " and ");
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DTGParser.cpp163 ArrayRef<unsigned> BitList, Init *V, in SetValue() argument
176 if (BitList.empty()) in SetValue()
185 if (!BitList.empty()) { in SetValue()
199 for (unsigned i = 0, e = BitList.size(); i != e; ++i) { in SetValue()
200 unsigned Bit = BitList[i]; in SetValue()
2944 SmallVector<unsigned, 16> BitList; in ParseBodyItem() local
2945 if (ParseOptionalBitList(BitList)) in ParseBodyItem()
2947 std::reverse(BitList.begin(), BitList.end()); in ParseBodyItem()
2957 if (!BitList.empty() && isa<BitsRecTy>(Type)) { in ParseBodyItem()
2960 Type = BitsRecTy::get(Records, BitList.size()); in ParseBodyItem()
[all …]
H A DTGParser.h202 ArrayRef<unsigned> BitList, Init *V,