Home
last modified time | relevance | path

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

123

/external/llvm/lib/CodeGen/
DSafeStackColoring.cpp96 BlockLifetimeInfo &BlockInfo = BlockLiveness[BB]; in collectMarkers() local
97 BlockInfo.Begin.resize(NumAllocas); in collectMarkers()
98 BlockInfo.End.resize(NumAllocas); in collectMarkers()
99 BlockInfo.LiveIn.resize(NumAllocas); in collectMarkers()
100 BlockInfo.LiveOut.resize(NumAllocas); in collectMarkers()
119 if (BlockInfo.End.test(M.AllocaNo)) in collectMarkers()
120 BlockInfo.End.reset(M.AllocaNo); in collectMarkers()
121 BlockInfo.Begin.set(M.AllocaNo); in collectMarkers()
123 if (BlockInfo.Begin.test(M.AllocaNo)) in collectMarkers()
124 BlockInfo.Begin.reset(M.AllocaNo); in collectMarkers()
[all …]
DMachineTraceMetrics.cpp61 BlockInfo.resize(MF->getNumBlockIDs()); in runOnMachineFunction()
69 BlockInfo.clear(); in releaseMemory()
87 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()]; in getResources()
133 assert(BlockInfo[MBBNum].hasResources() && in getProcResourceCycles()
147 BlockInfo.resize(MTM.BlockInfo.size()); in Ensemble()
149 ProcResourceDepths.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
150 ProcResourceHeights.resize(MTM.BlockInfo.size() * PRKinds); in Ensemble()
165 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeDepthResources()
181 TraceBlockInfo *PredTBI = &BlockInfo[PredNum]; in computeDepthResources()
198 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()]; in computeHeightResources()
[all …]
DStackColoring.cpp401 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() local
403 dumpBV("BEGIN", BlockInfo.Begin); in dumpBB()
404 dumpBV("END", BlockInfo.End); in dumpBB()
405 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
406 dumpBV("LIVE_OUT", BlockInfo.LiveOut); in dumpBB()
583 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; in collectMarkers() local
585 BlockInfo.Begin.resize(NumSlot); in collectMarkers()
586 BlockInfo.End.resize(NumSlot); in collectMarkers()
596 if (BlockInfo.Begin.test(Slot)) { in collectMarkers()
597 BlockInfo.Begin.reset(Slot); in collectMarkers()
[all …]
DSplitKit.h102 struct BlockInfo { struct
128 SmallVector<BlockInfo, 8> UseBlocks; argument
182 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks()
213 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const;
462 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
485 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
497 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStackColoring.cpp111 BlockLifetimeInfo &BlockInfo = BlockLiveness[BB]; in collectMarkers() local
112 BlockInfo.Begin.resize(NumAllocas); in collectMarkers()
113 BlockInfo.End.resize(NumAllocas); in collectMarkers()
114 BlockInfo.LiveIn.resize(NumAllocas); in collectMarkers()
115 BlockInfo.LiveOut.resize(NumAllocas); in collectMarkers()
134 if (BlockInfo.End.test(M.AllocaNo)) in collectMarkers()
135 BlockInfo.End.reset(M.AllocaNo); in collectMarkers()
136 BlockInfo.Begin.set(M.AllocaNo); in collectMarkers()
138 if (BlockInfo.Begin.test(M.AllocaNo)) in collectMarkers()
139 BlockInfo.Begin.reset(M.AllocaNo); in collectMarkers()
[all …]
DBranchRelaxation.cpp84 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anonfa4931d30111::BranchRelaxation
134 assert(BlockInfo[Num].Offset % (1u << Align) == 0); in INITIALIZE_PASS()
135 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS()
136 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS()
146 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
156 BlockInfo.clear(); in scanFunction()
157 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
164 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction()
187 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
206 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(MBB); in adjustBlockOffsets()
[all …]
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 …]
DStackColoring.cpp543 const BlockLifetimeInfo &BlockInfo = BI->second; in dumpBB() local
545 dumpBV("BEGIN", BlockInfo.Begin); in dumpBB()
546 dumpBV("END", BlockInfo.End); in dumpBB()
547 dumpBV("LIVE_IN", BlockInfo.LiveIn); in dumpBB()
548 dumpBV("LIVE_OUT", BlockInfo.LiveOut); in dumpBB()
717 BlockLifetimeInfo &BlockInfo = BlockLiveness[MBB]; in collectMarkers() local
719 BlockInfo.Begin.resize(NumSlot); in collectMarkers()
720 BlockInfo.End.resize(NumSlot); in collectMarkers()
730 if (BlockInfo.Begin.test(Slot)) { in collectMarkers()
731 BlockInfo.Begin.reset(Slot); in collectMarkers()
[all …]
DSplitKit.h108 struct BlockInfo { struct
134 SmallVector<BlockInfo, 8> UseBlocks; argument
188 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks()
219 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const;
507 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
530 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
542 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
/external/llvm/lib/Target/AArch64/
DAArch64BranchRelaxation.cpp84 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anondc10878e0111::AArch64BranchRelaxation
125 assert(BlockInfo[Num].Offset % (1u << Align) == 0); in verify()
126 assert(!Num || BlockInfo[PrevNum].postOffset() <= BlockInfo[Num].Offset); in verify()
135 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs()
161 BlockInfo.clear(); in scanFunction()
162 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
181 BlockInfo[MBB.getNumber()].Size = Size; in computeBlockSize()
193 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
212 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(LogAlign); in adjustBlockOffsets()
242 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DADCE.cpp123 MapVector<BasicBlock *, BlockInfoType> BlockInfo; member in __anon4c2f533a0111::AggressiveDeadCodeElimination
124 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive()
163 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive()
218 BlockInfo.reserve(NumBlocks); in initialize()
225 auto &Info = BlockInfo[&BB]; in initialize()
233 for (auto &BBInfo : BlockInfo) in initialize()
239 for (auto &BBInfo : BlockInfo) in initialize()
298 auto &Info = BlockInfo[BB]; in initialize()
308 markLive(BlockInfo[DFNode->getBlock()].Terminator); in initialize()
313 auto &EntryInfo = BlockInfo[BB]; in initialize()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSplitKit.h69 struct BlockInfo { struct
95 SmallVector<BlockInfo, 8> UseBlocks; argument
157 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks()
188 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const;
421 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
444 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
456 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h120 class BlockInfo {
121 BlockInfo &operator=(const BlockInfo&) = delete;
123 BlockInfo() = default;
124 explicit BlockInfo(unsigned BlockID) in BlockInfo() function
126 BlockInfo(const BlockInfo&) = default;
130 ~BlockInfo() {} in ~BlockInfo()
156 using InfosMap = std::unordered_map<unsigned, std::unique_ptr<BlockInfo>>;
172 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
219 BlockInfo *getOrCreateUnknownBlockInfo(unsigned BlockID);
295 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h409 struct BlockInfo { struct
415 BlockInfo() in BlockInfo() argument
418 BlockInfo(BlockInfo &&RHS) in BlockInfo() function
424 BlockInfo &operator=(BlockInfo &&RHS) {
435 BlockInfo(const BlockInfo &) = delete;
436 void operator=(const BlockInfo &) = delete; argument
485 std::vector<BlockInfo> BBInfo; // Extra information per BB.
493 BlockInfo *CurrentBlockInfo;
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-bcanalyzer/
Dllvm-bcanalyzer.cpp88 const BitstreamBlockInfo &BlockInfo, in GetBlockName() argument
98 if (const BitstreamBlockInfo::BlockInfo *Info = in GetBlockName()
99 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName()
136 const BitstreamBlockInfo &BlockInfo, in GetCodeName() argument
152 if (const BitstreamBlockInfo::BlockInfo *Info = in GetCodeName()
153 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName()
499 static bool ParseBlock(BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo, in ParseBlock() argument
518 BlockInfo = std::move(*NewBlockInfo); in ParseBlock()
534 if ((BlockName = GetBlockName(BlockID, BlockInfo, CurStreamType))) in ParseBlock()
579 if (ParseBlock(Stream, BlockInfo, Entry.ID, IndentLevel + 1, in ParseBlock()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
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()
330 BitstreamBlockInfo *BlockInfo = nullptr; variable
501 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo = BI; } in setBlockInfo()
DBitstreamWriter.h60 struct BlockInfo { struct
64 std::vector<BlockInfo> BlockInfoRecords; argument
188 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
223 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock()
521 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
522 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
540 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h31 struct BlockInfo { struct
43 std::vector<BlockInfo> BlockInfoRecords; argument
70 BlockInfo &Info = BlockInfoRecords.back(); in ~BitstreamReader()
98 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo()
110 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
111 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
112 return *const_cast<BlockInfo*>(BI); in getOrCreateBlockInfo()
115 BlockInfoRecords.push_back(BlockInfo()); in getOrCreateBlockInfo()
396 if (const BitstreamReader::BlockInfo *Info =
585 BitstreamReader::BlockInfo *CurBlockInfo = 0; in ReadBlockInfoBlock()
DBitstreamWriter.h56 struct BlockInfo { struct
60 std::vector<BlockInfo> BlockInfoRecords; argument
72 BlockInfo &Info = BlockInfoRecords.back(); in ~BitstreamWriter()
182 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
217 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock()
504 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
505 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
509 BlockInfoRecords.push_back(BlockInfo()); in getOrCreateBlockInfo()
523 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
/external/xz-java/src/org/tukaani/xz/
DSeekableXZInputStream.java21 import org.tukaani.xz.index.BlockInfo;
132 private final BlockInfo curBlockInfo;
138 private final BlockInfo queriedBlockInfo;
596 curBlockInfo = new BlockInfo(first); in SeekableXZInputStream()
600 queriedBlockInfo = new BlockInfo(first); in SeekableXZInputStream()
1076 private void locateBlockByPos(BlockInfo info, long pos) { in locateBlockByPos()
1102 private void locateBlockByNumber(BlockInfo info, int blockNumber) {
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h60 struct BlockInfo { struct
64 std::vector<BlockInfo> BlockInfoRecords; argument
192 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo()
227 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock()
524 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
525 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
543 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
DBitstreamReader.h36 struct BlockInfo { struct
46 std::vector<BlockInfo> BlockInfoRecords; argument
100 const BlockInfo *getBlockInfo(unsigned BlockID) const { in getBlockInfo()
112 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo()
113 if (const BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo()
114 return *const_cast<BlockInfo*>(BI); in getOrCreateBlockInfo()
/external/llvm/lib/Target/AMDGPU/
DSIWholeQuadMode.cpp77 struct BlockInfo { struct
99 DenseMap<MachineBasicBlock *, BlockInfo> Blocks;
215 BlockInfo &BI = Blocks[MBB]; in propagateInstruction()
283 BlockInfo BI = Blocks[&MBB]; // Make a copy to prevent dangling references. in propagateBlock()
297 BlockInfo &PredBI = Blocks[Pred]; in propagateBlock()
308 BlockInfo &SuccBI = Blocks[Succ]; in propagateBlock()
368 const BlockInfo &BI = BII->second; in processBlock()
/external/xz-java/src/org/tukaani/xz/index/
DBlockInfo.java14 public class BlockInfo { class
23 public BlockInfo(IndexDecoder indexOfFirstStream) { in BlockInfo() method in BlockInfo
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp351 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in BlockInfoRecordsMap()
356 NaClBitstreamReader::BlockInfo * NaClBitstreamReader::BlockInfoRecordsMap::
364 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in getOrCreateUnknownBlockInfo()

123