Searched refs:Pieces (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DRewriteRope.cpp137 /// Pieces array.
140 /// Pieces - This tracks the file chunks currently in this leaf.
141 RopePiece Pieces[2*WidthFactor]; member in class:__anon706::RopePieceBTreeLeaf
162 Pieces[--NumPieces] = RopePiece();
170 return Pieces[i];
247 while (Offset >= PieceOffs+Pieces[i].size()) {
248 PieceOffs += Pieces[i].size();
262 RopePiece Tail(Pieces[i].StrData, Pieces[i].StartOffs+IntraPieceOffset,
263 Pieces[
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp70 SmallVector<StringRef, 16> Pieces; local
71 String.split(Pieces, " ", /* MaxSplit */ -1, /* KeepEmpty */ false);
72 if (Pieces.empty()) {
77 for (StringRef Piece : Pieces) {
263 SmallVector<StringRef, 2> Pieces; local
264 String.split(Pieces, "=0x", /* MaxSplit */ -1,
268 if (Pieces.size() == 2 && (RegNo = Context.getRegNo(Pieces[0]))) {
270 const unsigned BitsNeeded = APInt::getBitsNeeded(Pieces[1], kRadix);
271 RV.Value = APInt(BitsNeeded, Pieces[
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DDiagnostics.cpp145 std::pair<StringRef, StringRef> Pieces = FormatString.split("$"); local
146 OS << Pieces.first.str();
147 if (Pieces.second.empty()) break;
149 const char Next = Pieces.second.front();
150 FormatString = Pieces.second.drop_front();
/netbsd-current/external/apache2/llvm/dist/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp496 MultiPiece(std::vector<Piece *> Pieces) argument
497 : Piece(MultiPieceClass), Pieces(std::move(Pieces)) {}
499 std::vector<Piece *> Pieces; member in struct:__anon1208::MultiPiece
798 std::vector<std::pair<Piece *, ModifierMappingsType>> &Pieces) const {
802 return gatherNodes(Builder.getSubstitution(Sub), NewMappings, Pieces);
805 for (Piece *Node : MD->Pieces)
806 gatherNodes(Node, CurrentMappings, Pieces);
809 Pieces.push_back(std::make_pair(OrigP, CurrentMappings));
813 if (P->Pieces
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp257 const PathPieces &Pieces,
259 const SourceManager &SMgr = Pieces.front()->getLocation().getManager();
261 for (const auto &Piece : Pieces) {
275 const PathPieces &Pieces,
278 {"threadFlows", json::Array{createThreadFlow(LO, Pieces, Artifacts)}}};
256 createThreadFlow(const LangOptions &LO, const PathPieces &Pieces, json::Array &Artifacts) argument
274 createCodeFlow(const LangOptions &LO, const PathPieces &Pieces, json::Array &Artifacts) argument
H A DBugReporter.cpp493 adjustCallLocations(PathPieces &Pieces, argument
495 for (const auto &I : Pieces) {
526 static void removeEdgesToDefaultInitializers(PathPieces &Pieces) { argument
527 for (PathPieces::iterator I = Pieces.begin(), E = Pieces.end(); I != E;) {
538 I = Pieces.erase(I);
548 I = Pieces.erase(I);
560 static void removePiecesWithInvalidLocations(PathPieces &Pieces) { argument
561 for (PathPieces::iterator I = Pieces.begin(), E = Pieces
2656 PiecesTy Pieces; local
3062 PathPieces &Pieces = PD->getMutablePieces(); local
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp594 unsigned GCCAsmStmt::AnalyzeAsmString(SmallVectorImpl<AsmStringPiece>&Pieces,
615 Pieces.push_back(AsmStringPiece(Result));
632 Pieces.push_back(AsmStringPiece(CurStringPiece));
671 // add it to the Pieces list.
673 Pieces.push_back(AsmStringPiece(CurStringPiece));
723 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
759 Pieces.emplace_back(N, std::move(Str), BeginLoc, EndLoc);
774 SmallVector<GCCAsmStmt::AsmStringPiece, 4> Pieces; local
776 AnalyzeAsmString(Pieces, C, DiagOffs);
779 for (const auto &Piece : Pieces) {
794 SmallVector<StringRef, 8> Pieces; local
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmtAsm.cpp495 SmallVector<GCCAsmStmt::AsmStringPiece, 8> Pieces; local
497 if (unsigned DiagID = NS->AnalyzeAsmString(Pieces, Context, DiagOffs)) {
504 for (unsigned i = 0, e = Pieces.size(); i != e; ++i) {
505 GCCAsmStmt::AsmStringPiece &Piece = Pieces[i];
653 if (isOperandMentioned(InputOpNo, Pieces)) {
659 if (isOperandMentioned(TiedTo, Pieces)) {
677 !isOperandMentioned(InputOpNo, Pieces) &&
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/
H A Dllvm-exegesis.cpp235 SmallVector<StringRef, 2> Pieces; local
237 .split(Pieces, ",", /* MaxSplit */ -1, /* KeepEmpty */ false);
239 for (const StringRef &OpcodeName : Pieces) {
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp3384 RefNamePieces Pieces; local
3387 Pieces.push_back(QLoc);
3390 Pieces.push_back(NI.getLoc());
3393 Pieces.push_back(*TemplateArgsLoc);
3396 Pieces.push_back(NI.getInfo().getCXXOperatorNameBeginLoc());
3397 Pieces.push_back(NI.getInfo().getCXXOperatorNameEndLoc());
3401 SourceRange R(Pieces.front().getBegin(), Pieces.back().getEnd());
3402 Pieces.clear();
3403 Pieces
6719 RefNamePieces Pieces; local
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp107 unsigned Pieces = (Size + 63) / 64;
108 unsigned NewNumElts = (Ty.getNumElements() + 1) / Pieces;
H A DSIISelLowering.cpp5534 SmallVector<SDValue, 4> Pieces;
5543 Pieces.push_back(SubVec);
5559 Pieces.push_back(DAG.getBuildVector(PackVT, SL, { Elt0, Elt1 }));
5563 return DAG.getNode(ISD::CONCAT_VECTORS, SL, ResultVT, Pieces);
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h3055 unsigned AnalyzeAsmString(SmallVectorImpl<AsmStringPiece> &Pieces,
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp2411 static void getUnmergePieces(SmallVectorImpl<Register> &Pieces, argument
2415 Pieces.push_back(Unmerge.getReg(I));
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp[all...]

Completed in 453 milliseconds