Searched refs:Pos (Results 1 - 25 of 95) sorted by relevance

1234

/external/llvm/lib/CodeGen/
H A DAllocationOrder.h28 const unsigned *Pos; member in class:llvm::AllocationOrder
49 if (!Pos) {
50 Pos = Begin;
55 while (Pos != End) {
56 unsigned Reg = *Pos++;
64 void rewind() { Pos = 0; }
H A DBranchFolding.h82 void setTailStartPos(MachineBasicBlock::iterator Pos) { argument
83 TailStartPos = Pos;
H A DAllocationOrder.cpp28 : Begin(0), End(0), Pos(0), RCI(RegClassInfo), OwnedBegin(false) {
/external/clang/lib/Frontend/
H A DLayoutOverrideSource.cpp59 StringRef::size_type Pos; local
60 if ((Pos = LineStr.find("struct ")) != StringRef::npos)
61 LineStr = LineStr.substr(Pos + strlen("struct "));
62 else if ((Pos = LineStr.find("class ")) != StringRef::npos)
63 LineStr = LineStr.substr(Pos + strlen("class "));
64 else if ((Pos = LineStr.find("union ")) != StringRef::npos)
65 LineStr = LineStr.substr(Pos + strlen("union "));
76 StringRef::size_type Pos = LineStr.find(" Size:"); local
77 if (Pos != StringRef::npos) {
79 LineStr = LineStr.substr(Pos
[all...]
H A DVerifyDiagnosticConsumer.cpp245 SourceLocation Pos) {
298 PP.Diag(Pos.getLocWithOffset(PH.C-PH.Begin),
307 PP.Diag(Pos.getLocWithOffset(PH.C-PH.Begin),
329 Directive *D = Directive::Create(RegexKind, Pos, Text, Count);
334 PP.Diag(Pos.getLocWithOffset(ContentBegin-PH.Begin),
243 ParseDirective(const char *CommentStart, unsigned CommentLen, ExpectedData &ED, Preprocessor &PP, SourceLocation Pos) argument
/external/llvm/lib/Support/
H A DFoldingSet.cpp87 unsigned Pos = 0; local
93 Pos = (Units + 1) * 4;
99 for (Pos += 4; Pos <= Size; Pos += 4) {
100 unsigned V = ((unsigned char)String[Pos - 4] << 24) |
101 ((unsigned char)String[Pos - 3] << 16) |
102 ((unsigned char)String[Pos - 2] << 8) |
103 (unsigned char)String[Pos - 1];
108 for (Pos
[all...]
H A DFileUtilities.cpp50 static const char *BackupNumber(const char *Pos, const char *FirstChar) { argument
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[
74 EndOfNumber(const char *Pos) argument
[all...]
H A DTriple.cpp380 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) {
381 if (Found[Pos])
392 switch (Pos) {
418 if (Pos < Idx) {
424 // Insert the component being moved at Pos, displacing any existing
426 for (unsigned i = Pos; !CurrentComponent.empty(); ++i) {
434 } else if (Pos > Idx) {
436 // reaches the target position Pos
[all...]
H A DCommandLine.cpp243 StringRef::size_type Pos = Val.find(','); local
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(',');
441 size_t Pos = WorkStr.find_first_not_of(Delims); local
442 if (Pos == StringRef::npos) Pos = WorkStr.size();
443 WorkStr = WorkStr.substr(Pos);
448 size_t Pos = WorkStr.find_first_of(Delims); local
[all...]
H A DStringRef.cpp146 unsigned Len = Length-From, Pos = From;
148 if (substr(Pos, N).equals(Str)) // See if this is the correct substring.
149 return Pos;
152 uint8_t Skip = BadCharSkip[(uint8_t)(*this)[Pos+N-1]];
154 Pos += Skip;
/external/llvm/include/llvm/Support/
H A DStreamableMemoryObject.h148 // 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/icu4c/common/
H A Druleiter.h133 struct Pos : public UMemory { struct in class:RuleCharacterIterator
146 * RuleCharacterIterator::Pos pos;
158 void getPos(Pos& p) const;
165 void setPos(const Pos& p);
H A Druleiter.cpp88 void RuleCharacterIterator::getPos(RuleCharacterIterator::Pos& p) const {
94 void RuleCharacterIterator::setPos(const RuleCharacterIterator::Pos& p) {
/external/mesa3d/src/mesa/program/
H A Dprog_uniform.h53 GLint Pos; member in struct:gl_uniform
/external/llvm/bindings/ocaml/executionengine/
H A Dexecutionengine_ocaml.c272 char *CEnvBuf, *Pos; local
291 Pos = CEnvBuf;
298 CEnv[I] = Pos;
299 memcpy(Pos, Name, NameLen);
300 Pos += NameLen;
301 *Pos++ = '=';
302 memcpy(Pos, Value, ValueLen);
303 Pos += ValueLen;
304 *Pos++ = '\0';
/external/llvm/lib/Target/ARM/
H A DThumb2ITBlockPass.cpp198 unsigned Mask = 0, Pos = 3; local
201 for (; MBBI != E && Pos &&
212 Mask |= (NCC & 1) << Pos;
229 --Pos;
233 Mask |= (1 << Pos);
/external/clang/include/clang/Sema/
H A DIdentifierResolver.h60 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { argument
61 Decls.insert(Pos, D);
179 void InsertDeclAfter(iterator Pos, NamedDecl *D);
/external/llvm/lib/MC/
H A DSubtargetFeature.cpp73 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/
H A D2007-03-05-DataLayout.c30 #define Pos(x) ((x)->pos) macro
/external/clang/lib/AST/
H A DCXXInheritance.cpp634 Pos = Overriding.begin(), PosEnd = Overriding.end();
635 Pos != PosEnd;
637 if (!Pos->InVirtualSubobject) {
638 ++Pos;
652 if (Pos == OP)
656 const_cast<CXXRecordDecl *>(Pos->InVirtualSubobject)))
663 Pos = Overriding.erase(Pos);
666 ++Pos;
/external/llvm/include/llvm/CodeGen/
H A DLiveInterval.h222 iterator advanceTo(iterator I, SlotIndex Pos) {
224 if (Pos >= endIndex())
226 while (I->end <= Pos) ++I;
231 /// Pos, or end(). This is the same as advanceTo(begin(), Pos), but faster
234 /// If Pos is contained in a LiveRange, that range is returned.
235 /// If Pos is in a hole, the following LiveRange is returned.
236 /// If Pos is beyond endIndex, end() is returned.
237 iterator find(SlotIndex Pos);
239 const_iterator find(SlotIndex Pos) cons
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DPathDiagnostic.h344 PathDiagnosticLocation Pos; member in class:clang::ento::PathDiagnosticSpotPiece
350 : PathDiagnosticPiece(s, k), Pos(pos) {
351 assert(Pos.isValid() && Pos.asLocation().isValid() &&
353 if (addPosRange && Pos.hasRange()) addRange(Pos.asRange());
356 PathDiagnosticLocation getLocation() const { return Pos; }
357 virtual void flattenLocations() { Pos.flatten(); }
/external/llvm/include/llvm/MC/
H A DMCInstrDesc.h152 unsigned Pos = 16 + Constraint * 4; local
153 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf;
/external/clang/lib/Sema/
H A DIdentifierResolver.cpp176 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) { argument
191 if (Pos == iterator()) {
208 if (Pos.isIterator()) {
209 IDI->InsertDecl(Pos.getIterator() + 1, D);
/external/clang/lib/Basic/
H A DModule.cpp163 llvm::StringMap<unsigned>::const_iterator Pos = SubModuleIndex.find(Name); local
164 if (Pos == SubModuleIndex.end())
167 return SubModules[Pos->getValue()];

Completed in 4955 milliseconds

1234