/freebsd-9.3-release/contrib/llvm/lib/CodeGen/ |
H A D | AllocationOrder.h | 31 int Pos; member in class:llvm::AllocationOrder 49 if (Pos < 0) 50 return Hints.end()[Pos++]; 51 while (Pos < int(Order.size())) { 52 unsigned Reg = Order[Pos++]; 64 if (Pos < 0) 65 return Hints.end()[Pos++]; 66 if (Pos < int(Limit)) 67 return Order[Pos++]; 72 void rewind() { Pos [all...] |
H A D | AllocationOrder.cpp | 32 : Pos(0) {
|
H A D | BranchFolding.h | 82 void setTailStartPos(MachineBasicBlock::iterator Pos) { argument 83 TailStartPos = Pos;
|
/freebsd-9.3-release/contrib/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 25 size_t Pos = (size_t)OS.tell(); local 30 for (size_t i = (size_t)OS.tell() - Pos; i < e; ++i) 38 size_t Pos = 0U; local 44 PosE = Pos + ((MAX_LINE_LEN > (Desc.size() - PSLen)) ? 47 printLine(OS, Prefix + Desc.slice(Pos, PosE), ' ', Suffix); 48 Pos = PosE; 49 } while(Pos < Desc.size());
|
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | FileUtilities.cpp | 50 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 D | FoldingSet.cpp | 93 unsigned Pos = 0; local 99 Pos = (Units + 1) * 4; 105 for (Pos += 4; Pos <= Size; Pos += 4) { 106 unsigned V = ((unsigned char)String[Pos - 4] << 24) | 107 ((unsigned char)String[Pos - 3] << 16) | 108 ((unsigned char)String[Pos - 2] << 8) | 109 (unsigned char)String[Pos - 1]; 114 for (Pos [all...] |
H A D | ConvertUTFWrapper.cpp | 23 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); local 24 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 26 ErrorPtr = Pos;
|
H A D | Triple.cpp | 386 for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) { 387 if (Found[Pos]) 398 switch (Pos) { 424 if (Pos < Idx) { 430 // Insert the component being moved at Pos, displacing any existing 432 for (unsigned i = Pos; !CurrentComponent.empty(); ++i) { 440 } else if (Pos > Idx) { 442 // reaches the target position Pos [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | LayoutOverrideSource.cpp | 61 StringRef::size_type Pos; local 62 if ((Pos = LineStr.find("struct ")) != StringRef::npos) 63 LineStr = LineStr.substr(Pos + strlen("struct ")); 64 else if ((Pos = LineStr.find("class ")) != StringRef::npos) 65 LineStr = LineStr.substr(Pos + strlen("class ")); 66 else if ((Pos = LineStr.find("union ")) != StringRef::npos) 67 LineStr = LineStr.substr(Pos + strlen("union ")); 78 StringRef::size_type Pos = LineStr.find(" Size:"); local 79 if (Pos != StringRef::npos) { 81 LineStr = LineStr.substr(Pos [all...] |
H A D | TextDiagnosticBuffer.cpp | 48 size_t Pos = Str.find('%'); local 49 if (Pos == StringRef::npos) 54 Buf.append(Str.data(), Str.data() + Pos); 55 for (size_t I = Pos, E = Str.size(); I != E; ++I) {
|
H A D | VerifyDiagnosticConsumer.cpp | 286 Preprocessor *PP, SourceLocation Pos, 313 Diags.Report(Pos, diag::err_verify_invalid_no_diags) 323 Diags.Report(Pos, diag::err_verify_invalid_no_diags) 348 ExpectedLoc = Pos; 357 unsigned ExpectedLine = SM.getSpellingLineNumber(Pos, &Invalid); 361 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), ExpectedLine, 1); 366 ExpectedLoc = SM.translateLineCol(SM.getFileID(Pos), Line, 1); 374 const FileEntry *FE = PP->LookupFile(Pos, Filename, false, NULL, CurDir, 377 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin), 383 SM.createFileID(FE, Pos, SrcMg 285 ParseDirective(StringRef S, ExpectedData *ED, SourceManager &SM, Preprocessor *PP, SourceLocation Pos, VerifyDiagnosticConsumer::DirectiveStatus &Status) argument [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 89 typename MapType::const_iterator Pos = Map.find(Key); local 90 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; 106 typename MapType::const_iterator Pos = Map.find(Key); local 107 return Pos == Map.end()? 0 : 1; 111 typename MapType::const_iterator Pos = Map.find(Key); local 112 return Pos == Map.end()? Vector.end() : 113 (Vector.begin() + Pos->second); 117 typename MapType::const_iterator Pos = Map.find(Key); local 118 return Pos 124 typename MapType::iterator Pos = Map.find(Vector.back().first); local [all...] |
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | StreamableMemoryObject.h | 146 // Fetch enough bytes such that Pos can be read or EOF is reached 147 // (i.e. BytesRead > Pos). Return true if Pos can be read. 151 bool fetchToPos(size_t Pos) const { 152 if (EOFReached) return Pos < ObjectSize; 153 while (Pos >= BytesRead) { 159 if (ObjectSize && BytesRead < Pos) 161 if (BytesRead <= Pos) { // reached EOF/ran out of bytes
|
/freebsd-9.3-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsLongBranch.cpp | 250 MachineBasicBlock::iterator Pos; local 291 Pos = LongBrMBB->begin(); 293 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP) 295 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA) 298 MIBundleBuilder(*LongBrMBB, Pos) 302 Pos = BalTgtMBB->begin(); 304 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::AT) 306 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT) 308 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA) 311 MIBundleBuilder(*BalTgtMBB, Pos) [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | CommentParser.cpp | 51 Position Pos; member in class:clang::comments::TextTokenRetokenizer 54 return Pos.CurToken >= Toks.size(); 60 const Token &Tok = Toks[Pos.CurToken]; 62 Pos.BufferStart = Tok.getText().begin(); 63 Pos.BufferEnd = Tok.getText().end(); 64 Pos.BufferPtr = Pos.BufferStart; 65 Pos.BufferStartLoc = Tok.getLocation(); 69 const unsigned CharNo = Pos.BufferPtr - Pos [all...] |
H A D | CXXInheritance.cpp | 658 Pos = Overriding.begin(), PosEnd = Overriding.end(); 659 Pos != PosEnd; 661 if (!Pos->InVirtualSubobject) { 662 ++Pos; 676 if (Pos == OP) 680 const_cast<CXXRecordDecl *>(Pos->InVirtualSubobject))) 687 Pos = Overriding.erase(Pos); 690 ++Pos;
|
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 31 size_t Pos; member in class:__anon2354::UnwindOpcodeStreamer 34 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V), Pos(3) { 39 Vec[Pos] = elem; 40 Pos = (((Pos ^ 0x3u) + 1) ^ 0x3u); 59 while (Pos < Vec.size())
|
/freebsd-9.3-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | StackMaps.h | 51 unsigned getMetaIdx(unsigned Pos = 0) const { 52 assert(Pos < MetaEnd && "Meta operand index out of range."); 53 return (HasDef ? 1 : 0) + Pos; 56 const MachineOperand &getMetaOper(unsigned Pos) { 57 return MI->getOperand(getMetaIdx(Pos));
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | IdentifierResolver.h | 55 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { argument 56 Decls.insert(Pos, D); 168 void InsertDeclAfter(iterator Pos, NamedDecl *D);
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 181 Value *getShadowAddress(Value *Addr, Instruction *Pos); 182 Value *combineShadows(Value *V1, Value *V2, Instruction *Pos); 223 Value *getArgTLS(unsigned Index, Instruction *Pos); 229 Instruction *Pos); 231 Instruction *Pos); 411 size_t Pos = Asm.find(SearchStr); local 412 if (Pos != std::string::npos) { 413 Asm.replace(Pos, SearchStr.size(), 713 Instruction *Pos; local 715 Pos 754 getArgTLS(unsigned Idx, Instruction *Pos) argument 801 getShadowAddress(Value *Addr, Instruction *Pos) argument 813 combineShadows(Value *V1, Value *V2, Instruction *Pos) argument 867 loadShadow(Value *Addr, uint64_t Size, uint64_t Align, Instruction *Pos) argument 991 storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow, Instruction *Pos) argument [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Target/R600/ |
H A D | R600OptimizeVectorRegisters.cpp | 180 MachineBasicBlock::iterator Pos = RSI->Instr; local 181 MachineBasicBlock &MBB = *Pos->getParent(); 182 DebugLoc DL = Pos->getDebugLoc(); 194 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::INSERT_SUBREG), 211 Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg) 213 DEBUG(dbgs() << " ->"; Pos->dump();); 225 RSI->Instr = Pos; 229 return Pos;
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 93 int Pos = PPEI.Position; local 94 if (Pos < 0) { 95 if (unsigned(-Pos-1) >= LoadedPreprocessedEntities.size()) { 100 unsigned LoadedIndex = LoadedPreprocessedEntities.size()+Pos; 118 if (unsigned(Pos) >= PreprocessedEntities.size()) { 122 return isPreprocessedEntityIfInFileID(PreprocessedEntities[Pos], 361 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos 363 if (Pos == MacroDefinitions.end()) 366 return Pos->second;
|
/freebsd-9.3-release/contrib/llvm/lib/Target/ARM/ |
H A D | Thumb2ITBlockPass.cpp | 195 unsigned Mask = 0, Pos = 3; local 202 for (; MBBI != E && Pos && 213 Mask |= (NCC & 1) << Pos; 230 --Pos; 235 Mask |= (1 << Pos);
|
/freebsd-9.3-release/contrib/llvm/tools/llvm-ar/ |
H A D | llvm-ar.cpp | 437 int Pos = -1) { 439 if (Pos == -1) 442 Members[Pos] = NI; 466 std::vector<std::string>::iterator &Pos) { 476 Pos = MI; 522 int Pos = Ret.size(); local 528 InsertPos = Pos; 530 InsertPos = Pos + 1; 569 int Pos = InsertPos; local 572 I != E; ++I, ++Pos) { 464 computeInsertAction(ArchiveOperation Operation, object::Archive::child_iterator I, StringRef Name, std::vector<std::string>::iterator &Pos) argument 647 int Pos = Out.tell(); local 727 unsigned Pos = Out.tell(); local 767 unsigned Pos = Out.tell(); local [all...] |
/freebsd-9.3-release/contrib/llvm/lib/MC/ |
H A D | 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;
|