| /llvm-project-15.0.7/polly/lib/External/isl/ |
| H A D | isl_constraint.c | 530 constraint = isl_constraint_cow(constraint); in isl_constraint_set_constant() 534 constraint->v = isl_vec_cow(constraint->v); in isl_constraint_set_constant() 547 constraint = isl_constraint_cow(constraint); in isl_constraint_set_constant_val() 565 constraint = isl_constraint_cow(constraint); in isl_constraint_set_constant_si() 569 constraint->v = isl_vec_cow(constraint->v); in isl_constraint_set_constant_si() 584 constraint = isl_constraint_cow(constraint); in isl_constraint_set_coefficient_val() 607 constraint = isl_constraint_cow(constraint); in isl_constraint_set_coefficient_si() 611 constraint->v = isl_vec_cow(constraint->v); in isl_constraint_set_coefficient_si() 626 constraint = isl_constraint_cow(constraint); in isl_constraint_negate() 634 constraint->v = isl_vec_neg(constraint->v); in isl_constraint_negate() [all …]
|
| H A D | isl_schedule_constraints.c | 66 sc_copy->constraint[i] = isl_union_map_copy(sc->constraint[i]); in isl_schedule_constraints_copy() 67 if (!sc_copy->constraint[i]) in isl_schedule_constraints_copy() 103 if (sc->constraint[i]) in isl_schedule_constraints_init() 106 if (!sc->constraint[i]) in isl_schedule_constraints_init() 193 isl_union_map_free(sc->constraint[type]); in isl_schedule_constraints_set() 194 sc->constraint[type] = c; in isl_schedule_constraints_set() 257 isl_union_map_free(sc->constraint[i]); in isl_schedule_constraints_free() 354 sc->constraint[type] = c; in isl_schedule_constraints_add() 443 sc->constraint[i] = apply(sc->constraint[i], umap, tag); in isl_schedule_constraints_apply() 444 if (!sc->constraint[i]) in isl_schedule_constraints_apply() [all …]
|
| /llvm-project-15.0.7/polly/lib/External/isl/include/isl/ |
| H A D | constraint.h | 28 ISL_DECLARE_LIST(constraint) 66 __isl_take isl_constraint *constraint); 68 __isl_take isl_constraint *constraint); 75 struct isl_constraint **constraint); 82 __isl_keep isl_constraint *constraint); 84 __isl_keep isl_constraint *constraint); 94 __isl_keep isl_constraint *constraint); 102 __isl_take isl_constraint *constraint, 105 __isl_take isl_constraint *constraint, 112 __isl_take isl_constraint *constraint); [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | inline-asm-validate-amdgpu.cl | 14 …" : "={s1}" (sgpr) : "{exe" (imm) : ); // expected-error {{invalid input constraint '{exe' in asm}} 15 …: "={s1}" (sgpr) : "{exec" (imm) : ); // expected-error {{invalid input constraint '{exec' in asm}} 21 // 'I' constraint (an immediate integer in the range -16 to 64) 25 …1" : "=s" (sgpr) : "I" (-17) : ); // expected-error {{value '-17' out of range for constraint 'I'}} 26 … %1" : "=s" (sgpr) : "I" (65) : ); // expected-error {{value '65' out of range for constraint 'I'}} 28 // 'J' constraint (an immediate 16-bit signed integer) 35 // 'A' constraint (an immediate constant that can be inlined) 38 // 'B' constraint (an immediate 32-bit signed integer) 41 // 'C' constraint (an immediate 32-bit unsigned integer or 'A' constraint) 44 // 'DA' constraint (an immediate 64-bit constant that can be split into two 'A' constants) [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/ODS/ |
| H A D | Operation.h | 52 const AttributeConstraint &constraint) in Attribute() argument 53 : name(name.str()), optional(optional), constraint(constraint) {} in Attribute() 62 const AttributeConstraint &constraint; variable 101 const TypeConstraint &constraint) in OperandOrResult() argument 103 constraint(constraint) {} in OperandOrResult() 112 const TypeConstraint &constraint; variable 132 const AttributeConstraint &constraint) { in appendAttribute() argument 133 attributes.emplace_back(Attribute(name, optional, constraint)); in appendAttribute() 138 const TypeConstraint &constraint) { in appendOperand() argument 140 OperandOrResult(name, variableLengthKind, constraint)); in appendOperand() [all …]
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | CodeGenHelpers.cpp | 74 const Constraint &constraint) const { in getTypeConstraintFn() 75 auto it = typeConstraints.find(constraint); in getTypeConstraintFn() 83 const Constraint &constraint) const { in getAttrConstraintFn() 84 auto it = attrConstraints.find(constraint); in getAttrConstraintFn() 90 const Constraint &constraint) const { in getSuccessorConstraintFn() 91 auto it = successorConstraints.find(constraint); in getSuccessorConstraintFn() 98 const Constraint &constraint) const { in getRegionConstraintFn() 99 auto it = regionConstraints.find(constraint); in getRegionConstraintFn() 140 << "' failed to satisfy constraint: {2}"; 168 << "failed to verify constraint: {2}"; [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | inline-constraints.ll | 79 ; 'A' constraint, 16-bit operand 157 ; 'A' constraint, 32-bit operand 223 ; 'A' constraint, 64-bit operand 283 ; 'A' constraint, v2x16 operand 333 ; 'A' constraint, type errors 446 ; 'I' constraint, v2x16 operand 488 ; 'I' constraint, type errors 621 ; 'J' constraint, v2x16 operand 657 ; 'J' constraint, type errors 1186 ; 'DA' constraint, type errors [all …]
|
| H A D | inlineasm-v16.ll | 8 ; INVALID: error: couldn't allocate output register for constraint 's' 9 ; INVALID: error: couldn't allocate input reg for constraint 's' 19 ; INVALID: error: couldn't allocate output register for constraint 's' 20 ; INVALID: error: couldn't allocate input reg for constraint 's' 30 ; INVALID: error: couldn't allocate output register for constraint 'v' 31 ; INVALID: error: couldn't allocate input reg for constraint 'v' 42 ; INVALID: error: couldn't allocate input reg for constraint 'v' 53 ; INVALID: error: couldn't allocate input reg for constraint 's' 64 ; INVALID: error: couldn't allocate input reg for constraint 's' 75 ; INVALID: error: couldn't allocate input reg for constraint 'v' [all …]
|
| H A D | inlineasm-illegal-type.ll | 5 ; GCN: error: couldn't allocate output register for constraint 's' 6 ; GCN: error: couldn't allocate input reg for constraint 's' 13 ; GCN: error: couldn't allocate output register for constraint 'v' 14 ; GCN: error: couldn't allocate input reg for constraint 'v' 21 ; GCN: error: couldn't allocate output register for constraint 's' 22 ; GCN: error: couldn't allocate input reg for constraint 's' 29 ; SICI: error: couldn't allocate output register for constraint 's' 30 ; SICI: error: couldn't allocate input reg for constraint 's' 38 ; SICI: error: couldn't allocate output register for constraint 'v' 39 ; SICI: error: couldn't allocate input reg for constraint 'v' [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | inlineasm.ll | 13 define float @t-constraint-int(i32 %i) { 14 ; CHECK-LABEL: t-constraint-int 20 define <2 x i32> @t-constraint-int-vector-64bit(<2 x float> %x) { 22 ; CHECK-LABEL: t-constraint-int-vector-64bit 30 ; CHECK-LABEL: t-constraint-int-vector-128bit 38 ; CHECK-LABEL: t-constraint-float-vector-64bit 46 ; CHECK-LABEL: t-constraint-float-vector-128bit 52 define i32 @even-GPR-constraint() { 54 ; CHECK-LABEL: even-GPR-constraint 64 define i32 @odd-GPR-constraint() { [all …]
|
| H A D | inlineasm-imm-arm.ll | 3 ; Test ARM-mode "I" constraint, for any Data Processing immediate. 9 ; Test ARM-mode "J" constraint, for compatibility with unknown use in GCC. 15 ; Test ARM-mode "K" constraint, for bitwise inverted Data Processing immediates. 21 ; Test ARM-mode "L" constraint, for negated Data Processing immediates. 27 ; Test ARM-mode "M" constraint, for value between 0 and 32.
|
| H A D | inlineasm-imm-thumb2.ll | 3 ; Test thumb2-mode "I" constraint, for any Data Processing immediate. 9 ; Test thumb2-mode "J" constraint, for compatibility with unknown use in GCC. 15 ; Test thumb2-mode "K" constraint, for bitwise inverted Data Processing immediates. 21 ; Test thumb2-mode "L" constraint, for negated Data Processing immediates. 27 ; Test thumb2-mode "M" constraint, for value between 0 and 32.
|
| /llvm-project-15.0.7/llvm/test/CodeGen/RISCV/ |
| H A D | inline-asm-invalid.ll | 5 ; CHECK: error: value out of range for constraint 'I' 7 ; CHECK: error: value out of range for constraint 'I' 13 ; CHECK: error: value out of range for constraint 'J' 19 ; CHECK: error: value out of range for constraint 'K' 21 ; CHECK: error: value out of range for constraint 'K' 27 ; CHECK: error: couldn't allocate input reg for constraint 'f' 29 ; CHECK: error: couldn't allocate input reg for constraint 'f' 35 ; CHECK: error: couldn't allocate input reg for constraint 'r' 41 ; CHECK: error: couldn't allocate input reg for constraint 'r'
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll-lsp-server/ |
| H A D | completion.test | 93 // CHECK-NEXT: "detail": "Attr constraint", 104 // CHECK-NEXT: "detail": "Op constraint", 115 // CHECK-NEXT: "detail": "Value constraint", 118 // CHECK-NEXT: "value": "A single entity core constraint of type `mlir::Value`" 126 // CHECK-NEXT: "detail": "ValueRange constraint", 137 // CHECK-NEXT: "detail": "Type constraint", 140 // CHECK-NEXT: "value": "A single entity core constraint of type `mlir::Type`" 148 // CHECK-NEXT: "detail": "TypeRange constraint", 159 // CHECK-NEXT: "detail": "Attr<type> constraint", 171 // CHECK-NEXT: "detail": "Value<type> constraint", [all …]
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/ODS/ |
| H A D | Context.cpp | 29 std::unique_ptr<AttributeConstraint> &constraint = attributeConstraints[name]; in insertAttributeConstraint() local 30 if (!constraint) { in insertAttributeConstraint() 31 constraint.reset(new AttributeConstraint(name, summary, cppClass)); in insertAttributeConstraint() 33 assert(constraint->getCppClass() == cppClass && in insertAttributeConstraint() 34 constraint->getSummary() == summary && in insertAttributeConstraint() 38 return *constraint; in insertAttributeConstraint() 44 std::unique_ptr<TypeConstraint> &constraint = typeConstraints[name]; in insertTypeConstraint() local 45 if (!constraint) in insertTypeConstraint() 46 constraint.reset(new TypeConstraint(name, summary, cppClass)); in insertTypeConstraint() 47 return *constraint; in insertTypeConstraint()
|
| /llvm-project-15.0.7/mlir/lib/TableGen/ |
| H A D | Constraint.cpp | 110 AppliedConstraint::AppliedConstraint(Constraint &&constraint, in AppliedConstraint() argument 113 : constraint(constraint), self(std::string(self)), in AppliedConstraint() 126 unsigned DenseMapInfo<Constraint>::getHashValue(Constraint constraint) { in getHashValue() argument 127 if (constraint == getEmptyKey()) in getHashValue() 129 if (constraint == getTombstoneKey()) { in getHashValue() 133 return llvm::hash_combine(constraint.getPredicate(), constraint.getSummary()); in getHashValue()
|
| H A D | Argument.cpp | 20 return !constraint.getPredicate().isNull(); in hasPredicate() 23 bool NamedTypeConstraint::isOptional() const { return constraint.isOptional(); } in isOptional() 25 bool NamedTypeConstraint::isVariadic() const { return constraint.isVariadic(); } in isVariadic() 28 return constraint.isVariadicOfVariadic(); in isVariadicOfVariadic()
|
| /llvm-project-15.0.7/mlir/test/mlir-tblgen/ |
| H A D | constraint-unique.td | 61 /// Test that duplicate type constraint was not generated. 64 /// Test that a type constraint with a different description was generated. 74 // CHECK-NEXT: << "' failed to satisfy constraint: an attribute"; 76 /// Test that duplicate attribute constraint was not generated. 77 // CHECK-NOT: << "' failed to satisfy constraint: an attribute"; 83 // CHECK-NEXT: << "' failed to satisfy constraint: another attribute"; 91 /// Test that duplicate successor constraint was not generated. 105 // CHECK-NEXT: << "failed to verify constraint: a region"; 107 /// Test that duplicate region constraint was not generated. 108 // CHECK-NOT: << "failed to verify constraint: a region"; [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Thumb/ |
| H A D | inlineasm-imm-thumb.ll | 3 ; Test Thumb-mode "I" constraint, for ADD immediate. 9 ; Test Thumb-mode "J" constraint, for negated ADD immediates. 15 ; Test Thumb-mode "K" constraint, for compatibility with GCC's internal use. 21 ; Test Thumb-mode "L" constraint, for 3-operand ADD immediates. 27 ; Test Thumb-mode "M" constraint, for "ADD r = sp + imm". 33 ; Test Thumb-mode "N" constraint, for values between 0 and 31. 39 ; Test Thumb-mode "O" constraint, for "ADD sp = sp + imm".
|
| /llvm-project-15.0.7/llvm/test/Assembler/ |
| H A D | inline-asm-constraint-error.ll | 15 ; "~x{21}" is not a valid clobber constraint. 21 ; CHECK-INPUT-BEFORE-OUTPUT: output constraint occurs after input, clobber or label constraint 28 ; CHECK-INPUT-AFTER-CLOBBER: input constraint occurs after clobber constraint 63 ; CHECK-LABEL-AFTER-CLOBBER: label constraint occurs after clobber constraint 74 ; CHECK-OUTPUT-AFTER-LABEL: output constraint occurs after input, clobber or label constraint
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/ |
| H A D | inlineasm-mve.ll | 13 define arm_aapcs_vfpcc <4 x i32> @mve-t-constraint-128bit(<4 x i32>, <4 x i32>) { 14 ; CHECK-LABEL: mve-t-constraint-128bit 22 define i32 @even-GPR-constraint() { 24 ; CHECK-LABEL: even-GPR-constraint 36 define i32 @odd-GPR-constraint() { 38 ; CHECK-LABEL: odd-GPR-constraint
|
| /llvm-project-15.0.7/mlir/test/mlir-pdll/Parser/ |
| H A D | stmt-failure.pdll | 59 // CHECK: expected expression of `Type` in type constraint 66 // CHECK: expected `>` after variable type constraint 108 // CHECK: expected expression of `Type` in type constraint 115 // CHECK: expected `>` after variable type constraint 136 // CHECK: expected expression of `TypeRange` in type constraint 143 // CHECK: expected `>` after variable type constraint 157 // CHECK: unknown reference to constraint `UnknownConstraint` 168 // CHECK: invalid reference to non-constraint 175 // CHECK: constraint type `Attr` is incompatible with the previously inferred type `Value` 182 // CHECK: expected `]` after constraint list [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/TableGen/ |
| H A D | Operator.h | 262 explicit ArgOrType(int index) : index(index), constraint(None) {} in ArgOrType() 263 explicit ArgOrType(TypeConstraint constraint) in ArgOrType() 264 : index(None), constraint(constraint) {} in ArgOrType() 266 assert(constraint.has_value() ^ index.has_value()); in isArg() 270 assert(constraint.has_value() ^ index.has_value()); in isType() 271 return constraint.has_value(); in isType() 275 TypeConstraint getType() const { return *constraint; } in getType() 279 Optional<TypeConstraint> constraint; member
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Vector/Transforms/ |
| H A D | VectorRewritePatterns.h | 108 UnrollVectorOptions &setFilterConstraint(FilterConstraintFnType constraint) { in setFilterConstraint() 109 filterConstraint = std::move(constraint); in setFilterConstraint() 390 MLIRContext *context, FilterConstraintType constraint = defaultFilter) 393 filter(std::move(constraint)) {} 432 MLIRContext *context, FilterConstraintType constraint = defaultFilter) 435 filter(std::move(constraint)) {} 478 const FilterConstraintType &constraint = defaultFilter) 517 FilterConstraintType constraint = defaultFilter) 520 filter(std::move(constraint)) {}
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | x86-inline-asm-validation.ll | 9 ; CHECK-NOT: error: invalid operand for inline asm constraint 'L' 17 ; CHECK-NOT: error: invalid operand for inline asm constraint 'L' 25 ; CHECK-NOT: error: invalid operand for inline asm constraint 'M' 33 ; CHECK-NOT: error: invalid operand for inline asm constraint 'O'
|