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

Method GetLocalNodeType

libchigraph/src/GraphModule.cpp:528–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526
527struct GetLocalNodeType : public NodeType {
528 GetLocalNodeType(ChiModule& mod, NamedDataType ty) : NodeType(mod), mDataType{std::move(ty)} {
529 setName("_get_" + mDataType.name);
530 setDescription("Get " + mDataType.name);
531
532 setDataOutputs({{"", mDataType.type}});
533
534 makePure();
535 }
536
537 Result codegen(size_t /*execInputID*/, const llvm::DebugLoc& nodeLocation,
538 const std::vector<llvm::Value*>& io, llvm::BasicBlock* codegenInto,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected