• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/

Lines Matching refs:constraint

4303 /// Try to replace an X constraint, which matches anything, with another that
4407 assert(*(Constraint.end() - 1) == '}' && "Not a brace enclosed constraint?");
4445 /// Return true of this is an input operand that is a matching constraint like
4448 assert(!ConstraintCode.empty() && "No known constraint!");
4452 /// If this is an input matching constraint, this method returns the output
4455 assert(!ConstraintCode.empty() && "No known constraint!");
4459 /// Split up the constraint string from the inline assembly value into the
4462 /// If this returns an empty vector, and if the constraint string itself
4482 // Update multiple alternative constraint count.
4604 // Now select chosen alternative in each constraint.
4615 // Check and hook up tied operands, choose constraint code to use.
4637 report_fatal_error("Unsupported asm: input constraint"
4638 " with a matching output constraint of"
4662 llvm_unreachable("Invalid constraint type");
4665 /// Examine constraint type and operand type and determine a weight value.
4667 /// and the current alternative constraint selected.
4689 /// Examine constraint type and operand type and determine a weight value.
4691 /// and the current alternative constraint selected.
4694 AsmOperandInfo &info, const char *constraint) const {
4701 // Look at the constraint type.
4702 switch (*constraint) {
4745 /// Ideally, we would pick the most specific constraint possible: if we have
4752 /// 1) If there is an 'other' constraint, and if the operand is valid for
4753 /// that constraint, use it. This makes us take advantage of 'i'
4755 /// 2) Otherwise, pick the most general constraint present. This prefers
4761 assert(OpInfo.Codes.size() > 1 && "Doesn't have multiple constraint options");
4777 // If this is an 'other' or 'immediate' constraint, see if the operand is
4778 // valid for it. For example, on X86 we might have an 'rI' constraint. If
4784 "Unhandled multi-letter 'other' constraint");
4800 // This constraint letter is more general than the previous one, use it.
4813 /// Determines the constraint code and constraint type to use for the specific
4818 assert(!OpInfo.Codes.empty() && "Must have at least one constraint");