Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp107 Value *getCompareLoadPairs(unsigned BlockIndex, unsigned &LoadIndex);
108 void emitLoadCompareBlock(unsigned BlockIndex);
109 void emitLoadCompareBlockMultipleLoads(unsigned BlockIndex,
111 void emitLoadCompareByteBlock(unsigned BlockIndex, unsigned OffsetBytes);
336 void MemCmpExpansion::emitLoadCompareByteBlock(unsigned BlockIndex, in emitLoadCompareByteBlock() argument
338 BasicBlock *BB = LoadCmpBlocks[BlockIndex]; in emitLoadCompareByteBlock()
347 if (BlockIndex < (LoadCmpBlocks.size() - 1)) { in emitLoadCompareByteBlock()
353 BranchInst::Create(EndBlock, LoadCmpBlocks[BlockIndex + 1], Cmp); in emitLoadCompareByteBlock()
358 {DominatorTree::Insert, BB, LoadCmpBlocks[BlockIndex + 1]}}); in emitLoadCompareByteBlock()
371 Value *MemCmpExpansion::getCompareLoadPairs(unsigned BlockIndex, in getCompareLoadPairs() argument
[all …]
H A DMachineBlockPlacement.cpp3493 DenseMap<const MachineBasicBlock *, uint64_t> BlockIndex; in applyExtTsp() local
3494 BlockIndex.reserve(F->size()); in applyExtTsp()
3499 BlockIndex[&MBB] = NumBlocks++; in applyExtTsp()
3509 BlockCounts[BlockIndex[&MBB]] = BlockFreq.getFrequency(); in applyExtTsp()
3519 BlockSizes[BlockIndex[&MBB]] = 4 * NumInsts; in applyExtTsp()
3524 auto Jump = std::make_pair(BlockIndex[&MBB], BlockIndex[Succ]); in applyExtTsp()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileInference.h162 DenseMap<const BasicBlockT *, uint64_t> &BlockIndex);
204 DenseMap<const BasicBlockT *, uint64_t> BlockIndex;
206 BlockIndex.reserve(Reachable.size());
210 BlockIndex[&BB] = BasicBlocks.size();
232 initFunction(Func, BasicBlocks, BlockIndex);
241 BlockWeights[BB] = Func.Blocks[BlockIndex[BB]].Flow;
266 DenseMap<const BasicBlockT *, uint64_t> &BlockIndex) {
284 if (!BlockIndex.count(Succ))
287 Jump.Source = BlockIndex[BB];
288 Jump.Target = BlockIndex[Succ];
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DMergeICmps.cpp745 for (int BlockIndex = NumBlocks - 1; BlockIndex > 0; --BlockIndex) { in getOrderedBlocks() local
749 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
753 Blocks[BlockIndex] = CurBlock; in getOrderedBlocks()
757 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
763 LLVM_DEBUG(dbgs() << "skip: block " << BlockIndex in getOrderedBlocks()
/openbsd-src/gnu/llvm/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,
/openbsd-src/gnu/llvm/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;
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DELF.cpp687 for (uint32_t BlockIndex = 0; in decodeBBAddrMap() local
688 !ULEBSizeErr && Cur && (BlockIndex < NumBlocks); ++BlockIndex) { in decodeBBAddrMap()
689 uint32_t ID = Version >= 2 ? ReadULEB128AsUInt32() : BlockIndex; in decodeBBAddrMap()
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Delf2yaml.cpp910 for (uint64_t BlockIndex = 0; Cur && BlockIndex < NumBlocks; ++BlockIndex) { in dumpBBAddrMapSection() local
911 uint32_t ID = Version >= 2 ? Data.getULEB128(Cur) : BlockIndex; in dumpBBAddrMapSection()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp10696 for (size_t BlockIndex = 0; BlockIndex < NumBlocks; BlockIndex++) in isWideDUPMask() local
10698 int Elt = M[BlockIndex * NumEltsPerBlock + I]; in isWideDUPMask()