Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
Line
Count
Source (jump to first uncovered line)
1
//===-- WebAssemblyAsmPrinter.cpp - WebAssembly LLVM assembly writer ------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
///
9
/// \file
10
/// This file contains a printer that converts from our internal
11
/// representation of machine-dependent LLVM code to the WebAssembly assembly
12
/// language.
13
///
14
//===----------------------------------------------------------------------===//
15
16
#include "WebAssemblyAsmPrinter.h"
17
#include "MCTargetDesc/WebAssemblyInstPrinter.h"
18
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
19
#include "MCTargetDesc/WebAssemblyTargetStreamer.h"
20
#include "TargetInfo/WebAssemblyTargetInfo.h"
21
#include "WebAssembly.h"
22
#include "WebAssemblyMCInstLower.h"
23
#include "WebAssemblyMachineFunctionInfo.h"
24
#include "WebAssemblyRegisterInfo.h"
25
#include "WebAssemblyTargetMachine.h"
26
#include "llvm/ADT/SmallSet.h"
27
#include "llvm/ADT/StringExtras.h"
28
#include "llvm/BinaryFormat/Wasm.h"
29
#include "llvm/CodeGen/Analysis.h"
30
#include "llvm/CodeGen/AsmPrinter.h"
31
#include "llvm/CodeGen/MachineConstantPool.h"
32
#include "llvm/CodeGen/MachineInstr.h"
33
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
34
#include "llvm/IR/DataLayout.h"
35
#include "llvm/IR/DebugInfoMetadata.h"
36
#include "llvm/IR/GlobalVariable.h"
37
#include "llvm/IR/Metadata.h"
38
#include "llvm/MC/MCContext.h"
39
#include "llvm/MC/MCSectionWasm.h"
40
#include "llvm/MC/MCStreamer.h"
41
#include "llvm/MC/MCSymbol.h"
42
#include "llvm/MC/MCSymbolWasm.h"
43
#include "llvm/Support/Debug.h"
44
#include "llvm/Support/TargetRegistry.h"
45
#include "llvm/Support/raw_ostream.h"
46
47
using namespace llvm;
48
49
#define DEBUG_TYPE "asm-printer"
50
51
extern cl::opt<bool> WasmKeepRegisters;
52
53
//===----------------------------------------------------------------------===//
54
// Helpers.
55
//===----------------------------------------------------------------------===//
56
57
0
MVT WebAssemblyAsmPrinter::getRegType(unsigned RegNo) const {
58
0
  const TargetRegisterInfo *TRI = Subtarget->getRegisterInfo();
59
0
  const TargetRegisterClass *TRC = MRI->getRegClass(RegNo);
60
0
  for (MVT T : {MVT::i32, MVT::i64, MVT::f32, MVT::f64, MVT::v16i8, MVT::v8i16,
61
0
                MVT::v4i32, MVT::v2i64, MVT::v4f32, MVT::v2f64})
62
0
    if (TRI->isTypeLegalForClass(*TRC, T))
63
0
      return T;
64
0
  LLVM_DEBUG(errs() << "Unknown type for register number: " << RegNo);
65
0
  llvm_unreachable("Unknown register type");
66
0
  return MVT::Other;
67
0
}
68
69
0
std::string WebAssemblyAsmPrinter::regToString(const MachineOperand &MO) {
70
0
  unsigned RegNo = MO.getReg();
71
0
  assert(TargetRegisterInfo::isVirtualRegister(RegNo) &&
72
0
         "Unlowered physical register encountered during assembly printing");
73
0
  assert(!MFI->isVRegStackified(RegNo));
74
0
  unsigned WAReg = MFI->getWAReg(RegNo);
75
0
  assert(WAReg != WebAssemblyFunctionInfo::UnusedReg);
76
0
  return '$' + utostr(WAReg);
77
0
}
78
79
9.39k
WebAssemblyTargetStreamer *WebAssemblyAsmPrinter::getTargetStreamer() {
80
9.39k
  MCTargetStreamer *TS = OutStreamer->getTargetStreamer();
81
9.39k
  return static_cast<WebAssemblyTargetStreamer *>(TS);
82
9.39k
}
83
84
//===----------------------------------------------------------------------===//
85
// WebAssemblyAsmPrinter Implementation.
86
//===----------------------------------------------------------------------===//
87
88
418
void WebAssemblyAsmPrinter::EmitEndOfAsmFile(Module &M) {
89
5.79k
  for (auto &It : OutContext.getSymbols()) {
90
5.79k
    // Emit a .globaltype and .eventtype declaration.
91
5.79k
    auto Sym = cast<MCSymbolWasm>(It.getValue());
92
5.79k
    if (Sym->getType() == wasm::WASM_SYMBOL_TYPE_GLOBAL)
93
91
      getTargetStreamer()->emitGlobalType(Sym);
94
5.70k
    else if (Sym->getType() == wasm::WASM_SYMBOL_TYPE_EVENT)
95
12
      getTargetStreamer()->emitEventType(Sym);
96
5.79k
  }
97
418
98
5.27k
  for (const auto &F : M) {
99
5.27k
    // Emit function type info for all undefined functions
100
5.27k
    if (F.isDeclarationForLinker() && 
!F.isIntrinsic()941
) {
101
379
      SmallVector<MVT, 4> Results;
102
379
      SmallVector<MVT, 4> Params;
103
379
      computeSignatureVTs(F.getFunctionType(), F, TM, Params, Results);
104
379
      auto *Sym = cast<MCSymbolWasm>(getSymbol(&F));
105
379
      Sym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION);
106
379
      if (!Sym->getSignature()) {
107
54
        auto Signature = signatureFromMVTs(Results, Params);
108
54
        Sym->setSignature(Signature.get());
109
54
        addSignature(std::move(Signature));
110
54
      }
111
379
      // FIXME: this was originally intended for post-linking and was only used
112
379
      // for imports that were only called indirectly (i.e. s2wasm could not
113
379
      // infer the type from a call). With object files it applies to all
114
379
      // imports. so fix the names and the tests, or rethink how import
115
379
      // delcarations work in asm files.
116
379
      getTargetStreamer()->emitFunctionType(Sym);
117
379
118
379
      if (TM.getTargetTriple().isOSBinFormatWasm() &&
119
380
          F.hasFnAttribute("wasm-import-module")) {
120
5
        StringRef Name =
121
5
            F.getFnAttribute("wasm-import-module").getValueAsString();
122
5
        Sym->setImportModule(Name);
123
5
        getTargetStreamer()->emitImportModule(Sym, Name);
124
5
      }
125
379
      if (TM.getTargetTriple().isOSBinFormatWasm() &&
126
380
          F.hasFnAttribute("wasm-import-name")) {
127
4
        StringRef Name =
128
4
            F.getFnAttribute("wasm-import-name").getValueAsString();
129
4
        Sym->setImportName(Name);
130
4
        getTargetStreamer()->emitImportName(Sym, Name);
131
4
      }
132
379
    }
133
5.27k
  }
134
418
135
418
  for (const auto &G : M.globals()) {
136
362
    if (!G.hasInitializer() && 
G.hasExternalLinkage()81
) {
137
73
      if (G.getValueType()->isSized()) {
138
71
        uint16_t Size = M.getDataLayout().getTypeAllocSize(G.getValueType());
139
71
        OutStreamer->emitELFSize(getSymbol(&G),
140
71
                                 MCConstantExpr::create(Size, OutContext));
141
71
      }
142
73
    }
143
362
  }
144
418
145
418
  if (const NamedMDNode *Named = M.getNamedMetadata("wasm.custom_sections")) {
146
13
    for (const Metadata *MD : Named->operands()) {
147
13
      const auto *Tuple = dyn_cast<MDTuple>(MD);
148
13
      if (!Tuple || Tuple->getNumOperands() != 2)
149
0
        continue;
150
13
      const MDString *Name = dyn_cast<MDString>(Tuple->getOperand(0));
151
13
      const MDString *Contents = dyn_cast<MDString>(Tuple->getOperand(1));
152
13
      if (!Name || !Contents)
153
0
        continue;
154
13
155
13
      OutStreamer->PushSection();
156
13
      std::string SectionName = (".custom_section." + Name->getString()).str();
157
13
      MCSectionWasm *MySection =
158
13
          OutContext.getWasmSection(SectionName, SectionKind::getMetadata());
159
13
      OutStreamer->SwitchSection(MySection);
160
13
      OutStreamer->EmitBytes(Contents->getString());
161
13
      OutStreamer->PopSection();
162
13
    }
163
5
  }
164
418
165
418
  EmitProducerInfo(M);
166
418
  EmitTargetFeatures(M);
167
418
}
168
169
417
void WebAssemblyAsmPrinter::EmitProducerInfo(Module &M) {
170
417
  llvm::SmallVector<std::pair<std::string, std::string>, 4> Languages;
171
417
  if (const NamedMDNode *Debug = M.getNamedMetadata("llvm.dbg.cu")) {
172
17
    llvm::SmallSet<StringRef, 4> SeenLanguages;
173
34
    for (size_t I = 0, E = Debug->getNumOperands(); I < E; 
++I17
) {
174
17
      const auto *CU = cast<DICompileUnit>(Debug->getOperand(I));
175
17
      StringRef Language = dwarf::LanguageString(CU->getSourceLanguage());
176
17
      Language.consume_front("DW_LANG_");
177
17
      if (SeenLanguages.insert(Language).second)
178
17
        Languages.emplace_back(Language.str(), "");
179
17
    }
180
17
  }
181
417
182
417
  llvm::SmallVector<std::pair<std::string, std::string>, 4> Tools;
183
417
  if (const NamedMDNode *Ident = M.getNamedMetadata("llvm.ident")) {
184
16
    llvm::SmallSet<StringRef, 4> SeenTools;
185
32
    for (size_t I = 0, E = Ident->getNumOperands(); I < E; 
++I16
) {
186
16
      const auto *S = cast<MDString>(Ident->getOperand(I)->getOperand(0));
187
16
      std::pair<StringRef, StringRef> Field = S->getString().split("version");
188
16
      StringRef Name = Field.first.trim();
189
16
      StringRef Version = Field.second.trim();
190
16
      if (SeenTools.insert(Name).second)
191
16
        Tools.emplace_back(Name.str(), Version.str());
192
16
    }
193
16
  }
194
417
195
417
  int FieldCount = int(!Languages.empty()) + int(!Tools.empty());
196
417
  if (FieldCount != 0) {
197
20
    MCSectionWasm *Producers = OutContext.getWasmSection(
198
20
        ".custom_section.producers", SectionKind::getMetadata());
199
20
    OutStreamer->PushSection();
200
20
    OutStreamer->SwitchSection(Producers);
201
20
    OutStreamer->EmitULEB128IntValue(FieldCount);
202
20
    for (auto &Producers : {std::make_pair("language", &Languages),
203
40
            std::make_pair("processed-by", &Tools)}) {
204
40
      if (Producers.second->empty())
205
7
        continue;
206
33
      OutStreamer->EmitULEB128IntValue(strlen(Producers.first));
207
33
      OutStreamer->EmitBytes(Producers.first);
208
33
      OutStreamer->EmitULEB128IntValue(Producers.second->size());
209
33
      for (auto &Producer : *Producers.second) {
210
33
        OutStreamer->EmitULEB128IntValue(Producer.first.size());
211
33
        OutStreamer->EmitBytes(Producer.first);
212
33
        OutStreamer->EmitULEB128IntValue(Producer.second.size());
213
33
        OutStreamer->EmitBytes(Producer.second);
214
33
      }
215
33
    }
216
20
    OutStreamer->PopSection();
217
20
  }
218
417
}
219
220
417
void WebAssemblyAsmPrinter::EmitTargetFeatures(Module &M) {
221
417
  struct FeatureEntry {
222
417
    uint8_t Prefix;
223
417
    StringRef Name;
224
417
  };
225
417
226
417
  // Read target features and linkage policies from module metadata
227
417
  SmallVector<FeatureEntry, 4> EmittedFeatures;
228
4.18k
  for (const SubtargetFeatureKV &KV : WebAssemblyFeatureKV) {
229
4.18k
    std::string MDKey = (StringRef("wasm-feature-") + KV.Key).str();
230
4.18k
    Metadata *Policy = M.getModuleFlag(MDKey);
231
4.18k
    if (Policy == nullptr)
232
4.04k
      continue;
233
140
234
140
    FeatureEntry Entry;
235
140
    Entry.Prefix = 0;
236
140
    Entry.Name = KV.Key;
237
140
238
140
    if (auto *MD = cast<ConstantAsMetadata>(Policy))
239
140
      if (auto *I = cast<ConstantInt>(MD->getValue()))
240
140
        Entry.Prefix = I->getZExtValue();
241
140
242
140
    // Silently ignore invalid metadata
243
140
    if (Entry.Prefix != wasm::WASM_FEATURE_PREFIX_USED &&
244
140
        
Entry.Prefix != wasm::WASM_FEATURE_PREFIX_REQUIRED8
&&
245
140
        
Entry.Prefix != wasm::WASM_FEATURE_PREFIX_DISALLOWED8
)
246
0
      continue;
247
140
248
140
    EmittedFeatures.push_back(Entry);
249
140
  }
250
417
251
417
  if (EmittedFeatures.size() == 0)
252
326
    return;
253
91
254
91
  // Emit features and linkage policies into the "target_features" section
255
91
  MCSectionWasm *FeaturesSection = OutContext.getWasmSection(
256
91
      ".custom_section.target_features", SectionKind::getMetadata());
257
91
  OutStreamer->PushSection();
258
91
  OutStreamer->SwitchSection(FeaturesSection);
259
91
260
91
  OutStreamer->EmitULEB128IntValue(EmittedFeatures.size());
261
140
  for (auto &F : EmittedFeatures) {
262
140
    OutStreamer->EmitIntValue(F.Prefix, 1);
263
140
    OutStreamer->EmitULEB128IntValue(F.Name.size());
264
140
    OutStreamer->EmitBytes(F.Name);
265
140
  }
266
91
267
91
  OutStreamer->PopSection();
268
91
}
269
270
4.45k
void WebAssemblyAsmPrinter::EmitConstantPool() {
271
4.45k
  assert(MF->getConstantPool()->getConstants().empty() &&
272
4.45k
         "WebAssembly disables constant pools");
273
4.45k
}
274
275
4.45k
void WebAssemblyAsmPrinter::EmitJumpTableInfo() {
276
4.45k
  // Nothing to do; jump tables are incorporated into the instruction stream.
277
4.45k
}
278
279
4.45k
void WebAssemblyAsmPrinter::EmitFunctionBodyStart() {
280
4.45k
  const Function &F = MF->getFunction();
281
4.45k
  SmallVector<MVT, 1> ResultVTs;
282
4.45k
  SmallVector<MVT, 4> ParamVTs;
283
4.45k
  computeSignatureVTs(F.getFunctionType(), F, TM, ParamVTs, ResultVTs);
284
4.45k
  auto Signature = signatureFromMVTs(ResultVTs, ParamVTs);
285
4.45k
  auto *WasmSym = cast<MCSymbolWasm>(CurrentFnSym);
286
4.45k
  WasmSym->setSignature(Signature.get());
287
4.45k
  addSignature(std::move(Signature));
288
4.45k
  WasmSym->setType(wasm::WASM_SYMBOL_TYPE_FUNCTION);
289
4.45k
290
4.45k
  // FIXME: clean up how params and results are emitted (use signatures)
291
4.45k
  getTargetStreamer()->emitFunctionType(WasmSym);
292
4.45k
293
4.45k
  // Emit the function index.
294
4.45k
  if (MDNode *Idx = F.getMetadata("wasm.index")) {
295
2
    assert(Idx->getNumOperands() == 1);
296
2
297
2
    getTargetStreamer()->emitIndIdx(AsmPrinter::lowerConstant(
298
2
        cast<ConstantAsMetadata>(Idx->getOperand(0))->getValue()));
299
2
  }
300
4.45k
301
4.45k
  SmallVector<wasm::ValType, 16> Locals;
302
4.45k
  valTypesFromMVTs(MFI->getLocals(), Locals);
303
4.45k
  getTargetStreamer()->emitLocal(Locals);
304
4.45k
305
4.45k
  AsmPrinter::EmitFunctionBodyStart();
306
4.45k
}
307
308
57.9k
void WebAssemblyAsmPrinter::EmitInstruction(const MachineInstr *MI) {
309
57.9k
  LLVM_DEBUG(dbgs() << "EmitInstruction: " << *MI << '\n');
310
57.9k
311
57.9k
  switch (MI->getOpcode()) {
312
57.9k
  case WebAssembly::ARGUMENT_i32:
313
9.52k
  case WebAssembly::ARGUMENT_i32_S:
314
9.52k
  case WebAssembly::ARGUMENT_i64:
315
9.52k
  case WebAssembly::ARGUMENT_i64_S:
316
9.52k
  case WebAssembly::ARGUMENT_f32:
317
9.52k
  case WebAssembly::ARGUMENT_f32_S:
318
9.52k
  case WebAssembly::ARGUMENT_f64:
319
9.52k
  case WebAssembly::ARGUMENT_f64_S:
320
9.52k
  case WebAssembly::ARGUMENT_v16i8:
321
9.52k
  case WebAssembly::ARGUMENT_v16i8_S:
322
9.52k
  case WebAssembly::ARGUMENT_v8i16:
323
9.52k
  case WebAssembly::ARGUMENT_v8i16_S:
324
9.52k
  case WebAssembly::ARGUMENT_v4i32:
325
9.52k
  case WebAssembly::ARGUMENT_v4i32_S:
326
9.52k
  case WebAssembly::ARGUMENT_v2i64:
327
9.52k
  case WebAssembly::ARGUMENT_v2i64_S:
328
9.52k
  case WebAssembly::ARGUMENT_v4f32:
329
9.52k
  case WebAssembly::ARGUMENT_v4f32_S:
330
9.52k
  case WebAssembly::ARGUMENT_v2f64:
331
9.52k
  case WebAssembly::ARGUMENT_v2f64_S:
332
9.52k
    // These represent values which are live into the function entry, so there's
333
9.52k
    // no instruction to emit.
334
9.52k
    break;
335
9.52k
  case WebAssembly::FALLTHROUGH_RETURN_I32:
336
456
  case WebAssembly::FALLTHROUGH_RETURN_I32_S:
337
456
  case WebAssembly::FALLTHROUGH_RETURN_I64:
338
456
  case WebAssembly::FALLTHROUGH_RETURN_I64_S:
339
456
  case WebAssembly::FALLTHROUGH_RETURN_F32:
340
456
  case WebAssembly::FALLTHROUGH_RETURN_F32_S:
341
456
  case WebAssembly::FALLTHROUGH_RETURN_F64:
342
456
  case WebAssembly::FALLTHROUGH_RETURN_F64_S:
343
456
  case WebAssembly::FALLTHROUGH_RETURN_v16i8:
344
456
  case WebAssembly::FALLTHROUGH_RETURN_v16i8_S:
345
456
  case WebAssembly::FALLTHROUGH_RETURN_v8i16:
346
456
  case WebAssembly::FALLTHROUGH_RETURN_v8i16_S:
347
456
  case WebAssembly::FALLTHROUGH_RETURN_v4i32:
348
456
  case WebAssembly::FALLTHROUGH_RETURN_v4i32_S:
349
456
  case WebAssembly::FALLTHROUGH_RETURN_v2i64:
350
456
  case WebAssembly::FALLTHROUGH_RETURN_v2i64_S:
351
456
  case WebAssembly::FALLTHROUGH_RETURN_v4f32:
352
456
  case WebAssembly::FALLTHROUGH_RETURN_v4f32_S:
353
456
  case WebAssembly::FALLTHROUGH_RETURN_v2f64:
354
456
  case WebAssembly::FALLTHROUGH_RETURN_v2f64_S: {
355
456
    // These instructions represent the implicit return at the end of a
356
456
    // function body. Always pops one value off the stack.
357
456
    if (isVerbose()) {
358
117
      OutStreamer->AddComment("fallthrough-return-value");
359
117
      OutStreamer->AddBlankLine();
360
117
    }
361
456
    break;
362
456
  }
363
456
  case WebAssembly::FALLTHROUGH_RETURN_VOID:
364
254
  case WebAssembly::FALLTHROUGH_RETURN_VOID_S:
365
254
    // This instruction represents the implicit return at the end of a
366
254
    // function body with no return value.
367
254
    if (isVerbose()) {
368
16
      OutStreamer->AddComment("fallthrough-return-void");
369
16
      OutStreamer->AddBlankLine();
370
16
    }
371
254
    break;
372
254
  case WebAssembly::COMPILER_FENCE:
373
4
    // This is a compiler barrier that prevents instruction reordering during
374
4
    // backend compilation, and should not be emitted.
375
4
    break;
376
254
  case WebAssembly::EXTRACT_EXCEPTION_I32:
377
41
  case WebAssembly::EXTRACT_EXCEPTION_I32_S:
378
41
    // These are pseudo instructions that simulates popping values from stack.
379
41
    // We print these only when we have -wasm-keep-registers on for assembly
380
41
    // readability.
381
41
    if (!WasmKeepRegisters)
382
0
      break;
383
41
    LLVM_FALLTHROUGH;
384
47.7k
  default: {
385
47.7k
    WebAssemblyMCInstLower MCInstLowering(OutContext, *this);
386
47.7k
    MCInst TmpInst;
387
47.7k
    MCInstLowering.lower(MI, TmpInst);
388
47.7k
    EmitToStreamer(*OutStreamer, TmpInst);
389
47.7k
    break;
390
41
  }
391
57.9k
  }
392
57.9k
}
393
394
bool WebAssemblyAsmPrinter::PrintAsmOperand(const MachineInstr *MI,
395
                                            unsigned OpNo,
396
                                            const char *ExtraCode,
397
19
                                            raw_ostream &OS) {
398
19
  // First try the generic code, which knows about modifiers like 'c' and 'n'.
399
19
  if (!AsmPrinter::PrintAsmOperand(MI, OpNo, ExtraCode, OS))
400
3
    return false;
401
16
402
16
  if (!ExtraCode) {
403
16
    const MachineOperand &MO = MI->getOperand(OpNo);
404
16
    switch (MO.getType()) {
405
16
    case MachineOperand::MO_Immediate:
406
14
      OS << MO.getImm();
407
14
      return false;
408
16
    case MachineOperand::MO_Register:
409
0
      // FIXME: only opcode that still contains registers, as required by
410
0
      // MachineInstr::getDebugVariable().
411
0
      assert(MI->getOpcode() == WebAssembly::INLINEASM);
412
0
      OS << regToString(MO);
413
0
      return false;
414
16
    case MachineOperand::MO_GlobalAddress:
415
2
      PrintSymbolOperand(MO, OS);
416
2
      return false;
417
16
    case MachineOperand::MO_ExternalSymbol:
418
0
      GetExternalSymbolSymbol(MO.getSymbolName())->print(OS, MAI);
419
0
      printOffset(MO.getOffset(), OS);
420
0
      return false;
421
16
    case MachineOperand::MO_MachineBasicBlock:
422
0
      MO.getMBB()->getSymbol()->print(OS, MAI);
423
0
      return false;
424
16
    default:
425
0
      break;
426
0
    }
427
0
  }
428
0
429
0
  return true;
430
0
}
431
432
bool WebAssemblyAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI,
433
                                                  unsigned OpNo,
434
                                                  const char *ExtraCode,
435
0
                                                  raw_ostream &OS) {
436
0
  // The current approach to inline asm is that "r" constraints are expressed
437
0
  // as local indices, rather than values on the operand stack. This simplifies
438
0
  // using "r" as it eliminates the need to push and pop the values in a
439
0
  // particular order, however it also makes it impossible to have an "m"
440
0
  // constraint. So we don't support it.
441
0
442
0
  return AsmPrinter::PrintAsmMemoryOperand(MI, OpNo, ExtraCode, OS);
443
0
}
444
445
// Force static initialization.
446
78.9k
extern "C" void LLVMInitializeWebAssemblyAsmPrinter() {
447
78.9k
  RegisterAsmPrinter<WebAssemblyAsmPrinter> X(getTheWebAssemblyTarget32());
448
78.9k
  RegisterAsmPrinter<WebAssemblyAsmPrinter> Y(getTheWebAssemblyTarget64());
449
78.9k
}