/llvm-project/polly/lib/External/isl/ |
H A D | isl_multi_intersect.c | 13 /* Does the space of "domain" correspond to that of the domain of "multi"? 17 __isl_keep MULTI(BASE) *multi, __isl_keep DOM *domain) in FN() 22 domain_space = FN(DOM,get_space)(domain); in FN() 31 /* Check that the space of "domain" corresponds to 32 * that of the domain of "multi", ignoring parameters. 35 __isl_keep MULTI(BASE) *multi, __isl_keep DOM *domain) in FN() 39 ok = FN(MULTI(BASE),compatible_domain)(multi, domain); in FN() 43 isl_die(FN(DOM,get_ctx)(domain), isl_error_invalid, in FN() 49 /* Intersect the explicit domain of "multi" with "domain". 51 * The parameters of "multi" and "domain" are assumed to have been aligned. [all …]
|
H A D | isl_ast_codegen.c | 69 /* Generate an AST for a single domain based on 72 * We extend the schedule with the iteration domain 86 * to be executed from the current schedule domain. 136 * domain element "map" and put a guard around it based its (simplified) 137 * domain. "executed" is the original inverse schedule from which "map" 139 * or it is the result of gisting "executed" with respect to the build domain. 183 /* Generate an AST for a single domain based on 186 * If there is more than one domain element associated to the current 191 * domain specified by the user. We therefore first introduce 192 * some of the constraints of data->build->domain. In particular, [all …]
|
H A D | isl_multi_no_explicit_domain.c | 9 /* These versions of the explicit domain functions are used 10 * when the multi expression cannot have an explicit domain. 17 /* Does "multi" have an explicit domain? 26 /* Initialize the explicit domain of "multi". 27 * "multi" cannot have an explicit domain, so this function is never called. 35 /* Intersect the domain of "dst" with the explicit domain of "src". 36 * "src" cannot have an explicit domain, so this function is never called. 44 /* Set the explicit domain of "dst" to that of "src". 45 * "src" and "dst" cannot have an explicit domain, 61 /* Intersect the domain of "dst" with the domain product [all …]
|
H A D | isl_schedule_constraints.c | 20 /* The constraints that need to be satisfied by a schedule on "domain". 24 * "validity" constraints map domain elements i to domain elements 26 * "proximity" constraints map domain elements i to domains elements 31 * domain elements i -> s to "tagged" domain elements j -> t. 38 * A dependence is local within a band if domain and range are mapped 42 isl_union_set *domain; member 55 ctx = isl_union_set_get_ctx(sc->domain); in isl_schedule_constraints_copy() 60 sc_copy->domain = isl_union_set_copy(sc->domain); in isl_schedule_constraints_copy() 62 if (!sc_copy->domain || !sc_copy->context) in isl_schedule_constraints_copy() 75 * The caller is responsible for setting the domain and initializing [all …]
|
H A D | isl_schedule.c | 29 * We currently only allow schedule trees with a domain or extension as root. 50 "root of schedule tree should be a domain or extension", in isl_schedule_from_schedule_tree() 70 * a domain node with the given domain. 73 __isl_take isl_union_set *domain) in isl_schedule_from_domain() argument 78 ctx = isl_union_set_get_ctx(domain); in isl_schedule_from_domain() 79 tree = isl_schedule_tree_from_domain(domain); in isl_schedule_from_domain() 84 * a domain node with an empty domain. 187 * of the root domain. 194 isl_union_set *domain; in isl_schedule_get_space() local 201 "root node not a domain node", return NULL); in isl_schedule_get_space() [all …]
|
H A D | isl_unbind_params_templ.c | 9 /* Given a function "obj" defined over a parameter domain, 10 * convert it to a function defined over a domain corresponding 11 * to "domain". 12 * Any parameters with identifiers in "domain" are reinterpreted 13 * as the corresponding domain dimensions. 16 __isl_take TYPE *obj, __isl_take isl_multi_id *domain) in FN() 25 domain = isl_multi_id_free(domain); in FN() 28 "expecting function with parameter domain", in FN() 29 domain = isl_multi_id_free(domain)); in FN() 30 r = isl_reordering_unbind_params_insert_domain(space, domain); in FN() [all …]
|
H A D | isl_schedule_node.c | 63 * node a domain node with the given domain. 66 __isl_take isl_union_set *domain) in isl_schedule_node_from_domain() argument 71 schedule = isl_schedule_from_domain(domain); in isl_schedule_node_from_domain() 317 * with the domain of the root domain node. 341 * initializing the filter based on the domain of the expansion. 406 * We collect the universe domain of the elements in "list" and 451 * If "tree" is a domain, then this means we have reached the root 453 * We therefore initialize data->filter to the universe of the domain, 454 * or the domain itself if data->universe_domain is not set. 456 * to the universe of the schedule domain and replace the zero-dimensional [all …]
|
H A D | isl_ast_build.c | 29 * dimension in the result, with the current dimension in the domain replaced 50 * values for a schedule domain in "space". 63 if (!build || !build->domain) in isl_ast_build_init_derived() 84 if (!build->iterators || !build->domain || !build->generated || in isl_ast_build_init_derived() 97 * in build->domain, then adjust the name to "c%d_%d". 104 isl_set *dom = build->domain; in generate_name() 113 /* Create an isl_ast_build with "set" as domain. 115 * The input set is usually a parameter domain, but we currently allow it to 116 * be any kind of set. We set the domain of the returned isl_ast_build 139 build->domain = set; in isl_ast_build_from_context() [all …]
|
H A D | isl_multi_explicit_domain.c | 9 /* These versions of the explicit domain functions are used 10 * when the multi expression may have an explicit domain. 17 /* Does "multi" have an explicit domain? 19 * An explicit domain is only available if "multi" is zero-dimensional. 26 /* Check that "multi" has an explicit domain. 35 "expression does not have an explicit domain", in FN() 40 /* Return the explicit domain of "multi", assuming it has one. 50 /* Return a copy of the explicit domain of "multi", assuming it has one. 58 /* Replace the explicit domain of "multi" by "dom", assuming it has one. 79 /* Intersect the domain of "dst" with the explicit domain of "src". [all …]
|
H A D | isl_union_single.c | 16 /* A union of expressions defined over different domain spaces. 18 * The entries of "table" are keyed on the domain space of the entry 67 /* Is the domain space of "entry" equal to the domain of "space", 89 * First look for the entry (if any) with the same domain space. 123 "expression over a given domain", return NULL); in FN() 143 /* Check that the domain of "part" is disjoint from the domain of the entries 144 * in "u" that are defined on the same domain space, but have a different 146 * Since a UNION with a single entry per domain space is not allowed 147 * to contain two entries with the same domain space, there cannot be 156 /* Check that the domain of "part1" is disjoint from the domain of "part2". [all …]
|
H A D | isl_multi_align_templ.c | 9 /* Align the parameters of "multi" and "domain" (if needed) and 13 __isl_take MULTI(BASE) *multi, __isl_take ALIGN_DOM *domain, in MULTI() 15 __isl_take ALIGN_DOM *domain)) in MULTI() 21 aligned = FN(ALIGN_DOM,space_has_equal_params)(domain, multi->space); in MULTI() 25 return fn(multi, domain); in MULTI() 27 dom_space = FN(ALIGN_DOM,peek_space)(domain); in MULTI() 37 FN(ALIGN_DOM,get_space)(domain)); in MULTI() 38 domain = FN(ALIGN_DOM,align_params)(domain, in MULTI() 40 return fn(multi, domain); in MULTI() 43 FN(ALIGN_DOM,free)(domain); in MULTI()
|
H A D | isl_insert_domain_templ.c | 10 /* Given a function defined over a parameter domain, 11 * convert it to a function defined over a domain corresponding 12 * to "domain". 15 __isl_take isl_space *domain) in FN() 21 if (isl_space_check_is_set(domain) < 0 || in FN() 24 dim = isl_space_dim(domain, isl_dim_set); in FN() 28 domain = isl_space_replace_params(domain, obj_space); in FN() 32 obj = FN(TYPE,reset_domain_space)(obj, domain); in FN() 36 isl_space_free(domain); in FN()
|
/llvm-project/clang/test/CodeGen/RISCV/ntlh-intrinsics/ |
H A D | riscv32-zihintntl.c | 31 …INNERMOST_PRIVATE); // CHECK: load i8{{.*}}align 1, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 32 …INNERMOST_PRIVATE); // CHECK: load i8{{.*}}align 1, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 33 …NNERMOST_PRIVATE); // CHECK: load i16{{.*}}align 2, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 34 …NNERMOST_PRIVATE); // CHECK: load i16{{.*}}align 2, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 35 …NNERMOST_PRIVATE); // CHECK: load i32{{.*}}align 4, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 36 …NNERMOST_PRIVATE); // CHECK: load i32{{.*}}align 4, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 37 …_INNERMOST_PRIVATE); // CHECK: load i64{{.*}}align 8, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 38 …_INNERMOST_PRIVATE); // CHECK: load i64{{.*}}align 8, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 39 …NERMOST_PRIVATE); // CHECK: load half{{.*}}align 2, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() 40 …ERMOST_PRIVATE); // CHECK: load float{{.*}}align 4, !nontemporal !6, !riscv-nontemporal-domain !7 in ntl_all_sizes() [all …]
|
/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ |
H A D | ittnotify_static.h | 61 (const char *name, const char *domain), (ITT_FORMAT name, domain), 64 (const wchar_t *name, const wchar_t *domain), 65 (ITT_FORMAT name, domain), counter_createW, __itt_group_counter, 69 (const char *name, const char *domain), (ITT_FORMAT name, domain), 75 (const char *name, const char *domain, __itt_metadata_type type), 76 (ITT_FORMAT name, domain, type), counter_create_typedA, 79 (const wchar_t *name, const wchar_t *domain, __itt_metadata_type type), 80 (ITT_FORMAT name, domain, type), counter_create_typedW, 84 (const char *name, const char *domain, __itt_metadata_type type), 85 (ITT_FORMAT name, domain, type), counter_create_typed, [all …]
|
H A D | ittnotify.h | 1531 const char *domain); 1533 const wchar_t *domain); 1543 const char *domain); 1551 (const char *name, const char *domain)) 1553 (const wchar_t *name, const wchar_t *domain)) 1556 (const char *name, const char *domain)) 1569 #define __itt_heap_function_createA(name, domain) (__itt_heap_function)0 1571 #define __itt_heap_function_createW(name, domain) (__itt_heap_function)0 1574 #define __itt_heap_function_create(name, domain) (__itt_heap_function)0 1881 * @brief Create a domain. [all …]
|
/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | ExecutionDomainFix.h | 1 //==-- llvm/CodeGen/ExecutionDomainFix.h - Execution Domain Fix -*- C++ -*--==// 9 /// \file Execution Domain Fix pass. 18 /// This pass changes the variant instructions to minimize domain crossings. 40 /// execution domain. Multiple registers may refer to the same open 42 /// domain. 48 /// domain, but if we were forced to pay the penalty of a domain crossing, we 74 /// Is domain available? 75 bool hasDomain(unsigned domain) const { in hasDomain() 76 assert(domain < in hasDomain() 79 return AvailableDomains & (1u << domain); in hasDomain() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/abseil/ |
H A D | duration-comparison.cpp | 13 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 16 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 19 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 22 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 25 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 28 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 31 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 36 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 39 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() 42 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the duration domain [abseil-durat… in f() [all …]
|
H A D | time-comparison.cpp | 13 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 16 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 19 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 22 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 25 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 28 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 31 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 36 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 39 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() 42 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform comparison in the time domain [abseil-time-comp… in f() [all …]
|
H A D | time-subtraction.cpp | 13 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 16 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 19 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 22 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 25 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 28 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 32 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 35 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 38 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() 41 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform subtraction in the time domain [abseil-time-sub… in f() [all …]
|
H A D | duration-addition.cpp | 10 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 13 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 16 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 19 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 22 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 25 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 29 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 32 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 35 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() 38 …// CHECK-MESSAGES: [[@LINE-1]]:7: warning: perform addition in the duration domain [abseil-duratio… in f() [all …]
|
/llvm-project/polly/lib/External/isl/interface/ |
H A D | template_cpp.cc | 136 /* Placeholder tuple pointers that refer to (part of) the domain or range. 138 static TupleKindPtr Domain("Domain"); variable 410 static Signature un_set = { { Domain }, { { Domain } } }; 411 static Signature un_map = { { Domain, Range }, { { Domain, Range } } }; 420 static Signature bin_set = { { Domain }, { { Domain }, { Domain } } }; 422 { { Domain, Range }, { { Domain, Range }, { Domain, Range } } }; 425 static Signature bin_set_params = { { Domain }, { { Domain }, { } } }; 427 { { Domain, Range }, { { Domain, Range }, { } } }; 429 { { Domain, Range }, { { Domain, Range }, { Domain } } }; 431 { { Domain, Range }, { { Domain, Range }, { Range } } }; [all …]
|
/llvm-project/mlir/unittests/Analysis/Presburger/ |
H A D | PresburgerSpaceTest.cpp | 19 // Try inserting 2 domain ids. in TEST() 20 space.insertVar(VarKind::Domain, 0, 2); in TEST() 32 // spaces which do not distinguish between domain, range are implemented like in TEST() 41 // Remove 1 domain identifier. in TEST() 42 space.removeVarRange(VarKind::Domain, 0, 1); in TEST() 58 // Attach identifiers to domain ids. in TEST() 59 space.setId(VarKind::Domain, 0, Identifier(&identifiers[0])); in TEST() 60 space.setId(VarKind::Domain, 1, Identifier(&identifiers[1])); in TEST() 62 // Try inserting 2 domain ids. in TEST() 63 space.insertVar(VarKind::Domain, 0, 2); in TEST() [all …]
|
/llvm-project/mlir/test/Target/LLVMIR/Import/ |
H A D | metadata-alias-scopes.ll | 3 ; CHECK: #[[DOMAIN:.*]] = #llvm.alias_scope_domain<id = {{.*}}, description = "The domain"> 4 ; CHECK: #[[$SCOPE0:.*]] = #llvm.alias_scope<id = {{.*}}, domain = #[[DOMAIN]], description = "The first scope"> 5 ; CHECK: #[[$SCOPE1:.*]] = #llvm.alias_scope<id = {{.*}}, domain = #[[DOMAIN]]> 6 ; CHECK: #[[$SCOPE2:.*]] = #llvm.alias_scope<id = {{.*}}, domain = #[[DOMAIN]]> 25 !0 = distinct !{!0, !"The domain"} 38 ; CHECK: #[[DOMAIN0:.*]] = #llvm.alias_scope_domain<id = {{.*}}, description = "The domain"> [all...] |
/llvm-project/mlir/test/Target/LLVMIR/ |
H A D | attribute-alias-scopes.mlir | 5 #alias_scope_domain = #llvm.alias_scope_domain<id = distinct[0]<>, description = "The domain"> 6 #alias_scope1 = #llvm.alias_scope<id = distinct[1]<>, domain = #alias_scope_domain, description = "The first scope"> 7 #alias_scope2 = #llvm.alias_scope<id = distinct[2]<>, domain = #alias_scope_domain> 8 #alias_scope3 = #llvm.alias_scope<id = distinct[3]<>, domain = #alias_scope_domain> 41 // CHECK-DAG: ![[DOMAIN:[0-9]+]] = distinct !{![[DOMAIN]], !"The domain"} 42 // CHECK-DAG: ![[SCOPE1:[0-9]+]] = distinct !{![[SCOPE1]], ![[DOMAIN]], !"The first scope"} 43 // CHECK-DAG: ![[SCOPE2:[0-9]+]] = distinct !{![[SCOPE2]], ![[DOMAIN]]} 44 // CHECK-DAG: ![[SCOPE3:[0-9]+]] = distinct !{![[SCOPE3]], ![[DOMAIN]]} [all...] |
/llvm-project/polly/include/polly/Support/ |
H A D | ISLOperators.h | 27 isl::pw_aff Left(Right.domain(), ValLeft); 32 isl::pw_aff Right(Left.domain(), ValRight); 39 isl::pw_aff Left(Right.domain(), ValLeft); 46 isl::pw_aff Right(Left.domain(), ValRight); 58 isl::pw_aff Left(Right.domain(), ValLeft); 63 isl::pw_aff Right(Left.domain(), ValRight); 70 isl::pw_aff Left(Right.domain(), ValLeft); 77 isl::pw_aff Right(Left.domain(), ValRight); 89 isl::pw_aff Left(Right.domain(), ValLeft); 94 isl::pw_aff Right(Left.domain(), ValRight); [all …]
|