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

Method ConstIntNodeType

libchigraph/src/LangModule.cpp:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109struct ConstIntNodeType : NodeType {
110 ConstIntNodeType(LangModule& mod, int num)
111 : NodeType(mod, "const-int", "Int literal"), number(num) {
112 makePure();
113
114 setDataOutputs({{"", mod.typeFromName("i32")}});
115 }
116
117 Result codegen(
118 size_t /*inputExecID*/, const llvm::DebugLoc& nodeLocation,

Callers

nothing calls this directly

Calls 1

typeFromNameMethod · 0.45

Tested by

no test coverage detected