Home
last modified time | relevance | path

Searched refs:InstList (Results 1 – 25 of 26) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DBasicBlock.h60 InstListType InstList; variable
228 inline iterator begin() { return InstList.begin(); } in begin()
229 inline const_iterator begin() const { return InstList.begin(); } in begin()
230 inline iterator end () { return InstList.end(); } in end()
231 inline const_iterator end () const { return InstList.end(); } in end()
233 inline reverse_iterator rbegin() { return InstList.rbegin(); } in rbegin()
234 inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } in rbegin()
235 inline reverse_iterator rend () { return InstList.rend(); } in rend()
236 inline const_reverse_iterator rend () const { return InstList.rend(); } in rend()
238 inline size_t size() const { return InstList.size(); } in size()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DBasicBlock.h66 InstListType InstList; variable
273 inline iterator begin() { return InstList.begin(); } in begin()
274 inline const_iterator begin() const { return InstList.begin(); } in begin()
275 inline iterator end () { return InstList.end(); } in end()
276 inline const_iterator end () const { return InstList.end(); } in end()
278 inline reverse_iterator rbegin() { return InstList.rbegin(); } in rbegin()
279 inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } in rbegin()
280 inline reverse_iterator rend () { return InstList.rend(); } in rend()
281 inline const_reverse_iterator rend () const { return InstList.rend(); } in rend()
283 inline size_t size() const { return InstList.size(); } in size()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp88 InstListTy &InstList; member in __anoncc83284b0111::LegalizerWorkListManager
96 : InstList(Insts), ArtifactList(Arts) {} in LegalizerWorkListManager()
106 InstList.insert(&MI); in createdOrChangedInstr()
126 InstList.remove(&MI); in erasingInstr()
150 InstListTy InstList; in legalizeMachineFunction() local
167 InstList.deferred_insert(&MI); in legalizeMachineFunction()
171 InstList.finalize(); in legalizeMachineFunction()
174 LegalizerWorkListManager WorkListObserver(InstList, ArtifactList); in legalizeMachineFunction()
195 while (!InstList.empty()) { in legalizeMachineFunction()
196 MachineInstr &MI = *InstList.pop_back_val(); in legalizeMachineFunction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDDG.cpp104 : DDGNode(NodeKind::SingleInstruction), InstList() { in SimpleDDGNode()
105 assert(InstList.empty() && "Expected empty list."); in SimpleDDGNode()
106 InstList.push_back(&I); in SimpleDDGNode()
110 : DDGNode(N), InstList(N.InstList) { in SimpleDDGNode()
111 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode()
112 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode()
117 : DDGNode(std::move(N)), InstList(std::move(N.InstList)) { in SimpleDDGNode()
118 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode()
119 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode()
123 SimpleDDGNode::~SimpleDDGNode() { InstList.clear(); } in ~SimpleDDGNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp84 InstList.clear(); in ~BasicBlock()
89 InstList.setSymTabObject(&Parent, parent); in setParent()
145 if (InstList.empty() || !InstList.back().isTerminator()) in getTerminator()
147 return &InstList.back(); in getTerminator()
151 if (InstList.empty()) in getTerminatingMustTailCall()
153 const ReturnInst *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingMustTailCall()
154 if (!RI || RI == &InstList.front()) in getTerminatingMustTailCall()
182 if (InstList.empty()) in getTerminatingDeoptimizeCall()
184 auto *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingDeoptimizeCall()
185 if (!RI || RI == &InstList.front()) in getTerminatingDeoptimizeCall()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceTargetLowering.h85 Inst *getNextInst(InstList::iterator &Iter) const { in getNextInst()
93 InstList::iterator getCur() const { return Cur; } in getCur()
94 InstList::iterator getNext() const { return Next; } in getNext()
95 InstList::iterator getEnd() const { return End; } in getEnd()
105 void setCur(InstList::iterator C) { Cur = C; } in setCur()
106 void setNext(InstList::iterator N) { Next = N; } in setNext()
108 void setInsertPoint(const InstList::iterator &Position) { Next = Position; } in setInsertPoint()
119 InstList::iterator Cur;
127 InstList::iterator Next;
129 InstList::iterator Begin;
[all …]
DIceCfgNode.h77 InstList &getInsts() { return Insts; } in getInsts()
79 const InstList &getInsts() const { return Insts; } in getInsts()
149 InstList Insts; /// ordered list of non-phi instructions
DIceVariableSplitting.cpp189 void setInst(Inst *CurInst, InstList::iterator Cur, InstList::iterator Next) { in setInst()
429 InstList::iterator IterCur;
430 InstList::iterator IterNext;
535 InstList::iterator NextIter; in splitBlockLocalVariables()
DIceDefs.h127 using InstList = llvm::ilist<Inst>; variable
130 using PhiList = InstList;
131 using AssignList = InstList;
DIceInst.h1158 inline InstList::iterator instToIterator(Inst *Instr) {
1166 inline Inst *iteratorToInst(InstList::iterator Iter) { return &*Iter; }
1168 inline const Inst *iteratorToInst(InstList::const_iterator Iter) {
1172 inline InstList::iterator
1173 reverseToForwardIterator(InstList::reverse_iterator RI) {
DIceTargetLowering.cpp87 void LoweringContext::skipDeleted(InstList::iterator &I) const { in skipDeleted()
92 void LoweringContext::advanceForward(InstList::iterator &I) const { in advanceForward()
446 void TargetLowering::lowerInst(CfgNode *Node, InstList::iterator Next, in lowerInst()
502 auto Process = [&](InstList &Insts) { in getInstructionsInRange()
DIceRegAlloc.cpp406 InstList &Insts = Node->getInsts(); in addSpillFill()
407 InstList::iterator SpillPoint = Insts.end(); in addSpillFill()
408 InstList::iterator FillPoint = Insts.end(); in addSpillFill()
DIceCfg.h291 uint32_t CombinedAlignment, InstList &Insts,
DIceCfgNode.cpp184 InstList::iterator InsertionPoint = Insts.end(); in placePhiStores()
232 InstList::iterator SafeInsertionPoint = InsertionPoint; in placePhiStores()
622 InstList::iterator Orig = Context.getCur(); in genCode()
DIceCfg.cpp752 CfgUnorderedMap<Constant *, CfgVector<InstList::iterator>> FloatUses; in floatConstantCSE()
814 uint32_t CombinedAlignment, InstList &Insts, in sortAndCombineAllocas()
994 InstList &Insts = getEntryNode()->getInsts(); in processAllocas()
DIceASanInstrumentation.cpp445 InstList::iterator Next = Context.getNext(); in instrumentAccess()
DIceTargetLoweringX8664.cpp1149 InstList &Insts = Node->getInsts(); in addEpilog()
1150 InstList::reverse_iterator RI, E; in addEpilog()
1160 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog()
3880 InstList::iterator I = Context.getCur(); in tryOptimizedCmpxchgCmpBr()
DIceTargetLoweringX8632.cpp1167 InstList &Insts = Node->getInsts(); in addEpilog()
1168 InstList::reverse_iterator RI, E; in addEpilog()
1178 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog()
4364 InstList::iterator I = Context.getCur(); in tryOptimizedCmpxchgCmpBr()
DIceTargetLoweringMIPS32.cpp1721 InstList &Insts = Node->getInsts(); in addEpilog()
1722 InstList::reverse_iterator RI, E; in addEpilog()
1732 InstList::iterator InsertPoint = reverseToForwardIterator(RI); in addEpilog()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDDG.h116 InstList = N.InstList;
122 InstList = std::move(N.InstList);
128 assert(!InstList.empty() && "Instruction List is empty."); in getInstructions()
129 return InstList; in getInstructions()
150 setKind((InstList.size() == 0 && Input.size() == 1) in appendInstructions()
153 InstList.insert(InstList.end(), Input.begin(), Input.end()); in appendInstructions()
160 SmallVector<Instruction *, 2> InstList; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DWasmEHPrepare.cpp193 auto &InstList = BB->getInstList(); in prepareThrows() local
194 InstList.erase(std::next(BasicBlock::iterator(ThrowI)), InstList.end()); in prepareThrows()
DCodeGenPrepare.cpp2136 BasicBlock::InstListType &InstList = (*PI)->getInstList(); in dupRetToEnableTailCallOpts() local
2137 BasicBlock::InstListType::reverse_iterator RI = InstList.rbegin(); in dupRetToEnableTailCallOpts()
2138 BasicBlock::InstListType::reverse_iterator RE = InstList.rend(); in dupRetToEnableTailCallOpts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.cpp615 InstListTy &InstList; member in __anonc9ad315f0111::InstManager
618 InstManager(InstListTy &Insts) : InstList(Insts) {} in InstManager()
620 void createdInstr(MachineInstr &MI) override { InstList.insert(&MI); } in createdInstr()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DOptimizer.cpp133 Ice::InstList &instList = entryBlock->getInsts(); in propagateAlloca()
204 Ice::InstList &instList = entryBlock->getInsts(); in performScalarReplacementOfAggregates()
/third_party/spirv-tools/source/diff/
Ddiff.cpp459 template <typename InstList>
461 const InstList& src_insts, const InstList& dst_insts,
2526 template <typename InstList>
2528 const InstList& src_insts, const InstList& dst_insts, in OutputSection()

12