Home
last modified time | relevance | path

Searched refs:Component (Results 1 – 25 of 113) sorted by relevance

12345

/llvm-project/llvm/unittests/DebugInfo/CodeView/
H A DGUIDFormatTest.cpp50 SmallVector<StringRef, 6> Component; in checkData() local
51 Scalar.split(Component, '-', 5); in checkData()
54 EXPECT_EQ(Component.size(), size_t(5)); in checkData()
70 EXPECT_TRUE(to_integer(Component[0], G.Data0, 16)); in checkData()
71 EXPECT_TRUE(to_integer(Component[1], G.Data1, 16)); in checkData()
72 EXPECT_TRUE(to_integer(Component[2], G.Data2, 16)); in checkData()
73 EXPECT_TRUE(to_integer(Component[3], G.Data3, 16)); in checkData()
74 EXPECT_TRUE(to_integer(Component[4], G.Data4, 16)); in checkData()
/llvm-project/flang/runtime/
H A Dderived.cpp23 const typeInfo::Component &comp, const Descriptor &derivedInstance) { in GetComponentExtents()
43 *componentDesc.ZeroBasedIndexedElement<typeInfo::Component>(k)}; in Initialize()
46 if (comp.genre() == typeInfo::Component::Genre::Allocatable || in Initialize()
47 comp.genre() == typeInfo::Component::Genre::Automatic) { in Initialize()
53 if (comp.genre() == typeInfo::Component::Genre::Automatic) { in Initialize()
78 } else if (comp.genre() == typeInfo::Component::Genre::Pointer) { in Initialize()
88 } else if (comp.genre() == typeInfo::Component::Genre::Data && in Initialize()
139 const typeInfo::Component &comp{
140 *componentDesc.ZeroBasedIndexedElement<typeInfo::Component>(i)}; in CallFinalSubroutine()
145 if (comp.genre() == typeInfo::Component in CallFinalSubroutine()
[all...]
H A Dtype-info.cpp35 RT_API_ATTRS std::size_t Component::GetElementByteSize( in GetElementByteSize()
59 RT_API_ATTRS std::size_t Component::GetElements( in GetElements()
82 RT_API_ATTRS std::size_t Component::SizeInBytes( in SizeInBytes()
95 RT_API_ATTRS void Component::EstablishDescriptor(Descriptor &descriptor, in EstablishDescriptor()
138 RT_API_ATTRS void Component::CreatePointerDescriptor(Descriptor &descriptor, in CreatePointerDescriptor()
154 const Component &component{*compDesc.OffsetElement<const Component>()}; in GetParentType()
161 RT_API_ATTRS const Component *DerivedType::FindDataComponent( in FindDataComponent()
168 const Component *component{compDesc.Element<Component>(a in FindDataComponent()
[all...]
H A Dcopy.cpp120 // may be used for representing copies of Component::Genre::Data
148 // Moreover, if we came here from an Component::Genre::Data component,
164 const typeInfo::Component *component{
165 componentDesc.OffsetElement<typeInfo::Component>()};
168 if (component->genre() == typeInfo::Component::Genre::Allocatable ||
169 component->genre() == typeInfo::Component::Genre::Automatic) {
179 } else if (component->genre() == typeInfo::Component::Genre::Data &&
H A Ddescriptor-io.h251 const typeInfo::Component &component, const Descriptor &origDescriptor, in DefaultComponentIO()
255 if (component.genre() == typeInfo::Component::Genre::Data) { in DefaultComponentIO()
263 // Component is itself a descriptor in DefaultComponentIO()
267 terminator, component.genre() == typeInfo::Component::Genre::Automatic); in DefaultComponentIO()
288 const typeInfo::Component &component{ in DefaultComponentwiseFormattedIO()
289 *compArray.Element<typeInfo::Component>(at)}; in DefaultComponentwiseFormattedIO()
319 const typeInfo::Component &component{ in DefaultComponentwiseUnformattedIO()
320 *compArray.Element<typeInfo::Component>(at)}; in DefaultComponentwiseUnformattedIO()
H A Dassign.cpp391 *componentDesc.ZeroBasedIndexedElement<typeInfo::Component>( in Assign()
402 case typeInfo::Component::Genre::Data: in Assign()
411 } else { // Component has intrinsic type; simply copy raw bytes in Assign()
418 case typeInfo::Component::Genre::Pointer: { in Assign()
424 case typeInfo::Component::Genre::Allocatable: in Assign()
425 case typeInfo::Component::Genre::Automatic: { in Assign()
/llvm-project/flang/include/flang/Evaluate/
H A Dvariable.h74 class Component {
76 CLASS_BOILERPLATE(Component) in CLASS_BOILERPLATE()
77 Component(const DataRef &b, const Symbol &c) : base_{b}, symbol_{c} {} in Component() function
78 Component(DataRef &&b, const Symbol &c) : base_{std::move(b)}, symbol_{c} {} in Component() function
79 Component(common::CopyableIndirection<DataRef> &&b, const Symbol &c) in Component()
92 bool operator==(const Component &) const;
103 // could be used to replace Component.
108 explicit NamedEntity(Component &&c) : u_{std::move(c)} {} in IsSymbol()
113 const Component &GetComponent() const { return std::get<Component>(u in GetComponent()
75 CLASS_BOILERPLATE(Component) CLASS_BOILERPLATE() argument
[all...]
H A Dcall.h35 class Component; variable
43 extern template class Fortran::common::Indirection<Fortran::evaluate::Component,
201 explicit ProcedureDesignator(Component &&);
213 const Component *GetComponent() const;
226 common::CopyableIndirection<Component>>
H A Dtools.h46 Result operator()(const Component &) const;
388 while (const Component * component{std::get_if<Component>(&ref->u)}) { in ExtractNamedEntity()
410 [](Component &&component) -> std::optional<NamedEntity> { in operator()
437 if (const Component * component{named.UnwrapComponent()}) {
445 std::get_if<common::CopyableIndirection<Component>>(&des.u)}) { in ExtractCoarrayRef()
451 std::optional<CoarrayRef> operator()(const Component &component) const {
507 } else if (const Component * c{std::get_if<Component>(&dataRef->u)}) { in UnwrapWholeSymbolOrComponentOrCoarrayRef()
524 } else if (const Component * in GetFirstSymbol()
[all...]
/llvm-project/flang/lib/Evaluate/
H A Dvariable.cpp308 std::optional<Expr<SubscriptInteger>> Component::LEN() const { in LEN()
361 [](const common::CopyableIndirection<Component> &c) -> T { in LEN()
390 int Component::Rank() const { in Rank()
400 [](const Component &c) { return c.Rank(); }, in Rank()
422 } else if (const Component * component{base_.UnwrapComponent()}) { in Rank()
477 int Component::Corank() const { in GetFirstSymbol()
487 [](const Component &c) { return c.Corank(); }, in GetLastSymbol()
522 const Symbol &Component::GetFirstSymbol() const { in UnwrapComponent()
529 [](const Component &c) -> const Symbol & {
539 [](const Component in GetFirstSymbol()
496 __anon0116223c1e02(const Component &) UnwrapSymbolRef() argument
504 __anon0116223c2002(Component &) UnwrapSymbolRef() argument
[all...]
H A Dcall.cpp80 ProcedureDesignator::ProcedureDesignator(Component &&c) in ProcedureDesignator()
81 : u{common::CopyableIndirection<Component>::Make(std::move(c))} {} in ProcedureDesignator()
165 const Component *ProcedureDesignator::GetComponent() const { in GetComponent()
166 if (auto *c{std::get_if<common::CopyableIndirection<Component>>(&u)}) { in GetComponent()
177 [](const common::CopyableIndirection<Component> &c) { in GetSymbol()
194 [](const common::CopyableIndirection<Component> &c) { in GetName()
/llvm-project/llvm/test/Transforms/PhaseOrdering/X86/
H A Dvector-reductions.ll78 %Component.0 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
79 %cmp = icmp slt i32 %Component.0, 4
86 %idxprom = sext i32 %Component.0 to i64
89 %idxprom1 = sext i32 %Component.0 to i64
109 %inc = add nsw i32 %Component.0, 1
135 %Component.0 = phi i32 [ 0, %entry ], [ %inc, %for.inc ]
136 %cmp = icmp slt i32 %Component.0, 4
143 %idxprom = sext i32 %Component.0 to i64
146 %idxprom1 = sext i32 %Component.0 to i64
154 %inc = add nsw i32 %Component
[all...]
/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRecursiveSymbolVisitor.h74 const OffsetOfNode &Component = S->getComponent(I); in VisitOffsetOfExpr() local
75 if (Component.getKind() == OffsetOfNode::Field) { in VisitOffsetOfExpr()
76 if (!visit(Component.getField(), Component.getEndLoc())) in VisitOffsetOfExpr()
/llvm-project/llvm/lib/Support/
H A DPath.cpp229 i.Component = find_first_component(path, style); in begin()
246 Position += Component.size(); in operator ++()
250 Component = StringRef(); in operator ++()
256 bool was_net = Component.size() > 2 && is_separator(Component[0], S) && in operator ++()
257 Component[1] == Component[0] && !is_separator(Component[2], S); in operator ++()
264 (is_style_windows(S) && Component.ends_with(":"))) { in operator ++()
265 Component in operator ++()
[all...]
/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp224 unsigned Component = 0; in ParseHLSLAnnotations() local
237 // Make sure Component is a single character. in ParseHLSLAnnotations()
247 Component = 0; in ParseHLSLAnnotations()
251 Component = 1; in ParseHLSLAnnotations()
255 Component = 2; in ParseHLSLAnnotations()
259 Component = 3; in ParseHLSLAnnotations()
274 Ctx, llvm::APInt(SizeTySize, Component), SizeTy, ComponentLoc)); in ParseHLSLAnnotations()
/llvm-project/llvm/include/llvm/Support/
H A DPath.h51 /// @name Lexical Component Iterator
77 StringRef Component; ///< The current component. Not necessarily in Path. variable
86 reference operator*() const { return Component; }
103 StringRef Component; ///< The current component. Not necessarily in Path. variable
111 reference operator*() const { return Component; }
/llvm-project/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCompositeOps.td191 Vector must have a type OpTypeVector whose Component Type is Result
245 Component is the value supplied for the component selected by Index. It
289 Type must be the same as the number of Component operands.
292 Component Type as Result Type. They do not have to have the same number
303 by the first Component operand, the second component of the result is
304 selected by the second Component operand, etc. A Component literal may
306 source and is undefined. All Component literals must either be FFFFFFFF
H A DSPIRVMatrixOps.td29 RightMatrix must be a matrix with the same Component Type as the
30 Component Type in Result Type. Its number of columns must equal the
75 Scalar must have the same type as the Component Type in Result Type.
127 Vector must be a vector with the same Component Type as the Component Type in Result Type. Its number of components must equal the number of columns in Matrix.
212 Vector must be a vector with the same Component Type as the Component
216 Matrix must be a matrix with the same Component Type as the Component
/llvm-project/llvm/tools/llvm-cov/
H A DCoverageReport.cpp148 for (const auto &Component : in getNumRedundantPathComponents() local
152 if (Component.index() >= NumRedundant) in getNumRedundantPathComponents()
157 if (FirstPathComponents[Component.index()] != Component.value()) { in getNumRedundantPathComponents()
158 NumRedundant = Component.index(); in getNumRedundantPathComponents()
176 auto Component = sys::path::begin(Paths[0]); in getRedundantPrefixLen() local
178 auto LastComponent = Component; in getRedundantPrefixLen()
179 ++Component; in getRedundantPrefixLen()
180 PrefixLen += Component - LastComponent; in getRedundantPrefixLen()
/llvm-project/flang/module/
H A D__fortran_type_info.f9043 type(Component), pointer, contiguous :: component(:) ! data components
76 enum, bind(c) ! Component::Genre
86 type :: Component ! data components, incl. object pointers type
88 integer(1) :: genre ! Component::Genre
/llvm-project/clang/test/TableGen/
H A DDiagnosticBase.inc46 string Component = "";
71 /// Component is specified by the file with a big let directive.
72 string Component = ?;
/llvm-project/clang/lib/Driver/ToolChains/
H A DMipsLinux.cpp121 StringRef Component, in getCompilerRT() argument
139 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix)); in getCompilerRT()
H A DOpenBSD.cpp374 std::string OpenBSD::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT()
376 if (Component == "builtins") { in getCompilerRT()
384 buildCompilerRTBasename(Args, Component, Type, /*AddArch=*/false); in getCompilerRT()
389 return ToolChain::getCompilerRT(Args, Component, Type); in getCompilerRT()
373 getCompilerRT(const ArgList & Args,StringRef Component,FileType Type) const getCompilerRT() argument
/llvm-project/flang/lib/Semantics/
H A Ddefinable.cpp68 if (const evaluate::Component * in DefinesComponentPointerTarget()
71 [](const SymbolRef &) -> const evaluate::Component * { in DefinesComponentPointerTarget()
74 [](const evaluate::Component &component) { return &component; }, in DefinesComponentPointerTarget()
79 -> const evaluate::Component * { return nullptr; }, in DefinesComponentPointerTarget()
/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.td46 string Component = "";
79 /// Component is specified by the file with a big let directive.
80 string Component = ?;

12345