Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions suite/auto-sync/src/autosync/Targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"TriCore",
"ARC",
"Sparc",
"WebAssembly",
]

# Names of the target architecture as they are used in code and pretty much everywhere else.
Expand All @@ -29,6 +30,7 @@
"TriCore",
"ARC",
"Sparc",
"WebAssembly",
]

# Maps the target full name to the name used in code (and pretty much everywhere else).
Expand All @@ -45,6 +47,7 @@
"ARC": "ARC",
"Sparc": "Sparc",
"ARCH": "ARCH", # For testing
"WebAssembly": "WebAssembly"
}

# Maps the name from ARCH_LLVM_NAMING to the directory name in LLVM
Expand All @@ -61,4 +64,5 @@
"ARC": "ARC",
"Sparc": "Sparc",
"ARCH": "ARCH", # For testing
"WebAssembly": "WebAssembly"
}
19 changes: 19 additions & 0 deletions suite/auto-sync/src/autosync/cpptranslator/arch_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -314,5 +314,24 @@
],
"templates_with_arg_deduction": [],
"manually_edited_files": []
},
"WebAssembly": {
"files_to_translate": [
{
"in": "{LLVM_ROOT}/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp",
"out": "WebAssemblyDisassembler.c"
},{
"in": "{LLVM_ROOT}/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.cpp",
"out": "WebAssemblyInstPrinter.c"
},{
"in": "{LLVM_ROOT}/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyInstPrinter.h",
"out": "WebAssemblyInstPrinter.h"
}
],
"files_for_template_search": [
],
"templates_with_arg_deduction": [],
"manually_edited_files": [
]
}
}
Loading