HomeSort by relevance Sort by last modified time
    Searched refs:Blocks (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/llvm/include/llvm/CodeGen/
EdgeBundles.h 34 /// Blocks - Map each bundle to a list of basic block numbers.
35 SmallVector<SmallVector<unsigned, 8>, 4> Blocks;
48 /// getBlocks - Return an array of blocks that are connected to Bundle.
49 ArrayRef<unsigned> getBlocks(unsigned Bundle) const { return Blocks[Bundle]; }
  /external/llvm/tools/llvm-objdump/
MCFunction.h 75 MapTy Blocks;
87 iterator begin() const { return Blocks.begin(); }
88 iterator end() const { return Blocks.end(); }
93 Blocks.push_back(std::make_pair(Address, BB));
94 return Blocks.back().second;
MCFunction.cpp 11 // into basic blocks and try to reconstruct a CFG from it.
94 // Create basic blocks.
110 std::sort(f.Blocks.begin(), f.Blocks.end());
121 // Indirect branch. Bail and add all blocks of the function as a
  /external/llvm/lib/CodeGen/
EdgeBundles.cpp 58 Blocks.clear();
59 Blocks.resize(getNumBundles());
64 Blocks[b0].push_back(i);
66 Blocks[b1].push_back(i);
InterferenceCache.h 39 /// of PhysReg in all basic blocks.
89 /// Blocks - Interference for each block in the function.
90 SmallVector<BlockInterference, 8> Blocks;
92 /// update - Recompute Blocks[MBBNum]
125 if (Blocks[MBBNum].Tag != Tag)
127 return &Blocks[MBBNum];
SpillPlacement.h 10 // This analysis computes the optimal spill code placement between basic blocks.
16 // Given a variable that is live across multiple basic blocks, and given
17 // constraints on the basic blocks where the variable is live, determine which
101 /// @param LiveBlocks Constraints for blocks that have the variable live in or
105 /// addPrefSpill - Add PrefSpill constraints to all blocks listed. This is
109 /// @param Blocks Array of block numbers that prefer to spill in and out.
110 /// @param Strong When true, double the negative bias for these blocks.
111 void addPrefSpill(ArrayRef<unsigned> Blocks, bool Strong);
113 /// addLinks - Add transparent blocks with the given numbers.
  /external/clang/include/clang/Analysis/Analyses/
PostOrderCFGView.h 1 //===- PostOrderCFGView.h - Post order view of CFG blocks ---------*- C++ --*-//
10 // This file implements post order view of the blocks in a CFG.
64 /// This method is for tracking visited blocks in the main threadsafety
73 std::vector<const CFGBlock*> Blocks;
83 iterator begin() { return Blocks.rbegin(); }
84 iterator end() { return Blocks.rend(); }
  /external/clang/lib/Analysis/
PostOrderCFGView.cpp 1 //===- PostOrderCFGView.cpp - Post order view of CFG blocks -------*- C++ --*-//
10 // This file implements post order view of the blocks in a CFG.
21 Blocks.reserve(cfg->getNumBlockIDs());
26 BlockOrder[*I] = Blocks.size() + 1;
27 Blocks.push_back(*I);
  /external/llvm/lib/Transforms/Scalar/
BasicBlockPlacement.cpp 11 // algorithm. The idea is to put frequently executed blocks together at the
14 // function, this pass basically orders blocks in depth-first order
22 // placing the most frequently executed successor until we run out of blocks. I
39 STATISTIC(NumMoved, "Number of basic blocks moved");
72 /// PlaceBlocks - Recursively place the specified blocks and any unplaced
93 // Recursively place all blocks.
102 /// PlaceBlocks - Recursively place the specified blocks and any unplaced
113 Function::BasicBlockListType &Blocks = BB->getParent()->getBasicBlockList();
114 Blocks.splice(InsertPos, Blocks, BB)
    [all...]
DeadStoreElimination.cpp 64 // Only check non-dead blocks. Dead blocks may have strange pointer
639 /// Find all blocks that will unconditionally lead to the block BB and append
641 static void FindUnconditionalPreds(SmallVectorImpl<BasicBlock *> &Blocks,
651 Blocks.push_back(Pred);
661 SmallVector<BasicBlock *, 16> Blocks;
662 Blocks.push_back(F->getParent());
664 while (!Blocks.empty()) {
665 BasicBlock *BB = Blocks.pop_back_val();
698 FindUnconditionalPreds(Blocks, BB, DT)
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
FunctionSummary.h 34 /// Total number of blocks in the function.
37 /// Marks the IDs of the basic blocks visited during the analyzes.
80 llvm::BitVector &Blocks = I->second->VisitedBasicBlocks;
82 if (TotalIDs > Blocks.size()) {
83 Blocks.resize(TotalIDs);
86 Blocks[ID] = true;
108 /// Get the percentage of the reachable blocks.
  /external/llvm/include/llvm/Analysis/
LoopInfo.h 17 // contained entirely within the loop and the basic blocks the make up the loop.
24 // * the successor blocks of the loop
68 // Blocks - The list of blocks in this loop. First entry is the header node.
69 std::vector<BlockT*> Blocks;
84 /// blocks, where depth 0 is used for blocks not inside any loops.
92 BlockT *getHeader() const { return Blocks.front(); }
133 /// getBlocks - Get a list of the basic blocks which make up this loop.
135 const std::vector<BlockT*> &getBlocks() const { return Blocks; }
    [all...]
  /external/llvm/lib/Transforms/Utils/
CodeExtractor.cpp 68 /// \brief Build a set of blocks to extract if the input blocks are viable.
76 // Loop over the blocks, adding them to our set-vector, and aborting with an
77 // empty set if we encounter invalid blocks.
80 llvm_unreachable("Repeated basic blocks in extraction input");
95 "No blocks in this region may have entries from outside the region"
122 Blocks(buildExtractionBlockSet(BB)), NumExitBlocks(~0U) {}
127 Blocks(buildExtractionBlockSet(BBs)), NumExitBlocks(~0U) {}
131 Blocks(buildExtractionBlockSet(L.getBlocks())), NumExitBlocks(~0U) {}
136 Blocks(buildExtractionBlockSet(RN)), NumExitBlocks(~0U) {
    [all...]
  /external/llvm/include/llvm/Transforms/Utils/
CodeExtractor.h 52 SetVector<BasicBlock *> Blocks;
63 /// \brief Create a code extractor for a sequence of blocks.
65 /// Given a sequence of basic blocks where the first block in the sequence
93 /// Based on the blocks used when constructing the code extractor,
95 bool isEligible() const { return !Blocks.empty(); }
  /external/llvm/lib/IR/
GCOV.cpp 85 DeleteContainerPointers(Blocks);
108 Blocks[i]->addCount(Buff.readInt64());
115 // read blocks.
122 Blocks.push_back(new GCOVBlock(i));
131 Blocks[BlockNo]->addEdge(Buff.readInt());
142 GCOVBlock *Block = Blocks[BlockNo];
158 for (SmallVector<GCOVBlock *, 16>::iterator I = Blocks.begin(),
159 E = Blocks.end(); I != E; ++I)
166 for (SmallVector<GCOVBlock *, 16>::iterator I = Blocks.begin(),
167 E = Blocks.end(); I != E; ++I
    [all...]
  /external/llvm/tools/bugpoint/
CrashDebugger.cpp 246 /// all terminators except the specified basic blocks to a 'ret' instruction,
278 SmallPtrSet<BasicBlock*, 8> Blocks;
280 Blocks.insert(cast<BasicBlock>(VMap[BBs[i]]));
282 outs() << "Checking for crash with only these blocks:";
283 unsigned NumPrint = Blocks.size();
287 if (NumPrint < Blocks.size())
288 outs() << "... <" << Blocks.size() << " total>";
291 // Loop over and delete any hack up any blocks that are not listed...
294 if (!Blocks.count(BB) && BB->getTerminator()->getNumSuccessors()) {
310 // The CFG Simplifier pass may delete one of the basic blocks we ar
    [all...]
  /external/chromium/net/tools/flip_server/
balsa_headers.h 97 typedef std::vector<BufferBlock> Blocks;
101 // Returns the total amount of memory used by the buffer blocks.
104 const char* GetPtr(Blocks::size_type block_idx) const {
110 char* GetPtr(Blocks::size_type block_idx) {
150 Blocks::size_type* block_buffer_idx);
157 char* Reserve(size_t size, Blocks::size_type* block_buffer_idx);
177 Blocks::size_type num_blocks() const { return blocks_.size(); }
193 // The block at start_idx, and all subsequent blocks
195 void CleanupBlocksStartingFrom(Blocks::size_type start_idx);
198 Blocks blocks_
    [all...]
balsa_headers.cc 81 // Returns the total amount of memory used by the buffer blocks.
84 for (Blocks::const_iterator iter = blocks_.begin();
122 Blocks::size_type* block_buffer_idx) {
132 Blocks::size_type* block_buffer_idx) {
137 Blocks::size_type block_idx = can_write_to_contiguous_buffer_ ? 1 : 0;
184 for (Blocks::size_type i = 0; i < blocks_.size(); ++i) {
220 void BalsaBuffer::CleanupBlocksStartingFrom(Blocks::size_type start_idx) {
221 for (Blocks::size_type i = start_idx; i < blocks_.size(); ++i) {
287 BalsaBuffer::Blocks::size_type tmp_blk_idx = firstline_buffer_base_idx_;
353 BalsaBuffer::Blocks::size_type block_buffer_idx = 0
    [all...]
  /external/clang/test/SemaCXX/
nested-name-spec-locations.cpp 158 void bar(std::vector<int*> &Blocks) {
159 foo(Blocks); // expected-note{{in instantiation of}}
  /external/clang/include/clang/AST/
Comment.h 1063 ArrayRef<BlockContentComment *> Blocks;
1067 FullComment(ArrayRef<BlockContentComment *> Blocks, DeclInfo *D) :
1069 Blocks(Blocks), ThisDeclInfo(D) {
1070 if (Blocks.empty())
1073 setSourceRange(SourceRange(Blocks.front()->getLocStart(),
1074 Blocks.back()->getLocEnd()));
1075 setLocation(Blocks.front()->getLocStart());
1083 return reinterpret_cast<child_iterator>(Blocks.begin());
1087 return reinterpret_cast<child_iterator>(Blocks.end());
    [all...]
  /external/clang/include/clang/Analysis/
CFG.h 354 /// LoopTarget - Some blocks are used to represent the "loop edge" to
356 /// refer to the loop statement for such blocks (and be null otherwise).
364 /// CFG blocks.
371 /// control cannot technically ever proceed past this block. All such blocks
704 CFGBlock & front() { return *Blocks.front(); }
705 CFGBlock & back() { return *Blocks.back(); }
707 iterator begin() { return Blocks.begin(); }
708 iterator end() { return Blocks.end(); }
709 const_iterator begin() const { return Blocks.begin(); }
710 const_iterator end() const { return Blocks.end();
    [all...]
  /external/llvm/include/llvm/ADT/
PostOrderIterator.h 41 // confine a CFG traversal to blocks in a specific loop.
239 // This is used to visit basic blocks in a method in reverse post order. This
261 std::vector<NodeType*> Blocks; // Block list in normal PO order
263 copy(po_begin(BB), po_end(BB), back_inserter(Blocks));
273 inline rpo_iterator begin() { return Blocks.rbegin(); }
274 inline rpo_iterator end() { return Blocks.rend(); }
  /external/v8/src/x64/
lithium-gap-resolver-x64.cc 103 // as this one's destination blocks this one so recursively perform all
107 if (other_move.Blocks(destination) && !other_move.IsPending()) {
137 if (other_move.Blocks(destination)) {
310 if (other_move.Blocks(source)) {
312 } else if (other_move.Blocks(destination)) {
  /external/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 12 // to records the edges between blocks that run and emit a complementary "gcda"
163 // Returns the length measured in 4-byte blocks that will be used to
226 // other blocks.
276 // set of blocks and a map of edges between blocks. This is the only GCOV
277 // object users can construct, the blocks and lines will be rooted here.
288 Blocks[BB] = new GCOVBlock(i++, os);
308 DeleteContainerSeconds(Blocks);
313 return *Blocks[BB];
321 // Emit count of blocks
    [all...]
  /external/llvm/lib/Target/PowerPC/
PPCCTRLoops.cpp 493 const std::vector<MachineBasicBlock*> Blocks = L->getBlocks();
494 for (unsigned i = 0, e = Blocks.size(); i != e; ++i) {
495 MachineBasicBlock *MBB = Blocks[i];
740 const std::vector<MachineBasicBlock*> Blocks = L->getBlocks();
741 for (unsigned i = 0, e = Blocks.size(); i != e; ++i) {
742 MachineBasicBlock *MBB = Blocks[i];

Completed in 658 milliseconds

1 2 3