HomeSort by relevance Sort by last modified time
    Searched refs:Pos (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /external/llvm/lib/CodeGen/
AllocationOrder.h 28 const unsigned *Pos;
49 if (!Pos) {
50 Pos = Begin;
55 while (Pos != End) {
56 unsigned Reg = *Pos++;
64 void rewind() { Pos = 0; }
BranchFolding.h 82 void setTailStartPos(MachineBasicBlock::iterator Pos) {
83 TailStartPos = Pos;
AllocationOrder.cpp 28 : Begin(0), End(0), Pos(0), RCI(RegClassInfo), OwnedBegin(false) {
  /external/clang/lib/Frontend/
LayoutOverrideSource.cpp 60 StringRef::size_type Pos;
61 if ((Pos = LineStr.find("struct ")) != StringRef::npos)
62 LineStr = LineStr.substr(Pos + strlen("struct "));
63 else if ((Pos = LineStr.find("class ")) != StringRef::npos)
64 LineStr = LineStr.substr(Pos + strlen("class "));
65 else if ((Pos = LineStr.find("union ")) != StringRef::npos)
66 LineStr = LineStr.substr(Pos + strlen("union "));
77 StringRef::size_type Pos = LineStr.find(" Size:");
78 if (Pos != StringRef::npos) {
80 LineStr = LineStr.substr(Pos + strlen(" Size:"))
    [all...]
VerifyDiagnosticConsumer.cpp 269 SourceLocation Pos, DiagnosticsEngine &Diags) {
314 ExpectedLoc = Pos;
323 unsigned ExpectedLine = SM.getSpellingLineNumber(Pos, &Invalid);
327 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1);
332 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1);
336 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
359 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
378 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
387 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin),
409 Directive *D = Directive::create(RegexKind, Pos, ExpectedLoc, Text
    [all...]
  /external/icu4c/common/
ruleiter.h 46 ParsePosition& pos; member in class:RuleCharacterIterator
97 * @param pos upon input, the index of the next character to return. If a
98 * variable has been dereferenced, then pos will <em>not</em> increment as
102 ParsePosition& pos);
133 struct Pos : public UMemory {
136 int32_t pos; member in struct:RuleCharacterIterator::Pos
146 * RuleCharacterIterator::Pos pos;
147 * iterator.getPos(pos);
149 * iterator.getPos(pos);
    [all...]
ruleiter.cpp 25 pos(thePos),
32 return buf == 0 && pos.getIndex() == text.length();
47 UnicodeString name = sym->parseReference(text, pos, text.length());
88 void RuleCharacterIterator::getPos(RuleCharacterIterator::Pos& p) const {
90 p.pos = pos.getIndex();
94 void RuleCharacterIterator::setPos(const RuleCharacterIterator::Pos& p) {
96 pos.setIndex(p.pos);
117 text.extract(pos.getIndex(), maxLookAhead, result)
    [all...]
  /external/llvm/lib/TableGen/
TableGenBackend.cpp 21 uint64_t Pos = OS.tell();
23 for (unsigned i = OS.tell() - Pos, e = 80 - Suffix.size(); i != e; ++i)
  /external/clang/lib/AST/
CommentParser.cpp 41 Position Pos;
44 return Pos.CurToken >= Toks.size();
50 const Token &Tok = Toks[Pos.CurToken];
52 Pos.BufferStart = Tok.getText().begin();
53 Pos.BufferEnd = Tok.getText().end();
54 Pos.BufferPtr = Pos.BufferStart;
55 Pos.BufferStartLoc = Tok.getLocation();
59 const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart
    [all...]
CXXInheritance.cpp 645 Pos = Overriding.begin(), PosEnd = Overriding.end();
646 Pos != PosEnd;
648 if (!Pos->InVirtualSubobject) {
649 ++Pos;
663 if (Pos == OP)
667 const_cast<CXXRecordDecl *>(Pos->InVirtualSubobject)))
674 Pos = Overriding.erase(Pos);
677 ++Pos;
  /external/llvm/include/llvm/Support/
StreamableMemoryObject.h 148 // Fetch enough bytes such that Pos can be read or EOF is reached
149 // (i.e. BytesRead > Pos). Return true if Pos can be read.
153 bool fetchToPos(size_t Pos) const {
154 if (EOFReached) return Pos < ObjectSize;
155 while (Pos >= BytesRead) {
161 if (ObjectSize && BytesRead < Pos)
163 if (BytesRead <= Pos) { // reached EOF/ran out of bytes
  /external/llvm/lib/Support/
FileUtilities.cpp 50 static const char *BackupNumber(const char *Pos, const char *FirstChar) {
52 if (!isNumberChar(*Pos)) return Pos;
56 while (Pos > FirstChar && isNumberChar(Pos[-1])) {
58 if (Pos[-1] == '.') {
64 --Pos;
65 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[-1])
    [all...]
FoldingSet.cpp 95 unsigned Pos = 0;
101 Pos = (Units + 1) * 4;
107 for (Pos += 4; Pos <= Size; Pos += 4) {
108 unsigned V = ((unsigned char)String[Pos - 4] << 24) |
109 ((unsigned char)String[Pos - 3] << 16) |
110 ((unsigned char)String[Pos - 2] << 8) |
111 (unsigned char)String[Pos - 1];
116 for (Pos += 4; Pos <= Size; Pos += 4)
    [all...]
Triple.cpp 389 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) {
390 if (Found[Pos])
401 switch (Pos) {
427 if (Pos < Idx) {
433 // Insert the component being moved at Pos, displacing any existing
435 for (unsigned i = Pos; !CurrentComponent.empty(); ++i) {
443 } else if (Pos > Idx) {
445 // reaches the target position Pos. For example, pc-a -> -pc-a whe
    [all...]
CommandLine.cpp 235 static bool CommaSeparateAndAddOccurence(Option *Handler, unsigned pos,
243 StringRef::size_type Pos = Val.find(',');
245 while (Pos != StringRef::npos) {
247 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg))
250 Val = Val.substr(Pos+1);
251 Value.substr(Pos+1); // Increment the original value pointer as well.
253 Pos = Val.find(',');
259 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg))
441 size_t Pos = WorkStr.find_first_not_of(Delims)
    [all...]
  /external/llvm/lib/Target/Mips/
MipsLongBranch.cpp 243 MachineBasicBlock::iterator Pos;
280 Pos = LongBrMBB->begin();
282 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP)
284 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA)
286 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::BAL_BR)).addMBB(BalTgtMBB);
287 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LUi), Mips::AT).addImm(Hi)
290 Pos = BalTgtMBB->begin();
292 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::AT)
294 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT)
296 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA
    [all...]
  /external/clang/lib/Basic/
ConvertUTFWrapper.cpp 21 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin());
22 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) {
24 ErrorPtr = Pos;
  /external/mesa3d/src/mesa/program/
prog_uniform.h 53 GLint Pos;
  /external/llvm/bindings/ocaml/executionengine/
executionengine_ocaml.c 275 char *CEnvBuf, *Pos;
294 Pos = CEnvBuf;
301 CEnv[I] = Pos;
302 memcpy(Pos, Name, NameLen);
303 Pos += NameLen;
304 *Pos++ = '=';
305 memcpy(Pos, Value, ValueLen);
306 Pos += ValueLen;
307 *Pos++ = '\0';
  /external/clang/include/clang/Sema/
IdentifierResolver.h 60 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) {
61 Decls.insert(Pos, D);
179 void InsertDeclAfter(iterator Pos, NamedDecl *D);
  /external/llvm/lib/Target/ARM/
Thumb2ITBlockPass.cpp 194 unsigned Mask = 0, Pos = 3;
197 for (; MBBI != E && Pos &&
208 Mask |= (NCC & 1) << Pos;
225 --Pos;
229 Mask |= (1 << Pos);
  /external/clang/lib/Rewrite/Frontend/
InclusionRewriter.cpp 182 const char *Pos = strchr(FromFile.getBufferStart(), '\n');
183 if (Pos == NULL)
185 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r')
187 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r')
  /external/llvm/lib/MC/
SubtargetFeature.cpp 73 size_t Pos = 0;
76 size_t Comma = S.find(',', Pos);
80 V.push_back(S.substr(Pos));
84 V.push_back(S.substr(Pos, Comma - Pos));
86 Pos = Comma + 1;
  /external/clang/test/CodeGen/
2007-03-05-DataLayout.c 17 vector pos; member in struct:bnode
30 #define Pos(x) ((x)->pos)
  /external/llvm/include/llvm/CodeGen/
LiveInterval.h 184 iterator advanceTo(iterator I, SlotIndex Pos) {
186 if (Pos >= endIndex())
188 while (I->end <= Pos) ++I;
193 /// Pos, or end(). This is the same as advanceTo(begin(), Pos), but faster
196 /// If Pos is contained in a LiveRange, that range is returned.
197 /// If Pos is in a hole, the following LiveRange is returned.
198 /// If Pos is beyond endIndex, end() is returned.
199 iterator find(SlotIndex Pos);
201 const_iterator find(SlotIndex Pos) const
    [all...]

Completed in 342 milliseconds

1 2 3 4 5