/external/llvm-project/llvm/unittests/TableGen/ |
D | CodeExpanderTest.cpp | 72 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/ |
D | CodeExpansions.h | 23 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()
|
D | CodeExpander.h | 34 const CodeExpansions &Expansions; variable 40 CodeExpander(StringRef Code, const CodeExpansions &Expansions, 43 : Code(Code), Expansions(Expansions), Loc(Loc), in Code()
|
D | CodeExpander.cpp | 65 auto ValueI = Expansions.find(Var); in emit() 66 if (ValueI == Expansions.end()) { in emit() 73 OS << Expansions.lookup(Var); in emit()
|
D | GIMatchDagPredicate.h | 67 const CodeExpansions &Expansions) const { in generateCheckCode() argument
|
/external/llvm/utils/TableGen/ |
D | PseudoLoweringEmitter.cpp | 53 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/ |
D | PseudoLoweringEmitter.cpp | 52 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()
|
D | GICombinerEmitter.cpp | 220 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/ |
D | CodeCoverage.cpp | 69 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/ |
D | ExprObjC.cpp | 61 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()
|
D | DeclTemplate.cpp | 767 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/ |
D | ExprObjC.cpp | 62 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()
|
D | DeclTemplate.cpp | 601 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/ |
D | Tokens.cpp | 438 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/ |
D | CoverageMapping.h | 406 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/ |
D | CodeCoverage.cpp | 88 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/ |
D | SetTheory.cpp | 300 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/ |
D | SetTheory.cpp | 310 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/ |
D | SetTheory.cpp | 310 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/ |
D | SetTheory.h | 95 ExpandMap Expansions; variable
|
/external/llvm-project/llvm/include/llvm/TableGen/ |
D | SetTheory.h | 98 ExpandMap Expansions; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/TableGen/ |
D | SetTheory.h | 98 ExpandMap Expansions; variable
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 470 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/ |
D | CoverageMapping.cpp | 673 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/ |
D | CoverageMapping.cpp | 664 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()
|