Home
last modified time | relevance | path

Searched refs:Expansions (Results 1 – 25 of 41) sorted by relevance

12

/external/llvm-project/llvm/unittests/TableGen/
DCodeExpanderTest.cpp72 CodeExpansions Expansions; in TEST() local
75 CodeExpander("No expansions", Expansions, SMLoc(), false).emit(OS); in TEST()
83 CodeExpansions Expansions; in TEST() local
86 CodeExpander("No expansions\nsecond line\nthird line", Expansions, SMLoc(), in TEST()
97 CodeExpansions Expansions; in TEST() local
100 CodeExpander("\\\\\\a\\$", Expansions, SMLoc(), false).emit(OS); in TEST()
108 CodeExpansions Expansions; in TEST() local
112 CodeExpander(" $foo", Expansions, SMLoc::getFromPointer(In.data()), false) in TEST()
124 CodeExpansions Expansions; in TEST() local
127 CodeExpander("\\$foo", Expansions, SMLoc(), false).emit(OS); in TEST()
[all …]
/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DCodeExpansions.h23 StringMap<std::string> Expansions;
27 bool Inserted = Expansions.try_emplace(Name, Expansion).second; in declare()
33 return Expansions.lookup(Variable); in lookup()
36 const_iterator begin() const { return Expansions.begin(); } in begin()
37 const_iterator end() const { return Expansions.end(); } in end()
39 return Expansions.find(Variable); in find()
DCodeExpander.h34 const CodeExpansions &Expansions; variable
40 CodeExpander(StringRef Code, const CodeExpansions &Expansions,
43 : Code(Code), Expansions(Expansions), Loc(Loc), in Code()
DCodeExpander.cpp65 auto ValueI = Expansions.find(Var); in emit()
66 if (ValueI == Expansions.end()) { in emit()
73 OS << Expansions.lookup(Var); in emit()
DGIMatchDagPredicate.h67 const CodeExpansions &Expansions) const { in generateCheckCode() argument
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp53 SmallVector<PseudoExpansion, 64> Expansions; member in __anone80493550111::PseudoLoweringEmitter
194 Expansions.push_back(PseudoExpansion(SourceInsn, Insn, OperandMap)); in evaluateExpansion()
205 if (!Expansions.empty()) { in emitLoweringEmitter()
208 for (auto &Expansion : Expansions) { in emitLoweringEmitter()
/external/llvm-project/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp52 SmallVector<PseudoExpansion, 64> Expansions; member in __anon7a17f2c30111::PseudoLoweringEmitter
216 Expansions.push_back(PseudoExpansion(SourceInsn, Insn, OperandMap)); in evaluateExpansion()
227 if (!Expansions.empty()) { in emitLoweringEmitter()
230 for (auto &Expansion : Expansions) { in emitLoweringEmitter()
DGICombinerEmitter.cpp220 void declareExpansions(CodeExpansions &Expansions) const { in declareExpansions()
222 Expansions.declare(I.getPatternSymbol(), I.getVariableName()); in declareExpansions()
745 CodeExpansions Expansions; in generateCodeForTree() local
748 Expansions.declare(VarBinding.getName(), in generateCodeForTree()
751 Expansions.declare(VarBinding.getName(), in generateCodeForTree()
756 Rule->declareExpansions(Expansions); in generateCodeForTree()
776 Expansions)) in generateCodeForTree()
801 << CodeExpander(Rule->getMatchingFixupCode()->getValue(), Expansions, in generateCodeForTree()
810 OS << CodeExpander(Code->getAsUnquotedString(), Expansions, in generateCodeForTree()
/external/llvm/tools/llvm-cov/
DCodeCoverage.cpp69 ArrayRef<ExpansionRecord> Expansions,
173 ArrayRef<ExpansionRecord> Expansions, in attachExpansionSubViews() argument
177 for (const auto &Expansion : Expansions) { in attachExpansionSubViews()
204 auto Expansions = FunctionCoverage.getExpansions(); in createFunctionView() local
207 attachExpansionSubViews(*View, Expansions, Coverage); in createFunctionView()
222 auto Expansions = FileCoverage.getExpansions(); in createSourceFileView() local
225 attachExpansionSubViews(*View, Expansions, Coverage); in createSourceFileView()
/external/llvm-project/clang/lib/AST/
DExprObjC.cpp61 ExpansionData *Expansions = in ObjCDictionaryLiteral() local
66 if (Expansions) { in ObjCDictionaryLiteral()
67 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
69 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1; in ObjCDictionaryLiteral()
71 Expansions[I].NumExpansionsPlusOne = 0; in ObjCDictionaryLiteral()
DDeclTemplate.cpp767 ArrayRef<TemplateParameterList *> Expansions) in TemplateTemplateParmDecl() argument
770 ExpandedParameterPack(true), NumExpandedParams(Expansions.size()) { in TemplateTemplateParmDecl()
771 if (!Expansions.empty()) in TemplateTemplateParmDecl()
772 std::uninitialized_copy(Expansions.begin(), Expansions.end(), in TemplateTemplateParmDecl()
790 ArrayRef<TemplateParameterList *> Expansions) { in Create() argument
792 additionalSizeToAlloc<TemplateParameterList *>(Expansions.size())) in Create()
793 TemplateTemplateParmDecl(DC, L, D, P, Id, Params, Expansions); in Create()
/external/clang/lib/AST/
DExprObjC.cpp62 ExpansionData *Expansions = in ObjCDictionaryLiteral() local
78 if (Expansions) { in ObjCDictionaryLiteral()
79 Expansions[I].EllipsisLoc = VK[I].EllipsisLoc; in ObjCDictionaryLiteral()
81 Expansions[I].NumExpansionsPlusOne = *VK[I].NumExpansions + 1; in ObjCDictionaryLiteral()
83 Expansions[I].NumExpansionsPlusOne = 0; in ObjCDictionaryLiteral()
DDeclTemplate.cpp601 ArrayRef<TemplateParameterList *> Expansions) in TemplateTemplateParmDecl() argument
604 ExpandedParameterPack(true), NumExpandedParams(Expansions.size()) { in TemplateTemplateParmDecl()
605 if (!Expansions.empty()) in TemplateTemplateParmDecl()
606 std::uninitialized_copy(Expansions.begin(), Expansions.end(), in TemplateTemplateParmDecl()
624 ArrayRef<TemplateParameterList *> Expansions) { in Create() argument
626 additionalSizeToAlloc<TemplateParameterList *>(Expansions.size())) in Create()
627 TemplateTemplateParmDecl(DC, L, D, P, Id, Params, Expansions); in Create()
/external/llvm-project/clang/lib/Tooling/Syntax/
DTokens.cpp438 std::vector<TokenBuffer::Expansion> Expansions; in expansionsOverlapping() local
440 Expansions.push_back(makeExpansion(File, *M)); in expansionsOverlapping()
441 return Expansions; in expansionsOverlapping()
487 std::vector<const syntax::Token *> Expansions; in macroExpansions() local
492 Expansions.push_back(Token); in macroExpansions()
494 return Expansions; in macroExpansions()
578 assert(Collector->Expansions.count(Range.getBegin()) && in MacroExpands()
582 Collector->Expansions[Range.getBegin()] = Range.getEnd(); in MacroExpands()
820 return Builder(std::move(Expanded), std::move(Expansions), in consume()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h406 std::vector<ExpansionRecord> Expansions; variable
416 Expansions(std::move(RHS.Expansions)) {} in CoverageData()
426 ArrayRef<ExpansionRecord> getExpansions() { return Expansions; } in getExpansions()
/external/llvm-project/llvm/tools/llvm-cov/
DCodeCoverage.cpp88 ArrayRef<ExpansionRecord> Expansions,
259 SourceCoverageView &View, ArrayRef<ExpansionRecord> Expansions, in attachExpansionSubViews() argument
263 for (const auto &Expansion : Expansions) { in attachExpansionSubViews()
290 auto Expansions = FunctionCoverage.getExpansions(); in createFunctionView() local
294 attachExpansionSubViews(*View, Expansions, Coverage); in createFunctionView()
309 auto Expansions = FileCoverage.getExpansions(); in createSourceFileView() local
312 attachExpansionSubViews(*View, Expansions, Coverage); in createSourceFileView()
/external/llvm/lib/TableGen/
DSetTheory.cpp300 ExpandMap::iterator I = Expansions.find(Set); in expand()
301 if (I != Expansions.end()) in expand()
313 RecVec &EltVec = Expansions[Set]; in expand()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DSetTheory.cpp310 ExpandMap::iterator I = Expansions.find(Set); in expand()
311 if (I != Expansions.end()) in expand()
323 RecVec &EltVec = Expansions[Set]; in expand()
/external/llvm-project/llvm/lib/TableGen/
DSetTheory.cpp310 ExpandMap::iterator I = Expansions.find(Set); in expand()
311 if (I != Expansions.end()) in expand()
323 RecVec &EltVec = Expansions[Set]; in expand()
/external/llvm/include/llvm/TableGen/
DSetTheory.h95 ExpandMap Expansions; variable
/external/llvm-project/llvm/include/llvm/TableGen/
DSetTheory.h98 ExpandMap Expansions; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/
DSetTheory.h98 ExpandMap Expansions; variable
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp470 FileCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFile()
512 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
530 ExpansionCoverage.Expansions.emplace_back(CR, Expansion.Function); in getCoverageForExpansion()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp673 FileCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFile()
720 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
739 ExpansionCoverage.Expansions.emplace_back(CR, Expansion.Function); in getCoverageForExpansion()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp664 FileCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFile()
711 FunctionCoverage.Expansions.emplace_back(CR, Function); in getCoverageForFunction()
730 ExpansionCoverage.Expansions.emplace_back(CR, Expansion.Function); in getCoverageForExpansion()

12