/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIModeRegister.cpp | 114 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anon61d306190111::SIModeRegister 348 BlockInfo[MBB.getNumber()] = std::move(NewInfo); in processBlockPhase1() 362 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2() 379 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2() 381 } else if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2() 382 BlockInfo[ThisBlock]->Pred = BlockInfo[PredBlock]->Exit; in processBlockPhase2() 390 if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2() 391 if (BlockInfo[ThisBlock]->ExitSet) { in processBlockPhase2() 392 BlockInfo[ThisBlock]->Pred = in processBlockPhase2() 393 BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[PredBlock]->Exit); in processBlockPhase2() [all …]
|
H A D | GCNPreRALongBranchReg.cpp | 50 SmallVectorImpl<BasicBlockInfo> &BlockInfo); 74 MachineFunction &MF, SmallVectorImpl<BasicBlockInfo> &BlockInfo) { in generateBlockInfo() argument 76 BlockInfo.resize(MF.getNumBlockIDs()); in generateBlockInfo() 91 BlockInfo[MBB.getNumber()].Size = 8 * NumInstr; in generateBlockInfo() 99 BlockInfo[Num].Offset = BlockInfo[PrevNum].Offset + BlockInfo[PrevNum].Size; in generateBlockInfo() 121 SmallVector<BasicBlockInfo, 16> BlockInfo; in runOnMachineFunction() local 122 generateBlockInfo(MF, BlockInfo); in runOnMachineFunction() 130 LongBranchFactor * BlockInfo[DestBB->getNumber()].Offset); in runOnMachineFunction()
|
/freebsd/contrib/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 …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | BranchRelaxation.cpp | 81 SmallVector<BasicBlockInfo, 16> BlockInfo; 139 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS() 140 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS() 164 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in scanFunction() 174 BlockInfo.clear(); in scanFunction() 175 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction() 186 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); 218 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in adjustBlockOffsets() 236 BlockInfo[Nu in createNewBlockAfter() 80 SmallVector<BasicBlockInfo, 16> BlockInfo; global() member in __anon6cb7e2b90111::BranchRelaxation [all...] |
H A D | MachineTraceMetrics.cpp | 73 BlockInfo.resize(MF->getNumBlockIDs()); in runOnMachineFunction() 81 BlockInfo.clear(); in releaseMemory() 99 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources() 145 assert(BlockInfo[MBBNum].hasResources() && in getProcReleaseAtCycles() 158 BlockInfo.resize(MTM.BlockInfo.size()); in Ensemble() 160 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble() 161 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble() 176 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources() 192 TraceBlockInfo *PredTBI = &BlockInfo[PredNum]; in computeDepthResources() 209 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources() [all …]
|
H A D | CFIFixup.cpp | 141 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, {false, false, false, false}); in runOnMachineFunction() 142 BlockInfo[0].Reachable = true; in runOnMachineFunction() 143 BlockInfo[0].StrongNoFrameOnEntry = true; in runOnMachineFunction() 148 BlockFlags &Info = BlockInfo[MBB->getNumber()]; in runOnMachineFunction() 165 BlockFlags &SuccInfo = BlockInfo[Succ->getNumber()]; in runOnMachineFunction() 192 bool HasFrame = BlockInfo[PrologueBlock->getNumber()].HasFrameOnExit; in runOnMachineFunction() 194 const BlockFlags &Info = BlockInfo[CurrBB->getNumber()]; in runOnMachineFunction() 203 BlockFlags &PredInfo = BlockInfo[Pred->getNumber()]; in runOnMachineFunction() 114 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, {false, false, false, false}); runOnMachineFunction() local
|
H A D | StackColoring.cpp | 541 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() local 543 dumpBV("BEGIN", BlockInfo.Begin); in dumpBB() 544 dumpBV("END", BlockInfo.End); in dumpBB() 545 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB() 546 dumpBV("LIVE_OUT", BlockInfo.LiveOut); in dumpBB() 729 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; in collectMarkers() local 731 BlockInfo.Begin.resize(NumSlot); in collectMarkers() 732 BlockInfo.End.resize(NumSlot); in collectMarkers() 742 if (BlockInfo.Begin.test(Slot)) { in collectMarkers() 743 BlockInfo.Begin.reset(Slot); in collectMarkers() [all …]
|
H A D | AssignmentTrackingAnalysis.cpp | 1144 struct BlockInfo { struct in __anon3afac2c40211::AssignmentTrackingLowering 1177 const_cast<const BlockInfo *>(this)->getAssignmentMap(Kind)); in getAssignmentMap() 1222 bool operator==(const BlockInfo &Other) const { in operator ==() argument 1229 bool operator!=(const BlockInfo &Other) const { return !(*this == Other); } in operator !=() argument 1258 static BlockInfo join(const BlockInfo &A, const BlockInfo &B, int NumVars) { in join() argument 1274 BlockInfo Join; in join() 1299 DenseMap<const BasicBlock *, BlockInfo> LiveIn; 1300 DenseMap<const BasicBlock *, BlockInfo> LiveOut; 1338 BlockInfo joinBlockInfo(const BlockInfo &A, const BlockInfo &B); 1344 void process(BasicBlock &BB, BlockInfo *LiveSet); [all …]
|
H A D | SplitKit.h | 114 /// Two BlockInfo entries are created for template 4. One for the live-in 118 /// Live-through blocks without any uses don't get BlockInfo entries. They 121 struct BlockInfo { struct 129 /// isOneInstr - Returns true when this BlockInfo describes a single argument 150 SmallVector<BlockInfo, 8> UseBlocks; argument 198 /// getUseBlocks - Return an array of BlockInfo objects for the basic blocks 200 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } 233 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const; in getLastSplitPoint() 525 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI); 548 void splitRegInBlock(const SplitAnalysis::BlockInfo [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInsertWriteVXRM.cpp | 168 std::vector<BlockData> BlockInfo; member in __anon24c885d00111::RISCVInsertWriteVXRM 212 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeVXRMChanges() 241 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAvailable() 250 Available = Available.intersect(BlockInfo[P->getNumber()].AvailableOut); in computeAvailable() 275 if (!BlockInfo[S->getNumber()].InQueue) { in computeAvailable() 276 BlockInfo[S->getNumber()].InQueue = true; in computeAvailable() 283 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAnticipated() 293 Anticipated.intersect(BlockInfo[S->getNumber()].AnticipatedIn); in computeAnticipated() 319 if (!BlockInfo[P->getNumber()].InQueue) { in computeAnticipated() 320 BlockInfo[P->getNumber()].InQueue = true; in computeAnticipated() [all …]
|
H A D | RISCVInsertVSETVLI.cpp | 878 std::vector<BlockData> BlockInfo; member in __anoncddf45c50111::RISCVInsertVSETVLI 1296 Info = BlockInfo[MBB.getNumber()].Pred; in computeVLVTYPEChanges() 1311 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeIncomingVLVTYPE() 1323 InInfo = InInfo.intersect(BlockInfo[P->getNumber()].Exit); in computeIncomingVLVTYPE() 1357 if (!BlockInfo[S->getNumber()].InQueue) { in computeIncomingVLVTYPE() 1358 BlockInfo[S->getNumber()].InQueue = true; in computeIncomingVLVTYPE() 1382 const VSETVLIInfo &PBBExit = BlockInfo[PBB->getNumber()].Exit; in needVSETVLIPHI() 1411 VSETVLIInfo CurInfo = BlockInfo[MBB.getNumber()].Pred; in emitVSETVLIs() 1489 const auto &Info = BlockInfo[MBB.getNumber()]; in emitVSETVLIs() 1505 if (!BlockInfo[MBB.getNumber()].Pred.isUnknown()) in doPRE() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ADCE.cpp | 130 MapVector<BasicBlock *, BlockInfoType> BlockInfo; member in __anonf15092a00111::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 …]
|
/freebsd/contrib/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 LockAll() 117 for (BlockInfo &b : blocks_) b.Lock(); in UnlockAll() 121 for (BlockInfo &b : blocks_) b.Unlock(); in TestOnlyUnmap() 125 for (BlockInfo &b : blocks_) b.TestOnlyUnmap(this); in Get() 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 [all...] |
H A D | sanitizer_stack_store.h | 88 class BlockInfo { 116 BlockInfo blocks_[kBlockCount] = {};
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64CompressJumpTables.cpp | 38 SmallVector<int, 8> BlockInfo; member in __anon6e68054a0111::AArch64CompressJumpTables 88 BlockInfo.clear(); in scanFunction() 89 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction() 100 BlockInfo[MBB.getNumber()] = OffsetAfterAlignment; in scanFunction() 126 int BlockOffset = BlockInfo[Block->getNumber()]; in compressJumpTable() 177 int Offset = BlockInfo[MBB.getNumber()]; in runOnMachineFunction()
|
/freebsd/contrib/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; 566 /// the BlockInfo block. Only llvm-bcanalyzer uses this. 572 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo 376 BitstreamBlockInfo *BlockInfo = nullptr; global() variable [all...] |
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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | BitstreamRemarkParser.h | 33 BitstreamBlockInfo &BlockInfo; member 46 BitstreamBlockInfo &BlockInfo); 93 BitstreamBlockInfo BlockInfo; member
|
/freebsd/contrib/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;
|
/freebsd/contrib/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() 575 Stream.setBlockInfo(&BlockInfo); in analyze() 602 BlockInfo = std::move(*NewBlockInfo); in analyze() 667 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats() 730 FreqPair.second, Stat.first, BlockInfo, CurStreamType)) in printStats() [all …]
|
/freebsd/contrib/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()
|
/freebsd/contrib/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()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineTraceMetrics.h | 269 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum() 335 SmallVector<TraceBlockInfo, 4> BlockInfo; variable 405 SmallVector<FixedBlockInfo, 4> BlockInfo;
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 86 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo, in getBlockDescriptorName() argument 89 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName() 91 if (BlockInfo.NeedsCopyDispose) { in getBlockDescriptorName() 96 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName() 98 for (auto &Cap : BlockInfo.SortedCaptures) { in getBlockDescriptorName() 110 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName() 116 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName() 118 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName() 128 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName() 134 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/ |
H A D | BitstreamReader.cpp | 32 if (BlockInfo) { in EnterSubBlock() 33 if (const BitstreamBlockInfo::BlockInfo *Info = in EnterSubBlock() 34 BlockInfo->getBlockInfo(BlockID)) { in EnterSubBlock() 429 BitstreamBlockInfo::BlockInfo *CurBlockInfo = nullptr; in ReadBlockInfoBlock()
|