Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.h21 struct EncodingSegment { struct
35 SmallVector<EncodingSegment, 4> Segments; argument
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDecoderEmitter.cpp1931 for (const auto &EncodingSegment : VLI) { in parseVarLenInstOperand() local
1935 if (const StringInit *SI = dyn_cast<StringInit>(EncodingSegment.Value)) { in parseVarLenInstOperand()
1937 } else if (const DagInit *DI = dyn_cast<DagInit>(EncodingSegment.Value)) { in parseVarLenInstOperand()
1947 Operands[OpIdx].addField(CurrBitPos, EncodingSegment.BitWidth, Offset); in parseVarLenInstOperand()
1948 if (!EncodingSegment.CustomDecoder.empty()) in parseVarLenInstOperand()
1949 Operands[OpIdx].Decoder = EncodingSegment.CustomDecoder.str(); in parseVarLenInstOperand()
1955 Operands[OpIdx].addField(CurrBitPos, EncodingSegment.BitWidth, Offset); in parseVarLenInstOperand()
1959 CurrBitPos += EncodingSegment.BitWidth; in parseVarLenInstOperand()