MCPcopy Create free account
hub / github.com/chigraph/chigraph / SetLocalNodeType

Method SetLocalNodeType

libchigraph/src/GraphModule.cpp:487–495  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485
486struct SetLocalNodeType : public NodeType {
487 SetLocalNodeType(ChiModule& mod, NamedDataType ty) : NodeType(mod), mDataType{std::move(ty)} {
488 setName("_set_" + mDataType.name);
489 setDescription("Set " + mDataType.name);
490
491 setDataInputs({{"", mDataType.type}});
492
493 setExecInputs({""});
494 setExecOutputs({""});
495 }
496
497 Result codegen(size_t /*execInputID*/, const llvm::DebugLoc& nodeLocation,
498 const std::vector<llvm::Value*>& io, llvm::BasicBlock* codegenInto,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected