Home
last modified time | relevance | path

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

/freebsd/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[Suc in createFlowFunction()
[all...]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp110 Value *getCompareLoadPairs(unsigned BlockIndex, unsigned &LoadIndex);
111 void emitLoadCompareBlock(unsigned BlockIndex);
112 void emitLoadCompareBlockMultipleLoads(unsigned BlockIndex,
114 void emitLoadCompareByteBlock(unsigned BlockIndex, unsigned OffsetBytes);
376 void MemCmpExpansion::emitLoadCompareByteBlock(unsigned BlockIndex, in emitLoadCompareByteBlock() argument
378 BasicBlock *BB = LoadCmpBlocks[BlockIndex]; in emitLoadCompareByteBlock()
387 if (BlockIndex < (LoadCmpBlocks.size() - 1)) { in emitLoadCompareByteBlock()
393 BranchInst::Create(EndBlock, LoadCmpBlocks[BlockIndex + 1], Cmp); in emitLoadCompareByteBlock()
398 {DominatorTree::Insert, BB, LoadCmpBlocks[BlockIndex + 1]}}); in emitLoadCompareByteBlock()
411 Value *MemCmpExpansion::getCompareLoadPairs(unsigned BlockIndex, in getCompareLoadPairs() argument
[all …]
H A DMachineBlockPlacement.cpp3570 DenseMap<const MachineBasicBlock *, uint64_t> BlockIndex; in applyExtTsp() local
3571 BlockIndex.reserve(F->size()); in applyExtTsp()
3576 BlockIndex[&MBB] = NumBlocks++; in applyExtTsp()
3586 BlockCounts[BlockIndex[&MBB]] = BlockFreq.getFrequency(); in applyExtTsp()
3596 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
3602 {BlockIndex[&MBB], BlockIndex[Succ], JumpFreq.getFrequency()}); in applyExtTsp()
/freebsd/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/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/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/contrib/llvm-project/llvm/lib/Object/
H A DELF.cpp852 for (uint32_t BlockIndex = 0; !MetadataDecodeErr && !ULEBSizeErr && Cur && in decodeBBAddrMapImpl() local
853 (BlockIndex < NumBlocksInBBRange); in decodeBBAddrMapImpl()
854 ++BlockIndex) { in decodeBBAddrMapImpl()
857 : BlockIndex; in decodeBBAddrMapImpl()
887 for (uint32_t BlockIndex = 0; in decodeBBAddrMapImpl() local
889 !ULEBSizeErr && Cur && (BlockIndex < TotalNumBlocks); in decodeBBAddrMapImpl()
890 ++BlockIndex) { in decodeBBAddrMapImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h996 const DenseMap<const BlockT *, size_t> &BlockIndex,
1379 DenseMap<const BlockT *, size_t> BlockIndex;
1385 BlockIndex[BB] = I;
1402 initTransitionProbabilities(ReachableBlocks, BlockIndex, ProbMatrix);
1412 if (BlockIndex.count(&BB)) {
1413 Freqs[Node.Index].Scaled = Freq[BlockIndex[&BB]];
1562 const DenseMap<const BlockT *, size_t> &BlockIndex,
1574 if (!BlockIndex.contains(SI))
1586 size_t Dst = BlockIndex.find(SI)->second;
1608 size_t EntryIdx = BlockIndex.find(&F->front())->second;
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFile.cpp103 Expected<ArrayRef<uint8_t>> PDBFile::getBlockData(uint32_t BlockIndex, in getBlockData() argument
105 uint64_t StreamBlockOffset = msf::blockToOffset(BlockIndex, getBlockSize()); in getBlockData()
113 Error PDBFile::setBlockData(uint32_t BlockIndex, uint32_t Offset, in setBlockData() argument
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.cpp235 uint32_t BlockIndex = FileOffset / BlockSize; in getOffsetInStream()
236 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize; in getOffsetInStream() local
238 auto Iter = llvm::find(StreamBlocks, BlockIndex); in getOffsetInStream()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp12448 for (size_t BlockIndex = 0; BlockIndex < NumBlocks; BlockIndex++) in isWideDUPMask() local
12450 int Elt = M[BlockIndex * NumEltsPerBlock + I]; in isWideDUPMask()