Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/
H A DGUIDFormatTest.cpp49 SmallVector<StringRef, 6> Component; in checkData() local
50 Scalar.split(Component, '-', 5); in checkData()
53 EXPECT_EQ(Component.size(), size_t(5)); in checkData()
69 EXPECT_TRUE(to_integer(Component[0], G.Data0, 16)); in checkData()
70 EXPECT_TRUE(to_integer(Component[1], G.Data1, 16)); in checkData()
71 EXPECT_TRUE(to_integer(Component[2], G.Data2, 16)); in checkData()
72 EXPECT_TRUE(to_integer(Component[3], G.Data3, 16)); in checkData()
73 EXPECT_TRUE(to_integer(Component[4], G.Data4, 16)); in checkData()
/llvm-project-15.0.7/flang/runtime/
H A Dtype-info.cpp32 std::size_t Component::GetElementByteSize(const Descriptor &instance) const { in GetElementByteSize()
54 std::size_t Component::GetElements(const Descriptor &instance) const { in GetElements()
76 std::size_t Component::SizeInBytes(const Descriptor &instance) const { in SizeInBytes()
88 void Component::EstablishDescriptor(Descriptor &descriptor, in EstablishDescriptor()
123 void Component::CreatePointerDescriptor(Descriptor &descriptor, in CreatePointerDescriptor()
139 const Component &component{*compDesc.OffsetElement<const Component>()}; in GetParentType()
146 const Component *DerivedType::FindDataComponent( in FindDataComponent()
153 const Component *component{compDesc.Element<Component>(at)}; in FindDataComponent()
222 compDesc.ElementBytes() == sizeof(Component) && compDesc.rank() == 1) { in Dump()
225 const Component &comp{*compDesc.ZeroBasedIndexedElement<Component>(j)}; in Dump()
[all …]
H A Dderived.cpp28 *componentDesc.ZeroBasedIndexedElement<typeInfo::Component>(k)}; in Initialize()
29 if (comp.genre() == typeInfo::Component::Genre::Allocatable || in Initialize()
30 comp.genre() == typeInfo::Component::Genre::Automatic) { in Initialize()
36 if (comp.genre() == typeInfo::Component::Genre::Automatic) { in Initialize()
54 } else if (comp.genre() == typeInfo::Component::Genre::Data && in Initialize()
172 *componentDesc.ZeroBasedIndexedElement<typeInfo::Component>(k)}; in Finalize()
173 if (comp.genre() == typeInfo::Component::Genre::Allocatable || in Finalize()
174 comp.genre() == typeInfo::Component::Genre::Automatic) { in Finalize()
186 } else if (comp.genre() == typeInfo::Component::Genre::Data && in Finalize()
231 if (comp.genre() == typeInfo::Component::Genre::Allocatable || in Destroy()
[all …]
H A Dcopy.cpp30 const typeInfo::Component *component{ in CopyElement()
31 componentDesc.OffsetElement<typeInfo::Component>()}; in CopyElement()
34 if (component->genre() == typeInfo::Component::Genre::Allocatable || in CopyElement()
35 component->genre() == typeInfo::Component::Genre::Automatic) { in CopyElement()
H A Dassign.cpp186 *componentDesc.ZeroBasedIndexedElement<typeInfo::Component>( in Assign()
189 case typeInfo::Component::Genre::Data: in Assign()
211 case typeInfo::Component::Genre::Pointer: { in Assign()
220 case typeInfo::Component::Genre::Allocatable: in Assign()
221 case typeInfo::Component::Genre::Automatic: in Assign()
H A Ddescriptor-io.h246 const typeInfo::Component &component, const Descriptor &origDescriptor, in DefaultFormattedComponentIO()
248 if (component.genre() == typeInfo::Component::Genre::Data) { in DefaultFormattedComponentIO()
260 terminator, component.genre() == typeInfo::Component::Genre::Automatic); in DefaultFormattedComponentIO()
300 const typeInfo::Component &component{ in FormattedDerivedTypeIO()
301 *compArray.Element<typeInfo::Component>(at)}; in FormattedDerivedTypeIO()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dvariable.h73 class Component {
75 CLASS_BOILERPLATE(Component) in CLASS_BOILERPLATE() argument
87 bool operator==(const Component &) const;
103 explicit NamedEntity(Component &&c) : u_{std::move(c)} {} in NamedEntity()
108 const Component &GetComponent() const { return std::get<Component>(u_); } in GetComponent()
109 Component &GetComponent() { return std::get<Component>(u_); } in GetComponent()
110 const Component *UnwrapComponent() const; // null if just a Symbol
111 Component *UnwrapComponent();
119 std::variant<SymbolRef, Component> u_;
205 ArrayRef(Component &&c, std::vector<Subscript> &&ss) in ArrayRef()
[all …]
H A Dcall.h35 class Component; variable
43 extern template class Fortran::common::Indirection<Fortran::evaluate::Component,
183 explicit ProcedureDesignator(Component &&);
194 const Component *GetComponent() const;
206 common::CopyableIndirection<Component>>
H A Dtools.h43 Result operator()(const Component &) const;
332 while (const Component * component{std::get_if<Component>(&ref->u)}) {
354 [](Component &&component) -> std::optional<NamedEntity> { in ExtractNamedEntity()
381 if (const Component * component{named.UnwrapComponent()}) { in operator()
389 std::get_if<common::CopyableIndirection<Component>>(&des.u)}) { in operator()
395 std::optional<CoarrayRef> operator()(const Component &component) const { in operator()
429 } else if (const Component * c{std::get_if<Component>(&dataRef->u)}) { in UnwrapWholeSymbolOrComponentDataRef()
446 } else if (const Component * c{std::get_if<Component>(&dataRef->u)}) { in UnwrapWholeSymbolOrComponentOrCoarrayRef()
866 Result operator()(const Component &x) const { return &x.GetLastSymbol(); } in operator()
964 Result operator()(const Component &) const;
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dvariable.cpp298 std::optional<Expr<SubscriptInteger>> Component::LEN() const { in LEN()
351 [](const common::CopyableIndirection<Component> &c) -> T { in LEN()
380 int Component::Rank() const { in Rank()
459 const Symbol &Component::GetFirstSymbol() const { in GetFirstSymbol()
483 const Component *NamedEntity::UnwrapComponent() const { in UnwrapComponent()
486 [](SymbolRef) -> const Component * { return nullptr; }, in UnwrapComponent()
487 [](const Component &c) { return &c; }, in UnwrapComponent()
492 Component *NamedEntity::UnwrapComponent() { in UnwrapComponent()
495 [](Component &c) { return &c; }, in UnwrapComponent()
603 result = NamedEntity{Component{std::move(base), symbol}}; in AsNamedEntity()
[all …]
H A Dcall.cpp81 ProcedureDesignator::ProcedureDesignator(Component &&c) in ProcedureDesignator()
82 : u{common::CopyableIndirection<Component>::Make(std::move(c))} {} in ProcedureDesignator()
152 const Component *ProcedureDesignator::GetComponent() const { in GetComponent()
153 if (auto *c{std::get_if<common::CopyableIndirection<Component>>(&u)}) { in GetComponent()
164 [](const common::CopyableIndirection<Component> &c) { in GetSymbol()
177 [](const common::CopyableIndirection<Component> &c) { in GetName()
/llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/X86/
H A Dvector-reductions.ll81 %cmp = icmp slt i32 %Component.0, 4
88 %idxprom = sext i32 %Component.0 to i64
91 %idxprom1 = sext i32 %Component.0 to i64
111 %inc = add nsw i32 %Component.0, 1
140 %cmp = icmp slt i32 %Component.0, 4
147 %idxprom = sext i32 %Component.0 to i64
158 %inc = add nsw i32 %Component.0, 1
188 %cmp = icmp slt i32 %Component.0, 4
218 %inc = add nsw i32 %Component.0, 1
247 %cmp = icmp slt i32 %Component.0, 4
[all …]
/llvm-project-15.0.7/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-15.0.7/clang/include/clang/ExtractAPI/Serialization/
H A DSymbolGraphSerializer.h58 PathComponentGuard(PathComponentStack &PC, StringRef Component) : PC(PC) { in PathComponentGuard()
59 PC.emplace_back(Component); in PathComponentGuard()
167 LLVM_NODISCARD PathComponentGuard makePathComponentGuard(StringRef Component);
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCoverageReport.cpp131 for (const auto &Component : in getNumRedundantPathComponents() local
135 if (Component.index() >= NumRedundant) in getNumRedundantPathComponents()
140 if (FirstPathComponents[Component.index()] != Component.value()) { in getNumRedundantPathComponents()
141 NumRedundant = Component.index(); in getNumRedundantPathComponents()
159 auto Component = sys::path::begin(Paths[0]); in getRedundantPrefixLen() local
161 auto LastComponent = Component; in getRedundantPrefixLen()
162 ++Component; in getRedundantPrefixLen()
163 PrefixLen += Component - LastComponent; in getRedundantPrefixLen()
/llvm-project-15.0.7/llvm/lib/Support/
H A DPath.cpp246 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 ++()
265 Component = Path.substr(Position, 1); in operator ++()
277 Component = "."; in operator ++()
284 Component = Path.slice(Position, end_pos); in operator ++()
309 I.Component = Path.substr(0, 0); in rend()
328 Component = "."; in operator ++()
334 Component = Path.slice(start_pos, end_pos); in operator ++()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DPath.h77 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-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVCompositeOps.td186 Vector must have a type OpTypeVector whose Component Type is Result
240 Component is the value supplied for the component selected by Index. It
294 Type must be the same as the number of Component operands.
297 Component Type as Result Type. They do not have to have the same number
308 by the first Component operand, the second component of the result is
309 selected by the second Component operand, etc. A Component literal may
311 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
83 Scalar must have the same type as the Component Type in Result Type.
/llvm-project-15.0.7/flang/module/
H A D__fortran_type_info.f9037 type(Component), pointer, contiguous :: component(:) ! data components
79 type :: Component ! data components, incl. object pointers type
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DOpenBSD.cpp341 std::string OpenBSD::getCompilerRT(const ArgList &Args, StringRef Component, in getCompilerRT() argument
343 if (Component == "builtins") { in getCompilerRT()
350 buildCompilerRTBasename(Args, Component, Type, /*AddArch=*/false); in getCompilerRT()
355 return ToolChain::getCompilerRT(Args, Component, Type); in getCompilerRT()
H A DMipsLinux.cpp122 StringRef Component, in getCompilerRT() argument
140 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix)); in getCompilerRT()
/llvm-project-15.0.7/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-15.0.7/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 = ?;
/llvm-project-15.0.7/clang/lib/AST/
H A DVTableBuilder.cpp1166 switch (Component.getKind()) { in ComputeThisAdjustments()
1170 MD = Component.getFunctionDecl(); in ComputeThisAdjustments()
1173 MD = Component.getDestructorDecl(); in ComputeThisAdjustments()
1920 const VTableComponent &Component = Components[I]; in dumpLayout() local
1923 switch (Component.getKind()) { in dumpLayout()
1927 << Component.getVCallOffset().getQuantity() in dumpLayout()
1933 << Component.getVBaseOffset().getQuantity() in dumpLayout()
1939 << Component.getOffsetToTop().getQuantity() in dumpLayout()
3157 const VTableComponent &Component = Components[I]; in dumpLayout() local
3160 switch (Component.getKind()) { in dumpLayout()
[all …]

1234