| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_COMPILER_WASM_COMPILER_H_ | 5 #ifndef V8_COMPILER_WASM_COMPILER_H_ |
| 6 #define V8_COMPILER_WASM_COMPILER_H_ | 6 #define V8_COMPILER_WASM_COMPILER_H_ |
| 7 | 7 |
| 8 // Clients of this interface shouldn't depend on lots of compiler internals. | 8 // Clients of this interface shouldn't depend on lots of compiler internals. |
| 9 // Do not include anything from src/compiler here! | 9 // Do not include anything from src/compiler here! |
| 10 #include "src/wasm/wasm-opcodes.h" | 10 #include "src/wasm/wasm-opcodes.h" |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 Node* BuildF64Min(Node* left, Node* right); | 173 Node* BuildF64Min(Node* left, Node* right); |
| 174 Node* BuildF64Max(Node* left, Node* right); | 174 Node* BuildF64Max(Node* left, Node* right); |
| 175 Node* BuildI32SConvertF32(Node* input); | 175 Node* BuildI32SConvertF32(Node* input); |
| 176 Node* BuildI32SConvertF64(Node* input); | 176 Node* BuildI32SConvertF64(Node* input); |
| 177 Node* BuildI32UConvertF32(Node* input); | 177 Node* BuildI32UConvertF32(Node* input); |
| 178 Node* BuildI32UConvertF64(Node* input); | 178 Node* BuildI32UConvertF64(Node* input); |
| 179 Node* BuildI32Ctz(Node* input); | 179 Node* BuildI32Ctz(Node* input); |
| 180 Node* BuildI32Popcnt(Node* input); | 180 Node* BuildI32Popcnt(Node* input); |
| 181 Node* BuildI64Ctz(Node* input); | 181 Node* BuildI64Ctz(Node* input); |
| 182 Node* BuildI64Popcnt(Node* input); | 182 Node* BuildI64Popcnt(Node* input); |
| 183 Node* BuildRoundingInstruction(Node* input, ExternalReference ref, | 183 Node* BuildCFuncInstruction(ExternalReference ref, MachineType type, |
| 184 MachineType type); | 184 Node* input0, Node* input1 = nullptr); |
| 185 Node* BuildF32Trunc(Node* input); | 185 Node* BuildF32Trunc(Node* input); |
| 186 Node* BuildF32Floor(Node* input); | 186 Node* BuildF32Floor(Node* input); |
| 187 Node* BuildF32Ceil(Node* input); | 187 Node* BuildF32Ceil(Node* input); |
| 188 Node* BuildF32NearestInt(Node* input); | 188 Node* BuildF32NearestInt(Node* input); |
| 189 Node* BuildF64Trunc(Node* input); | 189 Node* BuildF64Trunc(Node* input); |
| 190 Node* BuildF64Floor(Node* input); | 190 Node* BuildF64Floor(Node* input); |
| 191 Node* BuildF64Ceil(Node* input); | 191 Node* BuildF64Ceil(Node* input); |
| 192 Node* BuildF64NearestInt(Node* input); | 192 Node* BuildF64NearestInt(Node* input); |
| 193 | 193 |
| 194 Node* BuildF64Acos(Node* input); |
| 195 Node* BuildF64Asin(Node* input); |
| 196 Node* BuildF64Atan(Node* input); |
| 197 Node* BuildF64Cos(Node* input); |
| 198 Node* BuildF64Sin(Node* input); |
| 199 Node* BuildF64Tan(Node* input); |
| 200 Node* BuildF64Exp(Node* input); |
| 201 Node* BuildF64Log(Node* input); |
| 202 Node* BuildF64Pow(Node* left, Node* right); |
| 203 Node* BuildF64Atan2(Node* left, Node* right); |
| 204 Node* BuildF64Mod(Node* left, Node* right); |
| 205 |
| 194 Node** Realloc(Node** buffer, size_t count) { | 206 Node** Realloc(Node** buffer, size_t count) { |
| 195 Node** buf = Buffer(count); | 207 Node** buf = Buffer(count); |
| 196 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); | 208 if (buf != buffer) memcpy(buf, buffer, count * sizeof(Node*)); |
| 197 return buf; | 209 return buf; |
| 198 } | 210 } |
| 199 }; | 211 }; |
| 200 } // namespace compiler | 212 } // namespace compiler |
| 201 } // namespace internal | 213 } // namespace internal |
| 202 } // namespace v8 | 214 } // namespace v8 |
| 203 | 215 |
| 204 #endif // V8_COMPILER_WASM_COMPILER_H_ | 216 #endif // V8_COMPILER_WASM_COMPILER_H_ |
| OLD | NEW |