Searched refs:Cur (Results 1 - 25 of 59) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A Dcircular_raw_ostream.cpp26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray)));
27 memcpy(Cur, Ptr, Bytes);
29 Cur += Bytes;
30 if (Cur == BufferArray + BufferSize) {
32 Cur = BufferArray;
H A DOptimizedStructLayout.cpp249 static Field *getNext(Field *Cur) { argument
250 return static_cast<Field *>(Cur->Scratch);
294 auto spliceFromQueue = [&](AlignmentQueue *Queue, Field *Last, Field *Cur) {
295 assert(Last ? Queue->getNext(Last) == Cur : Queue->Head == Cur);
297 // If we're removing Cur from a non-initial position, splice it out
300 Last->Scratch = Cur->Scratch;
302 // If Cur was the last field in the list, we need to update MinSize.
305 if (!Cur->Scratch)
310 if (auto NewHead = Queue->getNext(Cur))
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp125 const char *Cur = Format; local
127 for (; *Cur; Cur++) {
128 if (*Cur != '%') {
129 Res += appendChar(&Buffer, BufferEnd, *Cur);
132 Cur++;
133 const bool LeftJustified = *Cur == '-';
135 Cur++;
136 bool HaveWidth = (*Cur >= '0' && *Cur <
[all...]
H A Dmemtag.h106 mov %[Cur], %[TaggedPtr]
117 stzg %[Cur], [%[Cur]], #16
118 cmp %[Cur], %[End]
124 [TaggedPtr] "=&r"(*TaggedBegin), [Cur] "=&r"(*TaggedEnd), [End] "=&r"(End)
180 stzg %[Cur], [%[Cur]], #16
181 cmp %[Cur], %[End]
185 and %[Cur], %[Cur], #(
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A Dcircular_raw_ostream.h56 /// Cur - Pointer to the current output point in BufferArray.
58 char *Cur; member in class:llvm::circular_raw_ostream
75 TheStream->write(Cur, BufferArray + BufferSize - Cur);
77 TheStream->write(BufferArray, Cur - BufferArray);
78 Cur = BufferArray;
114 Cur = BufferArray;
H A DRegistry.h86 const node *Cur; member in class:llvm::Registry::iterator
89 explicit iterator(const node *N) : Cur(N) {}
91 bool operator==(const iterator &That) const { return Cur == That.Cur; }
92 iterator &operator++() { Cur = Cur->Next; return *this; }
93 const entry &operator*() const { return Cur->Val; }
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/
H A DOpDescriptor.h47 using PredT = std::function<bool(ArrayRef<Value *> Cur, const Value *New)>;
52 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>;
62 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) {
67 if (Pred(Cur, V))
76 /// Returns true if \c New is compatible for the argument after \c Cur
77 bool matches(ArrayRef<Value *> Cur, const Value *New) { argument
78 return Pred(Cur, New);
81 /// Generates a list of potential values for the argument after \c Cur.
82 std::vector<Constant *> generate(ArrayRef<Value *> Cur, argument
84 return Make(Cur, BaseType
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp190 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) {
192 if (!CI->uge(getAggregateNumElements(Cur[0]->getType())))
196 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> Ts) {
198 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext());
199 uint64_t N = getAggregateNumElements(Cur[0]->getType());
222 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) {
223 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType()))
226 auto *STy = cast<StructType>(Cur[0]->getType());
232 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) {
233 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.h37 InjectedSourceStream::const_iterator Cur; member in class:llvm::pdb::NativeEnumInjectedSources
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeEnumInjectedSources.cpp98 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {}
113 if (Cur == Stream.end())
115 return std::make_unique<NativeInjectedSource>((Cur++)->second, File, Strings);
118 void NativeEnumInjectedSources::reset() { Cur = Stream.begin(); }
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DTypeLoc.cpp192 TypeLoc Cur = *this; local
193 TypeLoc LeftMost = Cur;
195 switch (Cur.getTypeLocClass()) {
197 LeftMost = Cur;
200 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()
202 LeftMost = Cur;
213 Cur = Cur.getNextTypeLoc();
216 if (Cur.getLocalSourceRange().getBegin().isValid())
217 LeftMost = Cur;
229 TypeLoc Cur = *this; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp274 Instruction *Cur = Worklist.back(); local
280 if (Cur->use_empty())
283 bool IsAPhi = isa<PHINode>(Cur);
286 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent())
291 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
292 !isa<ICmpInst>(Cur) && !isa<FCmpInst>(Cur) &&
293 !VisitedInsts.count(dyn_cast<Instruction>(Cur
[all...]
H A DAliasSetTracker.cpp312 iterator Cur = I++; local
313 if (Cur->Forward)
316 AliasResult AR = Cur->aliasesPointer(Ptr, Size, AAInfo, AA);
325 FoundSet = &*Cur;
328 FoundSet->mergeSetIn(*Cur, *this);
339 iterator Cur = I++; local
340 if (Cur->Forward || !Cur->aliasesUnknownInst(Inst, AA))
344 FoundSet = &*Cur;
347 FoundSet->mergeSetIn(*Cur, *thi
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDIEHash.cpp85 const DIE *Cur = &Parent; local
86 while (Cur->getParent()) {
87 Parents.push_back(Cur);
88 Cur = Cur->getParent();
90 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit ||
91 Cur->getTag() == dwarf::DW_TAG_type_unit);
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerMerge.cpp145 auto &Cur = Files[i].Features; local
146 AllFeatures.insert(Cur.begin(), Cur.end());
150 auto &Cur = Files[i].Features; local
152 std::set_difference(Cur.begin(), Cur.end(), AllFeatures.begin(),
154 Cur.swap(Tmp);
170 auto &Cur = Files[i].Features; local
172 // Files[i].Size, Cur.size());
174 for (auto Fe: Cur) {
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAG.cpp268 SUnit *Cur = WorkList.back();
272 for (const SDep &PredDep : Cur->Preds) {
285 if (MaxPredDepth != Cur->Depth) {
286 Cur->setDepthDirty();
287 Cur->Depth = MaxPredDepth;
289 Cur->isDepthCurrent = true;
299 SUnit *Cur = WorkList.back();
303 for (const SDep &SuccDep : Cur->Succs) {
316 if (MaxSuccHeight != Cur->Height) {
317 Cur
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp367 const uint8_t *Cur = ContentsOrErr->begin(); local
369 if (ContentsOrErr->size() < 4 || Cur[0] != 'A' || Cur[1] != 'P' ||
370 Cur[2] != 'S' || Cur[3] != '2')
372 Cur += 4;
379 int64_t Result = decodeSLEB128(Cur, &Len, End, &ErrStr);
380 Cur += Len;
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DDAGISelMatcher.cpp40 Matcher *Cur = this;
41 for (; Cur && Cur->getNext() != Other; Cur = Cur->getNext())
44 if (!Cur) return nullptr;
45 Cur->takeNext();
46 Cur->setNext(Other->takeNext());
H A DCodeGenInstruction.cpp474 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) { argument
480 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart)
481 if (Cur[VariantsStart] == '{' &&
482 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' &&
483 Cur[VariantsStart-1] != '\\')))
487 Res += Cur.slice(0, VariantsStart);
488 if (VariantsStart == Cur.size())
496 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) {
497 if (Cur[VariantsEnd] == '}' && Cur[VariantsEn
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Option/
H A DArgList.cpp177 StringRef Cur = getArgString(Index); local
178 if (Cur.size() == LHS.size() + RHS.size() &&
179 Cur.startswith(LHS) && Cur.endswith(RHS))
180 return Cur.data();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp750 const unsigned char *Cur, bool UseCS) {
756 reinterpret_cast<const IndexedInstrProf::Summary *>(Cur);
789 return Cur + SummarySize;
798 return Cur;
807 const unsigned char *Cur = Start;
808 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24)
811 auto *Header = reinterpret_cast<const IndexedInstrProf::Header *>(Cur);
812 Cur += sizeof(IndexedInstrProf::Header);
825 Cur = readSummary((IndexedInstrProf::ProfVersion)FormatVersion, Cur,
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DMachOLinkGraphBuilder.cpp213 auto &Cur = *Sections[I]; local
215 if (Next.Address < Cur.Address + Cur.Size)
218 formatv("\"{0}/{1}\" [ {2:x16} -- {3:x16} ] ", Cur.SegName,
219 Cur.SectName, Cur.Address, Cur.Address + Cur.Size) +
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430AsmPrinter.cpp160 MCSection *Cur = OutStreamer->getCurrentSectionOnly(); local
173 OutStreamer->SwitchSection(Cur);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp56 IdDeclInfoPool *Cur = CurPool; local
57 while (IdDeclInfoPool *P = Cur) {
58 Cur = Cur->Next;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Option/
H A DOptTable.h136 /// Find flags from OptTable which starts with Cur.
138 /// \param [in] Cur - String prefix that all returned flags need
141 /// \return The vector of flags which start with Cur.
142 std::vector<std::string> findByPrefix(StringRef Cur,

Completed in 183 milliseconds

123