HomeSort by: relevance | last modified time | path
    Searched refs:Expansions (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/utils/TableGen/GlobalISel/
CodeExpansions.h 1 //===- CodeExpansions.h - Record expansions for CodeExpander --------------===//
9 /// \file Record the expansions to use in a CodeExpander.
23 StringMap<std::string> Expansions;
27 bool Inserted = Expansions.try_emplace(Name, Expansion).second;
33 return Expansions.lookup(Variable);
36 const_iterator begin() const { return Expansions.begin(); }
37 const_iterator end() const { return Expansions.end(); }
39 return Expansions.find(Variable);
CodeExpander.h 34 const CodeExpansions &Expansions;
40 CodeExpander(StringRef Code, const CodeExpansions &Expansions,
43 : Code(Code), Expansions(Expansions), Loc(Loc),
CodeExpander.cpp 65 auto ValueI = Expansions.find(Var);
66 if (ValueI == Expansions.end()) {
73 OS << Expansions.lookup(Var);
GIMatchDagPredicate.h 67 const CodeExpansions &Expansions) const {
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageSummaryInfo.cpp 39 ArrayRef<ExpansionRecord> Expansions) {
40 for (const auto &Expansion : Expansions) {
71 // Compute the branch coverage, including branches from expansions.
CoverageExporterJson.cpp 25 // -- Expansions: array => List of expansion records
118 ArrayRef<llvm::coverage::ExpansionRecord> Expansions) {
120 for (const auto &Expansion : Expansions) {
123 // Recursively collect branches from nested expansions.
140 std::vector<llvm::coverage::ExpansionRecord> Expansions = {Expansion};
149 renderBranchRegions(collectNestedBranches(Coverage, Expansions))}});
221 File["expansions"] =
CoverageExporterLcov.cpp 80 ArrayRef<llvm::coverage::ExpansionRecord> Expansions,
83 for (const auto &Expansion : Expansions) {
90 // Recursively collect branches from nested expansions.
120 // Recursively collect branches for all file expansions.
CodeCoverage.cpp 92 /// Create source views for the expansions of the view.
94 ArrayRef<ExpansionRecord> Expansions,
295 SourceCoverageView &View, ArrayRef<ExpansionRecord> Expansions,
299 for (const auto &Expansion : Expansions) {
357 auto Expansions = FunctionCoverage.getExpansions();
361 attachExpansionSubViews(*View, Expansions, Coverage);
379 auto Expansions = FileCoverage.getExpansions();
382 attachExpansionSubViews(*View, Expansions, Coverage);
927 cl::opt<bool> ShowExpansions("show-expansions", cl::Optional,
1126 cl::opt<bool> SkipExpansions("skip-expansions", cl::Optional
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
SetTheory.h 98 ExpandMap Expansions;
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
PseudoLoweringEmitter.cpp 52 SmallVector<PseudoExpansion, 64> Expansions;
221 Expansions.push_back(PseudoExpansion(SourceInsn, Insn, OperandMap));
232 if (!Expansions.empty()) {
235 for (auto &Expansion : Expansions) {
GICombinerEmitter.cpp 45 "gicombiner-show-expansions",
220 /// Export expansions for this rule
221 void declareExpansions(CodeExpansions &Expansions) const {
223 Expansions.declare(I.getPatternSymbol(), I.getVariableName());
745 CodeExpansions Expansions;
748 Expansions.declare(VarBinding.getName(),
751 Expansions.declare(VarBinding.getName(),
756 Rule->declareExpansions(Expansions);
776 Expansions))
801 << CodeExpander(Rule->getMatchingFixupCode()->getValue(), Expansions,
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ExprObjC.cpp 61 ExpansionData *Expansions =
66 if (Expansions) {
67 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc;
69 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1;
71 Expansions[I].NumExpansionsPlusOne = 0;
DeclTemplate.cpp 132 if (Optional<unsigned> Expansions = getExpandedPackSize(P)) {
133 NumRequiredArgs += *Expansions;
792 ArrayRef<TemplateParameterList *> Expansions)
795 ExpandedParameterPack(true), NumExpandedParams(Expansions.size()) {
796 if (!Expansions.empty())
797 std::uninitialized_copy(Expansions.begin(), Expansions.end(),
815 ArrayRef<TemplateParameterList *> Expansions) {
817 additionalSizeToAlloc<TemplateParameterList *>(Expansions.size()))
818 TemplateTemplateParmDecl(DC, L, D, P, Id, Params, Expansions);
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
Tokens.cpp 75 // Stop if expansions have diverged.
470 std::vector<TokenBuffer::Expansion> Expansions;
472 Expansions.push_back(makeExpansion(File, *M));
473 return Expansions;
519 std::vector<const syntax::Token *> Expansions;
524 Expansions.push_back(Token);
526 return Expansions;
583 // Only record top-level expansions that directly produce expanded tokens.
610 assert(Collector->Expansions.count(Range.getBegin()) &&
614 Collector->Expansions[Range.getBegin()] = Range.getEnd()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
SetTheory.cpp 310 ExpandMap::iterator I = Expansions.find(Set);
311 if (I != Expansions.end())
323 RecVec &EltVec = Expansions[Set];
  /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Syntax/
Tokens.h 266 /// An expansion produced by the preprocessor, includes macro expansions and
269 /// few examples of expansions:
273 /// FIXME(ibiryukov): implement this, currently #include expansions are empty.
284 /// Returns all expansions (partially) expanded from the specified tokens.
285 /// This is the expansions whose Spelled range intersects \p Spelled.
317 /// expanded tokens. Represents macro expansions, preprocessor directives,
435 /// 2. macro name and arguments for macro expansions.
436 /// Note that we record only top-level macro expansions, intermediate
437 /// expansions (e.g. inside macro arguments) are ignored.
443 /// macro expansions being processed and we could use it to recover th
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
CoverageMapping.cpp 300 // record, because of e.g. macro expansions in the function in which both
717 FileCoverage.Expansions.emplace_back(CR, Function);
719 // Capture branch regions specific to the function (excluding expansions).
768 FunctionCoverage.Expansions.emplace_back(CR, Function);
770 // Capture branch regions specific to the function (excluding expansions).
791 ExpansionCoverage.Expansions.emplace_back(CR, Expansion.Function);
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/Coverage/
CoverageMapping.h 346 /// macro expansions within a function in which the macro and function are
419 /// expansions whose coverage can be looked up independently.
530 /// list of expansions that can be further processed.
536 std::vector<ExpansionRecord> Expansions;
559 /// Expansions that can be further processed.
560 ArrayRef<ExpansionRecord> getExpansions() const { return Expansions; }
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplateDeduction.cpp 716 // pre-expanded expansions? (This should already have been diagnosed
748 // parameter packs that are pack expansions.
957 if (Optional<unsigned> Expansions = getExpandedPackSize(Param)) {
958 if (*Expansions != PackElements) {
978 /// The number of expansions, if we have a fully-expanded pack in this scope.
2345 llvm_unreachable("caller should handle pack expansions");
2566 // we will have flattened packs to non-expansions in X.
3285 Optional<unsigned> Expansions = getExpandedPackSize(Param);
3286 if (!Expansions || Arg.pack_size() < *Expansions) {
    [all...]
SemaTemplateInstantiateDecl.cpp 3134 // same pack expansion, but this is always ill-formed because all expansions
3146 SmallVector<NamedDecl*, 8> Expansions;
3156 Expansions.push_back(cast<NamedDecl>(Slice));
3159 auto *NewD = SemaRef.BuildUsingPackDecl(D, Expansions);
3209 SmallVector<NamedDecl*, 8> Expansions;
3210 for (auto *UD : D->expansions()) {
3213 Expansions.push_back(NewUD);
3218 auto *NewD = SemaRef.BuildUsingPackDecl(D, Expansions);
TreeTransform.h 246 /// By default, the transformer never tries to expand pack expansions.
259 /// expand the corresponding pack expansions into separate arguments. When
270 /// number of expansions is known a priori (e.g., due to a prior substitution)
271 /// and will be set by the callee when the number of expansions is known.
419 /// support for variadic templates by expanding any pack expansions (if the
420 /// derived class permits such expansion) along the way. When pack expansions
4384 llvm_unreachable("Caller should expand pack expansions");
11961 Decls = UPD->expansions();
12621 // Zero or more expansions of the init-capture.
12622 SmallVector<InitCaptureInfoTy, 4> Expansions;
    [all...]
SemaTemplate.cpp 910 "Only template template arguments can be pack expansions here");
5686 if (Optional<unsigned> Expansions = getExpandedPackSize(*Param)) {
5687 if (*Expansions == ArgumentPack.size()) {
5888 // pack expansions; they might be empty. This can happen even if
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclTemplate.h 1627 ArrayRef<TemplateParameterList *> Expansions);
1646 ArrayRef<TemplateParameterList *> Expansions);
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderStmt.cpp 1435 auto *Expansions =
1441 Expansions[I].EllipsisLoc = readSourceLocation();
1442 Expansions[I].NumExpansionsPlusOne = Record.readInt();
ASTReaderDecl.cpp 1657 auto **Expansions = D->getTrailingObjects<NamedDecl *>();
1659 Expansions[I] = readDeclAs<NamedDecl>();

Completed in 69 milliseconds

1 2