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()
119 return PALMD::Key::PS_SCRATCH_SIZE; in getScratchSizeKey()
121 return PALMD::Key::VS_SCRATCH_SIZE; in getScratchSizeKey()
123 return PALMD::Key::GS_SCRATCH_SIZE; in getScratchSizeKey()
125 return PALMD::Key::ES_SCRATCH_SIZE; in getScratchSizeKey()
127 return PALMD::Key::HS_SCRATCH_SIZE; in getScratchSizeKey()
129 return PALMD::Key::LS_SCRATCH_SIZE; in getScratchSizeKey()
131 return PALMD::Key::CS_SCRATCH_SIZE; in getScratchSizeKey()
246 PALMD::Key::VS_NUM_USED_VGPRS - in setNumUsedVgprs()
247 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedVgprs()
260 PALMD::Key::VS_NUM_USED_VGPRS - in setNumUsedVgprs()
261 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedVgprs()
285 PALMD::Key::VS_NUM_USED_SGPRS - in setNumUsedSgprs()
286 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedSgprs()
299 PALMD::Key::VS_NUM_USED_SGPRS - in setNumUsedSgprs()
300 PALMD::Key::VS_SCRATCH_SIZE; in setNumUsedSgprs()
791 auto Key = I.first; in toString() local
792 if (const char *RegName = getRegisterName(Key.getUInt())) { in toString()
793 std::string KeyName = Key.toString(); in toString()
797 Key = MsgPackDoc.getNode(KeyName, /*Copy=*/true); in toString()
799 RegsObj.getMap()[Key] = I.second; in toString()
855 auto Key = I.first; in setFromString() local
856 if (Key.getKind() == msgpack::Type::String) { in setFromString()
857 StringRef S = Key.getString(); in setFromString()
864 Key = MsgPackDoc.getNode(uint64_t(Val)); in setFromString()
866 Registers.getMap()[Key] = I.second; in setFromString()