Home
last modified time | relevance | path

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

123456

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/FuzzMutate/
DOpDescriptor.h48 using PredT = std::function<bool(ArrayRef<Value *> Cur, const Value *New)>;
53 ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes)>;
63 Make = [Pred](ArrayRef<Value *> Cur, ArrayRef<Type *> BaseTypes) { in SourcePred()
68 if (Pred(Cur, V)) in SourcePred()
78 bool matches(ArrayRef<Value *> Cur, const Value *New) { in matches() argument
79 return Pred(Cur, New); in matches()
83 std::vector<Constant *> generate(ArrayRef<Value *> Cur, in generate() argument
85 return Make(Cur, BaseTypes); in generate()
196 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in matchFirstType()
197 assert(!Cur.empty() && "No first source yet"); in matchFirstType()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Decho.cpp779 LLVMValueRef Cur = First; in CloneBB() local
782 CloneInstruction(Cur, Builder); in CloneBB()
783 Next = LLVMGetNextInstruction(Cur); in CloneBB()
785 if (Cur != Last) in CloneBB()
791 if (Prev != Cur) in CloneBB()
794 Cur = Next; in CloneBB()
809 LLVMBasicBlockRef Cur = First; in CloneBBs() local
812 CloneBB(Cur); in CloneBBs()
814 Next = LLVMGetNextBasicBlock(Cur); in CloneBBs()
816 if (Cur != Last) in CloneBBs()
[all …]
/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.h57 const Byte *Cur; member
72 Lim = Cur = Buf; in Init()
77 UInt64 GetProcessed() const { return Processed + (Cur - Buf); } in GetProcessed()
81 if (Cur != Lim) in ReadByte()
82 return *Cur++; in ReadByte()
91 Byte *Cur; member
105 Cur = Buf; in Init()
110 UInt64 GetProcessed() const { return Processed + (Cur - Buf); } in GetProcessed()
114 *Cur++ = b; in WriteByte()
115 if (Cur == Lim) in WriteByte()
DCWrappers.cpp169 Lim = Cur = Buf = (Byte *)::MidAlloc((size_t)size); in Alloc()
180 Processed += (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()
228 size_t size = (Cur - Buf); in Flush()
232 Cur = Buf; in Flush()
240 Byte *dest = p->Cur; in Wrap_WriteByte()
242 p->Cur = ++dest; in Wrap_WriteByte()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp191 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in validExtractValueIndex() argument
193 if (!CI->uge(getAggregateNumElements(Cur[0]->getType()))) in validExtractValueIndex()
197 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *> Ts) { in validExtractValueIndex() argument
199 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validExtractValueIndex()
200 uint64_t N = getAggregateNumElements(Cur[0]->getType()); in validExtractValueIndex()
223 auto Pred = [](ArrayRef<Value *> Cur, const Value *V) { in matchScalarInAggregate() argument
224 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate()
227 auto *STy = cast<StructType>(Cur[0]->getType()); in matchScalarInAggregate()
233 auto Make = [](ArrayRef<Value *> Cur, ArrayRef<Type *>) { in matchScalarInAggregate() argument
234 if (auto *ArrayT = dyn_cast<ArrayType>(Cur[0]->getType())) in matchScalarInAggregate()
[all …]
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DRegistry.h85 const node *Cur; variable
88 explicit iterator(const node *N) : Cur(N) {} in iterator()
90 bool operator==(const iterator &That) const { return Cur == That.Cur; }
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; }
94 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/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/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_linux_mipsx.go152 Cur uint32 member
170 if rl.Cur == rlimInf32 {
171 rlim.Cur = rlimInf64
173 rlim.Cur = uint64(rl.Cur)
193 if rlim.Cur == rlimInf64 {
194 rl.Cur = rlimInf32
195 } else if rlim.Cur < uint64(rlimInf32) {
196 rl.Cur = uint32(rlim.Cur)
Dsyscall_linux_arm.go174 Cur uint32 member
195 if rl.Cur == rlimInf32 {
196 rlim.Cur = rlimInf64
198 rlim.Cur = uint64(rl.Cur)
218 if rlim.Cur == rlimInf64 {
219 rl.Cur = rlimInf32
220 } else if rlim.Cur < uint64(rlimInf32) {
221 rl.Cur = uint32(rlim.Cur)
Dsyscall_linux_386.go99 Cur uint32 member
120 if rl.Cur == rlimInf32 {
121 rlim.Cur = rlimInf64
123 rlim.Cur = uint64(rl.Cur)
143 if rlim.Cur == rlimInf64 {
144 rl.Cur = rlimInf32
145 } else if rlim.Cur < uint64(rlimInf32) {
146 rl.Cur = uint32(rlim.Cur)
/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-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/swiftshader/third_party/llvm-7.0/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/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/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 …]
/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 …]

123456