Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTrace.h34 BasicBlockListType BasicBlocks; variable
40 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) {} in Trace()
44 BasicBlock *getEntryBasicBlock () const { return BasicBlocks[0]; } in getEntryBasicBlock()
47 BasicBlock *operator[](unsigned i) const { return BasicBlocks[i]; }
48 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; } in getBlock()
60 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in getBlockIndex()
61 if (BasicBlocks[i] == X) in getBlockIndex()
86 iterator begin() { return BasicBlocks.begin(); } in begin()
87 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
88 iterator end () { return BasicBlocks.end(); } in end()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DTrace.h32 BasicBlockListType BasicBlocks; variable
39 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) {} in Trace()
44 BasicBlock *getEntryBasicBlock () const { return BasicBlocks[0]; } in getEntryBasicBlock()
48 BasicBlock *operator[](unsigned i) const { return BasicBlocks[i]; }
49 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; } in getBlock()
63 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in getBlockIndex()
64 if (BasicBlocks[i] == X) in getBlockIndex()
91 iterator begin() { return BasicBlocks.begin(); } in begin()
92 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
93 iterator end () { return BasicBlocks.end(); } in end()
[all …]
/external/llvm/include/llvm/Analysis/
DTrace.h32 BasicBlockListType BasicBlocks; variable
39 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) {} in Trace()
44 BasicBlock *getEntryBasicBlock () const { return BasicBlocks[0]; } in getEntryBasicBlock()
48 BasicBlock *operator[](unsigned i) const { return BasicBlocks[i]; }
49 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; } in getBlock()
63 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in getBlockIndex()
64 if (BasicBlocks[i] == X) in getBlockIndex()
91 iterator begin() { return BasicBlocks.begin(); } in begin()
92 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
93 iterator end () { return BasicBlocks.end(); } in end()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineFunction.h113 BasicBlockListType BasicBlocks;
289 iterator begin() { return BasicBlocks.begin(); }
290 const_iterator begin() const { return BasicBlocks.begin(); }
291 iterator end () { return BasicBlocks.end(); }
292 const_iterator end () const { return BasicBlocks.end(); }
294 reverse_iterator rbegin() { return BasicBlocks.rbegin(); }
295 const_reverse_iterator rbegin() const { return BasicBlocks.rbegin(); }
296 reverse_iterator rend () { return BasicBlocks.rend(); }
297 const_reverse_iterator rend () const { return BasicBlocks.rend(); }
299 unsigned size() const { return (unsigned)BasicBlocks.size();}
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineFunction.h206 BasicBlockListType BasicBlocks;
430 return &MachineFunction::BasicBlocks;
440 iterator begin() { return BasicBlocks.begin(); }
441 const_iterator begin() const { return BasicBlocks.begin(); }
442 iterator end () { return BasicBlocks.end(); }
443 const_iterator end () const { return BasicBlocks.end(); }
445 reverse_iterator rbegin() { return BasicBlocks.rbegin(); }
446 const_reverse_iterator rbegin() const { return BasicBlocks.rbegin(); }
447 reverse_iterator rend () { return BasicBlocks.rend(); }
448 const_reverse_iterator rend () const { return BasicBlocks.rend(); }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineFunction.h276 BasicBlockListType BasicBlocks;
570 return &MachineFunction::BasicBlocks;
580 iterator begin() { return BasicBlocks.begin(); }
581 const_iterator begin() const { return BasicBlocks.begin(); }
582 iterator end () { return BasicBlocks.end(); }
583 const_iterator end () const { return BasicBlocks.end(); }
585 reverse_iterator rbegin() { return BasicBlocks.rbegin(); }
586 const_reverse_iterator rbegin() const { return BasicBlocks.rbegin(); }
587 reverse_iterator rend () { return BasicBlocks.rend(); }
588 const_reverse_iterator rend () const { return BasicBlocks.rend(); }
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DFunction.h85 BasicBlockListType BasicBlocks; ///< The basic blocks
335 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
336 BasicBlockListType &getBasicBlockList() { return BasicBlocks; }
338 return &Function::BasicBlocks;
356 iterator begin() { return BasicBlocks.begin(); }
357 const_iterator begin() const { return BasicBlocks.begin(); }
358 iterator end () { return BasicBlocks.end(); }
359 const_iterator end () const { return BasicBlocks.end(); }
361 size_t size() const { return BasicBlocks.size(); }
362 bool empty() const { return BasicBlocks.empty(); }
[all …]
/external/llvm/include/llvm/IR/
DFunction.h55 BasicBlockListType BasicBlocks; ///< The basic blocks
484 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; }
485 BasicBlockListType &getBasicBlockList() { return BasicBlocks; }
487 return &Function::BasicBlocks;
504 iterator begin() { return BasicBlocks.begin(); }
505 const_iterator begin() const { return BasicBlocks.begin(); }
506 iterator end () { return BasicBlocks.end(); }
507 const_iterator end () const { return BasicBlocks.end(); }
509 size_t size() const { return BasicBlocks.size(); }
510 bool empty() const { return BasicBlocks.empty(); }
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h62 BasicBlockListType BasicBlocks; ///< The basic blocks
508 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList()
509 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList()
512 return &Function::BasicBlocks; in getSublistAccess()
531 iterator begin() { return BasicBlocks.begin(); } in begin()
532 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
533 iterator end () { return BasicBlocks.end(); } in end()
534 const_iterator end () const { return BasicBlocks.end(); } in end()
536 size_t size() const { return BasicBlocks.size(); } in size()
537 bool empty() const { return BasicBlocks.empty(); } in empty()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DFunction.h73 BasicBlockListType BasicBlocks; ///< The basic blocks
619 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList()
620 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList()
623 return &Function::BasicBlocks; in getSublistAccess()
642 iterator begin() { return BasicBlocks.begin(); } in begin()
643 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
644 iterator end () { return BasicBlocks.end(); } in end()
645 const_iterator end () const { return BasicBlocks.end(); } in end()
647 size_t size() const { return BasicBlocks.size(); } in size()
648 bool empty() const { return BasicBlocks.empty(); } in empty()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DDomTreeUpdaterTest.cpp373 std::vector<BasicBlock *> BasicBlocks; in TEST() local
374 BasicBlocks.push_back(BB1); in TEST()
375 BasicBlocks.push_back(BB2); in TEST()
377 BasicBlocks.erase( in TEST()
378 std::remove_if(BasicBlocks.begin(), BasicBlocks.end(), in TEST()
380 BasicBlocks.end()); in TEST()
382 ASSERT_EQ(BasicBlocks.size(), static_cast<size_t>(2)); in TEST()
424 ASSERT_EQ(BasicBlocks.size(), static_cast<size_t>(2)); in TEST()
426 ASSERT_EQ(BasicBlocks.size(), static_cast<size_t>(0)); in TEST()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DValueEnumerator.h68 std::vector<const BasicBlock*> BasicBlocks; variable
118 return BasicBlocks; in getBasicBlocks()
DValueEnumerator.cpp418 BasicBlocks.push_back(BB); in incorporateFunction()
419 ValueMap[BB] = BasicBlocks.size(); in incorporateFunction()
467 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in purgeFunction()
468 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
472 BasicBlocks.clear(); in purgeFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h128 std::vector<const BasicBlock*> BasicBlocks; variable
217 return BasicBlocks; in getBasicBlocks()
DValueEnumerator.cpp966 BasicBlocks.push_back(&BB); in incorporateFunction()
967 ValueMap[&BB] = BasicBlocks.size(); in incorporateFunction()
1011 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in purgeFunction()
1012 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
1016 BasicBlocks.clear(); in purgeFunction()
/external/llvm/lib/Bitcode/Writer/
DValueEnumerator.h123 std::vector<const BasicBlock*> BasicBlocks; variable
207 return BasicBlocks; in getBasicBlocks()
DValueEnumerator.cpp930 BasicBlocks.push_back(&BB); in incorporateFunction()
931 ValueMap[&BB] = BasicBlocks.size(); in incorporateFunction()
975 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in purgeFunction()
976 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
980 BasicBlocks.clear(); in purgeFunction()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DFunction.cpp240 while (!BasicBlocks.empty()) in dropAllReferences()
241 BasicBlocks.begin()->eraseFromParent(); in dropAllReferences()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dpr37248.ll6 ; more than one BasicBlocks in the loop body (emulated masked scatter)
/external/llvm/lib/CodeGen/
DStackColoring.cpp271 DenseMap<const MachineBasicBlock*, int> BasicBlocks; member in __anon68b6eed20111::StackColoring
579 BasicBlocks[MBB] = BasicBlockNumbering.size(); in collectMarkers()
987 BasicBlocks.clear(); in runOnMachineFunction()
DMachineFunction.cpp156 for (iterator I = begin(), E = end(); I != E; I = BasicBlocks.erase(I)) in ~MachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DStackColoring.cpp407 DenseMap<const MachineBasicBlock *, int> BasicBlocks; member in __anonaa01312a0111::StackColoring
713 BasicBlocks[MBB] = BasicBlockNumbering.size(); in collectMarkers()
1145 BasicBlocks.clear(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DFunction.cpp200 for (BasicBlock &BB : BasicBlocks) in getInstructionCount()
341 while (!BasicBlocks.empty()) in dropAllReferences()
342 BasicBlocks.begin()->eraseFromParent(); in dropAllReferences()
/external/llvm/lib/IR/
DFunction.cpp355 while (!BasicBlocks.empty()) in dropAllReferences()
356 BasicBlocks.begin()->eraseFromParent(); in dropAllReferences()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineFunction.cpp78 BasicBlocks.clear(); in ~MachineFunction()

12