Home
last modified time | relevance | path

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

12

/external/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 …]
/external/llvm/include/llvm/IR/
DBasicBlock.h59 InstListType InstList;
227 inline iterator begin() { return InstList.begin(); }
228 inline const_iterator begin() const { return InstList.begin(); }
229 inline iterator end () { return InstList.end(); }
230 inline const_iterator end () const { return InstList.end(); }
232 inline reverse_iterator rbegin() { return InstList.rbegin(); }
233 inline const_reverse_iterator rbegin() const { return InstList.rbegin(); }
234 inline reverse_iterator rend () { return InstList.rend(); }
235 inline const_reverse_iterator rend () const { return InstList.rend(); }
237 inline size_t size() const { return InstList.size(); }
[all …]
/external/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 …]
/external/llvm-project/llvm/include/llvm/IR/
DBasicBlock.h67 InstListType InstList; variable
296 inline iterator begin() { return InstList.begin(); } in begin()
297 inline const_iterator begin() const { return InstList.begin(); } in begin()
298 inline iterator end () { return InstList.end(); } in end()
299 inline const_iterator end () const { return InstList.end(); } in end()
301 inline reverse_iterator rbegin() { return InstList.rbegin(); } in rbegin()
302 inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } in rbegin()
303 inline reverse_iterator rend () { return InstList.rend(); } in rend()
304 inline const_reverse_iterator rend () const { return InstList.rend(); } in rend()
306 inline size_t size() const { return InstList.size(); } in size()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp88 InstListTy &InstList; member in __anon8dfedcab0111::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 …]
/external/llvm/lib/IR/
DBasicBlock.cpp85 InstList.clear(); in ~BasicBlock()
90 InstList.setSymTabObject(&Parent, parent); in setParent()
125 if (InstList.empty()) return nullptr; in getTerminator()
126 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
130 if (InstList.empty()) return nullptr; in getTerminator()
131 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
135 if (InstList.empty()) in getTerminatingMustTailCall()
137 ReturnInst *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingMustTailCall()
138 if (!RI || RI == &InstList.front()) in getTerminatingMustTailCall()
166 if (InstList.empty()) in getTerminatingDeoptimizeCall()
[all …]
/external/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()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp113 InstListTy &InstList; member in __anon840773370111::LegalizerWorkListManager
121 : InstList(Insts), ArtifactList(Arts) {} in LegalizerWorkListManager()
131 InstList.insert(&MI); in createdOrChangedInstr()
150 InstList.remove(&MI); in erasingInstr()
176 InstListTy InstList; in legalizeMachineFunction() local
193 InstList.deferred_insert(&MI); in legalizeMachineFunction()
197 InstList.finalize(); in legalizeMachineFunction()
200 LegalizerWorkListManager WorkListObserver(InstList, ArtifactList); in legalizeMachineFunction()
221 while (!InstList.empty()) { in legalizeMachineFunction()
222 MachineInstr &MI = *InstList.pop_back_val(); in legalizeMachineFunction()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DDDG.cpp109 : DDGNode(NodeKind::SingleInstruction), InstList() { in SimpleDDGNode()
110 assert(InstList.empty() && "Expected empty list."); in SimpleDDGNode()
111 InstList.push_back(&I); in SimpleDDGNode()
115 : DDGNode(N), InstList(N.InstList) { in SimpleDDGNode()
116 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode()
117 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode()
122 : DDGNode(std::move(N)), InstList(std::move(N.InstList)) { in SimpleDDGNode()
123 assert(((getKind() == NodeKind::SingleInstruction && InstList.size() == 1) || in SimpleDDGNode()
124 (getKind() == NodeKind::MultiInstruction && InstList.size() > 1)) && in SimpleDDGNode()
128 SimpleDDGNode::~SimpleDDGNode() { InstList.clear(); } in ~SimpleDDGNode()
/external/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 …]
/external/llvm-project/llvm/lib/IR/
DBasicBlock.cpp90 InstList.clear(); in ~BasicBlock()
95 InstList.setSymTabObject(&Parent, parent); in setParent()
149 if (InstList.empty() || !InstList.back().isTerminator()) in getTerminator()
151 return &InstList.back(); in getTerminator()
155 if (InstList.empty()) in getTerminatingMustTailCall()
157 const ReturnInst *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingMustTailCall()
158 if (!RI || RI == &InstList.front()) in getTerminatingMustTailCall()
186 if (InstList.empty()) in getTerminatingDeoptimizeCall()
188 auto *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingDeoptimizeCall()
189 if (!RI || RI == &InstList.front()) in getTerminatingDeoptimizeCall()
[all …]
/external/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()
DIceCfgNode.cpp184 InstList::iterator InsertionPoint = Insts.end(); in placePhiStores()
232 InstList::iterator SafeInsertionPoint = InsertionPoint; in placePhiStores()
622 InstList::iterator Orig = Context.getCur(); in genCode()
1138 BundleEmitHelper(Assembler *Asm, const InstList &Insts) in BundleEmitHelper()
1176 InstList::const_iterator getBundleLockStart() const { in getBundleLockStart()
1181 void enterBundleLock(InstList::const_iterator I) { in enterBundleLock()
1241 const InstList::const_iterator End;
1242 InstList::const_iterator BundleLockStart;
1294 InstList::const_iterator End = Insts.end(); in emitIAS()
1298 for (InstList::const_iterator I = Insts.begin(); I != End; ++I) { in emitIAS()
DIceDefs.h127 using InstList = llvm::ilist<Inst>; variable
130 using PhiList = InstList;
131 using AssignList = InstList;
DIceTargetLowering.cpp87 void LoweringContext::skipDeleted(InstList::iterator &I) const { in skipDeleted()
92 void LoweringContext::advanceForward(InstList::iterator &I) const { in advanceForward()
477 void TargetLowering::lowerInst(CfgNode *Node, InstList::iterator Next, in lowerInst()
533 auto Process = [&](InstList &Insts) { in getInstructionsInRange()
/external/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
/external/llvm-project/llvm/include/llvm/Analysis/
DDDG.h118 InstList = N.InstList;
124 InstList = std::move(N.InstList);
130 assert(!InstList.empty() && "Instruction List is empty."); in getInstructions()
131 return InstList; in getInstructions()
152 setKind((InstList.size() == 0 && Input.size() == 1) in appendInstructions()
155 InstList.insert(InstList.end(), Input.begin(), Input.end()); in appendInstructions()
162 SmallVector<Instruction *, 2> InstList; variable
/external/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()
/external/llvm/utils/TableGen/
DCodeEmitterGen.cpp289 std::vector<std::string> &InstList = IE->second; in run() local
291 for (int i = 0, N = InstList.size(); i < N; i++) { in run()
293 o << " case " << InstList[i] << ":"; in run()
/external/llvm-project/llvm/lib/CodeGen/
DWasmEHPrepare.cpp208 auto &InstList = BB->getInstList(); in prepareThrows() local
209 InstList.erase(std::next(BasicBlock::iterator(ThrowI)), InstList.end()); in prepareThrows()
/external/llvm-project/llvm/utils/TableGen/
DCodeEmitterGen.cpp503 std::vector<std::string> &InstList = IE->second; in run() local
505 for (int i = 0, N = InstList.size(); i < N; i++) { in run()
507 o << " case " << InstList[i] << ":"; in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.cpp615 InstListTy &InstList; member in __anon90ac15bf0111::InstManager
618 InstManager(InstListTy &Insts) : InstList(Insts) {} in InstManager()
620 void createdInstr(MachineInstr &MI) override { InstList.insert(&MI); } in createdInstr()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsRegisterBankInfo.cpp679 InstListTy &InstList; member in __anoneef5124b0111::InstManager
682 InstManager(InstListTy &Insts) : InstList(Insts) {} in InstManager()
684 void createdInstr(MachineInstr &MI) override { InstList.insert(&MI); } in createdInstr()

12