Home
last modified time | relevance | path

Searched refs:InstList (Results 1 – 25 of 29) 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/include/llvm/
DBasicBlock.h76 InstListType InstList;
195 inline iterator begin() { return InstList.begin(); }
196 inline const_iterator begin() const { return InstList.begin(); }
197 inline iterator end () { return InstList.end(); }
198 inline const_iterator end () const { return InstList.end(); }
200 inline size_t size() const { return InstList.size(); }
201 inline bool empty() const { return InstList.empty(); }
202 inline const Instruction &front() const { return InstList.front(); }
203 inline Instruction &front() { return InstList.front(); }
204 inline const Instruction &back() const { return InstList.back(); }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DBasicBlock.h68 InstListType InstList; variable
264 inline iterator begin() { return InstList.begin(); } in begin()
265 inline const_iterator begin() const { return InstList.begin(); } in begin()
266 inline iterator end () { return InstList.end(); } in end()
267 inline const_iterator end () const { return InstList.end(); } in end()
269 inline reverse_iterator rbegin() { return InstList.rbegin(); } in rbegin()
270 inline const_reverse_iterator rbegin() const { return InstList.rbegin(); } in rbegin()
271 inline reverse_iterator rend () { return InstList.rend(); } in rend()
272 inline const_reverse_iterator rend () const { return InstList.rend(); } in rend()
274 inline size_t size() const { return InstList.size(); } in size()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLegalizer.cpp86 GISelWorkList<256> InstList; in runOnMachineFunction() local
103 InstList.insert(&MI); in runOnMachineFunction()
114 InstList.insert(MI); in runOnMachineFunction()
120 auto RemoveDeadInstFromLists = [&InstList, in runOnMachineFunction()
122 InstList.remove(DeadMI); in runOnMachineFunction()
127 while (!InstList.empty()) { in runOnMachineFunction()
128 MachineInstr &MI = *InstList.pop_back_val(); in runOnMachineFunction()
171 InstList.insert(&MI); in runOnMachineFunction()
173 } while (!InstList.empty()); in runOnMachineFunction()
/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-7.0/llvm/lib/IR/
DBasicBlock.cpp85 InstList.clear(); in ~BasicBlock()
90 InstList.setSymTabObject(&Parent, parent); in setParent()
139 if (InstList.empty()) return nullptr; in getTerminator()
140 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
144 if (InstList.empty()) in getTerminatingMustTailCall()
146 const ReturnInst *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingMustTailCall()
147 if (!RI || RI == &InstList.front()) in getTerminatingMustTailCall()
175 if (InstList.empty()) in getTerminatingDeoptimizeCall()
177 auto *RI = dyn_cast<ReturnInst>(&InstList.back()); in getTerminatingDeoptimizeCall()
178 if (!RI || RI == &InstList.front()) in getTerminatingDeoptimizeCall()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DBasicBlock.cpp82 InstList.clear(); in ~BasicBlock()
90 InstList.setSymTabObject(&Parent, parent); in setParent()
121 if (InstList.empty()) return 0; in getTerminator()
122 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
126 if (InstList.empty()) return 0; in getTerminator()
127 return dyn_cast<TerminatorInst>(&InstList.back()); in getTerminator()
222 if (InstList.empty()) return; in removePredecessor()
300 assert(I != InstList.end() && in splitBasicBlock()
/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()
150 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()
644 InstList::iterator Orig = Context.getCur(); in genCode()
1160 BundleEmitHelper(Assembler *Asm, const InstList &Insts) in BundleEmitHelper()
1198 InstList::const_iterator getBundleLockStart() const { in getBundleLockStart()
1203 void enterBundleLock(InstList::const_iterator I) { in enterBundleLock()
1263 const InstList::const_iterator End;
1264 InstList::const_iterator BundleLockStart;
1316 InstList::const_iterator End = Insts.end(); in emitIAS()
1320 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;
DIceInst.h1204 inline InstList::iterator instToIterator(Inst *Instr) {
1212 inline Inst *iteratorToInst(InstList::iterator Iter) { return &*Iter; }
1214 inline const Inst *iteratorToInst(InstList::const_iterator Iter) {
1218 inline InstList::iterator
1219 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()
490 void TargetLowering::lowerInst(CfgNode *Node, InstList::iterator Next, in lowerInst()
546 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.h305 uint32_t CombinedAlignment, InstList &Insts,
DIceCfg.cpp849 CfgUnorderedMap<Constant *, CfgVector<InstList::iterator>> FloatUses; in floatConstantCSE()
911 uint32_t CombinedAlignment, InstList &Insts, in sortAndCombineAllocas()
1091 InstList &Insts = getEntryNode()->getInsts(); in processAllocas()
DIceASanInstrumentation.cpp444 InstList::iterator Next = Context.getNext(); in instrumentAccess()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeEmitterGen.cpp285 std::vector<std::string> &InstList = IE->second; in run() local
287 for (int i = 0, N = InstList.size(); i < N; i++) { in run()
289 o << " case " << InstList[i] << ":"; in run()
/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/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DCodeEmitterGen.cpp299 std::vector<std::string> &InstList = IE->second; in run() local
301 for (int i = 0, N = InstList.size(); i < N; i++) { in run()
303 o << " case " << InstList[i] << ":"; in run()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCodeGenPrepare.cpp650 BasicBlock::InstListType &InstList = (*PI)->getInstList(); in DupRetToEnableTailCallOpts() local
651 BasicBlock::InstListType::reverse_iterator RI = InstList.rbegin(); in DupRetToEnableTailCallOpts()
652 BasicBlock::InstListType::reverse_iterator RE = InstList.rend(); in DupRetToEnableTailCallOpts()
/external/spirv-llvm/lib/SPIRV/
DOCL20ToSPIRV.cpp1201 std::vector<Instruction *> InstList; in transWorkItemBuiltinsToVariables() local
1215 InstList.push_back(CI); in transWorkItemBuiltinsToVariables()
1217 for (auto &Inst:InstList) { in transWorkItemBuiltinsToVariables()
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2028 BasicBlock::InstListType &InstList = (*PI)->getInstList(); in dupRetToEnableTailCallOpts() local
2029 BasicBlock::InstListType::reverse_iterator RI = InstList.rbegin(); in dupRetToEnableTailCallOpts()
2030 BasicBlock::InstListType::reverse_iterator RE = InstList.rend(); in dupRetToEnableTailCallOpts()

12