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

Method ConstBoolNodeType

libchigraph/src/LangModule.cpp:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173struct ConstBoolNodeType : NodeType {
174 ConstBoolNodeType(LangModule& mod, bool num)
175 : NodeType{mod, "const-bool", "Boolean literal"}, value{num} {
176 makePure();
177
178 setDataOutputs({{"", mod.typeFromName("i1")}});
179 }
180
181 Result codegen(
182 size_t /*inputExecID*/, const llvm::DebugLoc& nodeLocation,

Callers

nothing calls this directly

Calls 1

typeFromNameMethod · 0.45

Tested by

no test coverage detected