Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp112 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anon61d306190111::SIModeRegister
347 BlockInfo[MBB.getNumber()] = std::move(NewInfo); in processBlockPhase1()
361 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
378 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
380 } else if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2()
381 BlockInfo[ThisBlock]->Pred = BlockInfo[PredBlock]->Exit; in processBlockPhase2()
389 if (BlockInfo[PredBlock]->ExitSet) { in processBlockPhase2()
390 if (BlockInfo[ThisBlock]->ExitSet) { in processBlockPhase2()
391 BlockInfo[ThisBlock]->Pred = in processBlockPhase2()
392 BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[PredBlock]->Exit); in processBlockPhase2()
[all …]
H A DGCNPreRALongBranchReg.cpp50 SmallVectorImpl<BasicBlockInfo> &BlockInfo);
86 MachineFunction &MF, SmallVectorImpl<BasicBlockInfo> &BlockInfo) { in generateBlockInfo() argument
88 BlockInfo.resize(MF.getNumBlockIDs()); in generateBlockInfo()
103 BlockInfo[MBB.getNumber()].Size = 8 * NumInstr; in generateBlockInfo()
111 BlockInfo[Num].Offset = BlockInfo[PrevNum].Offset + BlockInfo[PrevNum].Size; in generateBlockInfo()
134 SmallVector<BasicBlockInfo, 16> BlockInfo; in run() local
135 generateBlockInfo(MF, BlockInfo); in run()
143 LongBranchFactor * BlockInfo[DestBB->getNumber()].Offset); in run()
/freebsd/contrib/llvm-project/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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertWriteVXRM.cpp197 std::vector<BlockData> BlockInfo; member in __anon24c885d00111::RISCVInsertWriteVXRM
231 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in INITIALIZE_PASS()
260 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAvailable()
269 Available = Available.intersect(BlockInfo[P->getNumber()].AvailableOut); in computeAvailable()
294 if (!BlockInfo[S->getNumber()].InQueue) { in computeAvailable()
295 BlockInfo[S->getNumber()].InQueue = true; in computeAvailable()
302 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeAnticipated()
314 Anticipated.intersectAnticipated(BlockInfo[S->getNumber()].AnticipatedIn); in computeAnticipated()
317 Anticipated.intersect(BlockInfo[S->getNumber()].AnticipatedIn); in computeAnticipated()
343 if (!BlockInfo[P->getNumber()].InQueue) { in computeAnticipated()
[all …]
H A DRISCVInsertVSETVLI.cpp859 std::vector<BlockData> BlockInfo; member in __anoncddf45c50111::RISCVInsertVSETVLI
1286 Info = BlockInfo[MBB.getNumber()].Pred; in computeVLVTYPEChanges()
1303 BlockData &BBInfo = BlockInfo[MBB.getNumber()]; in computeIncomingVLVTYPE()
1315 InInfo = InInfo.intersect(BlockInfo[P->getNumber()].Exit); in computeIncomingVLVTYPE()
1349 if (!BlockInfo[S->getNumber()].InQueue) { in computeIncomingVLVTYPE()
1350 BlockInfo[S->getNumber()].InQueue = true; in computeIncomingVLVTYPE()
1374 const VSETVLIInfo &PBBExit = BlockInfo[PBB->getNumber()].Exit; in needVSETVLIPHI()
1403 VSETVLIInfo CurInfo = BlockInfo[MBB.getNumber()].Pred; in emitVSETVLIs()
1498 const auto &Info = BlockInfo[MBB.getNumber()]; in emitVSETVLIs()
1514 if (!BlockInfo[MBB.getNumber()].Pred.isUnknown()) in doPRE()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp133 EnqueuedBlockInfo &BlockInfo = EnqueuedBlockMap[E]; in recordBlockInfo() local
134 BlockInfo.InvokeFunc = InvokeF; in recordBlockInfo()
135 BlockInfo.BlockArg = Block; in recordBlockInfo()
136 BlockInfo.BlockTy = BlockTy; in recordBlockInfo()
137 BlockInfo.KernelHandle = nullptr; in recordBlockInfo()
154 EnqueuedBlockInfo &BlockInfo = It->second; in emitOpenCLEnqueuedBlock() local
157 if (BlockInfo.KernelHandle) { in emitOpenCLEnqueuedBlock()
158 return BlockInfo; in emitOpenCLEnqueuedBlock()
162 CGF, BlockInfo.InvokeFunc, BlockInfo.BlockTy); in emitOpenCLEnqueuedBlock()
165 BlockInfo.KernelHandle = F; in emitOpenCLEnqueuedBlock()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DBranchRelaxation.cpp82 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anon6cb7e2b90111::BranchRelaxation
151 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS()
152 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS()
176 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
186 BlockInfo.clear(); in scanFunction()
187 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
198 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction()
231 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
254 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(MBB); in adjustBlockOffsets()
281 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in createNewBlockAfter()
[all …]
H A DCFIFixup.cpp147 BlockFlagsVector BlockInfo(MF.getNumBlockIDs()); in computeBlockInfo() local
148 BlockInfo[0].Reachable = true; in computeBlockInfo()
149 BlockInfo[0].StrongNoFrameOnEntry = true; in computeBlockInfo()
154 BlockFlags &Info = BlockInfo[MBB->getNumber()]; in computeBlockInfo()
171 BlockFlags &SuccInfo = BlockInfo[Succ->getNumber()]; in computeBlockInfo()
179 return BlockInfo; in computeBlockInfo()
245 fixupBlock(MachineBasicBlock &CurrBB, const BlockFlagsVector &BlockInfo, in fixupBlock() argument
250 const BlockFlags &Info = BlockInfo[CurrBB.getNumber()]; in fixupBlock()
263 BlockInfo[std::prev(CurrBB.getIterator())->getNumber()]; in fixupBlock()
270 const BlockFlags &PredInfo = BlockInfo[Pred->getNumber()]; in fixupBlock()
[all …]
H A DMachineTraceMetrics.cpp83 BlockInfo.resize(MF->getNumBlockIDs()); in init()
97 BlockInfo.clear(); in clear()
113 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources()
159 assert(BlockInfo[MBBNum].hasResources() && in getProcReleaseAtCycles()
172 BlockInfo.resize(MTM.BlockInfo.size()); in Ensemble()
174 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
175 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
190 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources()
206 TraceBlockInfo *PredTBI = &BlockInfo[PredNum]; in computeDepthResources()
223 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources()
[all …]
H A DAssignmentTrackingAnalysis.cpp1120 struct BlockInfo { struct in __anon3afac2c40211::AssignmentTrackingLowering
1153 const_cast<const BlockInfo *>(this)->getAssignmentMap(Kind)); in getAssignmentMap()
1198 bool operator==(const BlockInfo &Other) const { in operator ==() argument
1205 bool operator!=(const BlockInfo &Other) const { return !(*this == Other); } in operator !=() argument
1234 static BlockInfo join(const BlockInfo &A, const BlockInfo &B, int NumVars) { in join() argument
1250 BlockInfo Join; in join()
1275 DenseMap<const BasicBlock *, BlockInfo> LiveIn;
1276 DenseMap<const BasicBlock *, BlockInfo> LiveOut;
1314 BlockInfo joinBlockInfo(const BlockInfo &A, const BlockInfo &B);
1320 void process(BasicBlock &BB, BlockInfo *LiveSet);
[all …]
H A DStackColoring.cpp546 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() local
548 dumpBV("BEGIN", BlockInfo.Begin); in dumpBB()
549 dumpBV("END", BlockInfo.End); in dumpBB()
550 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
551 dumpBV("LIVE_OUT", BlockInfo.LiveOut); in dumpBB()
734 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; in collectMarkers() local
736 BlockInfo.Begin.resize(NumSlot); in collectMarkers()
737 BlockInfo.End.resize(NumSlot); in collectMarkers()
747 if (BlockInfo.Begin.test(Slot)) { in collectMarkers()
748 BlockInfo.Begin.reset(Slot); in collectMarkers()
[all …]
H A DSplitKit.h121 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;
531 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
554 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
566 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp130 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/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp36 SmallVector<int, 8> BlockInfo; member in __anon6e68054a0111::AArch64CompressJumpTables
83 BlockInfo.clear(); in scanFunction()
84 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
95 BlockInfo[MBB.getNumber()] = OffsetAfterAlignment; in scanFunction()
121 int BlockOffset = BlockInfo[Block->getNumber()]; in compressJumpTable()
172 int Offset = BlockInfo[MBB.getNumber()]; in runOnMachineFunction()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stack_store.cpp112 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 Dsanitizer_stack_store.h88 class BlockInfo {
116 BlockInfo blocks_[kBlockCount] = {};
/freebsd/contrib/llvm-project/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()
60 for (const BlockInfo &BI : BlockInfoRecords) in getBlockInfo()
66 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
67 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
68 return *const_cast<BlockInfo*>(BI); in getOrCreateBlockInfo()
376 BitstreamBlockInfo *BlockInfo = nullptr; variable
573 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo = BI; } in setBlockInfo()
H A DBitstreamWriter.h82 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 DBitstreamRemarkParser.h33 BitstreamBlockInfo &BlockInfo; member
46 BitstreamBlockInfo &BlockInfo);
93 BitstreamBlockInfo BlockInfo; member
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h459 struct BlockInfo { struct
469 BlockInfo() = default; argument
470 BlockInfo(BlockInfo &&) = default;
471 BlockInfo &operator=(BlockInfo &&) = default; argument
526 std::vector<BlockInfo> BBInfo;
533 BlockInfo *CurrentBlockInfo = nullptr;
/freebsd/contrib/llvm-project/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()
578 Stream.setBlockInfo(&BlockInfo); in analyze()
605 BlockInfo = std::move(*NewBlockInfo); in analyze()
670 GetBlockName(Stat.first, BlockInfo, CurStreamType)) in printStats()
733 FreqPair.second, Stat.first, BlockInfo, CurStreamType)) in printStats()
[all …]
/freebsd/contrib/llvm-project/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()
348 ParserHelper.BlockInfo); in parseMeta()
445 ParserHelper.BlockInfo); in processExternalFilePath()
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dblock.h289 struct BlockInfo { struct
310 static BlockInfo allocate(Block *block, size_t alignment, size_t size);
397 Block::BlockInfo Block::allocate(Block *block, size_t alignment, size_t size) { in allocate()
401 BlockInfo info{block, /*prev=*/nullptr, /*next=*/nullptr}; in allocate()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp36 std::optional<llvm::BitstreamBlockInfo> BlockInfo; in readDiagnostics() local
81 BlockInfo = std::move(MaybeBlockInfo.get()); in readDiagnostics()
83 if (!BlockInfo) in readDiagnostics()
85 Stream.setBlockInfo(&*BlockInfo); in readDiagnostics()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h276 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum()
342 SmallVector<TraceBlockInfo, 4> BlockInfo; variable
418 SmallVector<FixedBlockInfo, 4> BlockInfo;

123