[WebAssembly] Initial WebAssembly backend

This WebAssembly backend is just a skeleton at this time and is not yet
functional.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2015-06-29 23:51:55 +00:00
parent ff67629985
commit a74341308f
56 changed files with 1913 additions and 4 deletions

View File

@@ -85,6 +85,8 @@ public:
spir64, // SPIR: standard portable IR for OpenCL 64-bit version
kalimba, // Kalimba: generic kalimba
shave, // SHAVE: Movidius vector VLIW processors
wasm32, // WebAssembly with 32-bit pointers
wasm64, // WebAssembly with 64-bit pointers
LastArchType = shave
};
enum SubArchType {
@@ -151,7 +153,8 @@ public:
NVCL, // NVIDIA OpenCL
AMDHSA, // AMD HSA Runtime
PS4,
LastOSType = PS4
WebAssembly,
LastOSType = WebAssembly
};
enum EnvironmentType {
UnknownEnvironment,