Home
last modified time | relevance | path

Searched refs:Expansion (Results 1 – 25 of 40) sorted by relevance

12

/external/clang/lib/Rewrite/
DHTMLRewrite.cpp534 std::string Expansion = EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros() local
535 unsigned LineLen = Expansion.size(); in HighlightMacros()
549 Expansion += "<br>"; in HighlightMacros()
553 LineLen -= Expansion.size(); in HighlightMacros()
559 Expansion += ' '; in HighlightMacros()
562 Expansion += EscapeText(TmpPP.getSpelling(Tok)); in HighlightMacros()
563 LineLen += Expansion.size(); in HighlightMacros()
573 Expansion = "<span class='expansion'>" + Expansion + "</span></span>"; in HighlightMacros()
576 "<span class='macro'>", Expansion.c_str()); in HighlightMacros()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DPseudoLoweringEmitter.cpp158 PseudoExpansion &Expansion = Expansions[i]; in emitLoweringEmitter() local
159 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
160 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
178 switch (Expansion.OperandMap[MIOpNo + i].Kind) { in emitLoweringEmitter()
183 << Source.Operands[Expansion.OperandMap[MIOpNo].Data in emitLoweringEmitter()
190 << Expansion.OperandMap[MIOpNo + i].Data.Imm << "));\n"; in emitLoweringEmitter()
193 Record *Reg = Expansion.OperandMap[MIOpNo + i].Data.Reg; in emitLoweringEmitter()
/external/llvm/utils/TableGen/
DPseudoLoweringEmitter.cpp208 for (auto &Expansion : Expansions) { in emitLoweringEmitter() local
209 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
210 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
226 switch (Expansion.OperandMap[MIOpNo + i].Kind) { in emitLoweringEmitter()
229 << Source.Operands[Expansion.OperandMap[MIOpNo].Data in emitLoweringEmitter()
236 << Expansion.OperandMap[MIOpNo + i].Data.Imm << "));\n"; in emitLoweringEmitter()
239 Record *Reg = Expansion.OperandMap[MIOpNo + i].Data.Reg; in emitLoweringEmitter()
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp196 std::string Expansion; in RewriteMacrosInInput() local
198 Expansion += ' ' + PP.getSpelling(PPTok); in RewriteMacrosInInput()
203 Expansion += ' '; in RewriteMacrosInInput()
204 RB.InsertTextBefore(InsertPos, Expansion); in RewriteMacrosInInput()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp522 CoverageMapping::getCoverageForExpansion(const ExpansionRecord &Expansion) { in getCoverageForExpansion() argument
524 Expansion.Function.Filenames[Expansion.FileID]); in getCoverageForExpansion()
526 for (const auto &CR : Expansion.Function.CountedRegions) in getCoverageForExpansion()
527 if (CR.FileID == Expansion.FileID) { in getCoverageForExpansion()
529 if (isExpansion(CR, Expansion.FileID)) in getCoverageForExpansion()
530 ExpansionCoverage.Expansions.emplace_back(CR, Expansion.Function); in getCoverageForExpansion()
533 DEBUG(dbgs() << "Emitting segments for expansion of file " << Expansion.FileID in getCoverageForExpansion()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp893 PackExpansionTypeLoc Expansion = in getTemplateArgumentPackExpansionPattern() local
895 Ellipsis = Expansion.getEllipsisLoc(); in getTemplateArgumentPackExpansionPattern()
897 TypeLoc Pattern = Expansion.getPatternLoc(); in getTemplateArgumentPackExpansionPattern()
898 NumExpansions = Expansion.getTypePtr()->getNumExpansions(); in getTemplateArgumentPackExpansionPattern()
912 PackExpansionExpr *Expansion in getTemplateArgumentPackExpansionPattern() local
914 Expr *Pattern = Expansion->getPattern(); in getTemplateArgumentPackExpansionPattern()
915 Ellipsis = Expansion->getEllipsisLoc(); in getTemplateArgumentPackExpansionPattern()
916 NumExpansions = Expansion->getNumExpansions(); in getTemplateArgumentPackExpansionPattern()
DSemaTemplateInstantiateDecl.cpp2079 PackExpansionTypeLoc Expansion = TL.castAs<PackExpansionTypeLoc>(); in VisitNonTypeTemplateParmDecl() local
2080 TypeLoc Pattern = Expansion.getPatternLoc(); in VisitNonTypeTemplateParmDecl()
2089 = Expansion.getTypePtr()->getNumExpansions(); in VisitNonTypeTemplateParmDecl()
2091 if (SemaRef.CheckParameterPacksForExpansion(Expansion.getEllipsisLoc(), in VisitNonTypeTemplateParmDecl()
2133 DI = SemaRef.CheckPackExpansion(NewPattern, Expansion.getEllipsisLoc(), in VisitNonTypeTemplateParmDecl()
2224 TemplateParameterList *Expansion = in VisitTemplateTemplateParmDecl() local
2226 if (!Expansion) in VisitTemplateTemplateParmDecl()
2228 ExpandedParams.push_back(Expansion); in VisitTemplateTemplateParmDecl()
2258 TemplateParameterList *Expansion = SubstTemplateParams(TempParams); in VisitTemplateTemplateParmDecl() local
2259 if (!Expansion) in VisitTemplateTemplateParmDecl()
[all …]
DTreeTransform.h3066 if (TypeSourceInfo *Expansion in RebuildPackExpansion() local
3070 return TemplateArgumentLoc(TemplateArgument(Expansion->getType()), in RebuildPackExpansion()
3071 Expansion); in RebuildPackExpansion()
3301 if (PackExpansionExpr *Expansion = dyn_cast<PackExpansionExpr>(Inputs[I])) { in TransformExprs() local
3302 Expr *Pattern = Expansion->getPattern(); in TransformExprs()
3312 Optional<unsigned> OrigNumExpansions = Expansion->getNumExpansions(); in TransformExprs()
3314 if (getDerived().TryExpandParameterPacks(Expansion->getEllipsisLoc(), in TransformExprs()
3331 Expansion->getEllipsisLoc(), in TransformExprs()
3356 Out.get(), Expansion->getEllipsisLoc(), OrigNumExpansions); in TransformExprs()
3374 Out.get(), Expansion->getEllipsisLoc(), OrigNumExpansions); in TransformExprs()
[all …]
/external/clang/test/Analysis/
DCFRetainRelease_NSAssertionHandler.m42 // Expansion of: NSParameterAssert( x != 0 );
55 // Expansion of: NSAssert( x != 0, @"" );
/external/clang/test/Preprocessor/
Dwarning_tests.c44 #error Expansion should have occurred
Dfeature_tests.c54 #error Expansion should have occurred
/external/clang/test/CoverageMapping/
Dimplicit-def-in-macro.m11 // CHECK: Expansion,File 0, [[@LINE+1]]:3 -> [[@LINE+1]]:6 = 0
/external/clang/include/clang/Basic/
DSourceManager.h400 ExpansionInfo Expansion; member
415 return Expansion; in getExpansion()
427 static SLocEntry get(unsigned Offset, const ExpansionInfo &Expansion) { in get() argument
432 E.Expansion = Expansion; in get()
1612 SourceLocation createExpansionLocImpl(const SrcMgr::ExpansionInfo &Expansion,
/external/llvm/tools/llvm-cov/
DCodeCoverage.cpp177 for (const auto &Expansion : Expansions) { in attachExpansionSubViews() local
178 auto ExpansionCoverage = Coverage.getCoverageForExpansion(Expansion); in attachExpansionSubViews()
187 SourceCoverageView::create(Expansion.Function.Name, SourceBuffer.get(), in attachExpansionSubViews()
190 View.addExpansion(Expansion.Region, std::move(SubView)); in attachExpansionSubViews()
/external/clang/include/clang/AST/
DBuiltinTypes.def31 // SHARED_SINGLETON_TYPE(Expansion) - The given expansion corresponds
53 #define SHARED_SINGLETON_TYPE(Expansion) Expansion
DExprObjC.h314 const ExpansionData &Expansion =
316 Result.EllipsisLoc = Expansion.EllipsisLoc;
317 if (Expansion.NumExpansionsPlusOne > 0)
318 Result.NumExpansions = Expansion.NumExpansionsPlusOne - 1;
/external/clang/lib/Basic/
DSourceManager.cpp979 const ExpansionInfo &Expansion = getSLocEntry(getFileID(Loc)).getExpansion(); in getImmediateExpansionRange() local
980 return Expansion.getExpansionLocRange(); in getImmediateExpansionRange()
1006 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroArgExpansion() local
1007 if (!Expansion.isMacroArgExpansion()) return false; in isMacroArgExpansion()
1010 *StartLoc = Expansion.getExpansionLocStart(); in isMacroArgExpansion()
1018 const SrcMgr::ExpansionInfo &Expansion = getSLocEntry(FID).getExpansion(); in isMacroBodyExpansion() local
1019 return Expansion.isMacroBodyExpansion(); in isMacroBodyExpansion()
/external/clang/lib/Lex/
DTokenLexer.cpp813 SourceLocation Expansion = in updateConsecutiveMacroArgTokens() local
822 Tok.setLocation(Expansion.getLocWithOffset(RelOffs)); in updateConsecutiveMacroArgTokens()
DLexer.cpp967 const SrcMgr::ExpansionInfo &Expansion = E->getExpansion(); in getImmediateMacroName() local
968 Loc = Expansion.getExpansionLocStart(); in getImmediateMacroName()
969 if (!Expansion.isMacroArgExpansion()) in getImmediateMacroName()
978 SourceLocation SpellLoc = Expansion.getSpellingLoc(); in getImmediateMacroName()
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp13 struct Expansion { struct
/external/clang/lib/Index/
DUSRGeneration.cpp567 if (const PackExpansionType *Expansion = T->getAs<PackExpansionType>()) { in VisitType() local
569 T = Expansion->getPattern(); in VisitType()
/external/llvm/docs/
DCoverageMappingFormat.rst137 * Expansion regions are used to represent Clang's macro expansions. They
149 …:#4A789C'>(x, 42); </span> <span class='c1'>// Expansion Region from 3:10…
174 …color:#4A789C'>; </span> <span class='c1'>// Expansion Region from 4:5 …
175 …lor:#4A789C'>; </span> <span class='c1'>// Expansion Region from 5:3 …
/external/llvm/test/CodeGen/AMDGPU/
Dselect-vectors.ll32 ; FIXME: Expansion with bitwise operations may be better if doing a
/external/ltp/doc/
Dbuild-system-guide.txt207 link:http://www.gnu.org/software/make/manual/make.html#Using-Variables[Variables and Expansion]
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h489 CoverageData getCoverageForExpansion(const ExpansionRecord &Expansion);

12