Lines Matching refs:Key
59 auto Key = mdconst::dyn_extract<ConstantInt>(Tuple->getOperand(I)); in readFromIR() local
61 if (!Key || !Val) in readFromIR()
63 setRegister(Key->getZExtValue(), Val->getZExtValue()); in readFromIR()
120 return PALMD::Key::PS_SCRATCH_SIZE; in getScratchSizeKey()
122 return PALMD::Key::VS_SCRATCH_SIZE; in getScratchSizeKey()
124 return PALMD::Key::GS_SCRATCH_SIZE; in getScratchSizeKey()
126 return PALMD::Key::ES_SCRATCH_SIZE; in getScratchSizeKey()
128 return PALMD::Key::HS_SCRATCH_SIZE; in getScratchSizeKey()
130 return PALMD::Key::LS_SCRATCH_SIZE; in getScratchSizeKey()
132 return PALMD::Key::CS_SCRATCH_SIZE; in getScratchSizeKey()
203 PALMD::Key::VS_NUM_USED_VGPRS - in setNumUsedVgprs()
204 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedVgprs()
219 PALMD::Key::VS_NUM_USED_SGPRS - in setNumUsedSgprs()
220 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedSgprs()
688 auto Key = I.first; in toString() local
689 if (const char *RegName = getRegisterName(Key.getUInt())) { in toString()
690 std::string KeyName = Key.toString(); in toString()
694 Key = MsgPackDoc.getNode(KeyName, /*Copy=*/true); in toString()
696 RegsObj.getMap()[Key] = I.second; in toString()
751 auto Key = I.first; in setFromString() local
752 if (Key.getKind() == msgpack::Type::String) { in setFromString()
753 StringRef S = Key.getString(); in setFromString()
760 Key = MsgPackDoc.getNode(uint64_t(Val)); in setFromString()
762 Registers.getMap()[Key] = I.second; in setFromString()