| /llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIModeRegister.cpp | 114 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anonc87768cc0111::SIModeRegister 339 BlockInfo[MBB.getNumber()] = std::move(NewInfo); in processBlockPhase1() 353 BlockInfo[ThisBlock]->Pred = DefaultStatus; 370 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2() 372 } else if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2() 373 BlockInfo[ThisBlock]->Pred = BlockInfo[PredBlock]->Exit; in processBlockPhase2() 381 if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2() 382 if (BlockInfo[ThisBlock]->ExitSet) { in processBlockPhase2() 383 BlockInfo[ThisBloc in processBlockPhase2() [all...] |
| H A D | GCNPreRALongBranchReg.cpp | 49 SmallVectorImpl<BasicBlockInfo> &BlockInfo); 73 MachineFunction &MF, SmallVectorImpl<BasicBlockInfo> &BlockInfo) { in generateBlockInfo() 75 BlockInfo.resize(MF.getNumBlockIDs()); in generateBlockInfo() 90 BlockInfo[MBB.getNumber()].Size = 8 * NumInstr; in generateBlockInfo() 98 BlockInfo[Num].Offset = BlockInfo[PrevNum].Offset + BlockInfo[PrevNum].Size; in generateBlockInfo() 120 SmallVector<BasicBlockInfo, 16> BlockInfo; in runOnMachineFunction() 121 generateBlockInfo(MF, BlockInfo); in runOnMachineFunction() local 129 LongBranchFactor * BlockInfo[DestB in runOnMachineFunction() 74 generateBlockInfo(MachineFunction & MF,SmallVectorImpl<BasicBlockInfo> & BlockInfo) generateBlockInfo() argument [all...] |
| /llvm-project/llvm/lib/Analysis/ |
| H A D | StackLifetime.cpp | 128 BlockLifetimeInfo &BlockInfo = in collectMarkers() local 146 BlockInfo.End.reset(M.AllocaNo); in collectMarkers() 147 BlockInfo.Begin.set(M.AllocaNo); in collectMarkers() 149 BlockInfo.Begin.reset(M.AllocaNo); in collectMarkers() 150 BlockInfo.End.set(M.AllocaNo); in collectMarkers() 186 BlockLifetimeInfo &BlockInfo = BlockLiveness.find(BB)->getSecond(); in calculateLocalLiveness() local 203 if (BitsIn.test(BlockInfo.LiveIn)) { in calculateLocalLiveness() 204 BlockInfo.LiveIn |= BitsIn; in calculateLocalLiveness() 216 BitsIn.reset(BlockInfo.End); in calculateLocalLiveness() 218 BitsIn |= BlockInfo.Begin; in calculateLocalLiveness() [all …]
|
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | BranchRelaxation.cpp | 81 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anoned28e3ec0111::BranchRelaxation 142 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS() 143 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS() 167 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs() 177 BlockInfo.clear(); in scanFunction() 178 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction() 189 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction() 222 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset() 245 BlockInfo[Nu in createNewBlockAfter() [all...] |
| H A D | MachineTraceMetrics.cpp | 83 BlockInfo.resize(MF->getNumBlockIDs()); in releaseMemory() 97 BlockInfo.clear(); in getResources() 113 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources() 159 assert(BlockInfo[MBBNum].hasResources() && in Ensemble() 172 BlockInfo.resize(MTM.BlockInfo.size()); 174 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); 175 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in computeDepthResources() 190 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources() 206 TraceBlockInfo *PredTBI = &BlockInfo[PredNu [all...] |
| H A D | CFIFixup.cpp | 206 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, in runOnMachineFunction() 208 BlockInfo[0].Reachable = true; in runOnMachineFunction() 209 BlockInfo[0].StrongNoFrameOnEntry = true; in runOnMachineFunction() 214 BlockFlags &Info = BlockInfo[MBB->getNumber()]; in runOnMachineFunction() 231 BlockFlags &SuccInfo = BlockInfo[Succ->getNumber()]; in runOnMachineFunction() 257 bool HasFrame = BlockInfo[PrologueBlock->getNumber()].HasFrameOnExit; 259 const BlockFlags &Info = BlockInfo[CurrBB->getNumber()]; 268 BlockFlags &PredInfo = BlockInfo[Pred->getNumber()]; 141 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, {false, false, false, false}); runOnMachineFunction() local
|
| H A D | StackColoring.cpp | 546 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() 548 dumpBV("BEGIN", BlockInfo.Begin); 549 dumpBV("END", BlockInfo.End); in dump() 550 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dump() 551 dumpBV("LIVE_OUT", BlockInfo.LiveOut); in dump() 734 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; in collectMarkers() 736 BlockInfo.Begin.resize(NumSlot); in collectMarkers() 737 BlockInfo.End.resize(NumSlot); in collectMarkers() 747 if (BlockInfo.Begin.test(Slot)) { in collectMarkers() 748 BlockInfo in collectMarkers() 541 const BlockLifetimeInfo &BlockInfo = BI->second; dumpBB() local 729 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; collectMarkers() local 788 BlockLifetimeInfo &BlockInfo = BI->second; calculateLocalLiveness() local [all...] |
| H A D | AssignmentTrackingAnalysis.cpp | 1145 struct BlockInfo { 1178 const_cast<const BlockInfo *>(this)->getAssignmentMap(Kind)); in getAssignmentMap() 1223 bool operator==(const BlockInfo &Other) const { in operator ==() 1230 bool operator!=(const BlockInfo &Other) const { return !(*this == Other); } in isValid() argument 1259 static BlockInfo join(const BlockInfo &A, const BlockInfo &B, int NumVars) { in join() 1271 // BlockInfo::init initializes all variable entries to the ⊤ value so we in join() 1275 BlockInfo Join; in join() 1300 DenseMap<const BasicBlock *, BlockInfo> LiveI 1144 struct BlockInfo { global() struct in __anonaad91fb70211::AssignmentTrackingLowering 1146 VariableIDsInBlock__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo global() argument 1149 StackHomeValue__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo global() argument 1151 DebugValue__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo global() argument 1162 LiveLoc__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo global() argument 1165 AssignmentKind__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo global() argument 1166 getAssignmentMap__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo getAssignmentMap() argument 1175 getAssignmentMap__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo getAssignmentMap() argument 1180 isVariableTracked__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo isVariableTracked() argument 1184 getAssignment__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo getAssignment() argument 1189 getLocKind__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo getLocKind() argument 1196 setLocKind__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo setLocKind() argument 1204 setAssignment__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo setAssignment() argument 1213 hasAssignment__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo hasAssignment() argument 1222 operator ==__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo operator ==() argument 1229 operator !=__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo operator !=() argument 1236 init__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo init() argument 1250 joinElmt__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo joinElmt() argument 1258 join__anonaad91fb70211::AssignmentTrackingLowering::BlockInfo join() argument [all...] |
| H A D | SplitKit.h | 121 struct BlockInfo { struct 150 SmallVector<BlockInfo, 8> UseBlocks; argument 200 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks() 233 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const; 525 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI); 548 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI, 560 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
|
| /llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertWriteVXRM.cpp | 197 std::vector<BlockData> BlockInfo; 241 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAvailable() 270 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAvailable() 279 Available = Available.intersect(BlockInfo[P->getNumber()].AvailableOut); in computeAvailable() 304 if (!BlockInfo[S->getNumber()].InQueue) { in computeAnticipated() 305 BlockInfo[S->getNumber()].InQueue = true; in computeAnticipated() 312 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAnticipated() 324 Anticipated.intersectAnticipated(BlockInfo[S->getNumber()].AnticipatedIn); in computeAnticipated() 327 Anticipated.intersect(BlockInfo[S->getNumber()].AnticipatedIn); in emitWriteVXRM() 353 if (!BlockInfo[ in emitWriteVXRM() 168 std::vector<BlockData> BlockInfo; global() member in __anon8d0590630111::RISCVInsertWriteVXRM [all...] |
| H A D | RISCVInsertVSETVLI.cpp | 912 std::vector<BlockData> BlockInfo; 1343 Info = BlockInfo[MBB.getNumber()].Pred; in computeIncomingVLVTYPE() 1359 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeIncomingVLVTYPE() 1371 InInfo = InInfo.intersect(BlockInfo[P->getNumber()].Exit); in needVSETVLIPHI() 1405 if (!BlockInfo[S->getNumber()].InQueue) { in needVSETVLIPHI() 1406 BlockInfo[S->getNumber()].InQueue = true; in needVSETVLIPHI() 1430 const VSETVLIInfo &PBBExit = BlockInfo[PBB->getNumber()].Exit; in emitVSETVLIs() 1459 VSETVLIInfo CurInfo = BlockInfo[MBB.getNumber()].Pred; in emitVSETVLIs() 1547 const auto &Info = BlockInfo[MBB.getNumber()]; in doPRE() 1563 if (!BlockInfo[MB in doPRE() 882 std::vector<BlockData> BlockInfo; global() member in __anon98228f980111::RISCVInsertVSETVLI [all...] |
| /llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | ADCE.cpp | 130 MapVector<BasicBlock *, BlockInfoType> BlockInfo; member in __anondb19ab130111::AggressiveDeadCodeElimination 131 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() 170 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive() 225 BlockInfo.reserve(NumBlocks); in initialize() 232 auto &Info = BlockInfo[&BB]; in initialize() 240 for (auto &BBInfo : BlockInfo) in initialize() 246 for (auto &BBInfo : BlockInfo) in initialize() 305 auto &Info = BlockInfo[BB]; in initialize() 315 markLive(BlockInfo[DFNode->getBlock()].Terminator); in initialize() 320 auto &EntryInfo = BlockInfo[BB]; in initialize() [all …]
|
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stack_store.cpp | 112 for (BlockInfo &b : blocks_) res += b.Pack(type, this); in Pack() 117 for (BlockInfo &b : blocks_) b.Lock(); in LockAll() 121 for (BlockInfo &b : blocks_) b.Unlock(); in UnlockAll() 125 for (BlockInfo &b : blocks_) b.TestOnlyUnmap(this); in TestOnlyUnmap() 129 uptr *StackStore::BlockInfo::Get() const { in Get() 136 uptr *StackStore::BlockInfo::Create(StackStore *store) { in Create() 146 uptr *StackStore::BlockInfo::GetOrCreate(StackStore *store) { in GetOrCreate() 258 uptr *StackStore::BlockInfo::GetOrUnpack(StackStore *store) { in GetOrUnpack() 306 uptr StackStore::BlockInfo::Pack(Compression type, StackStore *store) { in Pack() 369 void StackStore::BlockInfo::TestOnlyUnmap(StackStore *store) { in TestOnlyUnmap() [all …]
|
| H A D | sanitizer_stack_store.h | 88 class BlockInfo { 116 BlockInfo blocks_[kBlockCount] = {};
|
| /llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64CompressJumpTables.cpp | 36 SmallVector<int, 8> BlockInfo; 86 BlockInfo.clear(); 87 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction() 98 BlockInfo[MBB.getNumber()] = OffsetAfterAlignment; in scanFunction() 124 int BlockOffset = BlockInfo[Block->getNumber()]; in compressJumpTable() 175 int Offset = BlockInfo[MBB.getNumber()]; in runOnMachineFunction() 38 SmallVector<int, 8> BlockInfo; global() member in __anoncc230c7d0111::AArch64CompressJumpTables
|
| /llvm-project/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamReader.h | 41 struct BlockInfo { struct 49 std::vector<BlockInfo> BlockInfoRecords; argument 54 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo() 59 for (const BlockInfo &BI : BlockInfoRecords) in getBlockInfo() 65 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() 66 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 67 return *const_cast<BlockInfo*>(BI); in getOrCreateBlockInfo() 375 BitstreamBlockInfo *BlockInfo = nullptr; variable 572 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo = BI; } in setBlockInfo()
|
| H A D | BitstreamWriter.h | 82 struct BlockInfo { struct 86 std::vector<BlockInfo> BlockInfoRecords; argument 352 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() 357 for (BlockInfo &BI : BlockInfoRecords) in getBlockInfo() 386 if (BlockInfo *Info = getBlockInfo(BlockID)) in EnterSubblock() 679 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() 680 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 698 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
|
| /llvm-project/llvm/include/llvm/Remarks/ |
| H A D | BitstreamRemarkParser.h | 33 BitstreamBlockInfo &BlockInfo; member 46 BitstreamBlockInfo &BlockInfo); 93 BitstreamBlockInfo BlockInfo; member
|
| /llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 453 struct BlockInfo { struct 463 BlockInfo() = default; argument 464 BlockInfo(BlockInfo &&) = default; 465 BlockInfo &operator=(BlockInfo &&) = default; argument 520 std::vector<BlockInfo> BBInfo; 527 BlockInfo *CurrentBlockInfo = nullptr;
|
| /llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeAnalyzer.cpp | 26 GetBlockName(unsigned BlockID, const BitstreamBlockInfo &BlockInfo, in GetBlockName() argument 36 if (const BitstreamBlockInfo::BlockInfo *Info = in GetBlockName() 37 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName() 90 const BitstreamBlockInfo &BlockInfo, in GetCodeName() argument 110 if (const BitstreamBlockInfo::BlockInfo *Info = in GetCodeName() 111 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName() 577 Stream.setBlockInfo(&BlockInfo); in analyze() 604 BlockInfo = std::move(*NewBlockInfo); in analyze() 669 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats() 732 FreqPair.second, Stat.first, BlockInfo, CurStreamTyp in printStats() [all...] |
| /llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_stack_store_test.cpp | 46 using BlockInfo = StackStore::BlockInfo; typedef in __sanitizer::StackStoreTest 54 for (BlockInfo& b : store_.blocks_) res += b.Stored(0); in CountReadyToPackBlocks() 60 for (const BlockInfo& b : store_.blocks_) res += b.IsPacked(); in CountPackedBlocks()
|
| /llvm-project/llvm/lib/Remarks/ |
| H A D | BitstreamRemarkParser.cpp | 39 BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo) in BitstreamMetaParserHelper() argument 40 : Stream(Stream), BlockInfo(BlockInfo) {} in BitstreamMetaParserHelper() 244 BlockInfo = **MaybeBlockInfo; in parseBlockInfoBlock() 246 Stream.setBlockInfo(&BlockInfo); in parseBlockInfoBlock() 351 ParserHelper.BlockInfo); in parseMeta() 448 ParserHelper.BlockInfo); in processExternalFilePath()
|
| /llvm-project/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticReader.cpp | 38 std::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()
|
| /llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 518 std::vector<CFGBlockInfo> &BlockInfo); 733 std::vector<CFGBlockInfo> &BlockInfo) { in traverseCFG() 738 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlockID]; in traverseCFG() 754 CFGBlockInfo *PrevBlockInfo = &BlockInfo[PrevBlockID]; in traverseCFG() 800 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG() 808 saveContext(nullptr, BlockInfo[exitID].ExitContext); in findBlockLocations() 815 std::vector<CFGBlockInfo> &BlockInfo) { in findBlockLocations() 817 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations() 849 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations() 854 BlockInfo[(*CurrBloc 728 traverseCFG(CFG * CFGraph,const PostOrderCFGView * SortedGraph,std::vector<CFGBlockInfo> & BlockInfo) traverseCFG() argument 810 findBlockLocations(CFG * CFGraph,const PostOrderCFGView * SortedGraph,std::vector<CFGBlockInfo> & BlockInfo) findBlockLocations() argument 1016 std::vector<CFGBlockInfo> BlockInfo; global() member in __anonf09bee240a11::ThreadSafetyAnalyzer [all...] |
| /llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineTraceMetrics.h | 276 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } 342 SmallVector<TraceBlockInfo, 4> BlockInfo; 418 SmallVector<FixedBlockInfo, 4> BlockInfo; 335 SmallVector<TraceBlockInfo, 4> BlockInfo; global() variable
|