OLD | NEW |
1 //===-- llvm/CodeGen/ISDOpcodes.h - CodeGen opcodes -------------*- C++ -*-===// | 1 //===-- llvm/CodeGen/ISDOpcodes.h - CodeGen opcodes -------------*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // This file declares codegen opcodes and related utilities. | 10 // This file declares codegen opcodes and related utilities. |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
672 ATOMIC_LOAD_NAND, | 672 ATOMIC_LOAD_NAND, |
673 ATOMIC_LOAD_MIN, | 673 ATOMIC_LOAD_MIN, |
674 ATOMIC_LOAD_MAX, | 674 ATOMIC_LOAD_MAX, |
675 ATOMIC_LOAD_UMIN, | 675 ATOMIC_LOAD_UMIN, |
676 ATOMIC_LOAD_UMAX, | 676 ATOMIC_LOAD_UMAX, |
677 | 677 |
678 /// This corresponds to the llvm.lifetime.* intrinsics. The first operand | 678 /// This corresponds to the llvm.lifetime.* intrinsics. The first operand |
679 /// is the chain and the second operand is the alloca pointer. | 679 /// is the chain and the second operand is the alloca pointer. |
680 LIFETIME_START, LIFETIME_END, | 680 LIFETIME_START, LIFETIME_END, |
681 | 681 |
| 682 // @LOCALMOD-BEGIN |
| 683 // NACL_* - Native Client instrinsics. |
| 684 // NACL_READ_TP is a fast built-in version of NaCl's tls_get() IRT |
| 685 // interface. |
| 686 NACL_READ_TP, |
| 687 // @LOCALMOD-END |
| 688 |
682 /// BUILTIN_OP_END - This must be the last enum value in this list. | 689 /// BUILTIN_OP_END - This must be the last enum value in this list. |
683 /// The target-specific pre-isel opcode values start here. | 690 /// The target-specific pre-isel opcode values start here. |
684 BUILTIN_OP_END | 691 BUILTIN_OP_END |
685 }; | 692 }; |
686 | 693 |
687 /// FIRST_TARGET_MEMORY_OPCODE - Target-specific pre-isel operations | 694 /// FIRST_TARGET_MEMORY_OPCODE - Target-specific pre-isel operations |
688 /// which do not reference a specific memory location should be less than | 695 /// which do not reference a specific memory location should be less than |
689 /// this value. Those that do must not be less than this value, and can | 696 /// this value. Those that do must not be less than this value, and can |
690 /// be used with SelectionDAG::getMemIntrinsicNode. | 697 /// be used with SelectionDAG::getMemIntrinsicNode. |
691 static const int FIRST_TARGET_MEMORY_OPCODE = BUILTIN_OP_END+180; | 698 static const int FIRST_TARGET_MEMORY_OPCODE = BUILTIN_OP_END+180; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 CVT_US, /// Unsigned from Signed | 860 CVT_US, /// Unsigned from Signed |
854 CVT_UU, /// Unsigned from Unsigned | 861 CVT_UU, /// Unsigned from Unsigned |
855 CVT_INVALID /// Marker - Invalid opcode | 862 CVT_INVALID /// Marker - Invalid opcode |
856 }; | 863 }; |
857 | 864 |
858 } // end llvm::ISD namespace | 865 } // end llvm::ISD namespace |
859 | 866 |
860 } // end llvm namespace | 867 } // end llvm namespace |
861 | 868 |
862 #endif | 869 #endif |
OLD | NEW |