/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/ |
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) { in SourcePred() 67 if (Pred(Cur, V)) in SourcePred() 77 bool matches(ArrayRef<Value *> Cur, const Value *New) { in matches() argument 78 return Pred(Cur, New); in matches() 82 std::vector<Constant *> generate(ArrayRef<Value *> Cur, in generate() argument 84 return Make(Cur, BaseTypes); in generate() 195 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in matchFirstType() 196 assert(!Cur.empty() && "No first source yet"); in matchFirstType() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceRegAlloc.cpp | 401 assert(!Iter.Cur->getLiveRange().isEmpty()); in addSpillFill() 402 InstNumberT Start = Iter.Cur->getLiveRange().getStart(); in addSpillFill() 403 InstNumberT End = Iter.Cur->getLiveRange().getEnd(); in addSpillFill() 404 CfgNode *Node = Func->getVMetadata()->getLocalUseNode(Iter.Cur); in addSpillFill() 435 Iter.Cur->setRegNumTmp(RegNum); in addSpillFill() 436 Variable *Preg = Target->getPhysicalRegister(RegNum, Iter.Cur->getType()); in addSpillFill() 439 Variable *SpillLoc = Func->makeVariable(Iter.Cur->getType()); in addSpillFill() 448 void LinearScan::handleActiveRangeExpiredOrInactive(const Variable *Cur) { in handleActiveRangeExpiredOrInactive() argument 452 Item->trimLiveRange(Cur->getLiveRange().getStart()); in handleActiveRangeExpiredOrInactive() 454 if (Item->rangeEndsBefore(Cur)) { in handleActiveRangeExpiredOrInactive() [all …]
|
D | IceRegAlloc.h | 62 Variable *Cur = nullptr; variable 98 void handleActiveRangeExpiredOrInactive(const Variable *Cur); 100 void handleInactiveRangeExpiredOrReactivated(const Variable *Cur); 104 void allocatePrecoloredRegister(Variable *Cur);
|
D | IceELFSection.cpp | 231 llvm::StringRef Cur = llvm::StringRef(StringIndex.first); in doLayout() local 232 if (Prev.endswith(Cur)) { in doLayout() 235 StringIndex.second = StringData.size() - Cur.size() - 1; in doLayout() 239 std::copy(Cur.begin(), Cur.end(), back_inserter(StringData)); in doLayout() 241 Prev = Cur; in doLayout()
|
/third_party/lzma/CPP/7zip/Common/ |
D | CWrappers.h | 57 const Byte *Cur; member 72 Lim = Cur = Buf; in Init() 77 UInt64 GetProcessed() const { return Processed + (size_t)(Cur - Buf); } in GetProcessed() 81 if (Cur != Lim) in ReadByte() 82 return *Cur++; in ReadByte() 130 Byte *Cur; member 144 Cur = Buf; in Init() 149 UInt64 GetProcessed() const { return Processed + (size_t)(Cur - Buf); } in GetProcessed() 153 *Cur++ = b; in WriteByte() 154 if (Cur == Lim) in WriteByte()
|
D | CWrappers.cpp | 169 Lim = Cur = Buf = (Byte *)::MidAlloc((size_t)size); in Alloc() 181 Processed += (size_t)(Cur - Buf); in ReadByteFromNewBlock() 182 Cur = Buf; in ReadByteFromNewBlock() 185 return *Cur++; in ReadByteFromNewBlock() 194 if (p->Cur != p->Lim) in Wrap_ReadByte() 195 return *p->Cur++; in Wrap_ReadByte() 274 const size_t size = (size_t)(Cur - Buf); in Flush() 280 Cur = Buf; // reset pointer for later Wrap_WriteByte() in Flush() 287 Byte *dest = p->Cur; in Wrap_WriteByte() 289 p->Cur = ++dest; in Wrap_WriteByte()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 190 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in validExtractValueIndex() argument 192 if (!CI->uge(getAggregateNumElements(Cur[0]->getType()))) in validExtractValueIndex() 196 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> Ts) { in validExtractValueIndex() argument 198 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validExtractValueIndex() 199 uint64_t N = getAggregateNumElements(Cur[0]->getType()); in validExtractValueIndex() 222 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in matchScalarInAggregate() argument 223 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() 226 auto *STy = cast<StructType>(Cur[0]->getType()); in matchScalarInAggregate() 232 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) { in matchScalarInAggregate() argument 233 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | ifs.c | 173 Random_Simis (PluginInfo * goomInfo, FRACTAL * F, SIMI * Cur, int i) in Random_Simis() argument 176 Cur->c_x = Gauss_Rand (goomInfo, 0.0, .8, 4.0); in Random_Simis() 177 Cur->c_y = Gauss_Rand (goomInfo, 0.0, .8, 4.0); in Random_Simis() 178 Cur->r = Gauss_Rand (goomInfo, F->r_mean, F->dr_mean, 3.0); in Random_Simis() 179 Cur->r2 = Half_Gauss_Rand (goomInfo, 0.0, F->dr2_mean, 2.0); in Random_Simis() 180 Cur->A = Gauss_Rand (goomInfo, 0.0, 360.0, 4.0) * (G_PI / 180.0); in Random_Simis() 181 Cur->A2 = Gauss_Rand (goomInfo, 0.0, 360.0, 4.0) * (G_PI / 180.0); in Random_Simis() 182 Cur++; in Random_Simis() 316 SIMI *Cur; in Trace() local 318 Cur = data->Cur_F->Components; in Trace() [all …]
|
/third_party/json/tests/thirdparty/Fuzzer/ |
D | FuzzerTraceState.cpp | 159 for (const uint8_t *Cur = Beg; Cur < End; Cur++) { in TryToAddDesiredData() local 160 Cur = (uint8_t *)SearchMemory(Cur, End - Cur, &PresentData, DataSize); in TryToAddDesiredData() 161 if (!Cur) in TryToAddDesiredData() 163 size_t Pos = Cur - Beg; in TryToAddDesiredData() 183 for (const uint8_t *Cur = Beg; Cur < End; Cur++) { in TryToAddDesiredData() local 184 Cur = (uint8_t *)SearchMemory(Cur, End - Cur, PresentData, DataSize); in TryToAddDesiredData() 185 if (!Cur) in TryToAddDesiredData() 187 size_t Pos = Cur - Beg; in TryToAddDesiredData()
|
D | FuzzerMerge.cpp | 123 auto &Cur = Files[i].Features; in Merge() local 124 AllFeatures.insert(Cur.begin(), Cur.end()); in Merge() 130 auto &Cur = Files[i].Features; in Merge() local 132 std::set_difference(Cur.begin(), Cur.end(), AllFeatures.begin(), in Merge() 134 Cur.swap(Tmp); in Merge() 150 auto &Cur = Files[i].Features; in Merge() local 154 AllFeatures.insert(Cur.begin(), Cur.end()); in Merge()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | circular_raw_ostream.h | 59 char *Cur; variable 76 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer() 78 TheStream->write(BufferArray, Cur - BufferArray); in flushBuffer() 79 Cur = BufferArray; in flushBuffer() 115 Cur = BufferArray; in raw_ostream()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | circular_raw_ostream.h | 58 char *Cur; variable 75 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer() 77 TheStream->write(BufferArray, Cur - BufferArray); in flushBuffer() 78 Cur = BufferArray; in flushBuffer() 114 Cur = BufferArray; in raw_ostream()
|
D | Registry.h | 86 const node *Cur; variable 89 explicit iterator(const node *N) : Cur(N) {} in iterator() 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; }
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | circular_raw_ostream.cpp | 27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); in write_impl() 28 memcpy(Cur, Ptr, Bytes); in write_impl() 30 Cur += Bytes; in write_impl() 31 if (Cur == BufferArray + BufferSize) { in write_impl() 33 Cur = BufferArray; in write_impl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | circular_raw_ostream.cpp | 26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); in write_impl() 27 memcpy(Cur, Ptr, Bytes); in write_impl() 29 Cur += Bytes; in write_impl() 30 if (Cur == BufferArray + BufferSize) { in write_impl() 32 Cur = BufferArray; in write_impl()
|
D | CommandLine.cpp | 1012 for (const char *Cur = Source.begin(); Cur != Source.end();) { in tokenizeConfigFile() local 1015 if (isWhitespace(*Cur)) { in tokenizeConfigFile() 1016 while (Cur != Source.end() && isWhitespace(*Cur)) in tokenizeConfigFile() 1017 ++Cur; in tokenizeConfigFile() 1020 if (*Cur == '#') { in tokenizeConfigFile() 1021 while (Cur != Source.end() && *Cur != '\n') in tokenizeConfigFile() 1022 ++Cur; in tokenizeConfigFile() 1026 const char *Start = Cur; in tokenizeConfigFile() 1027 for (const char *End = Source.end(); Cur != End; ++Cur) { in tokenizeConfigFile() 1028 if (*Cur == '\\') { in tokenizeConfigFile() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | IVDescriptors.cpp | 273 Instruction *Cur = Worklist.back(); in AddReductionVar() local 279 if (Cur->use_empty()) in AddReductionVar() 282 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar() 285 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar() 290 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar() 291 !isa<ICmpInst>(Cur) && !isa<FCmpInst>(Cur) && in AddReductionVar() 292 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0)))) in AddReductionVar() 298 if (Cur != Start) { in AddReductionVar() 299 ReduxDesc = isRecurrenceInstr(Cur, Kind, ReduxDesc, HasFunNoNaNAttr); in AddReductionVar() 307 bool IsASelect = isa<SelectInst>(Cur); in AddReductionVar() [all …]
|
D | AliasSetTracker.cpp | 312 iterator Cur = I++; in mergeAliasSetsForPointer() local 313 if (Cur->Forward) in mergeAliasSetsForPointer() 316 AliasResult AR = Cur->aliasesPointer(Ptr, Size, AAInfo, AA); in mergeAliasSetsForPointer() 325 FoundSet = &*Cur; in mergeAliasSetsForPointer() 328 FoundSet->mergeSetIn(*Cur, *this); in mergeAliasSetsForPointer() 339 iterator Cur = I++; in findAliasSetForUnknownInst() local 340 if (Cur->Forward || !Cur->aliasesUnknownInst(Inst, AA)) in findAliasSetForUnknownInst() 344 FoundSet = &*Cur; in findAliasSetForUnknownInst() 347 FoundSet->mergeSetIn(*Cur, *this); in findAliasSetForUnknownInst() 625 for (auto Cur : ASVector) { in mergeAllAliasSets() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 268 SUnit *Cur = WorkList.back(); in ComputeDepth() local 272 for (const SDep &PredDep : Cur->Preds) { in ComputeDepth() 285 if (MaxPredDepth != Cur->Depth) { in ComputeDepth() 286 Cur->setDepthDirty(); in ComputeDepth() 287 Cur->Depth = MaxPredDepth; in ComputeDepth() 289 Cur->isDepthCurrent = true; in ComputeDepth() 299 SUnit *Cur = WorkList.back(); in ComputeHeight() local 303 for (const SDep &SuccDep : Cur->Succs) { in ComputeHeight() 316 if (MaxSuccHeight != Cur->Height) { in ComputeHeight() 317 Cur->setHeightDirty(); in ComputeHeight() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DIEHash.cpp | 87 const DIE *Cur = &Parent; in addParentContext() local 88 while (Cur->getParent()) { in addParentContext() 89 Parents.push_back(Cur); in addParentContext() 90 Cur = Cur->getParent(); in addParentContext() 92 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit || in addParentContext() 93 Cur->getTag() == dwarf::DW_TAG_type_unit); in addParentContext()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | NativeEnumInjectedSources.cpp | 98 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources() 113 if (Cur == Stream.end()) in getNext() 115 return std::make_unique<NativeInjectedSource>((Cur++)->second, File, Strings); in getNext() 118 void NativeEnumInjectedSources::reset() { Cur = Stream.begin(); } in reset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ELF.cpp | 357 const uint8_t *Cur = ContentsOrErr->begin(); in android_relas() local 359 if (ContentsOrErr->size() < 4 || Cur[0] != 'A' || Cur[1] != 'P' || in android_relas() 360 Cur[2] != 'S' || Cur[3] != '2') in android_relas() 362 Cur += 4; in android_relas() 369 int64_t Result = decodeSLEB128(Cur, &Len, End, &ErrStr); in android_relas() 370 Cur += Len; in android_relas()
|
/third_party/protobuf/src/google/protobuf/ |
D | wire_format.h | 128 _InternalSerialize(message, output->Cur(), output->EpsCopy())); in SerializeWithCachedSizes() 171 unknown_fields, output->Cur(), output->EpsCopy())); in SerializeUnknownFields() 195 unknown_fields, output->Cur(), output->EpsCopy())); in SerializeUnknownMessageSetItems() 234 output->SetCur(InternalSerializeField(field, message, output->Cur(), in SerializeFieldWithCachedSizes() 255 field, message, output->Cur(), output->EpsCopy())); in SerializeMessageSetItemWithCachedSizes()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | InstrProfReader.cpp | 749 const unsigned char *Cur, bool UseCS) { in readSummary() argument 755 reinterpret_cast<const IndexedInstrProf::Summary *>(Cur); in readSummary() 788 return Cur + SummarySize; in readSummary() 797 return Cur; in readSummary() 806 const unsigned char *Cur = Start; in readHeader() local 807 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) in readHeader() 810 auto *Header = reinterpret_cast<const IndexedInstrProf::Header *>(Cur); in readHeader() 811 Cur += sizeof(IndexedInstrProf::Header); in readHeader() 824 Cur = readSummary((IndexedInstrProf::ProfVersion)FormatVersion, Cur, in readHeader() 827 Cur = readSummary((IndexedInstrProf::ProfVersion)FormatVersion, Cur, in readHeader() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
D | ArgList.cpp | 177 StringRef Cur = getArgString(Index); in GetOrMakeJoinedArgString() local 178 if (Cur.size() == LHS.size() + RHS.size() && in GetOrMakeJoinedArgString() 179 Cur.startswith(LHS) && Cur.endswith(RHS)) in GetOrMakeJoinedArgString() 180 return Cur.data(); in GetOrMakeJoinedArgString()
|