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

1 2 3 4 5 6

  /external/llvm/lib/CodeGen/
AllocationOrder.h 31 int Pos;
49 if (Pos < 0)
50 return Hints.end()[Pos++];
53 while (Pos < int(Limit)) {
54 unsigned Reg = Order[Pos++];
66 if (Pos < 0)
67 return Hints.end()[Pos++];
68 if (Pos < int(Limit))
69 return Order[Pos++];
74 void rewind() { Pos = -int(Hints.size());
    [all...]
AllocationOrder.cpp 33 : Pos(0) {
  /external/llvm/lib/Support/
LineIterator.cpp 54 const char *Pos = CurrentLine.end();
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...]
FileUtilities.cpp 49 static const char *BackupNumber(const char *Pos, const char *FirstChar) {
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[-1])
    [all...]
FoldingSet.cpp 93 unsigned Pos = 0;
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 += 4; Pos <= Size; Pos += 4)
    [all...]
  /external/llvm/lib/Fuzzer/
FuzzerCrossOver.cpp 24 size_t *Pos = &PosA;
28 if (*Pos < V->size()) {
29 size_t SizeLeftV = V->size() - *Pos;
32 U->insert(U->end(), V->begin() + *Pos, V->begin() + *Pos + ExtraSize);
33 (*Pos) += ExtraSize;
37 if (Pos == &PosA) {
38 Pos = &PosB;
41 Pos = &PosA;
  /external/llvm/lib/TableGen/
TableGenBackend.cpp 25 size_t Pos = (size_t)OS.tell();
30 for (size_t i = (size_t)OS.tell() - Pos; i < e; ++i)
38 size_t Pos = 0U;
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());
  /external/clang/lib/Frontend/
LayoutOverrideSource.cpp 61 StringRef::size_type Pos;
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:");
79 if (Pos != StringRef::npos) {
81 LineStr = LineStr.substr(Pos + strlen(" Size:"))
    [all...]
  /external/clang/lib/Tooling/
ArgumentsAdjusters.cpp 57 ArgumentInsertPosition Pos) {
58 return [Extra, Pos](const CommandLineArguments &Args) {
62 if (Pos == ArgumentInsertPosition::END) {
75 ArgumentInsertPosition Pos) {
76 return getInsertArgumentAdjuster(CommandLineArguments(1, Extra), Pos);
  /external/clang/unittests/Rewrite/
RewriteBufferTest.cpp 36 size_t Pos = Input.find(RemoveStr);
37 Buf.RemoveText(Pos, RemoveStr.size());
40 Pos = Input.find(TagStr);
41 tagRange(Pos, TagStr.size(), "outer", Buf);
42 tagRange(Pos, TagStr.size(), "inner", Buf);
  /external/icu/icu4c/source/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...]
  /external/clang/include/clang/Tooling/
ArgumentsAdjusters.h 50 ArgumentInsertPosition Pos);
56 ArgumentInsertPosition Pos = ArgumentInsertPosition::END);
  /external/llvm/include/llvm/LineEditor/
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);
  /external/llvm/include/llvm/Support/
StreamingMemoryObject.h 61 // Fetch enough bytes such that Pos can be read or EOF is reached
62 // (i.e. BytesRead > Pos). Return true if Pos can be read.
66 bool fetchToPos(size_t Pos) const {
68 return Pos < ObjectSize;
69 while (Pos >= BytesRead) {
80 return Pos < BytesRead;
  /external/llvm/include/llvm/ADT/
MapVector.h 87 typename MapType::const_iterator Pos = Map.find(Key);
88 return Pos == Map.end()? ValueT() : Vector[Pos->second].second;
104 typename MapType::const_iterator Pos = Map.find(Key);
105 return Pos == Map.end()? 0 : 1;
109 typename MapType::const_iterator Pos = Map.find(Key);
110 return Pos == Map.end()? Vector.end() :
111 (Vector.begin() + Pos->second);
115 typename MapType::const_iterator Pos = Map.find(Key);
116 return Pos == Map.end()? Vector.end()
    [all...]
  /external/llvm/lib/DebugInfo/DWARF/
DWARFDebugAbbrev.cpp 108 const auto Pos = AbbrDeclSets.find(CUAbbrOffset);
109 if (Pos != End) {
110 PrevAbbrOffsetPos = Pos;
111 return &(Pos->second);
  /external/clang/lib/AST/
CommentParser.cpp 51 Position Pos;
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.BufferStart
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMUnwindOpAsm.cpp 30 size_t Pos;
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())
  /external/llvm/lib/Target/Mips/
MipsLongBranch.cpp 253 MachineBasicBlock::iterator Pos;
294 Pos = LongBrMBB->begin();
296 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::ADDiu), Mips::SP)
298 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::SW)).addReg(Mips::RA)
317 BuildMI(*LongBrMBB, Pos, DL, TII->get(Mips::LONG_BRANCH_LUi), Mips::AT)
319 MIBundleBuilder(*LongBrMBB, Pos)
326 Pos = BalTgtMBB->begin();
328 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::ADDu), Mips::AT)
330 BuildMI(*BalTgtMBB, Pos, DL, TII->get(Mips::LW), Mips::RA)
334 MIBundleBuilder(*BalTgtMBB, Pos)
    [all...]
  /external/llvm/include/llvm/CodeGen/
StackMaps.h 55 unsigned getMetaIdx(unsigned Pos = 0) const {
56 assert(Pos < MetaEnd && "Meta operand index out of range.");
57 return (HasDef ? 1 : 0) + Pos;
60 const MachineOperand &getMetaOper(unsigned Pos) {
61 return MI->getOperand(getMetaIdx(Pos));
  /external/lzma/Java/SevenZip/
LzmaBench.java 59 int Pos;
69 Pos = 0;
90 while (Pos < BufferSize)
92 if (GetRndBit() == 0 || Pos < 1)
93 Buffer[Pos++] = (byte)(RG.GetRnd(8));
103 while (Rep0 >= Pos);
107 for (int i = 0; i < len && Pos < BufferSize; i++, Pos++)
108 Buffer[Pos] = Buffer[Pos - Rep0];
    [all...]
  /external/clang/include/clang/Sema/
IdentifierResolver.h 55 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) {
56 Decls.insert(Pos, D);
171 void InsertDeclAfter(iterator Pos, NamedDecl *D);
  /external/llvm/unittests/LineEditor/
LineEditor.cpp 50 size_t Pos) const {
52 EXPECT_EQ(0u, Pos);
  /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],
359 llvm::DenseMap<const MacroInfo *, MacroDefinition *>::iterator Pos
361 if (Pos == MacroDefinitions.end())
364 return Pos->second;
  /external/llvm/lib/Target/R600/
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;

Completed in 2062 milliseconds

1 2 3 4 5 6