HomeSort by relevance Sort by last modified time
    Searched refs:Pos (Results 26 - 50 of 172) sorted by null

12 3 4 5 6 7

  /external/llvm/unittests/LineEditor/
LineEditor.cpp 50 size_t Pos) const {
52 EXPECT_EQ(0u, Pos);
  /external/llvm/tools/llvm-ar/
llvm-ar.cpp 434 StringRef FileName, int Pos = -1) {
436 if (Pos == -1)
439 Members[Pos] = NI;
444 int Pos = -1) {
448 if (Pos == -1)
451 Members[Pos] = NI;
465 std::vector<StringRef>::iterator &Pos) {
477 Pos = MI;
523 int Pos = Ret.size();
530 InsertPos = Pos;
    [all...]
  /external/clang/lib/Lex/
PreprocessingRecord.cpp 91 int Pos = std::distance(iterator(this, 0), PPEI);
92 if (Pos < 0) {
93 if (unsigned(-Pos-1) >= LoadedPreprocessedEntities.size()) {
98 unsigned LoadedIndex = LoadedPreprocessedEntities.size()+Pos;
116 if (unsigned(Pos) >= PreprocessedEntities.size()) {
120 return isPreprocessedEntityIfInFileID(PreprocessedEntities[Pos],
361 llvm::DenseMap<const MacroInfo *, MacroDefinitionRecord *>::iterator Pos =
363 if (Pos == MacroDefinitions.end())
366 return Pos->second;
  /external/llvm/lib/Target/AMDGPU/
R600OptimizeVectorRegisters.cpp 182 MachineBasicBlock::iterator Pos = RSI->Instr;
183 MachineBasicBlock &MBB = *Pos->getParent();
184 DebugLoc DL = Pos->getDebugLoc();
196 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG),
213 Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg)
215 DEBUG(dbgs() << " ->"; Pos->dump(););
227 RSI->Instr = Pos;
231 return Pos;
  /external/llvm/lib/Target/ARM/
Thumb2ITBlockPass.cpp 209 unsigned Mask = 0, Pos = 3;
216 for (; MBBI != E && Pos &&
227 Mask |= (NCC & 1) << Pos;
245 --Pos;
250 Mask |= (1 << Pos);
  /external/lzma/CS/7zip/Compress/LzmaAlone/
LzmaBench.cs 64 UInt32 Pos;
75 Pos = 0;
96 while (Pos < BufferSize)
98 if (GetRndBit() == 0 || Pos < 1)
99 Buffer[Pos++] = (Byte)RG.GetRnd(8);
109 while (Rep0 >= Pos);
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++)
114 Buffer[Pos] = Buffer[Pos - Rep0];
    [all...]
  /external/llvm/lib/Support/
ConvertUTFWrapper.cpp 23 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin());
24 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) {
26 ErrorPtr = Pos;
  /external/icu/icu4c/source/common/
ruleiter.cpp 26 pos(thePos),
33 return buf == 0 && pos.getIndex() == text.length();
48 UnicodeString name = sym->parseReference(text, pos, text.length());
89 void RuleCharacterIterator::getPos(RuleCharacterIterator::Pos& p) const {
91 p.pos = pos.getIndex();
95 void RuleCharacterIterator::setPos(const RuleCharacterIterator::Pos& p) {
97 pos.setIndex(p.pos);
118 text.extract(pos.getIndex(), maxLookAhead, result)
    [all...]
  /external/llvm/lib/CodeGen/
BranchFolding.h 88 void setTailStartPos(MachineBasicBlock::iterator Pos) {
89 TailStartPos = Pos;
LiveInterval.cpp 248 iterator find(SlotIndex Pos) { return LR->find(Pos); }
278 iterator find(SlotIndex Pos) {
280 LR->segmentSet->upper_bound(Segment(Pos, Pos.getNextSlot(), nullptr));
284 if (Pos < (*PrevI).end)
302 LiveRange::iterator LiveRange::find(SlotIndex Pos) {
306 if (empty() || Pos >= endIndex())
312 if (Pos < I[Mid].end)
892 SlotIndex Pos = First
    [all...]
  /external/llvm/lib/Target/Hexagon/
BitTracker.h 77 // Abstraction of a reference to bit at position Pos from a register Reg.
79 BitRef(unsigned R = 0, uint16_t P = 0) : Reg(R), Pos(P) {}
81 // If Reg is 0, disregard Pos.
82 return Reg == BR.Reg && (Reg == 0 || Pos == BR.Pos);
85 uint16_t Pos;
129 // number is 0. In such case the Pos field of the reference is ignored.
133 // one in which V will be contained. If the RefI.Pos refers to the posi-
146 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {}
    [all...]
BitTracker.cpp 99 OS << printv(BV.RefI.Reg) << '[' << BV.RefI.Pos << ']';
125 SeqRef = (V.RefI.Pos == SV.RefI.Pos+1);
126 ConstRef = (V.RefI.Pos == SV.RefI.Pos);
128 if (SeqRef && V.RefI.Pos == SV.RefI.Pos+(i-Start))
130 if (ConstRef && V.RefI.Pos == SV.RefI.Pos)
143 OS << printv(SV.RefI.Reg) << '[' << SV.RefI.Pos << '-
    [all...]
  /external/clang/lib/Frontend/
VerifyDiagnosticConsumer.cpp 311 Preprocessor *PP, SourceLocation Pos,
340 Diags.Report(Pos, diag::err_verify_invalid_no_diags)
350 Diags.Report(Pos, diag::err_verify_invalid_no_diags)
376 ExpectedLoc = Pos;
385 unsigned ExpectedLine = SM.getSpellingLineNumber(Pos, &Invalid);
389 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1);
394 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1);
403 PP->LookupFile(Pos, Filename, false, nullptr, nullptr, CurDir,
406 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
412 SM.createFileID(FE, Pos, SrcMgr::C_User)
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp 260 Value *getShadowAddress(Value *Addr, Instruction *Pos);
317 Value *getArgTLS(unsigned Index, Instruction *Pos);
321 Value *combineShadows(Value *V1, Value *V2, Instruction *Pos);
324 Instruction *Pos);
326 Instruction *Pos);
525 size_t Pos = Asm.find(SearchStr);
526 if (Pos != std::string::npos) {
527 Asm.replace(Pos, SearchStr.size(),
    [all...]
  /external/llvm/unittests/Bitcode/
BitReaderTest.cpp 67 unsigned Pos = 0;
70 size_t Left = Buf.size() - Pos;
72 memcpy(Out, Buffer->getBuffer().substr(Pos).data(), Len);
73 Pos += Len;
  /external/lzma/CPP/7zip/Bundles/LzmaSpec/
LzmaSpec.cpp 67 UInt32 Pos;
81 Pos = 0;
90 Buf[Pos++] = b;
91 if (Pos == Size)
93 Pos = 0;
101 return Buf[dist <= Pos ? Pos - dist : Size - dist + Pos];
112 return dist <= Pos || IsFull;
117 return Pos == 0 && !IsFull;
    [all...]
  /external/llvm/include/llvm/CodeGen/
LiveInterval.h 247 iterator advanceTo(iterator I, SlotIndex Pos) {
249 if (Pos >= endIndex())
251 while (I->end <= Pos) ++I;
255 const_iterator advanceTo(const_iterator I, SlotIndex Pos) const {
257 if (Pos >= endIndex())
259 while (I->end <= Pos) ++I;
264 /// Pos, or end(). This is the same as advanceTo(begin(), Pos), but faster
267 /// If Pos is contained in a Segment, that segment is returned.
268 /// If Pos is in a hole, the following Segment is returned
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
PathDiagnostic.h 437 PathDiagnosticLocation Pos;
439 PathDiagnosticSpotPiece(const PathDiagnosticLocation &pos,
443 : PathDiagnosticPiece(s, k), Pos(pos) {
444 assert(Pos.isValid() && Pos.asLocation().isValid() &&
446 if (addPosRange && Pos.hasRange()) addRange(Pos.asRange());
449 PathDiagnosticLocation getLocation() const override { return Pos; }
450 void flattenLocations() override { Pos.flatten();
    [all...]
  /external/llvm/lib/Object/
ArchiveWriter.cpp 207 int Pos = Out.tell();
209 printWithSpacePadding(Out, Pos - StartOffset, 10);
210 Out.seek(Pos);
286 unsigned Pos = Out.tell();
289 printWithSpacePadding(Out, Pos - MemberHeaderSize - HeaderStartOffset, 10);
299 Out.seek(Pos);
381 unsigned Pos = Out.tell();
382 MemberOffset.push_back(Pos);
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 86 if (size_t Pos = Str.find_first_not_of(" \t\r\n,")) {
87 Str = Str.substr(Pos);
  /external/clang/lib/Sema/
IdentifierResolver.cpp 167 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) {
182 if (Pos == iterator()) {
199 if (Pos.isIterator()) {
200 IDI->InsertDecl(Pos.getIterator() + 1, D);
  /external/llvm/lib/LineEditor/
LineEditor.cpp 54 LineEditor::ListCompleterConcept::complete(StringRef Buffer, size_t Pos) const {
56 std::vector<Completion> Comps = getCompletions(Buffer, Pos);
83 size_t Pos) const {
90 return Completer->complete(Buffer, Pos);
  /external/clang/lib/Basic/
Diagnostic.cpp 170 DiagStatePointsTy::iterator Pos = DiagStatePoints.end();
174 Pos = std::upper_bound(DiagStatePoints.begin(), DiagStatePoints.end(),
176 --Pos;
177 return Pos;
223 DiagStatePointsTy::iterator Pos = GetDiagStatePointForLoc(Loc);
224 assert(Pos != DiagStatePoints.end());
228 I = Pos+1, E = DiagStatePoints.end(); I != E; ++I) {
233 if (Pos->Loc == Loc) {
234 Pos->State->setMapping(Diag, Mapping);
240 assert(Pos->Loc.isBeforeInTranslationUnitThan(Loc))
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
AnalyzerOptions.cpp 117 size_t Pos = CheckerName.rfind('.');
118 if (Pos == StringRef::npos)
120 CheckerName = CheckerName.substr(0, Pos);
  /external/llvm/include/llvm/Support/
raw_ostream.h 328 uint64_t Pos = tell();
329 // /dev/null always reports a pos of 0, so we cannot perform this check
331 if (Pos)
332 assert(Size + Offset <= Pos && "We don't support extending the stream");
352 uint64_t pos; member in class:llvm::raw_fd_ostream
363 uint64_t current_pos() const override { return pos; }

Completed in 2009 milliseconds

12 3 4 5 6 7