Home | History | Annotate | Download | only in IR

Lines Matching refs:Constraint

87   /// the specified constraint string is legal for the type.  This returns true
92 // Constraint String Parsing
102 /// MatchingInput - If this is not -1, this is an output constraint where an
103 /// input constraint is required to match it (e.g. "0"). The value is the
104 /// constraint number that matches this one (for example, if this is
105 /// constraint #0 and constraint #4 has the value "0", this will be 4).
107 /// Code - The constraint code, either the register name (in braces) or the
108 /// constraint letter/number.
119 /// Type - The basic type of the constraint: input/output/clobber
127 /// MatchingInput - If this is not -1, this is an output constraint where an
128 /// input constraint is required to match it (e.g. "0"). The value is the
129 /// constraint number that matches this one (for example, if this is
130 /// constraint #0 and constraint #4 has the value "0", this will be 4).
133 /// hasMatchingInput - Return true if this is an output constraint that has
134 /// a matching input constraint.
137 /// isCommutative - This is set to true for a constraint that is commutative
147 /// Code - The constraint code, either the register name (in braces) or the
148 /// constraint letter/number.
158 /// The currently selected alternative constraint index.
165 /// fields in this structure. If the constraint string is not understood,
169 /// selectAlternative - Point this constraint to the alternative constraint
174 /// ParseConstraints - Split up the constraint string into the specific
176 /// the constraint string itself isn't empty, there was an error parsing.
202 // Bit 30-16 - A Constraint_* value indicating the original constraint
237 // Memory constraint codes.
240 // constraint codes for all targets.
297 /// Augment an existing flag word returned by getFlagWord with the constraint
298 /// code for a memory constraint.
299 static unsigned getFlagWordForMem(unsigned InputFlag, unsigned Constraint) {
300 assert(Constraint <= 0x7fff && "Too large a memory constraint ID");
301 assert(Constraint <= Constraints_Max && "Unknown constraint ID");
303 return InputFlag | (Constraint << Constraints_ShiftAmount);
346 /// class constraint. Sets RC to the register class ID.