| 485 | |
| 486 | struct SetLocalNodeType : public NodeType { |
| 487 | SetLocalNodeType(ChiModule& mod, NamedDataType ty) : NodeType(mod), mDataType{std::move(ty)} { |
| 488 | setName("_set_" + mDataType.name); |
| 489 | setDescription("Set " + mDataType.name); |
| 490 | |
| 491 | setDataInputs({{"", mDataType.type}}); |
| 492 | |
| 493 | setExecInputs({""}); |
| 494 | setExecOutputs({""}); |
| 495 | } |
| 496 | |
| 497 | Result codegen(size_t /*execInputID*/, const llvm::DebugLoc& nodeLocation, |
| 498 | const std::vector<llvm::Value*>& io, llvm::BasicBlock* codegenInto, |
nothing calls this directly
no outgoing calls
no test coverage detected