Home
last modified time | relevance | path

Searched refs:Frag (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clangd/unittests/
DConfigCompileTests.cpp38 Fragment Frag; member in clang::clangd::config::__anon1dffab660111::ConfigCompileTests
44 auto Compiled = std::move(Frag).compile(Diags.callback()); in compileAndApply()
51 Frag = {}; in TEST_F()
52 Frag.CompileFlags.Add.emplace_back("X"); in TEST_F()
58 Frag = {}; in TEST_F()
59 Frag.If.PathMatch.emplace_back("fo*"); in TEST_F()
68 Frag = {}; in TEST_F()
69 Frag.If.PathMatch.emplace_back("fo*"); in TEST_F()
74 Frag = {}; in TEST_F()
75 Frag.If.PathMatch.emplace_back("fo*"); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dcompile.cc113 struct Frag { struct
117 Frag() : begin(0) { end.p = 0; } // needed so Frag can go in vector in Frag() argument
118 Frag(uint32_t begin, PatchList end) : begin(begin), end(end) {} in Frag() argument
127 class Compiler : public Regexp::Walker<Frag> {
150 Frag PreVisit(Regexp* re, Frag parent_arg, bool* stop);
151 Frag PostVisit(Regexp* re, Frag parent_arg, Frag pre_arg, Frag* child_args,
153 Frag ShortVisit(Regexp* re, Frag parent_arg);
154 Frag Copy(Frag arg);
157 Frag Plus(Frag a, bool nongreedy);
158 Frag Star(Frag a, bool nongreedy);
[all …]
/external/llvm/lib/MC/
DMCCodeView.cpp279 MCCVInlineLineTableFragment &Frag) { in encodeInlineLineTable() argument
282 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
283 for (unsigned SecondaryId : Frag.SecondaryFuncs) { in encodeInlineLineTable()
295 InlinedFuncIds.insert(Frag.SiteFuncId); in encodeInlineLineTable()
296 InlinedFuncIds.insert(Frag.SecondaryFuncs.begin(), Frag.SecondaryFuncs.end()); in encodeInlineLineTable()
301 MCCVLineEntry StartLoc(Frag.getFnStartSym(), MCCVLoc(Locs.front())); in encodeInlineLineTable()
302 StartLoc.setFileNum(Frag.StartFileId); in encodeInlineLineTable()
303 StartLoc.setLine(Frag.StartLineNum); in encodeInlineLineTable()
307 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
364 computeLabelDiff(Layout, LastLoc->getLabel(), Frag.getFnEndSym()); in encodeInlineLineTable()
[all …]
DMCAssembler.cpp657 for (MCFragment &Frag : *Sec) in layout()
658 Frag.setLayoutOrder(FragmentIndex++); in layout()
682 for (MCFragment &Frag : Sec) { in layout()
687 if (isa<MCEncodedFragment>(&Frag) && in layout()
688 isa<MCCompactEncodedInstFragment>(&Frag)) in layout()
690 if (!isa<MCEncodedFragment>(&Frag) && !isa<MCCVDefRangeFragment>(&Frag)) in layout()
694 if (auto *FragWithFixups = dyn_cast<MCDataFragment>(&Frag)) { in layout()
697 } else if (auto *FragWithFixups = dyn_cast<MCRelaxableFragment>(&Frag)) { in layout()
700 } else if (auto *FragWithFixups = dyn_cast<MCCVDefRangeFragment>(&Frag)) { in layout()
708 std::tie(FixedValue, IsPCRel) = handleFixup(Layout, Frag, Fixup); in layout()
DMCMachOStreamer.cpp487 for (MCFragment &Frag : Sec) { in FinishImpl()
488 if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(&Frag)) in FinishImpl()
490 Frag.setAtom(CurrentAtom); in FinishImpl()
/external/llvm-project/llvm/lib/MC/
DMCCodeView.cpp462 MCCVInlineLineTableFragment &Frag) { in encodeInlineLineTable() argument
465 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
468 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(Frag.SiteFuncId); in encodeInlineLineTable()
499 StartLoc.setLabel(Frag.getFnStartSym()); in encodeInlineLineTable()
500 StartLoc.setFileNum(Frag.StartFileId); in encodeInlineLineTable()
501 StartLoc.setLine(Frag.StartLineNum); in encodeInlineLineTable()
504 const MCSymbol *LastLabel = Frag.getFnStartSym(); in encodeInlineLineTable()
506 LastSourceLoc.File = Frag.StartFileId; in encodeInlineLineTable()
507 LastSourceLoc.Line = Frag.StartLineNum; in encodeInlineLineTable()
509 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
[all …]
DMCAssembler.cpp835 for (MCFragment &Frag : *Sec) in layout()
836 Frag.setLayoutOrder(FragmentIndex++); in layout()
867 for (MCFragment &Frag : Sec) { in layout()
873 switch (Frag.getKind()) { in layout()
877 MCAlignFragment &AF = cast<MCAlignFragment>(Frag); in layout()
885 MCDataFragment &DF = cast<MCDataFragment>(Frag); in layout()
893 MCRelaxableFragment &RF = cast<MCRelaxableFragment>(Frag); in layout()
901 MCCVDefRangeFragment &CF = cast<MCCVDefRangeFragment>(Frag); in layout()
907 MCDwarfLineAddrFragment &DF = cast<MCDwarfLineAddrFragment>(Frag); in layout()
913 MCDwarfCallFrameFragment &DF = cast<MCDwarfCallFrameFragment>(Frag); in layout()
[all …]
DMCMachOStreamer.cpp499 for (MCFragment &Frag : Sec) { in finishImpl()
500 if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(&Frag)) in finishImpl()
502 Frag.setAtom(CurrentAtom); in finishImpl()
DWinCOFFObjectWriter.cpp1096 auto Frag = new MCDataFragment(AddrsigSection); in writeObject() local
1097 Frag->setLayoutOrder(0); in writeObject()
1098 raw_svector_ostream OS(Frag->getContents()); in writeObject()
1115 auto *Frag = new MCDataFragment(CGProfileSection); in writeObject() local
1116 Frag->setLayoutOrder(0); in writeObject()
1117 raw_svector_ostream OS(Frag->getContents()); in writeObject()
DWasmObjectWriter.cpp624 for (const MCFragment &Frag : DataSection) { in addData() local
625 if (Frag.hasInstructions()) in addData()
628 if (auto *Align = dyn_cast<MCAlignFragment>(&Frag)) { in addData()
637 } else if (auto *Fill = dyn_cast<MCFillFragment>(&Frag)) { in addData()
643 } else if (auto *LEB = dyn_cast<MCLEBFragment>(&Frag)) { in addData()
647 const auto &DataFrag = cast<MCDataFragment>(Frag); in addData()
1753 const MCFragment &Frag = *std::next(IT); in writeOneObject() local
1754 if (Frag.hasInstructions() || Frag.getKind() != MCFragment::FT_Data) in writeOneObject()
1766 const auto &DataFrag = cast<MCDataFragment>(Frag); in writeOneObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCCodeView.cpp462 MCCVInlineLineTableFragment &Frag) { in encodeInlineLineTable() argument
465 std::tie(LocBegin, LocEnd) = getLineExtent(Frag.SiteFuncId); in encodeInlineLineTable()
468 MCCVFunctionInfo *SiteInfo = getCVFunctionInfo(Frag.SiteFuncId); in encodeInlineLineTable()
499 StartLoc.setLabel(Frag.getFnStartSym()); in encodeInlineLineTable()
500 StartLoc.setFileNum(Frag.StartFileId); in encodeInlineLineTable()
501 StartLoc.setLine(Frag.StartLineNum); in encodeInlineLineTable()
504 const MCSymbol *LastLabel = Frag.getFnStartSym(); in encodeInlineLineTable()
506 LastSourceLoc.File = Frag.StartFileId; in encodeInlineLineTable()
507 LastSourceLoc.Line = Frag.StartLineNum; in encodeInlineLineTable()
509 SmallVectorImpl<char> &Buffer = Frag.getContents(); in encodeInlineLineTable()
[all …]
DMCAssembler.cpp783 for (MCFragment &Frag : *Sec) in layout()
784 Frag.setLayoutOrder(FragmentIndex++); in layout()
809 for (MCFragment &Frag : Sec) { in layout()
814 if (isa<MCEncodedFragment>(&Frag) && in layout()
815 isa<MCCompactEncodedInstFragment>(&Frag)) in layout()
817 if (!isa<MCEncodedFragment>(&Frag) && !isa<MCCVDefRangeFragment>(&Frag) && in layout()
818 !isa<MCAlignFragment>(&Frag)) in layout()
823 if (auto *FragWithFixups = dyn_cast<MCDataFragment>(&Frag)) { in layout()
828 } else if (auto *FragWithFixups = dyn_cast<MCRelaxableFragment>(&Frag)) { in layout()
833 } else if (auto *FragWithFixups = dyn_cast<MCCVDefRangeFragment>(&Frag)) { in layout()
[all …]
DMCMachOStreamer.cpp496 for (MCFragment &Frag : Sec) { in FinishImpl()
497 if (const MCSymbol *Symbol = DefiningSymbolMap.lookup(&Frag)) in FinishImpl()
499 Frag.setAtom(CurrentAtom); in FinishImpl()
DWasmObjectWriter.cpp592 for (const MCFragment &Frag : DataSection) { in addData() local
593 if (Frag.hasInstructions()) in addData()
596 if (auto *Align = dyn_cast<MCAlignFragment>(&Frag)) { in addData()
605 } else if (auto *Fill = dyn_cast<MCFillFragment>(&Frag)) { in addData()
611 } else if (auto *LEB = dyn_cast<MCLEBFragment>(&Frag)) { in addData()
615 const auto &DataFrag = cast<MCDataFragment>(Frag); in addData()
1535 const MCFragment &Frag = *std::next(IT); in writeObject() local
1536 if (Frag.hasInstructions() || Frag.getKind() != MCFragment::FT_Data) in writeObject()
1550 const auto &DataFrag = cast<MCDataFragment>(Frag); in writeObject()
DWinCOFFObjectWriter.cpp1036 auto Frag = new MCDataFragment(AddrsigSection); in writeObject() local
1037 Frag->setLayoutOrder(0); in writeObject()
1038 raw_svector_ostream OS(Frag->getContents()); in writeObject()
DMCObjectStreamer.cpp551 MCFragment *Frag = in EmitCVDefRangeDirective() local
555 flushPendingLabels(Frag, 0); in EmitCVDefRangeDirective()
/external/tcpdump/tests/
Dvtp_asan-3.out1 FRF.16 Frag, seq 193, Flags [Begin, End], UI 08! VTPv69, Message Subset advertisement (0x02), lengt…
Dvtp_asan-2.out1 FRF.16 Frag, seq 193, Flags [Begin, End], UI 08! VTPv69, Message Subset advertisement (0x02), lengt…
Dvtp_asan.out1 FRF.16 Frag, seq 193, Flags [Begin, End], UI 08! VTPv69, Message Subset advertisement (0x02), lengt…
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp1429 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments() local
1432 if (Frag->getNumArgs() != Children.size()) { in InlinePatternFragments()
1434 utostr(Frag->getNumArgs()) + " operands!"); in InlinePatternFragments()
1438 TreePatternNode *FragTree = Frag->getOnlyTree()->clone(); in InlinePatternFragments()
1440 TreePredicateFn PredFn(Frag); in InlinePatternFragments()
1445 if (Frag->getNumArgs()) { in InlinePatternFragments()
1448 for (unsigned i = 0, e = Frag->getNumArgs(); i != e; ++i) in InlinePatternFragments()
1449 ArgMap[Frag->getArgName(i)] = getChild(i)->InlinePatternFragments(TP); in InlinePatternFragments()
2473 for (Record *Frag : Fragments) { in ParsePatternFragments()
2474 if (OutFrags != Frag->isSubClassOf("OutPatFrag")) in ParsePatternFragments()
[all …]
/external/capstone/arch/XCore/
DXCoreGenAsmWriter.inc433 //printf("Frag-0: %u\n", (Bits >> 11) & 3);
458 //printf("Frag-1: %u\n", (Bits >> 13) & 31);
579 //printf("Frag-2: %u\n", (Bits >> 18) & 7);
609 //printf("Frag-3: %u\n", (Bits >> 21) & 7);
666 //printf("Frag-4: %u\n", (Bits >> 24) & 7);
699 //printf("Frag-5: %u\n", (Bits >> 27) & 3);
/external/llvm-project/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp2065 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments() local
2068 if (Frag->getNumArgs() != Children.size()) { in InlinePatternFragments()
2070 Twine(Frag->getNumArgs()) + " operands!"); in InlinePatternFragments()
2074 TreePredicateFn PredFn(Frag); in InlinePatternFragments()
2076 if (TreePredicateFn(Frag).usesOperands()) in InlinePatternFragments()
2081 for (unsigned i = 0, e = Frag->getNumArgs(); i != e; ++i) { in InlinePatternFragments()
2085 Child->addNameAsPredicateArg(ScopedName(Scope, Frag->getArgName(i))); in InlinePatternFragments()
2087 ArgMap[Frag->getArgName(i)] = Child; in InlinePatternFragments()
2091 for (auto Alternative : Frag->getTrees()) { in InlinePatternFragments()
2098 if (Frag->getNumArgs()) in InlinePatternFragments()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/
Ducs2.diff152 Frag Compiler::Literal(Rune r, bool foldcase) {
175 Frag dot;
182 Frag dotloop = c.Star(dot, true);
183 Frag unanchored = c.Cat(dotloop, all);
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp1118 MCDataFragment *Frag = getOrCreateDataFragment(); in EmitFixup() local
1119 Frag->getFixups().push_back(MCFixup::create(Frag->getContents().size(), Expr, in EmitFixup()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp1237 MCDataFragment *Frag = getOrCreateDataFragment(); in EmitFixup() local
1238 Frag->getFixups().push_back(MCFixup::create(Frag->getContents().size(), Expr, in EmitFixup()

123