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

Method FloatToIntNodeType

libchigraph/src/LangModule.cpp:341–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339
340struct FloatToIntNodeType : NodeType {
341 FloatToIntNodeType(LangModule& mod) : NodeType(mod, "floattoint", "convert float to integer") {
342 makePure();
343
344 setDataInputs({{"", mod.typeFromName("float")}});
345 setDataOutputs({{"", mod.typeFromName("i32")}});
346 }
347
348 Result codegen(
349 size_t /*execInputID*/, const llvm::DebugLoc& nodeLocation,

Callers

nothing calls this directly

Calls 1

typeFromNameMethod · 0.45

Tested by

no test coverage detected