Lines Matching defs:Key
34 struct Key {
40 bool operator<(const Key& other) const {
53 bool operator==(const Key& other) const {
60 typedef Key Value;
61 typedef std::map<Key, Value> OperandMap;
76 static Key KeyFor(const InstructionOperand& op) {
95 Key key = {is_constant, is_float, kind, index};
96 return key;
101 static InstructionOperand FromKey(Key key) {
102 if (key.is_constant) {
103 return ConstantOperand(key.index);
106 key.kind,
108 key.index);