Lines Matching refs:constraint

49     const OperandConstraint& constraint) {
50 CHECK_NE(kSameAsFirst, constraint.type_);
51 if (constraint.type_ != kImmediate && constraint.type_ != kExplicit) {
53 constraint.virtual_register_);
59 const OperandConstraint& constraint) {
60 CHECK_NE(kSameAsFirst, constraint.type_);
61 CHECK_NE(kImmediate, constraint.type_);
62 CHECK_NE(kExplicit, constraint.type_);
63 CHECK_NE(kConstant, constraint.type_);
68 const OperandConstraint& constraint) {
69 CHECK_NE(kImmediate, constraint.type_);
70 CHECK_NE(kExplicit, constraint.type_);
72 constraint.virtual_register_);
141 OperandConstraint* constraint) {
142 constraint->value_ = kMinInt;
143 constraint->virtual_register_ = InstructionOperand::kInvalidVirtualRegister;
145 constraint->type_ = kConstant;
146 constraint->value_ = ConstantOperand::cast(op)->virtual_register();
147 constraint->virtual_register_ = constraint->value_;
149 constraint->type_ = kExplicit;
154 constraint->type_ = kImmediate;
155 constraint->value_ = value;
160 constraint->virtual_register_ = vreg;
162 constraint->type_ = sequence()->IsFloat(vreg) ? kDoubleSlot : kSlot;
163 constraint->value_ = unallocated->fixed_slot_index();
169 constraint->type_ = kNoneDouble;
171 constraint->type_ = kNone;
176 constraint->type_ = kRegisterAndSlot;
177 constraint->spilled_slot_ = unallocated->GetSecondaryStorage();
179 constraint->type_ = kFixedRegister;
181 constraint->value_ = unallocated->fixed_register_index();
184 constraint->type_ = kFixedDoubleRegister;
185 constraint->value_ = unallocated->fixed_register_index();
189 constraint->type_ = kDoubleRegister;
191 constraint->type_ = kRegister;
195 constraint->type_ = sequence()->IsFloat(vreg) ? kDoubleSlot : kSlot;
198 constraint->type_ = kSameAsFirst;
207 const InstructionOperand* op, const OperandConstraint* constraint) {
208 switch (constraint->type_) {
212 constraint->value_);
220 CHECK_EQ(value, constraint->value_);
236 constraint->value_);
241 constraint->value_);
245 CHECK_EQ(LocationOperand::cast(op)->index(), constraint->value_);