1 //===- ThreadSafetyTIL.h ---------------------------------------*- C++ --*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file defines the list of core opcodes for the Thread Safety
10 // Typed Intermediate language. Please see ThreadSafetyTIL.h for more
13 //===----------------------------------------------------------------------===//
16 TIL_OPCODE_DEF(Future)
17 TIL_OPCODE_DEF(Undefined)
18 TIL_OPCODE_DEF(Wildcard)
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)
29 TIL_OPCODE_DEF(SApply)
30 TIL_OPCODE_DEF(Project)
36 TIL_OPCODE_DEF(ArrayIndex)
37 TIL_OPCODE_DEF(ArrayAdd)
39 TIL_OPCODE_DEF(UnaryOp)
40 TIL_OPCODE_DEF(BinaryOp)
44 TIL_OPCODE_DEF(BasicBlock)
47 // Terminator instructions
49 TIL_OPCODE_DEF(Branch)
50 TIL_OPCODE_DEF(Return)
53 TIL_OPCODE_DEF(Identifier)
54 TIL_OPCODE_DEF(IfThenElse)