| /llvm-project/flang/test/Semantics/ |
| H A D | associate02.f90 | 8 real component(0:1,2:3) component 19 …print *, lbound(namedConst2%component), ubound(namedConst2%component), shape(namedConst2%component) 23 …print *, lbound(namedConst3(n,n)%component), ubound(namedConst3(n,n)%component), shape(namedConst3… 25 …print *, lbound(namedConst3%component(0,2)), ubound(namedConst3%component(0,2)), shape(namedConst3… 42 associate (a => namedConst2%component) 46 associate (a => (namedConst2%component)) 50 associate (a => namedConst2%component * 2.) 62 associate (a => namedConst3(n,n)%component) 66 associate (a => (namedConst3(n,n)%component)) 70 associate (a => namedConst3(n,n)%component * 2.) [all …]
|
| /llvm-project/flang/runtime/ |
| H A D | copy.cpp | 148 // Moreover, if we came here from an Component::Genre::Data component, 163 const Descriptor &componentDesc{derived->component()}; 164 const typeInfo::Component *component{ 167 for (std::size_t j{0}; j < nComponents; ++j, ++component) { 168 if (component->genre() == typeInfo::Component::Genre::Allocatable || 169 component->genre() == typeInfo::Component::Genre::Automatic) { 171 *reinterpret_cast<Descriptor *>(toPtr + component->offset())}; 176 fromPtr + component->offset())}; 179 } else if (component->genre() == typeInfo::Component::Genre::Data && 180 component 33 const typeInfo::Component *component{ CopyElement() local [all...] |
| H A D | type-info.cpp | 153 const Descriptor &compDesc{component()}; in GetParentType() local 154 const Component &component{*compDesc.OffsetElement<const Component>()}; in GetParentType() 155 return component.derivedType(); in GetParentType() 163 const Descriptor &compDesc{component()}; in FindDataComponent() 168 const Component *component{compDesc.Element<Component>(at)}; in FindDataComponent() 169 INTERNAL_CHECK(component != nullptr); in FindDataComponent() 170 const Descriptor &nameDesc{component->name()}; in FindDataComponent() 174 return component; in FindDataComponent() 236 const Descriptor &compDesc{component()}; in Dump() 167 const Component *component{compDesc.Element<Component>(at)}; FindDataComponent() local
|
| /llvm-project/flang/lib/Evaluate/ |
| H A D | initial-image.cpp | 35 const Symbol &component{*symbolRef}; in Add() local 36 if (component.offset() + component.size() > elementBytes) { in Add() 38 } else if (IsPointer(component)) { in Add() 39 AddPointer(offset + component.offset(), indExpr.value()); in Add() 40 } else if (IsAllocatable(component) || IsAutomatic(component)) { in Add() 42 } else if (auto result{Add(offset + component.offset(), in Add() 43 component.size(), indExpr.value(), context)}; in Add() 108 const Symbol &component{*iter.second}; in Test() local 109 bool isProcPtr{IsProcedurePointer(component)}; in Test() 110 if (isProcPtr || component.has<semantics::ObjectEntityDetails>()) { in Test() [all …]
|
| H A D | fold-designator.cpp | 143 const Component &component, ConstantSubscript which) { in FoldDesignator() argument 144 const Symbol &comp{component.GetLastSymbol()}; in FoldDesignator() 148 const DataRef &base{component.base()}; in FoldDesignator() 150 if (base.Rank() == 0) { // A%X(:) - apply "which" to component in FoldDesignator() 201 if (const Component * component{proc.GetComponent()}) { in FoldDesignator() local 202 return FoldDesignator(*component, which); in FoldDesignator() 215 // "offset" is decremented in place to hold remaining component offset. 249 // Maps an offset back to a component, when unambiguous. in OffsetToUniqueComponent() 255 const Symbol &component{*pair.second}; in OffsetToUniqueComponent() 256 if (offset >= static_cast<ConstantSubscript>(component in OffsetToUniqueComponent() 254 const Symbol &component{*pair.second}; OffsetToUniqueComponent() local 293 component{OffsetToUniqueComponent( OffsetToDataRef() local 321 } else if (auto *component{std::get_if<Component>(&dataRef->u)}) { OffsetToDesignator() local [all...] |
| /llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVGLOps.td | 113 The operand x must be a scalar or vector whose component type is 117 per component. 139 with the same component width. Results are computed per component. 159 The operand x must be a scalar or vector whose component type is 163 per component. 182 The operand x must be a scalar or vector whose component type is 16-bit or 186 per component. 205 The operand x must be a scalar or vector whose component type is 16-bit or 209 per component [all...] |
| H A D | SPIRVArithmeticOps.td | 94 Results are computed per component. 116 Results are computed per component. The resulting value is undefined 141 Results are computed per component. The resulting value is undefined 166 Results are computed per component. 192 Results are computed per component. 216 Results are computed per component. The resulting value is undefined 241 Results are computed per component. 264 Type. They must have the same component width as Result Type. 267 result R, where N is the component width and R is computed with enough 270 Results are computed per component. [all …]
|
| H A D | SPIRVLogicalOps.td | 61 Results are computed per component. 87 Results are computed per component. 113 Results are computed per component. 139 Results are computed per component. 165 Results are computed per component. 188 Results are computed per component. 211 Results are computed per component. 237 Results are computed per component. 263 Results are computed per component. 289 Results are computed per component [all...] |
| H A D | SPIRVCompositeOps.td | 31 a vector, the operands may also be vectors with the same component type 32 as the Result Type component type. When constructing a vector, the total 39 member/element/component/column of the result, with one exception. The 86 Indexes walk the type hierarchy, potentially down to component 115 SPIRV_Type:$component 141 potentially down to component granularity, to select the part to modify. 185 Extract a single, dynamically selected, component of a vector. 195 which component of Vector to extract. 230 "type of 'component' matches element type of 'vector'", 231 "vector", "component", [all …]
|
| H A D | SPIRVBitOps.td | 70 Results are computed per component. 102 Results are computed per component. 163 Results are computed per component. 232 Results are computed per component. 267 Results are computed per component, and within each component, per bit. 272 have the same component width as Result Type. 295 Results are computed per component, and within each component, per bit. 300 have the same component width as Result Type. 323 Results are computed per component, and within each component, per bit. 328 have the same component width as Result Type. [all …]
|
| H A D | SPIRVCastOps.td | 58 component (that is, the only or lowest-numbered component) of S maps to 59 the first components of L, and so on, up to the last component of S 61 component of S (mapping to multiple components of L) maps its lower- 101 Results are computed per component. 127 Results are computed per component. 154 Results are computed per component. 181 Results are computed per component. 207 have the same number of components as Result Type. The component width 208 cannot equal the component width in Result Type. 210 Results are computed per component. [all …]
|
| H A D | SPIRVIntelExtOps.td | 30 The component width must be 16 bits. Bit pattern in the Result represents a bfloat16 value. 33 It must have the same number of components as Result Type. The component width must be 32 bits. 35 Results are computed per component. 76 Result Type must be a scalar or vector of floating-point. The component width must be 32 bits. 79 The type must have the same number of components as the Result Type. The component width must be 16 bits. 81 Results are computed per component.
|
| H A D | SPIRVIntegerDotProductOps.td | 93 multiplied component-wise and all components of the vector resulting 94 from the component-wise multiplication are added together. The resulting 127 the same number of components and same component Width (enabled by the 139 then multiplied component-wise and all components of the vector 140 resulting from the component-wise multiplication are added together. The 181 multiplied component-wise and all components of the vector resulting 182 from the component-wise multiplication are added together. The resulting 226 multiplied component-wise and all components of the vector resulting 227 from the component-wise multiplication are added together. Finally, the 264 the same number of components and same component Width (enabled by the [all …]
|
| /llvm-project/flang/test/Evaluate/ |
| H A D | rewrite05.f90 | 4 integer, allocatable :: component(:) component 9 print *, lbound(x%component) 11 print *, ubound(x%component) 13 print *, size(x%component) 15 print *, sizeof(x%component) 32 allocate(x%component(0:n-1))
|
| /llvm-project/llvm/runtimes/ |
| H A D | CMakeLists.txt | 55 foreach(component ${triple_components}) 56 string(TOLOWER "${component}" component_lower) 248 foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS}) 249 if(NOT ${component} IN_LIST SUB_COMPONENTS) 250 list(APPEND extra_targets install-${component} install-${component}-stripped) 322 foreach(component IN LISTS SUB_COMPONENTS) 323 set(${component}-${name} ${component}) 324 list(APPEND ${name}_extra_targets ${component} [all...] |
| /llvm-project/polly/lib/External/isl/ |
| H A D | isl_scheduler_scc.c | 70 int *component; member 155 free(scc_graph->component); in isl_scc_graph_free() 539 scc_graph->component = isl_alloc_array(ctx, int, n); in isl_scc_graph_alloc() 547 if (!scc_graph->graph_scc || !scc_graph->component || in isl_scc_graph_alloc() 632 if (scc_graph->component[dst] != scc_graph->component[data->src]) in copy_edge() 867 scc_graph->component[i] = i; in isl_scc_graph_init_component() 873 static int assign(int *component, int a, int b) in assign() argument 877 t = component[a]; in assign() 878 component[a] = component[b]; in assign() 901 int *component = scc_graph->component; in isl_scc_graph_merge_src_dst() local [all …]
|
| /llvm-project/clang/test/SemaHLSL/ |
| H A D | packoffset-invalid.hlsl | 26 // expected-error@+1{{invalid component 'm' used; expected 'x', 'y', 'z', or 'w'}} 73 // expected-error@+1{{invalid component 'X' used}} 84 // expected-error@+1{{invalid component 'xy' used}} 86 // expected-error@+1{{invalid component 'rg' used}} 88 // expected-error@+1{{invalid component 'yes' used}} 90 // expected-error@+1{{invalid component 'woo'}} 92 // expected-error@+1{{invalid component 'xr' used}}
|
| /llvm-project/llvm/cmake/modules/ |
| H A D | LLVM-Build.cmake | 23 /// The name of the component. 26 /// The name of the library for this component (or NULL). 29 /// Whether the component is installed. 32 /// The list of libraries required when linking this component. 79 # Resolve cross-component dependencies, for each available component.
|
| /llvm-project/flang/lib/Semantics/ |
| H A D | tools.cpp | 305 // procedure component with a BIND(C) interface in IsBindCProcedure() 328 // If there's a top-level pointer component, return it for clearer error in FindPointerComponent() 842 for (const Symbol &component : PotentialComponentIterator{derived}) { in IsFinalizable() 843 result = IsFinalizable(component, inProgress, withImpureFinalizer); 1142 // Don't enforce component accessibility checks in module files; in OrderParameterNames() 1249 it.Increment(); // cue up first relevant component, if any in PlanComponentTraversal() 1256 const Symbol &component) const { in PlanComponentTraversal() 1257 if (const auto *details{component.detailsIf<ObjectEntityDetails>()}) { in PlanComponentTraversal() 1263 traverse = component.test(Symbol::Flag::ParentComp); in PlanComponentTraversal() 1265 traverse = !IsAllocatableOrObjectPointer(&component); in PlanComponentTraversal() 834 for (const Symbol &component : PotentialComponentIterator{derived}) { IsFinalizable() local 1280 StopAtComponentPre(const Symbol & component) StopAtComponentPre() argument 1303 StopAtComponentPost(const Symbol & component) StopAtComponentPost() argument 1337 const Symbol &component{*scopeIter->second}; Increment() local 1386 __anoncd7d90972002(const Symbol &component) FindEventOrLockPotentialComponent() argument 1418 __anoncd7d90972102(const Symbol &component) FindUltimateComponent() argument [all...] |
| H A D | check-nullify.cpp | 40 const auto &component{structureComponent.component}; in Leave() 41 SourceName at{component.source}; in Leave() 39 const auto &component{structureComponent.component}; Leave() local
|
| H A D | data-to-inits.cpp | 24 // have them in order to implement default component initialization is now being 111 // Initializes all elements of whole variable or component 506 // Looks for default derived type component initialization -- but in AccumulateDataInitializations() 515 if (llvm::any_of(directs, [](const Symbol &component) { 516 return !IsAllocatable(component) && 517 HasDeclarationInitializer(component); 528 // of SymbolDataInitialization containing all of the default component in HasDefaultInitialization() 552 // F'2018 19.5.3(10) allows storage-associated default component initialization in PopulateWithComponentDefaults() 560 const Symbol &component{*pair.second}; in PopulateWithComponentDefaults() 561 std::size_t componentOffset{offset + component in PopulateWithComponentDefaults() 526 __anon5a0bc7e40802(const Symbol &component) HasDefaultInitialization() argument 571 const Symbol &component{*pair.second}; PopulateWithComponentDefaults() local [all...] |
| H A D | definable.cpp | 69 component{common::visit( in DefinesComponentPointerTarget() local 74 [](const evaluate::Component &component) { return &component; }, in DefinesComponentPointerTarget() argument 82 const Symbol &compSym{component->GetLastSymbol()}; in DefinesComponentPointerTarget() 91 return DefinesComponentPointerTarget(component->base(), flags); in DefinesComponentPointerTarget() 230 "'%s' has polymorphic component '%s' in a pure subprogram"_en_US, 397 if (const auto *component{procDesignator->GetComponent()}) { 400 component->base().GetFirstSymbol(), false, 401 DefinesComponentPointerTarget(component->base(), flags)); 371 if (const auto *component{procDesignator->GetComponent()}) { WhyNotDefinable() local
|
| /llvm-project/clang/test/SemaHLSL/Types/BuiltinVector/ |
| H A D | ScalarSwizzleErrors.hlsl | 4 return V.xy; // expected-error{{vector component access exceeds type 'vector<int, 1>' (vector of 1 'int' value)}} 8 return V.rg; // expected-error{{vector component access exceeds type 'vector<float, 1>' (vector of 1 'float' value)}} 12 return V.poop; // expected-error{{illegal vector component name 'p'}}
|
| /llvm-project/flang/lib/Lower/ |
| H A D | ConvertType.cpp | 308 /// Does \p component has non deferred lower bounds that are not compile time 311 const Fortran::semantics::Symbol &component) { in componentHasNonDefaultLowerBounds() 313 component.detailsIf<Fortran::semantics::ObjectEntityDetails>()) in componentHasNonDefaultLowerBounds() 404 // In HLFIR the parent component is the first fir.type component. in genDerivedType() local 410 "failed to find derived type component symbol"); in genDerivedType() 411 const Fortran::semantics::Symbol &component = scopeIter->second.get(); in genDerivedType() 412 mlir::Type ty = genSymbolType(component); in genDerivedType() 414 auto compSize{component.size()}; in genDerivedType() 415 auto compOffset{component in genDerivedType() 399 const Fortran::semantics::Symbol &component = scopeIter->second.get(); genDerivedType() local [all...] |
| /llvm-project/flang/docs/ |
| H A D | f2018-grammar.md | 126 [component-part] [type-bound-procedure-part] end-type-stmt 138 R735 component-part -> [component-def-stmt]... 139 R736 component-def-stmt -> data-component-def-stmt | proc-component-def-stmt 140 R737 data-component-def-stmt -> 141 declaration-type-spec [[, component-attr-spec-list] ::] 142 component-decl-list 143 R738 component-attr-spec -> 146 DIMENSION ( component-array-spec ) | POINTER 147 R739 component-decl -> 148 component-name [( component-array-spec )] [all …]
|