Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp114 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anon65f01fb00111::SIModeRegister
353 BlockInfo[MBB.getNumber()] = std::move(NewInfo); in processBlockPhase1()
367 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
384 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
386 } else if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2()
387 BlockInfo[ThisBlock]->Pred = BlockInfo[PredBlock]->Exit; in processBlockPhase2()
395 if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2()
396 if (BlockInfo[ThisBlock]->ExitSet) { in processBlockPhase2()
397 BlockInfo[ThisBlock]->Pred = in processBlockPhase2()
398 BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[PredBlock]->Exit); in processBlockPhase2()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DStackLifetime.cpp128 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 …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp80 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anond8b1c8d00111::BranchRelaxation
131 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS()
132 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS()
142 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
152 BlockInfo.clear(); in scanFunction()
153 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
160 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction()
183 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
201 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(MBB); in adjustBlockOffsets()
223 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in createNewBlockAfter()
[all …]
H A DMachineTraceMetrics.cpp73 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 getProcResourceCycles()
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 DCFIFixup.cpp114 SmallVector<BlockFlags, 32> BlockInfo(NumBlocks, {false, false, false, false}); in runOnMachineFunction() local
115 BlockInfo[0].Reachable = true; in runOnMachineFunction()
116 BlockInfo[0].StrongNoFrameOnEntry = true; in runOnMachineFunction()
122 BlockFlags &Info = BlockInfo[MBB->getNumber()]; in runOnMachineFunction()
144 BlockFlags &SuccInfo = BlockInfo[Succ->getNumber()]; in runOnMachineFunction()
177 bool HasFrame = BlockInfo[PrologueBlock->getNumber()].HasFrameOnExit; in runOnMachineFunction()
179 const BlockFlags &Info = BlockInfo[CurrBB->getNumber()]; in runOnMachineFunction()
188 BlockFlags &PredInfo = BlockInfo[Pred->getNumber()]; in runOnMachineFunction()
H A DStackColoring.cpp574 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() local
576 dumpBV("BEGIN", BlockInfo.Begin); in dumpBB()
577 dumpBV("END", BlockInfo.End); in dumpBB()
578 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
579 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.h121 struct BlockInfo { struct
150 SmallVector<BlockInfo, 8> UseBlocks; argument
196 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks()
227 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const;
516 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
539 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
551 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
H A DAssignmentTrackingAnalysis.cpp1007 struct BlockInfo { struct in __anonf860719b0211::AssignmentTrackingLowering
1025 bool operator==(const BlockInfo &Other) const { in operator ==() argument
1030 bool operator!=(const BlockInfo &Other) const { return !(*this == Other); } in operator !=() argument
1041 DenseMap<const BasicBlock *, BlockInfo> LiveIn;
1042 DenseMap<const BasicBlock *, BlockInfo> LiveOut;
1083 static BlockInfo joinBlockInfo(const BlockInfo &A, const BlockInfo &B);
1089 void process(BasicBlock &BB, BlockInfo *LiveSet);
1094 void processNonDbgInstruction(Instruction &I, BlockInfo *LiveSet);
1095 void processDbgInstruction(Instruction &I, BlockInfo *LiveSet);
1098 void processTaggedInstruction(Instruction &I, BlockInfo *LiveSet);
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DADCE.cpp126 MapVector<BasicBlock *, BlockInfoType> BlockInfo; member in __anon5c9c06f70111::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 …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stack_store.cpp107 for (BlockInfo &b : blocks_) res += b.Pack(type, this); in Pack()
112 for (BlockInfo &b : blocks_) b.Lock(); in LockAll()
116 for (BlockInfo &b : blocks_) b.Unlock(); in UnlockAll()
120 for (BlockInfo &b : blocks_) b.TestOnlyUnmap(this); in TestOnlyUnmap()
124 uptr *StackStore::BlockInfo::Get() const { in Get()
131 uptr *StackStore::BlockInfo::Create(StackStore *store) { in Create()
141 uptr *StackStore::BlockInfo::GetOrCreate(StackStore *store) { in GetOrCreate()
253 uptr *StackStore::BlockInfo::GetOrUnpack(StackStore *store) { in GetOrUnpack()
301 uptr StackStore::BlockInfo::Pack(Compression type, StackStore *store) { in Pack()
364 void StackStore::BlockInfo::TestOnlyUnmap(StackStore *store) { in TestOnlyUnmap()
[all …]
H A Dsanitizer_stack_store.h88 class BlockInfo {
116 BlockInfo blocks_[kBlockCount] = {};
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp38 SmallVector<int, 8> BlockInfo; member in __anon9f0139610111::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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Bitstream/
H A DBitstreamReader.h41 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()
376 BitstreamBlockInfo *BlockInfo = nullptr; variable
573 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo = BI; } in setBlockInfo()
H A DBitstreamWriter.h71 struct BlockInfo { struct
75 std::vector<BlockInfo> BlockInfoRecords; argument
265 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
270 for (BlockInfo &BI : BlockInfoRecords) in getBlockInfo()
299 if (BlockInfo *Info = getBlockInfo(BlockID)) in EnterSubblock()
592 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
593 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
611 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp589 std::vector<BlockData> BlockInfo; member in __anon46e48bfc0111::RISCVInsertVSETVLI
930 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeVLVTYPEChanges()
946 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeIncomingVLVTYPE()
958 InInfo = InInfo.intersect(BlockInfo[P->getNumber()].Exit); in computeIncomingVLVTYPE()
992 if (!BlockInfo[S->getNumber()].InQueue) { in computeIncomingVLVTYPE()
993 BlockInfo[S->getNumber()].InQueue = true; in computeIncomingVLVTYPE()
1022 const BlockData &PBBInfo = BlockInfo[PBB->getNumber()]; in needVSETVLIPHI()
1047 VSETVLIInfo CurInfo = BlockInfo[MBB.getNumber()].Pred; in emitVSETVLIs()
1105 const VSETVLIInfo &ExitInfo = BlockInfo[MBB.getNumber()].Exit; in emitVSETVLIs()
1118 const auto &Info = BlockInfo[MBB.getNumber()]; in emitVSETVLIs()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Remarks/
H A DBitstreamRemarkParser.h33 BitstreamBlockInfo &BlockInfo; member
46 BitstreamBlockInfo &BlockInfo);
93 BitstreamBlockInfo BlockInfo; member
/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h453 struct BlockInfo { struct
463 BlockInfo() = default; argument
464 BlockInfo(BlockInfo &&) = default;
465 BlockInfo &operator=(BlockInfo &&) = default; argument
522 std::vector<BlockInfo> BBInfo;
529 BlockInfo *CurrentBlockInfo = nullptr;
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp26 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()
569 Stream.setBlockInfo(&BlockInfo); in analyze()
596 BlockInfo = std::move(*NewBlockInfo); in analyze()
661 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats()
724 FreqPair.second, Stat.first, BlockInfo, CurStreamType)) in printStats()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stack_store_test.cpp46 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()
/openbsd-src/gnu/llvm/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp39 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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DThreadSafety.cpp514 std::vector<CFGBlockInfo> &BlockInfo);
729 std::vector<CFGBlockInfo> &BlockInfo) { in traverseCFG() argument
734 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlockID]; in traverseCFG()
750 CFGBlockInfo *PrevBlockInfo = &BlockInfo[PrevBlockID]; in traverseCFG()
796 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG()
804 saveContext(nullptr, BlockInfo[exitID].ExitContext); in traverseCFG()
811 std::vector<CFGBlockInfo> &BlockInfo) { in findBlockLocations() argument
813 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations()
845 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations()
850 BlockInfo[(*CurrBlock->succ_begin())->getBlockID()].EntryLoc; in findBlockLocations()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp38 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()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h258 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum()
323 SmallVector<TraceBlockInfo, 4> BlockInfo; variable
400 SmallVector<FixedBlockInfo, 4> BlockInfo;
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBlocks.cpp107 static std::string getBlockDescriptorName(const CGBlockInfo &BlockInfo, in getBlockDescriptorName() argument
110 Name += llvm::to_string(BlockInfo.BlockSize.getQuantity()) + "_"; in getBlockDescriptorName()
112 if (BlockInfo.NeedsCopyDispose) { in getBlockDescriptorName()
117 Name += llvm::to_string(BlockInfo.BlockAlign.getQuantity()) + "_"; in getBlockDescriptorName()
119 for (auto &Cap : BlockInfo.SortedCaptures) { in getBlockDescriptorName()
131 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
137 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
139 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
146 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr()); in getBlockDescriptorName()
151 Name += "l" + CGM.getObjCRuntime().getRCBlockLayoutStr(CGM, BlockInfo); in getBlockDescriptorName()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp32 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()

12