Home
last modified time | relevance | path

Searched refs:BlockInfo (Results 1 – 25 of 36) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp113 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anon0e7206e40111::SIModeRegister
316 BlockInfo[MBB.getNumber()] = std::move(NewInfo); in processBlockPhase1()
330 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
347 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
349 } else if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2()
350 BlockInfo[ThisBlock]->Pred = BlockInfo[PredBlock]->Exit; in processBlockPhase2()
358 if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2()
359 if (BlockInfo[ThisBlock]->ExitSet) { in processBlockPhase2()
360 BlockInfo[ThisBlock]->Pred = in processBlockPhase2()
361 BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[PredBlock]->Exit); in processBlockPhase2()
[all …]
H A DSIWholeQuadMode.cpp135 struct BlockInfo { struct
172 MapVector<MachineBasicBlock *, BlockInfo> Blocks;
498 BlockInfo &BBI = Blocks[&MBB]; in scanInstructions()
617 BlockInfo &BI = Blocks[MBB]; in propagateInstruction()
664 BlockInfo BI = Blocks[&MBB]; // Make a copy to prevent dangling references. in propagateBlock()
678 BlockInfo &PredBI = Blocks[Pred]; in propagateBlock()
689 BlockInfo &SuccBI = Blocks[Succ]; in propagateBlock()
1023 const BlockInfo &BI = BII->second; in lowerBlock()
1224 BlockInfo &BI = BII->second; in processBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp80 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anon861836040111::BranchRelaxation
129 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS()
130 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS()
140 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
150 BlockInfo.clear(); in scanFunction()
151 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
158 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction()
181 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
199 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(MBB); in adjustBlockOffsets()
213 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in createNewBlockAfter()
[all …]
H A DMachineTraceMetrics.cpp74 BlockInfo.resize(MF->getNumBlockIDs()); in runOnMachineFunction()
82 BlockInfo.clear(); in releaseMemory()
100 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources()
146 assert(BlockInfo[MBBNum].hasResources() && in getProcResourceCycles()
159 BlockInfo.resize(MTM.BlockInfo.size()); in Ensemble()
161 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
162 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
177 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources()
193 TraceBlockInfo *PredTBI = &BlockInfo[PredNum]; in computeDepthResources()
210 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources()
[all …]
H A DStackColoring.cpp576 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() local
578 dumpBV("BEGIN", BlockInfo.Begin); in dumpBB()
579 dumpBV("END", BlockInfo.End); in dumpBB()
580 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
581 dumpBV("LIVE_OUT", BlockInfo.LiveOut); in dumpBB()
762 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; in collectMarkers() local
764 BlockInfo.Begin.resize(NumSlot); in collectMarkers()
765 BlockInfo.End.resize(NumSlot); in collectMarkers()
775 if (BlockInfo.Begin.test(Slot)) { in collectMarkers()
776 BlockInfo.Begin.reset(Slot); in collectMarkers()
[all …]
H A DSplitKit.h122 struct BlockInfo { struct
151 SmallVector<BlockInfo, 8> UseBlocks; argument
205 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks()
236 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const;
541 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
564 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
576 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
H A DRegAllocGreedy.cpp1231 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in addSplitConstraints()
1237 const SplitAnalysis::BlockInfo &BI = UseBlocks[I]; in addSplitConstraints()
1456 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in calcSpillCost()
1457 for (const SplitAnalysis::BlockInfo &BI : UseBlocks) { in calcSpillCost()
1610 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in calcGlobalSplitCost()
1612 const SplitAnalysis::BlockInfo &BI = UseBlocks[I]; in calcGlobalSplitCost()
1713 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in splitAroundRegion()
1714 for (const SplitAnalysis::BlockInfo &BI : UseBlocks) { in splitAroundRegion()
2034 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in tryBlockSplit()
2035 for (const SplitAnalysis::BlockInfo &BI : UseBlocks) { in tryBlockSplit()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DStackLifetime.cpp134 BlockLifetimeInfo &BlockInfo = in collectMarkers() local
152 BlockInfo.End.reset(M.AllocaNo); in collectMarkers()
153 BlockInfo.Begin.set(M.AllocaNo); in collectMarkers()
155 BlockInfo.Begin.reset(M.AllocaNo); in collectMarkers()
156 BlockInfo.End.set(M.AllocaNo); in collectMarkers()
186 BlockLifetimeInfo &BlockInfo = BlockLiveness.find(BB)->getSecond(); in calculateLocalLiveness() local
216 LocalLiveOut.reset(BlockInfo.End); in calculateLocalLiveness()
217 LocalLiveOut |= BlockInfo.Begin; in calculateLocalLiveness()
220 if (LocalLiveIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness()
221 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DADCE.cpp126 MapVector<BasicBlock *, BlockInfoType> BlockInfo; member in __anon535d972b0111::AggressiveDeadCodeElimination
127 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive()
166 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive()
221 BlockInfo.reserve(NumBlocks); in initialize()
228 auto &Info = BlockInfo[&BB]; in initialize()
236 for (auto &BBInfo : BlockInfo) in initialize()
242 for (auto &BBInfo : BlockInfo) in initialize()
301 auto &Info = BlockInfo[BB]; in initialize()
311 markLive(BlockInfo[DFNode->getBlock()].Terminator); in initialize()
316 auto &EntryInfo = BlockInfo[BB]; in initialize()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_persistent_allocator.h39 struct BlockInfo { struct
40 const BlockInfo *next; argument
44 const BlockInfo *curr; argument
80 uptr size = count * sizeof(T) + sizeof(BlockInfo); in refillAndAlloc()
83 BlockInfo *new_block = (BlockInfo *)(mem + allocsz) - 1; in refillAndAlloc()
91 allocsz -= sizeof(BlockInfo); in refillAndAlloc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp38 SmallVector<int, 8> BlockInfo; member in __anonf1e38e950111::AArch64CompressJumpTables
88 BlockInfo.clear(); in scanFunction()
89 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
99 BlockInfo[MBB.getNumber()] = AlignedOffset; in scanFunction()
125 int BlockOffset = BlockInfo[Block->getNumber()]; in compressJumpTable()
176 int Offset = BlockInfo[MBB.getNumber()]; in runOnMachineFunction()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h42 struct BlockInfo { struct
50 std::vector<BlockInfo> BlockInfoRecords; argument
55 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo()
67 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
68 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
69 return *const_cast<BlockInfo*>(BI); in getOrCreateBlockInfo()
358 BitstreamBlockInfo *BlockInfo = nullptr; variable
554 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo = BI; } in setBlockInfo()
H A DBitstreamWriter.h70 struct BlockInfo { struct
74 std::vector<BlockInfo> BlockInfoRecords; argument
270 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
305 if (BlockInfo *Info = getBlockInfo(BlockID)) in EnterSubblock()
599 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
600 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
618 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Remarks/
H A DBitstreamRemarkParser.h33 BitstreamBlockInfo &BlockInfo; member
46 BitstreamBlockInfo &BlockInfo);
93 BitstreamBlockInfo BlockInfo; member
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h435 struct BlockInfo { struct
445 BlockInfo() = default; argument
446 BlockInfo(BlockInfo &&) = default;
447 BlockInfo &operator=(BlockInfo &&) = default; argument
504 std::vector<BlockInfo> BBInfo;
511 BlockInfo *CurrentBlockInfo = nullptr;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp25 const BitstreamBlockInfo &BlockInfo, in GetBlockName() argument
35 if (const BitstreamBlockInfo::BlockInfo *Info = in GetBlockName()
36 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName()
88 const BitstreamBlockInfo &BlockInfo, in GetCodeName() argument
108 if (const BitstreamBlockInfo::BlockInfo *Info = in GetCodeName()
109 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName()
564 Stream.setBlockInfo(&BlockInfo); in analyze()
593 BlockInfo = std::move(*NewBlockInfo); in analyze()
660 GetBlockName(I->first, BlockInfo, CurStreamType)) in printStats()
723 FreqPairs[i].second, I->first, BlockInfo, CurStreamType)) in printStats()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DThreadSafety.cpp518 std::vector<CFGBlockInfo> &BlockInfo);
733 std::vector<CFGBlockInfo> &BlockInfo) { in traverseCFG() argument
740 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlockID]; in traverseCFG()
756 CFGBlockInfo *PrevBlockInfo = &BlockInfo[PrevBlockID]; in traverseCFG()
802 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG()
810 saveContext(nullptr, BlockInfo[exitID].ExitContext); in traverseCFG()
817 std::vector<CFGBlockInfo> &BlockInfo) { in findBlockLocations() argument
819 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations()
851 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations()
1020 std::vector<CFGBlockInfo> BlockInfo; member in __anon68dfda3c0a11::ThreadSafetyAnalyzer
[all …]
H A DConsumed.cpp1294 BlockInfo.addInfo(*SI, std::move(CurrStates)); in splitState()
1299 BlockInfo.addInfo(*SI, std::move(FalseStates)); in splitState()
1318 BlockInfo = ConsumedBlockInfo(CFGraph->getNumBlockIDs(), SortedGraph); in run()
1330 CurrStates = BlockInfo.getInfo(CurrBlock); in run()
1390 if (BlockInfo.isBackEdge(CurrBlock, *SI)) { in run()
1391 BlockInfo.borrowInfo(*SI)->intersectAtLoopHead( in run()
1394 if (BlockInfo.allBackEdgesVisited(CurrBlock, *SI)) in run()
1395 BlockInfo.discardInfo(*SI); in run()
1397 BlockInfo.addInfo(*SI, RawState, CurrStates); in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp37 BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo) in BitstreamMetaParserHelper() argument
38 : Stream(Stream), BlockInfo(BlockInfo) {} in BitstreamMetaParserHelper()
242 BlockInfo = **MaybeBlockInfo; in parseBlockInfoBlock()
244 Stream.setBlockInfo(&BlockInfo); in parseBlockInfoBlock()
349 ParserHelper.BlockInfo); in parseMeta()
446 ParserHelper.BlockInfo); in processExternalFilePath()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp38 Optional<llvm::BitstreamBlockInfo> BlockInfo; in readDiagnostics() local
83 BlockInfo = std::move(MaybeBlockInfo.get()); in readDiagnostics()
85 if (!BlockInfo) in readDiagnostics()
87 Stream.setBlockInfo(&*BlockInfo); in readDiagnostics()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h259 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum()
324 SmallVector<TraceBlockInfo, 4> BlockInfo; variable
401 SmallVector<FixedBlockInfo, 4> BlockInfo;
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBlocks.cpp114 const CGBlockInfo &BlockInfo, const LangOptions &LangOpts,
122 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo, in getBlockDescriptorName() argument
125 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
127 if (BlockInfo.needsCopyDisposeHelpers()) { in getBlockDescriptorName()
132 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
135 findBlockCapturedManagedEntities(BlockInfo, CGM.getContext().getLangOpts(), in getBlockDescriptorName()
147 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
153 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
155 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
162 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp27 if (BlockInfo) { in EnterSubBlock()
28 if (const BitstreamBlockInfo::BlockInfo *Info = in EnterSubBlock()
29 BlockInfo->getBlockInfo(BlockID)) { in EnterSubBlock()
411 BitstreamBlockInfo::BlockInfo *CurBlockInfo = nullptr; in ReadBlockInfoBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DCrashDebugger.cpp499 std::vector<std::pair<std::string, std::string>> BlockInfo; in TestBlocks() local
502 BlockInfo.emplace_back(std::string(BB->getParent()->getName()), in TestBlocks()
531 for (const auto &BI : BlockInfo) { in TestBlocks()
607 std::vector<std::pair<std::string, std::string>> BlockInfo; in TestBlocks() local
610 BlockInfo.emplace_back(std::string(BB->getParent()->getName()), in TestBlocks()
639 for (auto &BI : BlockInfo) { in TestBlocks()
698 std::vector<std::pair<std::string, std::string>> BlockInfo; in TestBlocks() local
701 BlockInfo.emplace_back(std::string(BB->getParent()->getName()), in TestBlocks()
732 for (auto &BI : BlockInfo) { in TestBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/
H A DBitcodeAnalyzer.h51 BitstreamBlockInfo BlockInfo; variable

12