Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileInference.h141 DenseMap<const BasicBlockT *, uint64_t> &BlockIndex);
183 DenseMap<const BasicBlockT *, uint64_t> BlockIndex; in apply() local
185 BlockIndex.reserve(Reachable.size()); in apply()
189 BlockIndex[&BB] = BasicBlocks.size(); in apply()
210 FlowFunction Func = createFlowFunction(BasicBlocks, BlockIndex); in apply()
219 BlockWeights[BB] = Func.Blocks[BlockIndex[BB]].Flow; in apply()
244 DenseMap<const BasicBlockT *, uint64_t> &BlockIndex) { in createFlowFunction() argument
263 if (!BlockIndex.count(Succ)) in createFlowFunction()
266 Jump.Source = BlockIndex[BB]; in createFlowFunction()
267 Jump.Target = BlockIndex[Succ]; in createFlowFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp111 void emitLoadCompareBlock(unsigned BlockIndex);
112 void emitLoadCompareBlockMultipleLoads(unsigned BlockIndex,
378 BasicBlock *BB = LoadCmpBlocks[BlockIndex]; in emitLoadCompareByteBlock()
387 if (BlockIndex < (LoadCmpBlocks.size() - 1)) { in emitLoadCompareByteBlock()
425 Builder.SetInsertPoint(LoadCmpBlocks[BlockIndex]); in getCompareLoadPairs()
482 Value *Cmp = getCompareLoadPairs(BlockIndex, LoadIndex); in emitLoadCompareBlockMultipleLoads()
499 if (BlockIndex == LoadCmpBlocks.size() - 1) { in emitLoadCompareBlockMultipleLoads()
501 PhiRes->addIncoming(Zero, LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlockMultipleLoads()
535 Builder.SetInsertPoint(LoadCmpBlocks[BlockIndex]); in emitLoadCompareBlock()
563 if (BlockIndex == LoadCmpBlocks.size() - 1) { in emitLoadCompareBlock()
[all …]
H A DMachineBlockPlacement.cpp3516 DenseMap<const MachineBasicBlock *, uint64_t> BlockIndex; in applyExtTsp() local
3517 BlockIndex.reserve(F->size()); in applyExtTsp()
3522 BlockIndex[&MBB] = NumBlocks++; in applyExtTsp()
3532 BlockCounts[BlockIndex[&MBB]] = BlockFreq.getFrequency(); in applyExtTsp()
3542 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
3548 {BlockIndex[&MBB], BlockIndex[Succ], JumpFreq.getFrequency()}); in applyExtTsp()
/freebsd-14.2/contrib/llvm-project/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,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp748 for (int BlockIndex = NumBlocks - 1; BlockIndex > 0; --BlockIndex) { in getOrderedBlocks() local
752 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
756 Blocks[BlockIndex] = CurBlock; in getOrderedBlocks()
760 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
766 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp753 for (uint32_t BlockIndex = 0; in decodeBBAddrMapImpl() local
754 !MetadataDecodeErr && !ULEBSizeErr && Cur && (BlockIndex < NumBlocks); in decodeBBAddrMapImpl()
755 ++BlockIndex) { in decodeBBAddrMapImpl()
758 : BlockIndex; in decodeBBAddrMapImpl()
785 for (uint32_t BlockIndex = 0; in decodeBBAddrMapImpl() local
787 !ULEBSizeErr && Cur && (BlockIndex < NumBlocks); in decodeBBAddrMapImpl()
788 ++BlockIndex) { in decodeBBAddrMapImpl()
/freebsd-14.2/contrib/llvm-project/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,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h999 const DenseMap<const BlockT *, size_t> &BlockIndex,
1382 DenseMap<const BlockT *, size_t> BlockIndex;
1388 BlockIndex[BB] = I;
1405 initTransitionProbabilities(ReachableBlocks, BlockIndex, ProbMatrix);
1415 if (BlockIndex.count(&BB)) {
1416 Freqs[Node.Index].Scaled = Freq[BlockIndex[&BB]];
1565 const DenseMap<const BlockT *, size_t> &BlockIndex,
1577 if (!BlockIndex.contains(SI))
1589 size_t Dst = BlockIndex.find(SI)->second;
1611 size_t EntryIdx = BlockIndex.find(&F->front())->second;
/freebsd-14.2/contrib/llvm-project/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
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.cpp235 uint32_t BlockIndex = FileOffset / BlockSize; in getOffsetInStream() local
236 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize; in getOffsetInStream()
238 auto Iter = llvm::find(StreamBlocks, BlockIndex); in getOffsetInStream()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp11427 for (size_t BlockIndex = 0; BlockIndex < NumBlocks; BlockIndex++) in isWideDUPMask() local
11429 int Elt = M[BlockIndex * NumEltsPerBlock + I]; in isWideDUPMask()