Home
last modified time | relevance | path

Searched refs:Prev (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/external/llvm-project/clang/lib/AST/Interp/
DInterpBlock.cpp25 Pointers->Prev = P; in addPointer()
27 P->Prev = nullptr; in addPointer()
36 if (P->Prev) in removePointer()
37 P->Prev->Next = P->Next; in removePointer()
39 P->Next->Prev = P->Prev; in removePointer()
50 To->Prev = From->Prev; in movePointer()
51 if (To->Prev) in movePointer()
52 To->Prev->Next = To; in movePointer()
55 To->Next->Prev = To; in movePointer()
59 From->Prev = nullptr; in movePointer()
[all …]
/external/scudo/standalone/
Dlist.h113 void extract(T *Prev, T *X) { in extract()
115 DCHECK_NE(Prev, nullptr); in extract()
117 DCHECK_EQ(Prev->Next, X); in extract()
118 Prev->Next = X->Next; in extract()
120 Last = Prev; in extract()
146 X->Prev = nullptr; in push_front()
150 DCHECK_EQ(First->Prev, nullptr); in push_front()
151 First->Prev = X; in push_front()
162 T *Prev = Y->Prev; in insert() local
165 CHECK_EQ(Prev->Next, Y); in insert()
[all …]
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dlist.h113 void extract(T *Prev, T *X) { in extract()
115 DCHECK_NE(Prev, nullptr); in extract()
117 DCHECK_EQ(Prev->Next, X); in extract()
118 Prev->Next = X->Next; in extract()
120 Last = Prev; in extract()
146 X->Prev = nullptr; in push_front()
150 DCHECK_EQ(First->Prev, nullptr); in push_front()
151 First->Prev = X; in push_front()
162 T *Prev = Y->Prev; in insert() local
165 CHECK_EQ(Prev->Next, Y); in insert()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_base.h26 node_base_type &Prev = *Next.getPrev(); in insertBeforeImpl() local
28 N.setPrev(&Prev); in insertBeforeImpl()
29 Prev.setNext(&N); in insertBeforeImpl()
34 node_base_type *Prev = N.getPrev(); in removeImpl() local
36 Next->setPrev(Prev); in removeImpl()
37 Prev->setNext(Next); in removeImpl()
45 node_base_type *Prev = First.getPrev(); in removeRangeImpl() local
47 Last.setPrev(Prev); in removeRangeImpl()
48 Prev->setNext(&Last); in removeRangeImpl()
72 node_base_type &Prev = *Next.getPrev(); in transferBeforeImpl() local
[all …]
Dilist_node_base.h23 ilist_node_base *Prev = nullptr; variable
27 void setPrev(ilist_node_base *Prev) { this->Prev = Prev; } in setPrev() argument
29 ilist_node_base *getPrev() const { return Prev; } in getPrev()
41 void setPrev(ilist_node_base *Prev) { PrevAndSentinel.setPointer(Prev); } in setPrev() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSparseMultiSet.h100 unsigned Prev; member
103 SMSNode(ValueT D, unsigned P, unsigned N) : Data(D), Prev(P), Next(N) {} in SMSNode()
112 return Prev == INVALID; in isTombstone()
117 bool isValid() const { return Prev != INVALID; } in isValid()
146 return Dense[D.Prev].isTail(); in isHead()
154 return &Dense[N.Prev] == &N; in isSingleton()
159 unsigned addValue(const ValueT& V, unsigned Prev, unsigned Next) { in addValue() argument
161 Dense.push_back(SMSNode(V, Prev, Next)); in addValue()
170 Dense[Idx] = SMSNode(V, Prev, Next); in addValue()
178 Dense[Idx].Prev = SMSNode::INVALID; in makeTombstone()
[all …]
Dilist_base.h23 node_base_type &Prev = *Next.getPrev(); in insertBeforeImpl() local
25 N.setPrev(&Prev); in insertBeforeImpl()
26 Prev.setNext(&N); in insertBeforeImpl()
31 node_base_type *Prev = N.getPrev(); in removeImpl() local
33 Next->setPrev(Prev); in removeImpl()
34 Prev->setNext(Next); in removeImpl()
42 node_base_type *Prev = First.getPrev(); in removeRangeImpl() local
44 Last.setPrev(Prev); in removeRangeImpl()
45 Prev->setNext(&Last); in removeRangeImpl()
69 node_base_type &Prev = *Next.getPrev(); in transferBeforeImpl() local
[all …]
Dilist_node_base.h22 ilist_node_base *Prev = nullptr; variable
26 void setPrev(ilist_node_base *Prev) { this->Prev = Prev; } in setPrev() argument
28 ilist_node_base *getPrev() const { return Prev; } in getPrev()
40 void setPrev(ilist_node_base *Prev) { PrevAndSentinel.setPointer(Prev); } in setPrev() argument
/external/llvm-project/llvm/include/llvm/ADT/
DSparseMultiSet.h100 unsigned Prev; member
103 SMSNode(ValueT D, unsigned P, unsigned N) : Data(D), Prev(P), Next(N) {} in SMSNode()
112 return Prev == INVALID; in isTombstone()
117 bool isValid() const { return Prev != INVALID; } in isValid()
146 return Dense[D.Prev].isTail(); in isHead()
154 return &Dense[N.Prev] == &N; in isSingleton()
159 unsigned addValue(const ValueT& V, unsigned Prev, unsigned Next) { in addValue() argument
161 Dense.push_back(SMSNode(V, Prev, Next)); in addValue()
170 Dense[Idx] = SMSNode(V, Prev, Next); in addValue()
178 Dense[Idx].Prev = SMSNode::INVALID; in makeTombstone()
[all …]
Dilist_base.h23 node_base_type &Prev = *Next.getPrev(); in insertBeforeImpl() local
25 N.setPrev(&Prev); in insertBeforeImpl()
26 Prev.setNext(&N); in insertBeforeImpl()
31 node_base_type *Prev = N.getPrev(); in removeImpl() local
33 Next->setPrev(Prev); in removeImpl()
34 Prev->setNext(Next); in removeImpl()
42 node_base_type *Prev = First.getPrev(); in removeRangeImpl() local
44 Last.setPrev(Prev); in removeRangeImpl()
45 Prev->setNext(&Last); in removeRangeImpl()
69 node_base_type &Prev = *Next.getPrev(); in transferBeforeImpl() local
[all …]
Dilist_node_base.h22 ilist_node_base *Prev = nullptr; variable
26 void setPrev(ilist_node_base *Prev) { this->Prev = Prev; } in setPrev() argument
28 ilist_node_base *getPrev() const { return Prev; } in getPrev()
40 void setPrev(ilist_node_base *Prev) { PrevAndSentinel.setPointer(Prev); } in setPrev() argument
/external/llvm/include/llvm/ADT/
DSparseMultiSet.h93 unsigned Prev; member
96 SMSNode(ValueT D, unsigned P, unsigned N) : Data(D), Prev(P), Next(N) { } in SMSNode()
105 return Prev == INVALID; in isTombstone()
110 bool isValid() const { return Prev != INVALID; } in isValid()
144 return Dense[D.Prev].isTail(); in isHead()
152 return &Dense[N.Prev] == &N; in isSingleton()
157 unsigned addValue(const ValueT& V, unsigned Prev, unsigned Next) { in addValue() argument
159 Dense.push_back(SMSNode(V, Prev, Next)); in addValue()
168 Dense[Idx] = SMSNode(V, Prev, Next); in addValue()
176 Dense[Idx].Prev = SMSNode::INVALID; in makeTombstone()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c235 emit1(c, inst->Prev, RC_OPCODE_MOV, &inst->U.I, inst->U.I.DstReg, src); in transform_ABS()
253 emit1(c, inst->Prev, RC_OPCODE_FRC, 0, dst, negate(inst->U.I.SrcReg[0])); in transform_CEIL()
254 emit2(c, inst->Prev, RC_OPCODE_ADD, &inst->U.I, inst->U.I.DstReg, in transform_CEIL()
268 emit2(c, inst->Prev, RC_OPCODE_MIN, 0, dst, in transform_CLAMP()
270 emit2(c, inst->Prev, RC_OPCODE_MAX, &inst->U.I, inst->U.I.DstReg, in transform_CLAMP()
286 emit2(c, inst->Prev, RC_OPCODE_DP3, &inst->U.I, inst->U.I.DstReg, src0, src1); in transform_DP2()
297 emit2(c, inst->Prev, RC_OPCODE_DP4, &inst->U.I, inst->U.I.DstReg, src0, inst->U.I.SrcReg[1]); in transform_DPH()
308 emit2(c, inst->Prev, RC_OPCODE_MUL, &inst->U.I, inst->U.I.DstReg, in transform_DST()
318 emit1(c, inst->Prev, RC_OPCODE_FRC, 0, dst, inst->U.I.SrcReg[0]); in transform_FLR()
319 emit2(c, inst->Prev, RC_OPCODE_ADD, &inst->U.I, inst->U.I.DstReg, in transform_FLR()
[all …]
Dradeon_list.c40 new->Prev = NULL; in rc_list()
57 new_value->Prev = temp; in rc_list_add()
67 rm_value->Prev->Next = rm_value->Next; in rc_list_remove()
69 rm_value->Next->Prev = rm_value->Prev; in rc_list_remove()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp192 auto Prev = Funcs.end(); in finalize() local
196 if (Prev != Funcs.end()) { in finalize()
197 if (Prev->Range.intersects(Curr->Range)) { in finalize()
199 if (Prev->Range == Curr->Range) { in finalize()
204 if (*Prev == *Curr) { in finalize()
209 Curr = Funcs.erase(Prev); in finalize()
211 if (!Prev->hasRichInfo() && Curr->hasRichInfo()) { in finalize()
214 Curr = Funcs.erase(Prev); in finalize()
218 << *Prev << "\nIn favor of this one:\n" in finalize()
220 Curr = Funcs.erase(Prev); in finalize()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantDeclarationCheck.cpp47 const auto *Prev = D->getPreviousDecl(); in check() local
48 if (!Prev) in check()
50 if (!Prev->getLocation().isValid()) in check()
52 if (Prev->getLocation() == D->getLocation()) in check()
55 (D->getLocation().isMacroID() || Prev->getLocation().isMacroID())) in check()
58 for (const auto &Parent : Result.Context->getParents(*Prev)) in check()
66 !SM.isWrittenInSameFile(Prev->getLocation(), D->getLocation()); in check()
87 diag(Prev->getLocation(), "previously declared here", DiagnosticIDs::Note); in check()
/external/llvm-project/llvm/lib/IR/
DUse.cpp22 std::swap(Prev, RHS.Prev); in swap()
24 *Prev = this; in swap()
26 Next->Prev = &Next; in swap()
28 *RHS.Prev = &RHS; in swap()
30 RHS.Next->Prev = &RHS.Next; in swap()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp199 auto Prev = Funcs.end(); in finalize() local
203 if (Prev != Funcs.end()) { in finalize()
204 if (Prev->Range.intersects(Curr->Range)) { in finalize()
206 if (Prev->Range == Curr->Range) { in finalize()
211 if (*Prev == *Curr) { in finalize()
215 Curr = Funcs.erase(Prev); in finalize()
217 if (!Prev->hasRichInfo() && Curr->hasRichInfo()) { in finalize()
220 Curr = Funcs.erase(Prev); in finalize()
224 << *Prev << "\nIn favor of this one:\n" in finalize()
226 Curr = Funcs.erase(Prev); in finalize()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DUse.h96 Use **Prev = nullptr; variable
102 Next->Prev = &Next; in addToList()
103 Prev = List; in addToList()
104 *Prev = this; in addToList()
108 *Prev = Next; in removeFromList()
110 Next->Prev = Prev; in removeFromList()
/external/llvm-project/compiler-rt/lib/xray/
Dxray_segmented_array.h35 Segment *Prev; member
119 DCHECK_NE(S->Prev, &SentinelSegment);
120 S = S->Prev;
222 DCHECK_EQ(Freelist->Prev, &SentinelSegment); in NewSegment()
241 Freelist->Prev = &SentinelSegment; in NewSegment()
244 FreeSegment->Prev = &SentinelSegment; in NewSegment()
247 DCHECK_EQ(Freelist->Prev, &SentinelSegment); in NewSegment()
269 DCHECK_EQ(S->Prev, &SentinelSegment); in InitHeadAndTail()
275 DCHECK_EQ(Tail->Prev, &SentinelSegment); in InitHeadAndTail()
285 DCHECK_EQ(S->Prev, &SentinelSegment); in AppendNewSegment()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerTracePC.cpp36 static thread_local uintptr_t Prev; variable
39 if (Prev) { in PcMapResetCurrent()
40 Prev = 0; in PcMapResetCurrent()
46 if (!Prev) in PcMapMergeInto()
53 uintptr_t Next = (Prev << 5) ^ (PC & 4095); in HandlePC()
55 Prev = Next; in HandlePC()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyDebugFixup.cpp110 auto Prev = Stack.back(); in runOnMachineFunction() local
112 assert(Prev.Reg == MO.getReg() && in runOnMachineFunction()
114 if (Prev.DebugValue) { in runOnMachineFunction()
119 BuildMI(*Prev.DebugValue->getParent(), std::next(MII), in runOnMachineFunction()
120 Prev.DebugValue->getDebugLoc(), TII->get(WebAssembly::DBG_VALUE), false, in runOnMachineFunction()
121 Register(), Prev.DebugValue->getOperand(2).getMetadata(), in runOnMachineFunction()
122 Prev.DebugValue->getOperand(3).getMetadata()); in runOnMachineFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DAMDGPUEmitPrintf.cpp99 auto *Prev = Builder.GetInsertBlock(); in getStrlenWithNull() local
100 Module *M = Prev->getModule(); in getStrlenWithNull()
114 if (Prev->getTerminator()) { in getStrlenWithNull()
115 Join = Prev->splitBasicBlock(Builder.GetInsertPoint(), in getStrlenWithNull()
117 Prev->getTerminator()->eraseFromParent(); in getStrlenWithNull()
120 Prev->getParent()); in getStrlenWithNull()
124 Prev->getParent(), Join); in getStrlenWithNull()
127 Prev->getParent(), Join); in getStrlenWithNull()
130 Builder.SetInsertPoint(Prev); in getStrlenWithNull()
133 BranchInst::Create(Join, While, CmpNull, Prev); in getStrlenWithNull()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMacroParenthesesCheck.cpp170 const Token &Prev = *(TI - 1); in argument() local
191 if (isSurroundedLeft(Prev) && isSurroundedRight(Next)) in argument()
195 if (Prev.isOneOf(tok::hash, tok::hashhash) || Next.is(tok::hashhash)) in argument()
199 if (Prev.isOneOf(tok::period, tok::arrow, tok::coloncolon, tok::arrowstar, in argument()
208 if (isStringLiteral(Prev.getKind()) || isStringLiteral(Next.getKind())) in argument()
212 if (isAnyIdentifier(Prev.getKind()) || isKeyword(Prev) || in argument()
221 if (Prev.is(tok::l_paren) && Next.is(tok::star) && in argument()
226 if (Prev.isOneOf(tok::equal, tok::kw_return) && Next.is(tok::semi)) in argument()
230 if (PP->getLangOpts().CPlusPlus && Prev.isOneOf(tok::comma, tok::less) && in argument()
235 if (Prev.is(tok::kw_namespace)) in argument()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeTableCollection.cpp29 Optional<TypeIndex> TypeTableCollection::getNext(TypeIndex Prev) { in getNext() argument
30 assert(contains(Prev)); in getNext()
31 ++Prev; in getNext()
32 if (Prev.toArrayIndex() == size()) in getNext()
34 return Prev; in getNext()

12345678910>>...14