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

Method ExitNodeType

libchigraph/src/LangModule.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204
205struct ExitNodeType : NodeType {
206 ExitNodeType(LangModule& mod, std::vector<NamedDataType> dataOutputs,
207 std::vector<std::string> execOutputs)
208 : NodeType{mod, "exit", "Return from a function"} {
209 // outputs to the function are inputs to the node
210 setExecInputs(std::move(execOutputs));
211
212 setDataInputs(std::move(dataOutputs));
213 }
214
215 Result codegen(
216 size_t execInputID, const llvm::DebugLoc& nodeLocation, const std::vector<llvm::Value*>& io,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected