Searched refs:Pos (Results 76 - 100 of 222) sorted by relevance

123456789

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); local
26 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) {
28 ErrorPtr = Pos;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600OptimizeVectorRegisters.cpp205 MachineBasicBlock::iterator Pos = RSI->Instr; local
206 MachineBasicBlock &MBB = *Pos->getParent();
207 DebugLoc DL = Pos->getDebugLoc();
219 MachineInstr *Tmp = BuildMI(MBB, Pos, DL, TII->get(R600::INSERT_SUBREG),
235 BuildMI(MBB, Pos, DL, TII->get(R600::COPY), Reg).addReg(SrcVec);
H A DSIMachineScheduler.cpp836 std::map<std::set<unsigned>, unsigned>::iterator Pos = local
838 if (Pos != ColorCombinations.end()) {
839 CurrentTopDownReservedDependencyColoring[SU->NodeNum] = Pos->second;
878 std::map<std::set<unsigned>, unsigned>::iterator Pos = local
880 if (Pos != ColorCombinations.end()) {
881 CurrentBottomUpReservedDependencyColoring[SU->NodeNum] = Pos->second;
909 std::map<std::pair<unsigned, unsigned>, unsigned>::iterator Pos = local
911 if (Pos != ColorCombinations.end()) {
912 CurrentColoring[SU->NodeNum] = Pos->second;
1357 MachineBasicBlock::iterator Pos local
1698 std::set<unsigned>::iterator Pos = LiveRegs.find(Reg); local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DRISCV.cpp196 auto Pos = Ext.find_if(isDigit); local
197 StringRef Name(Ext.substr(0, Pos));
198 StringRef Vers(Ext.substr(Pos));
332 size_t Pos = Exts.find_first_of("zsx"); local
333 if (Pos != StringRef::npos) {
334 OtherExts = Exts.substr(Pos);
335 Exts = Exts.substr(0, Pos);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCloneDetection.cpp275 for (unsigned Pos = 0; Pos < CS->size(); ++Pos) {
280 for (unsigned Length = 1; Length <= CS->size() - Pos; ++Length) {
283 size_t ChildHash = ChildHashes[Pos + Length - 1];
291 createHash(SubHash), StmtSequence(CS, D, Pos, Pos + Length)));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp1387 for (size_t Pos = 0; Pos < AltMacroStr.size(); Pos++) {
1388 if (AltMacroStr[Pos] == '!')
1389 Pos++;
1390 Res += AltMacroStr[Pos];
2405 std::size_t End = Body.size(), Pos = 0; local
2406 for (; Pos != End; ++Pos) {
2410 if (Body[Pos] !
4531 std::size_t End = Body.size(), Pos = 0; local
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h698 UnderlayingIteratorTy Pos;
701 ElementRefIterator(CFGBlockRef Parent, UnderlayingIteratorTy Pos)
702 : Parent(Parent), Pos(Pos) {}
706 : ElementRefIterator(E.Parent, E.Pos.base()) {}
710 : ElementRefIterator(E.Parent, llvm::make_reverse_iterator(E.Pos)) {}
714 return Pos < Other.Pos;
718 return Parent == Other.Parent && Pos == Other.Pos;
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp270 const char *Pos = strchr(FromFile.getBufferStart(), '\n'); local
271 if (!Pos)
273 if (Pos - 1 >= FromFile.getBufferStart() && Pos[-1] == '\r')
275 if (Pos + 1 < FromFile.getBufferEnd() && Pos[1] == '\r')
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h194 auto Pos = Aux.find(Nodes.back()); local
195 return Pos != Aux.end() && Pos->second > 1;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h258 void setIVIncInsertPos(const Loop *L, Instruction *Pos) { argument
262 IVIncInsertPos = Pos;
429 Instruction *Pos, PHINode *LoopPhi);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp87 auto Pos = FunctionLevels.find(Called); local
91 if (Pos == FunctionLevels.end())
93 Level = std::max(Level, Pos->second + 1);
H A DVectorUtils.cpp1308 for (unsigned Pos = 0, NumParams = Parameters.size(); Pos < NumParams;
1309 ++Pos) {
1310 assert(Parameters[Pos].ParamPos == Pos && "Broken parameter list.");
1312 switch (Parameters[Pos].ParamKind) {
1320 if (Parameters[Pos].LinearStepOrPos == 0)
1329 if (Parameters[Pos].LinearStepOrPos >= int(NumParams))
1332 if (Parameters[Parameters[Pos].LinearStepOrPos].ParamKind !=
1336 if (Parameters[Pos]
[all...]
H A DInlineSizeEstimatorAnalysis.cpp79 int32_t &operator[](NamedFeatureIndex Pos) { argument
80 return NamedFeatures[static_cast<size_t>(Pos)];
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp183 size_t Pos = FU.find("Unit"); local
184 if (Pos != std::string::npos)
185 FU.resize(Pos);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFObject.h85 uint64_t Pos) const = 0;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveInterval.h262 iterator advanceTo(iterator I, SlotIndex Pos) {
264 if (Pos >= endIndex())
266 while (I->end <= Pos) ++I;
270 const_iterator advanceTo(const_iterator I, SlotIndex Pos) const {
272 if (Pos >= endIndex())
274 while (I->end <= Pos) ++I;
279 /// Pos, or end(). This is the same as advanceTo(begin(), Pos), but faster
282 /// If Pos is contained in a Segment, that segment is returned.
283 /// If Pos i
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.cpp363 for (std::size_t Pos = 0u; Pos <= CommandLine.size(); ++Pos) {
364 if ('\\' == CommandLine[Pos]) {
365 if (Pos + 1 < CommandLine.size())
366 Token.push_back(CommandLine[++Pos]);
370 if (' ' == CommandLine[Pos] || CommandLine.size() == Pos) {
385 Token.push_back(CommandLine[Pos]);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveInterval.cpp297 iterator find(SlotIndex Pos) { return LR->find(Pos); } argument
325 iterator find(SlotIndex Pos) { argument
327 LR->segmentSet->upper_bound(Segment(Pos, Pos.getNextSlot(), nullptr));
331 if (Pos < (*PrevI).end)
350 LiveRange::iterator LiveRange::find(SlotIndex Pos) { argument
354 if (empty() || Pos >= endIndex())
360 if (Pos < I[Mid].end) {
994 SlotIndex Pos
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp380 unsigned Pos = 0; local
381 Types.emplace_back(OutTS, getNextModifiers(Proto, Pos));
382 StringRef Mods = getNextModifiers(Proto, Pos);
388 Mods = getNextModifiers(Proto, Pos);
491 StringRef getNextModifiers(StringRef Proto, unsigned &Pos) const;
940 StringRef Intrinsic::getNextModifiers(StringRef Proto, unsigned &Pos) const {
941 if (Proto.size() == Pos)
943 else if (Proto[Pos] != '(')
944 return Proto.substr(Pos++, 1);
946 size_t Start = Pos
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp140 PathDiagnosticLocation Pos(S, BRC.getSourceManager(),
142 return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
/freebsd-13-stable/sys/contrib/zlib/
H A Ddeflate.h92 typedef ush Pos; typedef
93 typedef Pos FAR Posf;
96 /* A Pos is an index in the character window. We use short instead of int to
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp740 std::vector<StringRef>::iterator &Pos,
750 Pos = MI;
799 int Pos = Ret.size(); local
806 InsertPos = Pos;
808 InsertPos = Pos + 1;
851 int Pos = InsertPos; local
853 Ret.insert(Ret.begin() + Pos, std::move(M));
854 ++Pos;
737 computeInsertAction(ArchiveOperation Operation, const object::Archive::Child &Member, StringRef Name, std::vector<StringRef>::iterator &Pos, StringMap<int> &MemberCount) argument
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h206 unsigned Pos = 16 + Constraint * 4; local
207 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DInterpolatingCompilationDatabase.cpp158 for (unsigned Pos = 1; Pos < OldArgs.size();) {
161 const unsigned OldPos = Pos;
163 ArgList, Pos,
194 OldArgs.data() + OldPos, OldArgs.data() + Pos);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntervalMap.h613 unsigned insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y);
619 /// @param Pos Starting index = insertFrom(0, size, a)
627 insertFrom(unsigned &Pos, unsigned Size, KeyT a, KeyT b, ValT y) {
628 unsigned i = Pos;
639 Pos = i - 1;
1226 unsigned Pos = 0;
1230 B->copy(rootBranch(), Pos, 0, Size[n]);
1232 Pos += Size[n];
2016 unsigned Pos = 0;
2018 KeyT Stop = Node[Pos]
[all...]

Completed in 195 milliseconds

123456789