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