/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | circular_raw_ostream.cpp | 26 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 D | CommandLine.cpp | 1012 for (const char *Cur = Source.begin(); Cur != Source.end();) { 1015 if (isWhitespace(*Cur)) { 1016 while (Cur != Source.end() && isWhitespace(*Cur)) 1017 ++Cur; 1020 if (*Cur == '#') { 1021 while (Cur != Source.end() && *Cur != '\n') 1022 ++Cur; [all...] |
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | string_utils.cpp | 125 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...] |
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | circular_raw_ostream.h | 56 /// 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 D | Registry.h | 86 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-12-stable/contrib/llvm-project/llvm/include/llvm/FuzzMutate/ |
H A D | OpDescriptor.h | 47 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-12-stable/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | Operations.cpp | 190 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-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.cpp | 98 : 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-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.h | 37 InjectedSourceStream::const_iterator Cur; member in class:llvm::pdb::NativeEnumInjectedSources
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | TypeLoc.cpp | 192 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-12-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 273 Instruction *Cur = Worklist.back(); local 279 if (Cur->use_empty()) 282 bool IsAPhi = isa<PHINode>(Cur); 285 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) 290 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && 291 !isa<ICmpInst>(Cur) && !isa<FCmpInst>(Cur) && 292 !VisitedInsts.count(dyn_cast<Instruction>(Cur [all...] |
H A D | AliasSetTracker.cpp | 312 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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIEHash.cpp | 87 const DIE *Cur = &Parent; local 88 while (Cur->getParent()) { 89 Parents.push_back(Cur); 90 Cur = Cur->getParent(); 92 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit || 93 Cur->getTag() == dwarf::DW_TAG_type_unit);
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerMerge.cpp | 145 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-12-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ScheduleDAG.cpp | 268 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-12-stable/contrib/llvm-project/llvm/lib/Object/ |
H A D | ELF.cpp | 357 const uint8_t *Cur = ContentsOrErr->begin(); local 359 if (ContentsOrErr->size() < 4 || Cur[0] != 'A' || Cur[1] != 'P' || 360 Cur[2] != 'S' || Cur[3] != '2') 362 Cur += 4; 369 int64_t Result = decodeSLEB128(Cur, &Len, End, &ErrStr); 370 Cur += Len;
|
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | DAGISelMatcher.cpp | 40 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 D | CodeGenInstruction.cpp | 464 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) { argument 470 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart) 471 if (Cur[VariantsStart] == '{' && 472 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' && 473 Cur[VariantsStart-1] != '\\'))) 477 Res += Cur.slice(0, VariantsStart); 478 if (VariantsStart == Cur.size()) 486 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) { 487 if (Cur[VariantsEnd] == '}' && Cur[VariantsEn [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Option/ |
H A D | ArgList.cpp | 177 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-12-stable/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProfReader.cpp | 749 const unsigned char *Cur, bool UseCS) { 755 reinterpret_cast<const IndexedInstrProf::Summary *>(Cur); 788 return Cur + SummarySize; 797 return Cur; 806 const unsigned char *Cur = Start; 807 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) 810 auto *Header = reinterpret_cast<const IndexedInstrProf::Header *>(Cur); 811 Cur += sizeof(IndexedInstrProf::Header); 824 Cur = readSummary((IndexedInstrProf::ProfVersion)FormatVersion, Cur, [all...] |
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430AsmPrinter.cpp | 160 MCSection *Cur = OutStreamer->getCurrentSectionOnly(); local 173 OutStreamer->SwitchSection(Cur);
|
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | IdentifierResolver.cpp | 56 IdDeclInfoPool *Cur = CurPool; local 57 while (IdDeclInfoPool *P = Cur) { 58 Cur = Cur->Next;
|
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Option/ |
H A D | OptTable.h | 136 /// 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,
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | GCNMinRegStrategy.cpp | 122 T Cur = C(*I); local 123 if (Cur >= Max) { 124 if (Cur > Max) { 125 Max = Cur;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | MachOLinkGraphBuilder.cpp | 188 auto &Cur = *Sections[I]; local 190 if (Next.Address < Cur.Address + Cur.Size) 192 "Address range for section " + Cur.GraphSection->getName() + 193 formatv(" [ {0:x16} -- {1:x16} ] ", Cur.Address, 194 Cur.Address + Cur.Size) +
|