HomeSort by: relevance | last modified time | path
    Searched refs:Cur (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/external/apache2/llvm/dist/llvm/lib/Support/
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;
OptimizedStructLayout.cpp 249 static Field *getNext(Field *Cur) {
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...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
circular_raw_ostream.h 56 /// Cur - Pointer to the current output point in BufferArray.
58 char *Cur;
75 TheStream->write(Cur, BufferArray + BufferSize - Cur);
77 TheStream->write(BufferArray, Cur - BufferArray);
78 Cur = BufferArray;
114 Cur = BufferArray;
Registry.h 86 const node *Cur;
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; }
  /src/external/apache2/llvm/dist/llvm/include/llvm/FuzzMutate/
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) {
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,
84 return Make(Cur, BaseTypes)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
PseudoProbe.cpp 41 PseudoProbeInlineTree *Cur = InlineTree;
44 while (Cur->hasInlineSite()) {
48 getProbeFNameForGUID(GUID2FuncMAP, std::get<0>(Cur->ISite));
51 ContextStr += Twine(std::get<0>(Cur->ISite)).str();
54 ContextStr += Twine(std::get<1>(Cur->ISite)).str();
56 Cur = Cur->Parent;
211 PseudoProbeInlineTree *Cur = &DummyInlineRoot;
216 if (Root == Cur) {
224 Cur = Cur->getOrAddNode(std::make_tuple(Cur->GUID, Index))
    [all...]
PerfReader.cpp 117 void VirtualUnwinder::collectSamplesFromFrame(UnwindState::ProfiledFrame *Cur,
119 if (Cur->RangeSamples.empty() && Cur->BranchSamples.empty())
127 for (auto &Item : Cur->RangeSamples) {
133 for (auto &Item : Cur->BranchSamples) {
142 UnwindState::ProfiledFrame *Cur, T &Stack) {
143 if (!Cur->isDummyRoot()) {
144 if (!Stack.pushFrame(Cur)) {
146 for (const auto &Item : Cur->Children) {
154 collectSamplesFromFrame(Cur, Stack)
    [all...]
PerfReader.h 285 ProfiledFrame *Cur = &DummyTrieRoot;
287 Cur = Cur->getOrCreateChildFrame(Address);
289 CurrentLeafFrame = Cur;
387 bool pushFrame(UnwindState::ProfiledFrame *Cur) {
388 Stack.push_back(Cur->Address);
403 bool pushFrame(UnwindState::ProfiledFrame *Cur) {
404 const PseudoProbe *CallProbe = Binary->getCallProbeForAddr(Cur->Address);
477 void collectSamplesFromFrame(UnwindState::ProfiledFrame *Cur, T &Stack);
480 void collectSamplesFromFrameTrie(UnwindState::ProfiledFrame *Cur, T &Stack)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/FuzzMutate/
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[0]->getType())
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/
echo.cpp 907 LLVMValueRef Cur = First;
910 CloneInstruction(Cur, Builder);
911 Next = LLVMGetNextInstruction(Cur);
913 if (Cur != Last)
919 if (Prev != Cur)
922 Cur = Next;
937 LLVMBasicBlockRef Cur = First;
940 CloneBB(Cur);
942 Next = LLVMGetNextBasicBlock(Cur);
944 if (Cur != Last
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Object/
ELF.cpp 388 DataExtractor::Cursor Cur(/*Offset=*/4);
390 uint64_t NumRelocs = Data.getSLEB128(Cur);
391 uint64_t Offset = Data.getSLEB128(Cur);
394 if (!Cur)
395 return std::move(Cur.takeError());
400 uint64_t NumRelocsInGroup = Data.getSLEB128(Cur);
401 if (!Cur)
402 return std::move(Cur.takeError());
407 uint64_t GroupFlags = Data.getSLEB128(Cur);
415 GroupOffsetDelta = Data.getSLEB128(Cur);
    [all...]
XCOFFObjectFile.cpp 976 DataExtractor::Cursor Cur(/*Offset=*/0);
979 DE.getU64(Cur);
982 if (Cur) {
989 uint32_t ParamsTypeValue = DE.getU32(Cur);
990 if (Cur)
997 if (Cur && hasTraceBackTableOffset())
998 TraceBackTableOffset = DE.getU32(Cur);
1000 if (Cur && isInterruptHandler())
1001 HandlerMask = DE.getU32(Cur);
1003 if (Cur && hasControlledStorage())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCPseudoProbe.cpp 113 auto *Cur = getOrAddNode(Top);
115 // Make interior edges by walking the inline stack. Once it's done, Cur should
123 Cur = Cur->getOrAddNode(InlineSite(std::get<0>(*Iter), Index));
126 Cur = Cur->getOrAddNode(InlineSite(Probe.getGuid(), Index));
129 Cur->Probes.push_back(Probe);
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
NativeEnumInjectedSources.h 38 InjectedSourceStream::const_iterator Cur;
  /src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
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(); }
  /src/external/apache2/llvm/dist/clang/lib/AST/
TypeLoc.cpp 192 TypeLoc Cur = *this;
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;
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
IVDescriptors.cpp 305 Instruction *Cur = Worklist.pop_back_val();
310 if (Cur->use_empty())
313 bool IsAPhi = isa<PHINode>(Cur);
316 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent())
321 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) &&
322 !isa<ICmpInst>(Cur) && !isa<FCmpInst>(Cur) &&
323 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0)))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64TargetStreamer.cpp 76 MCSection *Cur = OutStreamer.getCurrentSectionOnly();
93 OutStreamer.SwitchSection(Cur);
  /src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
FuzzerMerge.cpp 134 auto &Cur = Files[i].Features;
135 AllFeatures.insert(Cur.begin(), Cur.end());
141 auto &Cur = Files[i].Features;
143 std::set_difference(Cur.begin(), Cur.end(), AllFeatures.begin(),
145 Cur.swap(Tmp);
161 auto &Cur = Files[i].Features;
163 // Files[i].Size, Cur.size());
165 AllFeatures.insert(Cur.begin(), Cur.end())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
DIEHash.cpp 86 const DIE *Cur = &Parent;
87 while (Cur->getParent()) {
88 Parents.push_back(Cur);
89 Cur = Cur->getParent();
91 assert(Cur->getTag() == dwarf::DW_TAG_compile_unit ||
92 Cur->getTag() == dwarf::DW_TAG_type_unit);
  /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
elf2yaml.cpp 816 DataExtractor::Cursor Cur(0);
817 while (Cur && Cur.tell() < Content.size()) {
818 uint64_t Address = Data.getAddress(Cur);
819 uint64_t Size = Data.getULEB128(Cur);
823 if (Content.empty() || !Cur) {
825 consumeError(Cur.takeError());
852 DataExtractor::Cursor Cur(0);
853 while (Cur && Cur.tell() < Content.size())
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
PseudoProbeInserter.cpp 92 auto Cur = MII++;
93 if (Cur->getOpcode() != TargetOpcode::PSEUDO_PROBE)
96 auto *ProbeInstr = &*Cur;
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->setHeightDirty()
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
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());
  /src/external/apache2/llvm/dist/llvm/lib/Option/
ArgList.cpp 177 StringRef Cur = getArgString(Index);
178 if (Cur.size() == LHS.size() + RHS.size() &&
179 Cur.startswith(LHS) && Cur.endswith(RHS))
180 return Cur.data();

Completed in 64 milliseconds

1 2 3