/freebsd-11.0-release/contrib/llvm/lib/CodeGen/ |
H A D | AllocationOrder.h | 32 int Pos; member in class:llvm::AllocationOrder 51 if (Pos < 0) 52 return Hints.end()[Pos++]; 55 while (Pos < int(Limit)) { 56 unsigned Reg = Order[Pos++]; 68 if (Pos < 0) 69 return Hints.end()[Pos++]; 70 if (Pos < int(Limit)) 71 return Order[Pos++]; 76 void rewind() { Pos [all...] |
H A D | AllocationOrder.cpp | 34 : Pos(0) {
|
/freebsd-11.0-release/contrib/llvm/lib/Support/ |
H A D | LineIterator.cpp | 54 const char *Pos = CurrentLine.end(); local 55 assert(Pos == Buffer->getBufferStart() || isAtLineEnd(Pos) || *Pos == '\0'); 57 if (skipIfAtLineEnd(Pos)) 59 if (!SkipBlanks && isAtLineEnd(Pos)) { 63 while (skipIfAtLineEnd(Pos)) 68 if (isAtLineEnd(Pos) && !SkipBlanks) 70 if (*Pos == CommentMarker) 72 ++Pos; [all...] |
H A D | FileUtilities.cpp | 49 static const char *BackupNumber(const char *Pos, const char *FirstChar) { argument 51 if (!isNumberChar(*Pos)) return Pos; 55 while (Pos > FirstChar && isNumberChar(Pos[-1])) { 57 if (Pos[-1] == '.') { 63 --Pos; 64 if (Pos > FirstChar && isSignedChar(Pos[0]) && !isExponentChar(Pos[ 73 EndOfNumber(const char *Pos) argument [all...] |
H A D | FoldingSet.cpp | 93 unsigned Pos = 0; local 99 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]; 115 for (Pos [all...] |
/freebsd-11.0-release/contrib/llvm/lib/Target/WebAssembly/Disassembler/ |
H A D | WebAssemblyDisassembler.cpp | 67 uint64_t Pos = 0; local 70 if (Pos + sizeof(uint64_t) > Bytes.size()) 72 uint64_t Opcode = support::endian::read64le(Bytes.data() + Pos); 73 Pos += sizeof(uint64_t); 85 if (Pos + sizeof(uint64_t) > Bytes.size()) 87 NumExtraOperands = support::endian::read64le(Bytes.data() + Pos); 88 Pos += sizeof(uint64_t); 97 if (Pos + sizeof(uint64_t) > Bytes.size()) 99 uint64_t Imm = support::endian::read64le(Bytes.data() + Pos); 100 Pos [all...] |
/freebsd-11.0-release/sys/contrib/dev/acpica/components/utilities/ |
H A D | utprint.c | 179 char *Pos; local 182 Pos = String; 187 *(Pos++) = '0'; 194 *(Pos++) = Digits[DigitIndex]; 198 /* *(Pos++) = '0'; */ 199 return (Pos); 299 char *Pos; local 357 Pos = AcpiUtPutNumber (ReversedString, Number, Base, Upper); 358 i = ACPI_PTR_DIFF (Pos, ReversedString); 445 char *Pos; local [all...] |
/freebsd-11.0-release/contrib/llvm/lib/TableGen/ |
H A D | TableGenBackend.cpp | 24 size_t Pos = (size_t)OS.tell(); local 28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); 41 size_t Pos = 0U; 43 size_t Length = std::min(Desc.size() - Pos, MAX_LINE_LEN - PSLen); 44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); 45 Pos += Length; 46 } while (Pos < Desc.size());
|
/freebsd-11.0-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...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Tooling/ |
H A D | ArgumentsAdjusters.cpp | 55 ArgumentInsertPosition Pos) { 56 return [Extra, Pos](const CommandLineArguments &Args, StringRef /*unused*/) { 60 if (Pos == ArgumentInsertPosition::END) { 73 ArgumentInsertPosition Pos) { 74 return getInsertArgumentAdjuster(CommandLineArguments(1, Extra), Pos); 54 getInsertArgumentAdjuster(const CommandLineArguments &Extra, ArgumentInsertPosition Pos) argument
|
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Tooling/ |
H A D | ArgumentsAdjusters.h | 52 ArgumentInsertPosition Pos); 58 ArgumentInsertPosition Pos = ArgumentInsertPosition::END);
|
/freebsd-11.0-release/contrib/llvm/include/llvm/LineEditor/ |
H A D | LineEditor.h | 102 /// \param Pos The zero-based cursor position in the StringRef 103 CompletionAction getCompletionAction(StringRef Buffer, size_t Pos) const; 118 virtual CompletionAction complete(StringRef Buffer, size_t Pos) const = 0; 123 CompletionAction complete(StringRef Buffer, size_t Pos) const override; 126 size_t Pos) const = 0; 132 CompletionAction complete(StringRef Buffer, size_t Pos) const override { 133 return Value(Buffer, Pos); 142 size_t Pos) const override { 143 return Value(Buffer, Pos);
|
/freebsd-11.0-release/contrib/llvm/lib/MC/ |
H A D | StringTableBuilder.cpp | 23 // Returns the character at Pos from end of a string. 24 static int charTailAt(StringPair *P, size_t Pos) { argument 26 if (Pos >= S.size()) 28 return (unsigned char)S[S.size() - Pos - 1]; 33 static void multikey_qsort(StringPair **Begin, StringPair **End, int Pos) { argument 40 int Pivot = charTailAt(*Begin, Pos); 44 int C = charTailAt(*R, Pos); 53 multikey_qsort(Begin, P, Pos); 54 multikey_qsort(Q, End, Pos); 56 // qsort(P, Q, Pos [all...] |
/freebsd-11.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | MapVector.h | 87 typename MapType::const_iterator Pos = Map.find(Key); local 88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second; 104 typename MapType::const_iterator Pos = Map.find(Key); local 105 return Pos == Map.end()? 0 : 1; 109 typename MapType::const_iterator Pos = Map.find(Key); local 110 return Pos == Map.end()? Vector.end() : 111 (Vector.begin() + Pos->second); 115 typename MapType::const_iterator Pos = Map.find(Key); local 116 return Pos 122 typename MapType::iterator Pos = Map.find(Vector.back().first); local [all...] |
/freebsd-11.0-release/contrib/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugAbbrev.cpp | 108 const auto Pos = AbbrDeclSets.find(CUAbbrOffset); local 109 if (Pos != End) { 110 PrevAbbrOffsetPos = Pos; 111 return &(Pos->second);
|
/freebsd-11.0-release/contrib/llvm/include/llvm/Support/ |
H A D | StreamingMemoryObject.h | 64 // Fetch enough bytes such that Pos can be read (i.e. BytesRead > 65 // Pos). Returns true if Pos can be read. Unlike most of the 70 bool fetchToPos(size_t Pos) const { 71 while (Pos >= BytesRead) { 84 return !ObjectSize || Pos < ObjectSize;
|
/freebsd-11.0-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...] |
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMUnwindOpAsm.cpp | 30 size_t Pos; member in class:__anon2808::UnwindOpcodeStreamer 33 UnwindOpcodeStreamer(SmallVectorImpl<uint8_t> &V) : Vec(V), Pos(3) { 38 Vec[Pos] = elem; 39 Pos = (((Pos ^ 0x3u) + 1) ^ 0x3u); 59 while (Pos < Vec.size())
|
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/ |
H A D | MipsLongBranch.cpp | 253 MachineBasicBlock::iterator Pos; local 293 Pos = LongBrMBB->begin(); 295 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP) 297 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA) 316 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LONG_BRANCH_LUi), Mips::AT) 318 MIBundleBuilder(*LongBrMBB, Pos) 325 Pos = BalTgtMBB->begin(); 327 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT) 329 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA) 333 MIBundleBuilder(*BalTgtMBB, Pos) [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Tooling/Core/ |
H A D | Lookup.cpp | 103 auto Pos = ReplacementString.rfind("::"); local 104 return Pos != StringRef::npos ? ReplacementString.substr(Pos + 2)
|
/freebsd-11.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | StackMaps.h | 57 unsigned getMetaIdx(unsigned Pos = 0) const { 58 assert(Pos < MetaEnd && "Meta operand index out of range."); 59 return (HasDef ? 1 : 0) + Pos; 62 const MachineOperand &getMetaOper(unsigned Pos) { 63 return MI->getOperand(getMetaIdx(Pos));
|
/freebsd-11.0-release/contrib/llvm/tools/llvm-ar/ |
H A D | 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(); local 530 InsertPos = Pos; 462 computeInsertAction(ArchiveOperation Operation, const object::Archive::Child &Member, StringRef Name, std::vector<StringRef>::iterator &Pos) argument 572 int Pos = InsertPos; local [all...] |
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/ |
H A D | PreprocessingRecord.cpp | 91 int Pos = std::distance(iterator(this, 0), PPEI); local 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;
|
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/ |
H A D | R600OptimizeVectorRegisters.cpp | 182 MachineBasicBlock::iterator Pos = RSI->Instr; local 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;
|
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/ |
H A D | Thumb2ITBlockPass.cpp | 209 unsigned Mask = 0, Pos = 3; local 216 for (; MBBI != E && Pos && 227 Mask |= (NCC & 1) << Pos; 245 --Pos; 250 Mask |= (1 << Pos);
|