Home
last modified time | relevance | path

Searched refs:BlockIndex (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp107 void emitLoadCompareBlock(unsigned BlockIndex);
108 void emitLoadCompareBlockMultipleLoads(unsigned BlockIndex,
337 BasicBlock *BB = LoadCmpBlocks[BlockIndex]; in emitLoadCompareByteBlock()
346 if (BlockIndex < (LoadCmpBlocks.size() - 1)) { in emitLoadCompareByteBlock()
384 Builder.SetInsertPoint(LoadCmpBlocks[BlockIndex]); in getCompareLoadPairs()
440 Value *Cmp = getCompareLoadPairs(BlockIndex, LoadIndex); in emitLoadCompareBlockMultipleLoads()
457 if (BlockIndex == LoadCmpBlocks.size() - 1) { in emitLoadCompareBlockMultipleLoads()
459 PhiRes->addIncoming(Zero, LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlockMultipleLoads()
486 Builder.SetInsertPoint(LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlock()
515 if (BlockIndex == LoadCmpBlocks.size() - 1) { in emitLoadCompareBlock()
[all …]
H A DMachineBlockPlacement.cpp3479 DenseMap<const MachineBasicBlock *, uint64_t> BlockIndex; in applyExtTsp() local
3480 BlockIndex.reserve(F->size()); in applyExtTsp()
3485 BlockIndex[&MBB] = NumBlocks++; in applyExtTsp()
3495 BlockCounts[BlockIndex[&MBB]] = BlockFreq.getFrequency(); in applyExtTsp()
3505 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
3510 auto Edge = std::make_pair(BlockIndex[&MBB], BlockIndex[Succ]); in applyExtTsp()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileInference.h141 DenseMap<const BasicBlockT *, uint64_t> BlockIndex;
143 BlockIndex.reserve(Reachable.size());
147 BlockIndex[&BB] = BasicBlocks.size();
186 if (!BlockIndex.count(Succ))
189 Jump.Source = BlockIndex[BB];
190 Jump.Target = BlockIndex[Succ];
193 Func.Blocks[BlockIndex[BB]].HasSelfEdge = true;
220 BlockWeights[BB] = Func.Blocks[BlockIndex[BB]].Flow;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/MSF/
H A DIMSFFile.h32 virtual Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
34 virtual Error setBlockData(uint32_t BlockIndex, uint32_t Offset,
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp736 for (int BlockIndex = NumBlocks - 1; BlockIndex > 0; --BlockIndex) { in getOrderedBlocks() local
740 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
744 Blocks[BlockIndex] = CurBlock; in getOrderedBlocks()
748 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
754 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DPDBFile.h68 Expected<ArrayRef<uint8_t>> getBlockData(uint32_t BlockIndex,
70 Error setBlockData(uint32_t BlockIndex, uint32_t Offset,
/llvm-project-15.0.7/bolt/lib/Core/
H A DFunctionLayout.cpp80 unsigned BlockIndex = 0; in updateLayoutIndices() local
83 BB->setLayoutIndex(BlockIndex++); in updateLayoutIndices()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h999 const DenseMap<const BlockT *, size_t> &BlockIndex,
1386 DenseMap<const BlockT *, size_t> BlockIndex;
1392 BlockIndex[BB] = I;
1409 initTransitionProbabilities(ReachableBlocks, BlockIndex, ProbMatrix);
1419 if (BlockIndex.count(&BB)) {
1420 Freqs[Node.Index].Scaled = Freq[BlockIndex[&BB]];
1570 const DenseMap<const BlockT *, size_t> &BlockIndex,
1582 if (BlockIndex.find(SI) == BlockIndex.end())
1594 size_t Dst = BlockIndex.find(SI)->second;
1616 size_t EntryIdx = BlockIndex.find(&F->front())->second;
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp104 Expected<ArrayRef<uint8_t>> PDBFile::getBlockData(uint32_t BlockIndex, in getBlockData() argument
106 uint64_t StreamBlockOffset = msf::blockToOffset(BlockIndex, getBlockSize()); in getBlockData()
114 Error PDBFile::setBlockData(uint32_t BlockIndex, uint32_t Offset, in setBlockData() argument
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.cpp236 uint32_t BlockIndex = FileOffset / BlockSize; in getOffsetInStream() local
237 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize; in getOffsetInStream()
239 auto Iter = llvm::find(StreamBlocks, BlockIndex); in getOffsetInStream()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/
H A DMappedBlockStreamTest.cpp494 MATCHER_P3(BlockIsFilledWith, Layout, BlockIndex, Byte, "succeeded") {
495 uint64_t Offset = msf::blockToOffset(BlockIndex, Layout.SB->BlockSize);
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp9748 for (size_t BlockIndex = 0; BlockIndex < NumBlocks; BlockIndex++) in isWideDUPMask() local
9750 int Elt = M[BlockIndex * NumEltsPerBlock + I]; in isWideDUPMask()