Home
last modified time | relevance | path

Searched refs:Cur (Results 1 – 25 of 62) sorted by relevance

123

/external/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp401 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 …]
DIceRegAlloc.h62 Variable *Cur = nullptr; variable
98 void handleActiveRangeExpiredOrInactive(const Variable *Cur);
100 void handleInactiveRangeExpiredOrReactivated(const Variable *Cur);
104 void allocatePrecoloredRegister(Variable *Cur);
DIceELFSection.cpp231 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()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DRegistry.h69 for (listener *Cur = ListenerHead; Cur; Cur = Cur->Next) in Announce() local
70 Cur->registered(E); in Announce()
104 const node *Cur; variable
107 explicit iterator(const node *N) : Cur(N) {} in iterator()
109 bool operator==(const iterator &That) const { return Cur == That.Cur; }
110 bool operator!=(const iterator &That) const { return Cur != That.Cur; }
111 iterator &operator++() { Cur = Cur->Next; return *this; }
112 const entry &operator*() const { return Cur->Val; }
113 const entry *operator->() const { return &Cur->Val; }
Dcircular_raw_ostream.h60 char *Cur; variable
77 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer()
79 TheStream->write(BufferArray, Cur - BufferArray); in flushBuffer()
80 Cur = BufferArray; in flushBuffer()
120 Cur = BufferArray; in raw_ostream()
130 Cur = BufferArray; in circular_raw_ostream()
/external/llvm/tools/llvm-c-test/
Decho.cpp706 LLVMValueRef Cur = First; in CloneBB() local
709 CloneInstruction(Cur, Builder); in CloneBB()
710 Next = LLVMGetNextInstruction(Cur); in CloneBB()
712 if (Cur != Last) in CloneBB()
718 if (Prev != Cur) in CloneBB()
721 Cur = Next; in CloneBB()
736 LLVMBasicBlockRef Cur = First; in CloneBBs() local
739 CloneBB(Cur); in CloneBBs()
741 Next = LLVMGetNextBasicBlock(Cur); in CloneBBs()
743 if (Cur != Last) in CloneBBs()
[all …]
/external/lzma/CPP/7zip/Common/
DCWrappers.h52 const Byte *Cur; member
67 Lim = Cur = Buf; in Init()
72 UInt64 GetProcessed() const { return Processed + (Cur - Buf); } in GetProcessed()
76 if (Cur != Lim) in ReadByte()
77 return *Cur++; in ReadByte()
85 Byte *Cur; member
99 Cur = Buf; in Init()
104 UInt64 GetProcessed() const { return Processed + (Cur - Buf); } in GetProcessed()
108 *Cur++ = b; in WriteByte()
109 if (Cur == Lim) in WriteByte()
DCWrappers.cpp149 Lim = Cur = Buf = (Byte *)::MidAlloc((size_t)size); in Alloc()
160 Processed += (Cur - Buf); in ReadByteFromNewBlock()
162 Cur = Buf; in ReadByteFromNewBlock()
165 return *Cur++; in ReadByteFromNewBlock()
174 if (p->Cur != p->Lim) in Wrap_ReadByte()
175 return *p->Cur++; in Wrap_ReadByte()
208 size_t size = (Cur - Buf); in Flush()
212 Cur = Buf; in Flush()
220 Byte *dest = p->Cur; in Wrap_WriteByte()
222 p->Cur = ++dest; in Wrap_WriteByte()
/external/clang/lib/AST/
DTypeLoc.cpp171 TypeLoc Cur = *this; in getBeginLoc() local
172 TypeLoc LeftMost = Cur; in getBeginLoc()
174 switch (Cur.getTypeLocClass()) { in getBeginLoc()
176 LeftMost = Cur; in getBeginLoc()
179 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc()
181 LeftMost = Cur; in getBeginLoc()
192 Cur = Cur.getNextTypeLoc(); in getBeginLoc()
195 if (Cur.getLocalSourceRange().getBegin().isValid()) in getBeginLoc()
196 LeftMost = Cur; in getBeginLoc()
197 Cur = Cur.getNextTypeLoc(); in getBeginLoc()
[all …]
/external/llvm/include/llvm/Support/
DRegistry.h83 const node *Cur; variable
86 explicit iterator(const node *N) : Cur(N) {} in iterator()
88 bool operator==(const iterator &That) const { return Cur == That.Cur; }
89 bool operator!=(const iterator &That) const { return Cur != That.Cur; }
90 iterator &operator++() { Cur = Cur->Next; return *this; }
91 const entry &operator*() const { return Cur->Val; }
92 const entry *operator->() const { return &Cur->Val; }
Dcircular_raw_ostream.h59 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()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
Dcircular_raw_ostream.h59 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()
/external/swiftshader/third_party/LLVM/lib/Support/
Dcircular_raw_ostream.cpp27 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()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
Dcircular_raw_ostream.cpp27 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()
/external/llvm/lib/Support/
Dcircular_raw_ostream.cpp27 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()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp238 Instruction *Cur = Worklist.back(); in AddReductionVar() local
244 if (Cur->use_empty()) in AddReductionVar()
247 bool IsAPhi = isa<PHINode>(Cur); in AddReductionVar()
250 if (Cur != Phi && IsAPhi && Cur->getParent() == Phi->getParent()) in AddReductionVar()
255 if (!Cur->isCommutative() && !IsAPhi && !isa<SelectInst>(Cur) && in AddReductionVar()
256 !isa<ICmpInst>(Cur) && !isa<FCmpInst>(Cur) && in AddReductionVar()
257 !VisitedInsts.count(dyn_cast<Instruction>(Cur->getOperand(0)))) in AddReductionVar()
263 if (Cur != Start) { in AddReductionVar()
264 ReduxDesc = isRecurrenceInstr(Cur, Kind, ReduxDesc, HasFunNoNaNAttr); in AddReductionVar()
271 hasMultipleUsesOf(Cur, VisitedInsts)) in AddReductionVar()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenInstruction.cpp356 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) { in FlattenAsmStringVariants() argument
362 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart) in FlattenAsmStringVariants()
363 if (Cur[VariantsStart] == '{' && in FlattenAsmStringVariants()
364 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' && in FlattenAsmStringVariants()
365 Cur[VariantsStart-1] != '\\'))) in FlattenAsmStringVariants()
369 Res += Cur.slice(0, VariantsStart); in FlattenAsmStringVariants()
370 if (VariantsStart == Cur.size()) in FlattenAsmStringVariants()
378 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) { in FlattenAsmStringVariants()
379 if (Cur[VariantsEnd] == '}' && Cur[VariantsEnd-1] != '\\') { in FlattenAsmStringVariants()
382 } else if (Cur[VariantsEnd] == '{') in FlattenAsmStringVariants()
[all …]
DDAGISelMatcher.cpp40 Matcher *Cur = this; in unlinkNode() local
41 for (; Cur && Cur->getNext() != Other; Cur = Cur->getNext()) in unlinkNode()
44 if (Cur == 0) return 0; in unlinkNode()
45 Cur->takeNext(); in unlinkNode()
46 Cur->setNext(Other->takeNext()); in unlinkNode()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DScheduleDAG.cpp228 SUnit *Cur = WorkList.back(); in ComputeDepth() local
232 for (SUnit::const_pred_iterator I = Cur->Preds.begin(), in ComputeDepth()
233 E = Cur->Preds.end(); I != E; ++I) { in ComputeDepth()
246 if (MaxPredDepth != Cur->Depth) { in ComputeDepth()
247 Cur->setDepthDirty(); in ComputeDepth()
248 Cur->Depth = MaxPredDepth; in ComputeDepth()
250 Cur->isDepthCurrent = true; in ComputeDepth()
261 SUnit *Cur = WorkList.back(); in ComputeHeight() local
265 for (SUnit::const_succ_iterator I = Cur->Succs.begin(), in ComputeHeight()
266 E = Cur->Succs.end(); I != E; ++I) { in ComputeHeight()
[all …]
/external/llvm/lib/CodeGen/
DScheduleDAG.cpp238 SUnit *Cur = WorkList.back(); in ComputeDepth() local
242 for (SUnit::const_pred_iterator I = Cur->Preds.begin(), in ComputeDepth()
243 E = Cur->Preds.end(); I != E; ++I) { in ComputeDepth()
256 if (MaxPredDepth != Cur->Depth) { in ComputeDepth()
257 Cur->setDepthDirty(); in ComputeDepth()
258 Cur->Depth = MaxPredDepth; in ComputeDepth()
260 Cur->isDepthCurrent = true; in ComputeDepth()
271 SUnit *Cur = WorkList.back(); in ComputeHeight() local
275 for (SUnit::const_succ_iterator I = Cur->Succs.begin(), in ComputeHeight()
276 E = Cur->Succs.end(); I != E; ++I) { in ComputeHeight()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerTraceState.cpp392 for (const uint8_t *Cur = Beg; Cur < End; Cur++) { in TryToAddDesiredData() local
393 Cur = (uint8_t *)memmem(Cur, End - Cur, &PresentData, DataSize); in TryToAddDesiredData()
394 if (!Cur) in TryToAddDesiredData()
396 size_t Pos = Cur - Beg; in TryToAddDesiredData()
415 for (const uint8_t *Cur = Beg; Cur < End; Cur++) { in TryToAddDesiredData() local
416 Cur = (uint8_t *)memmem(Cur, End - Cur, PresentData, DataSize); in TryToAddDesiredData()
417 if (!Cur) in TryToAddDesiredData()
419 size_t Pos = Cur - Beg; in TryToAddDesiredData()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp387 FlattenAsmStringVariants(StringRef Cur, unsigned Variant) { in FlattenAsmStringVariants() argument
393 for (size_t e = Cur.size(); VariantsStart != e; ++VariantsStart) in FlattenAsmStringVariants()
394 if (Cur[VariantsStart] == '{' && in FlattenAsmStringVariants()
395 (VariantsStart == 0 || (Cur[VariantsStart-1] != '$' && in FlattenAsmStringVariants()
396 Cur[VariantsStart-1] != '\\'))) in FlattenAsmStringVariants()
400 Res += Cur.slice(0, VariantsStart); in FlattenAsmStringVariants()
401 if (VariantsStart == Cur.size()) in FlattenAsmStringVariants()
409 for (size_t e = Cur.size(); VariantsEnd != e; ++VariantsEnd) { in FlattenAsmStringVariants()
410 if (Cur[VariantsEnd] == '}' && Cur[VariantsEnd-1] != '\\') { in FlattenAsmStringVariants()
413 } else if (Cur[VariantsEnd] == '{') in FlattenAsmStringVariants()
[all …]
DDAGISelMatcher.cpp42 Matcher *Cur = this; in unlinkNode() local
43 for (; Cur && Cur->getNext() != Other; Cur = Cur->getNext()) in unlinkNode()
46 if (!Cur) return nullptr; in unlinkNode()
47 Cur->takeNext(); in unlinkNode()
48 Cur->setNext(Other->takeNext()); in unlinkNode()
/external/llvm/lib/Analysis/
DAliasSetTracker.cpp219 iterator Cur = I++; in mergeAliasSetsForPointer() local
220 if (Cur->Forward || !Cur->aliasesPointer(Ptr, Size, AAInfo, AA)) continue; in mergeAliasSetsForPointer()
223 FoundSet = &*Cur; // Remember it. in mergeAliasSetsForPointer()
225 FoundSet->mergeSetIn(*Cur, *this); // Merge in contents. in mergeAliasSetsForPointer()
253 iterator Cur = I++; in findAliasSetForUnknownInst() local
254 if (Cur->Forward || !Cur->aliasesUnknownInst(Inst, AA)) in findAliasSetForUnknownInst()
257 FoundSet = &*Cur; // Remember it. in findAliasSetForUnknownInst()
258 else if (!Cur->Forward) // Otherwise, we must merge the sets. in findAliasSetForUnknownInst()
259 FoundSet->mergeSetIn(*Cur, *this); // Merge in contents. in findAliasSetForUnknownInst()
561 iterator Cur = I++; in deleteValue() local
[all …]
/external/honggfuzz/docs/
DFeedbackDrivenFuzzing.md68 …[2094] fuzz_sanCovFeedback():463 SanCov Update: file size (Cur): 2141, newBBs:9, counters (Cur,New…
171 …100][I][14944] fuzz_perfFeedback():420 New: (Size New,Old): 257,257, Perf (Cur,New): 0/0/0/0/0/0,0…
214 …0][I][17406] fuzz_perfFeedback():420 New: (Size New,Old): 2497,2496, Perf (Cur,New): 1369752/0/0/0…
215 …0][I][17406] fuzz_perfFeedback():420 New: (Size New,Old): 2497,2497, Perf (Cur,New): 1371747/0/0/0…
216 …0][I][17406] fuzz_perfFeedback():420 New: (Size New,Old): 2497,2497, Perf (Cur,New): 1372273/0/0/0…
217 …0][I][17406] fuzz_perfFeedback():420 New: (Size New,Old): 2497,2497, Perf (Cur,New): 1372390/0/0/0…
239 …0][I][16738] fuzz_perfFeedback():420 New: (Size New,Old): 2500,2500, Perf (Cur,New): 0/0/0/0/0/0,0…
240 …0][I][16738] fuzz_perfFeedback():420 New: (Size New,Old): 2500,2500, Perf (Cur,New): 0/258259/0/0/…
241 …0][I][16738] fuzz_perfFeedback():420 New: (Size New,Old): 2500,2500, Perf (Cur,New): 0/258260/0/0/…
242 …0][I][16738] fuzz_perfFeedback():420 New: (Size New,Old): 2500,2500, Perf (Cur,New): 0/258261/0/0/…

123