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

Method IntToFloatNodeType

libchigraph/src/LangModule.cpp:309–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307
308struct IntToFloatNodeType : NodeType {
309 IntToFloatNodeType(LangModule& mod) : NodeType(mod, "inttofloat", "convert integer to float") {
310 makePure();
311
312 setDataInputs({{"", mod.typeFromName("i32")}});
313 setDataOutputs({{"", mod.typeFromName("float")}});
314 }
315
316 Result codegen(
317 size_t /*execInputID*/, const llvm::DebugLoc& nodeLocation,

Callers

nothing calls this directly

Calls 1

typeFromNameMethod · 0.45

Tested by

no test coverage detected