Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTrace.h33 BasicBlockListType BasicBlocks; variable
39 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) {} in Trace()
43 BasicBlock *getEntryBasicBlock () const { return BasicBlocks[0]; } in getEntryBasicBlock()
46 BasicBlock *operator[](unsigned i) const { return BasicBlocks[i]; }
47 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; } in getBlock()
59 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in getBlockIndex()
60 if (BasicBlocks[i] == X) in getBlockIndex()
85 iterator begin() { return BasicBlocks.begin(); } in begin()
86 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
87 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/llvm-project/llvm/include/llvm/Analysis/
DTrace.h33 BasicBlockListType BasicBlocks; variable
39 Trace(const std::vector<BasicBlock *> &vBB) : BasicBlocks (vBB) {} in Trace()
43 BasicBlock *getEntryBasicBlock () const { return BasicBlocks[0]; } in getEntryBasicBlock()
46 BasicBlock *operator[](unsigned i) const { return BasicBlocks[i]; }
47 BasicBlock *getBlock(unsigned i) const { return BasicBlocks[i]; } in getBlock()
59 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in getBlockIndex()
60 if (BasicBlocks[i] == X) in getBlockIndex()
85 iterator begin() { return BasicBlocks.begin(); } in begin()
86 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
87 iterator end () { return BasicBlocks.end(); } in end()
[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-10.0/llvm/include/llvm/CodeGen/
DMachineFunction.h273 BasicBlockListType BasicBlocks;
641 return &MachineFunction::BasicBlocks;
651 iterator begin() { return BasicBlocks.begin(); }
652 const_iterator begin() const { return BasicBlocks.begin(); }
653 iterator end () { return BasicBlocks.end(); }
654 const_iterator end () const { return BasicBlocks.end(); }
656 reverse_iterator rbegin() { return BasicBlocks.rbegin(); }
657 const_reverse_iterator rbegin() const { return BasicBlocks.rbegin(); }
658 reverse_iterator rend () { return BasicBlocks.rend(); }
659 const_reverse_iterator rend () const { return BasicBlocks.rend(); }
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineFunction.h286 BasicBlockListType BasicBlocks;
722 return &MachineFunction::BasicBlocks;
732 iterator begin() { return BasicBlocks.begin(); }
733 const_iterator begin() const { return BasicBlocks.begin(); }
734 iterator end () { return BasicBlocks.end(); }
735 const_iterator end () const { return BasicBlocks.end(); }
737 reverse_iterator rbegin() { return BasicBlocks.rbegin(); }
738 const_reverse_iterator rbegin() const { return BasicBlocks.rbegin(); }
739 reverse_iterator rend () { return BasicBlocks.rend(); }
740 const_reverse_iterator rend () const { return BasicBlocks.rend(); }
[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/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-10.0/llvm/include/llvm/IR/
DFunction.h72 BasicBlockListType BasicBlocks; ///< The basic blocks
668 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList()
669 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList()
672 return &Function::BasicBlocks; in getSublistAccess()
691 iterator begin() { return BasicBlocks.begin(); } in begin()
692 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
693 iterator end () { return BasicBlocks.end(); } in end()
694 const_iterator end () const { return BasicBlocks.end(); } in end()
696 size_t size() const { return BasicBlocks.size(); } in size()
697 bool empty() const { return BasicBlocks.empty(); } in empty()
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DFunction.h74 BasicBlockListType BasicBlocks; ///< The basic blocks
720 const BasicBlockListType &getBasicBlockList() const { return BasicBlocks; } in getBasicBlockList()
721 BasicBlockListType &getBasicBlockList() { return BasicBlocks; } in getBasicBlockList()
724 return &Function::BasicBlocks; in getSublistAccess()
743 iterator begin() { return BasicBlocks.begin(); } in begin()
744 const_iterator begin() const { return BasicBlocks.begin(); } in begin()
745 iterator end () { return BasicBlocks.end(); } in end()
746 const_iterator end () const { return BasicBlocks.end(); } in end()
748 size_t size() const { return BasicBlocks.size(); } in size()
749 bool empty() const { return BasicBlocks.empty(); } in empty()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DDomTreeUpdaterTest.cpp375 std::vector<BasicBlock *> BasicBlocks; in TEST() local
376 BasicBlocks.push_back(BB1); in TEST()
377 BasicBlocks.push_back(BB2); in TEST()
379 BasicBlocks.erase( in TEST()
380 std::remove_if(BasicBlocks.begin(), BasicBlocks.end(), in TEST()
382 BasicBlocks.end()); in TEST()
384 ASSERT_EQ(BasicBlocks.size(), static_cast<size_t>(2)); in TEST()
426 ASSERT_EQ(BasicBlocks.size(), static_cast<size_t>(2)); in TEST()
428 ASSERT_EQ(BasicBlocks.size(), static_cast<size_t>(0)); in TEST()
/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-10.0/llvm/lib/Bitcode/Writer/
DValueEnumerator.h127 std::vector<const BasicBlock*> BasicBlocks; variable
216 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-project/llvm/lib/Bitcode/Writer/
DValueEnumerator.h125 std::vector<const BasicBlock*> BasicBlocks; variable
214 return BasicBlocks; in getBasicBlocks()
DValueEnumerator.cpp1020 BasicBlocks.push_back(&BB); in incorporateFunction()
1021 ValueMap[&BB] = BasicBlocks.size(); in incorporateFunction()
1065 for (unsigned i = 0, e = BasicBlocks.size(); i != e; ++i) in purgeFunction()
1066 ValueMap.erase(BasicBlocks[i]); in purgeFunction()
1070 BasicBlocks.clear(); in purgeFunction()
/external/llvm-project/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 __anon2ac785b00111::StackColoring
579 BasicBlocks[MBB] = BasicBlockNumbering.size(); in collectMarkers()
987 BasicBlocks.clear(); in runOnMachineFunction()
/external/llvm-project/llvm/lib/CodeGen/
DStackColoring.cpp437 DenseMap<const MachineBasicBlock *, int> BasicBlocks; member in __anon2c0f1dde0111::StackColoring
759 BasicBlocks[MBB] = BasicBlockNumbering.size(); in collectMarkers()
1215 BasicBlocks.clear(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackColoring.cpp407 DenseMap<const MachineBasicBlock *, int> BasicBlocks; member in __anond12501d20111::StackColoring
713 BasicBlocks[MBB] = BasicBlockNumbering.size(); in collectMarkers()
1164 BasicBlocks.clear(); in runOnMachineFunction()
/external/llvm-project/polly/test/Isl/CodeGen/
Dscev_expansion_in_nonaffine.ll8 ; is expanded independently for both BasicBlocks instead of just once for the
/external/llvm-project/llvm/lib/Target/ARM/
DARMLowOverheadLoops.cpp537 SmallPtrSet<MachineBasicBlock*, 2> BasicBlocks; in INITIALIZE_PASS() local
539 BasicBlocks.insert(Dead->getParent()); in INITIALIZE_PASS()
543 for (auto *MBB : BasicBlocks) { in INITIALIZE_PASS()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DFunction.cpp229 for (const BasicBlock &BB : BasicBlocks) in getInstructionCount()
385 while (!BasicBlocks.empty()) in dropAllReferences()
386 BasicBlocks.begin()->eraseFromParent(); in dropAllReferences()
/external/llvm/lib/IR/
DFunction.cpp355 while (!BasicBlocks.empty()) in dropAllReferences()
356 BasicBlocks.begin()->eraseFromParent(); in dropAllReferences()

12