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()
224 PALMD::Key::VS_NUM_USED_SGPRS - in setNumUsedSgprs()
225 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedSgprs()
693 auto Key = I.first; in toString() local
694 if (const char *RegName = getRegisterName(Key.getUInt())) { in toString()
695 std::string KeyName = Key.toString(); in toString()
699 Key = MsgPackDoc.getNode(KeyName, /*Copy=*/true); in toString()
701 RegsObj.getMap()[Key] = I.second; in toString()
756 auto Key = I.first; in setFromString() local
757 if (Key.getKind() == msgpack::Type::String) { in setFromString()
758 StringRef S = Key.getString(); in setFromString()
765 Key = MsgPackDoc.getNode(uint64_t(Val)); in setFromString()
767 Registers.getMap()[Key] = I.second; in setFromString()