MCPcopy Create free account
hub / github.com/NVIDIA/cuda-quantum / parse

Function parse

unittests/Optimizer/FactoryMergeModuleTest.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19using cudaq::opt::factory::mergeModules;
20
21static mlir::OwningOpRef<mlir::ModuleOp> parse(MLIRContext &ctx,
22 llvm::StringRef ir) {
23 return mlir::parseSourceString<mlir::ModuleOp>(ir, &ctx);
24}
25
26TEST(FactoryMergeModuleTest, CopiesMissingFunction) {
27 DialectRegistry registry;

Callers 6

TESTFunction · 0.70
loadTraceFunction · 0.50
TESTFunction · 0.50
CUDAQ_TESTFunction · 0.50
CUDAQ_TESTFunction · 0.50
CUDAQ_TESTFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected