Lines Matching refs:ByteCodeField

68 enum OpCode : ByteCodeField {
146 SmallVectorImpl<ByteCodeField> &matcherByteCode, in Generator()
147 SmallVectorImpl<ByteCodeField> &rewriterByteCode, in Generator()
149 ByteCodeField &maxValueMemoryIndex, in Generator()
168 ByteCodeField &getMemIndex(Value value) { in getMemIndex()
177 std::enable_if_t<!std::is_convertible<T, Value>::value, ByteCodeField &>
228 DenseMap<Value, ByteCodeField> valueToMemIndex;
232 llvm::StringMap<ByteCodeField> externalRewriterToMemIndex;
236 llvm::StringMap<ByteCodeField> constraintToMemIndex;
240 llvm::StringMap<ByteCodeField> nativeCreateToMemIndex;
248 DenseMap<const void *, ByteCodeField> uniquedDataToMemIndex;
255 SmallVectorImpl<ByteCodeField> &matcherByteCode;
256 SmallVectorImpl<ByteCodeField> &rewriterByteCode;
258 ByteCodeField &maxValueMemoryIndex;
263 ByteCodeWriter(SmallVectorImpl<ByteCodeField> &bytecode, Generator &generator) in ByteCodeWriter()
267 void append(ByteCodeField field) { bytecode.push_back(field); } in append()
272 static_assert((sizeof(ByteCodeAddr) / sizeof(ByteCodeField)) == 2, in append()
275 ByteCodeField fieldParts[2]; in append()
304 bytecode.push_back(static_cast<ByteCodeField>(kind)); in appendPDLValueList()
342 SmallVectorImpl<ByteCodeField> &bytecode;
394 ByteCodeField index = 0; in allocateMemoryIndices()
411 DenseMap<Operation *, ByteCodeField> opToIndex; in allocateMemoryIndices()
417 using LivenessSet = llvm::IntervalMap<ByteCodeField, char, 16>; in allocateMemoryIndices()
457 ByteCodeField &memIndex = valueToMemIndex[defIt.first]; in allocateMemoryIndices()
483 ByteCodeField numMatcherIndices = allocatedIndices.size() + 1; in allocateMemoryIndices()
577 writer.append(static_cast<ByteCodeField>(attributes.size())); in generate()
637 ByteCodeField patternIndex = patterns.size(); in generate()
713 ByteCodeExecutor(const ByteCodeField *curCodeIt, in ByteCodeExecutor()
716 ArrayRef<ByteCodeField> code, in ByteCodeExecutor()
738 template <typename T = ByteCodeField>
743 ByteCodeField read(size_t skipN = 0) { return read<ByteCodeField>(skipN); } in read()
816 static_assert((sizeof(ByteCodeAddr) / sizeof(ByteCodeField)) == 2, in readImpl()
824 std::enable_if_t<std::is_same<T, ByteCodeField>::value, T> readImpl() { in readImpl()
829 const ByteCodeField *curCodeIt;
836 ArrayRef<ByteCodeField> code;
933 ByteCodeField resultIndex = read(); in execute()
1121 const ByteCodeField *dest = &code[read<ByteCodeAddr>()]; in execute()
1189 const ByteCodeField *prevCodeIt = curCodeIt; in execute()