Lines Matching refs:constraint
1675 /// alignment can satisfy any constraint. Similarly if SrcAlign is zero it
22251 /// getConstraintType - Given a constraint letter, return the type of
22252 /// constraint it is for this target.
22254 X86TargetLowering::getConstraintType(const std::string &Constraint) const {
22255 if (Constraint.size() == 1) {
22256 switch (Constraint[0]) {
22291 return TargetLowering::getConstraintType(Constraint);
22294 /// Examine constraint type and operand type and determine a weight value.
22296 /// and the current alternative constraint selected.
22299 AsmOperandInfo &info, const char *constraint) const {
22307 // Look at the constraint type.
22308 switch (*constraint) {
22310 weight = TargetLowering::getSingleConstraintMatchWeight(info, constraint);
22399 /// LowerXConstraint - try to replace an X constraint, which matches anything,
22419 std::string &Constraint,
22425 if (Constraint.length() > 1) return;
22427 char ConstraintLetter = Constraint[0];
22548 return TargetLowering::LowerAsmOperandForConstraint(Op, Constraint, Ops, DAG);
22552 X86TargetLowering::getRegForInlineAsmConstraint(const std::string &Constraint,
22554 // First, see if this is a constraint that directly corresponds to an LLVM
22556 if (Constraint.size() == 1) {
22557 // GCC Constraint Letters
22558 switch (Constraint[0]) {
22656 // constraint into a member of a register class.
22658 Res = TargetLowering::getRegForInlineAsmConstraint(Constraint, VT);
22663 if (Constraint.size() == 7 && Constraint[0] == '{' &&
22664 tolower(Constraint[1]) == 's' &&
22665 tolower(Constraint[2]) == 't' &&
22666 Constraint[3] == '(' &&
22667 (Constraint[4] >= '0' && Constraint[4] <= '7') &&
22668 Constraint[5] == ')' &&
22669 Constraint[6] == '}') {
22671 Res.first = X86::ST0+Constraint[4]-'0';
22677 if (StringRef("{st}").equals_lower(Constraint)) {
22684 if (StringRef("{flags}").equals_lower(Constraint)) {
22691 if (Constraint == "A") {