| 1 | //===- ThreadSafetyTIL.h ---------------------------------------*- C++ --*-===// |
|---|---|
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // This file defines the list of core opcodes for the Thread Safety |
| 10 | // Typed Intermediate language. Please see ThreadSafetyTIL.h for more |
| 11 | // information. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | |
| 16 | TIL_OPCODE_DEF(Future) |
| 17 | TIL_OPCODE_DEF(Undefined) |
| 18 | TIL_OPCODE_DEF(Wildcard) |
| 19 | |
| 20 | TIL_OPCODE_DEF(Literal) |
| 21 | TIL_OPCODE_DEF(LiteralPtr) |
| 22 | TIL_OPCODE_DEF(Variable) |
| 23 | TIL_OPCODE_DEF(Function) |
| 24 | TIL_OPCODE_DEF(SFunction) |
| 25 | TIL_OPCODE_DEF(Code) |
| 26 | TIL_OPCODE_DEF(Field) |
| 27 | |
| 28 | TIL_OPCODE_DEF(Apply) |
| 29 | TIL_OPCODE_DEF(SApply) |
| 30 | TIL_OPCODE_DEF(Project) |
| 31 | |
| 32 | TIL_OPCODE_DEF(Call) |
| 33 | TIL_OPCODE_DEF(Alloc) |
| 34 | TIL_OPCODE_DEF(Load) |
| 35 | TIL_OPCODE_DEF(Store) |
| 36 | TIL_OPCODE_DEF(ArrayIndex) |
| 37 | TIL_OPCODE_DEF(ArrayAdd) |
| 38 | |
| 39 | TIL_OPCODE_DEF(UnaryOp) |
| 40 | TIL_OPCODE_DEF(BinaryOp) |
| 41 | TIL_OPCODE_DEF(Cast) |
| 42 | |
| 43 | TIL_OPCODE_DEF(SCFG) |
| 44 | TIL_OPCODE_DEF(BasicBlock) |
| 45 | TIL_OPCODE_DEF(Phi) |
| 46 | |
| 47 | // Terminator instructions |
| 48 | TIL_OPCODE_DEF(Goto) |
| 49 | TIL_OPCODE_DEF(Branch) |
| 50 | TIL_OPCODE_DEF(Return) |
| 51 | |
| 52 | // pseudo-terms |
| 53 | TIL_OPCODE_DEF(Identifier) |
| 54 | TIL_OPCODE_DEF(IfThenElse) |
| 55 | TIL_OPCODE_DEF(Let) |
| 56 | |
| 57 |