Lines Matching refs:MsgPackDoc
86 return MsgPackDoc.readFromBlob(Blob, /*Multi=*/false); in setFromMsgPackBlob()
161 auto It = Regs.find(MsgPackDoc.getNode(Reg)); in getRegister()
179 auto &N = getRegisters()[MsgPackDoc.getNode(Reg)]; in setRegister()
190 getHwStage(CC)[".entry_point"] = MsgPackDoc.getNode(Name, /*Copy=*/true); in setEntryPoint()
207 getHwStage(CC)[".vgpr_count"] = MsgPackDoc.getNode(Val); in setNumUsedVgprs()
228 getHwStage(CC)[".sgpr_count"] = MsgPackDoc.getNode(Val); in setNumUsedSgprs()
239 getHwStage(CC)[".scratch_memory_size"] = MsgPackDoc.getNode(Val); in setScratchSize()
245 Node[".stack_frame_size_in_bytes"] = MsgPackDoc.getNode(Val); in setFunctionScratchSize()
246 Node[".backend_stack_size"] = MsgPackDoc.getNode(Val); in setFunctionScratchSize()
252 Node[".lds_size"] = MsgPackDoc.getNode(Val); in setFunctionLdsSize()
259 Node[".vgpr_count"] = MsgPackDoc.getNode(Val); in setFunctionNumUsedVgprs()
266 Node[".sgpr_count"] = MsgPackDoc.getNode(Val); in setFunctionNumUsedSgprs()
667 if (MsgPackDoc.getRoot().getKind() == msgpack::Type::Nil) in toString()
685 MsgPackDoc.setHexMode(); in toString()
688 RegsObj = MsgPackDoc.getMapNode(); in toString()
696 Key = MsgPackDoc.getNode(KeyName, /*Copy=*/true); in toString()
703 MsgPackDoc.toYAML(Stream); in toString()
735 MsgPackDoc.writeToBlob(Blob); in toMsgPackBlob()
741 if (!MsgPackDoc.fromYAML(S)) in setFromString()
749 RegsObj = MsgPackDoc.getMapNode(); in setFromString()
762 Key = MsgPackDoc.getNode(uint64_t(Val)); in setFromString()
772 MsgPackDoc.getRoot() in refRegisters()
773 .getMap(/*Convert=*/true)[MsgPackDoc.getNode("amdpal.pipelines")] in refRegisters()
775 .getMap(/*Convert=*/true)[MsgPackDoc.getNode(".registers")]; in refRegisters()
790 MsgPackDoc.getRoot() in refShaderFunctions()
791 .getMap(/*Convert=*/true)[MsgPackDoc.getNode("amdpal.pipelines")] in refShaderFunctions()
793 .getMap(/*Convert=*/true)[MsgPackDoc.getNode(".shader_functions")]; in refShaderFunctions()
813 MsgPackDoc.getRoot() in refComputeRegisters()
814 .getMap(/*Convert=*/true)[MsgPackDoc.getNode("amdpal.pipelines")] in refComputeRegisters()
816 .getMap(/*Convert=*/true)[MsgPackDoc.getNode(".compute_registers")]; in refComputeRegisters()
829 MsgPackDoc.getRoot() in refGraphicsRegisters()
830 .getMap(/*Convert=*/true)[MsgPackDoc.getNode("amdpal.pipelines")] in refGraphicsRegisters()
832 .getMap(/*Convert=*/true)[MsgPackDoc.getNode(".graphics_registers")]; in refGraphicsRegisters()
867 MsgPackDoc.getRoot() in refHwStage()
868 .getMap(/*Convert=*/true)[MsgPackDoc.getNode("amdpal.pipelines")] in refHwStage()
870 .getMap(/*Convert=*/true)[MsgPackDoc.getNode(".hardware_stages")]; in refHwStage()
908 MsgPackDoc.clear(); in reset()
909 Registers = MsgPackDoc.getEmptyNode(); in reset()
910 HwStages = MsgPackDoc.getEmptyNode(); in reset()
911 ShaderFunctions = MsgPackDoc.getEmptyNode(); in reset()
919 auto &M = MsgPackDoc.getRoot().getMap(/*Convert=*/true); in getPALVersion()
920 auto I = M.find(MsgPackDoc.getNode("amdpal.version")); in getPALVersion()