/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SafeStackColoring.cpp | 109 BlockLifetimeInfo &BlockInfo = BlockLiveness[BB]; in collectMarkers() local 110 BlockInfo.Begin.resize(NumAllocas); in collectMarkers() 111 BlockInfo.End.resize(NumAllocas); in collectMarkers() 112 BlockInfo.LiveIn.resize(NumAllocas); in collectMarkers() 113 BlockInfo.LiveOut.resize(NumAllocas); in collectMarkers() 132 if (BlockInfo.End.test(M.AllocaNo)) in collectMarkers() 133 BlockInfo.End.reset(M.AllocaNo); in collectMarkers() 134 BlockInfo.Begin.set(M.AllocaNo); in collectMarkers() 136 if (BlockInfo.Begin.test(M.AllocaNo)) in collectMarkers() 137 BlockInfo.Begin.reset(M.AllocaNo); in collectMarkers() [all …]
|
D | BranchRelaxation.cpp | 83 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anon160840a20111::BranchRelaxation 132 assert(isAligned(MBB.getAlignment(), BlockInfo[Num].Offset)); in INITIALIZE_PASS() 133 assert(!Num || BlockInfo[PrevNum].postOffset(MBB) <= BlockInfo[Num].Offset); in INITIALIZE_PASS() 134 assert(BlockInfo[Num].Size == computeBlockSize(MBB)); in INITIALIZE_PASS() 144 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()]; in dumpBBs() 154 BlockInfo.clear(); in scanFunction() 155 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction() 162 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB); in scanFunction() 185 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset() 204 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(MBB); in adjustBlockOffsets() [all …]
|
D | MachineTraceMetrics.cpp | 74 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 …]
|
D | StackColoring.cpp | 543 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 …]
|
D | SplitKit.h | 120 struct BlockInfo { struct 146 SmallVector<BlockInfo, 8> UseBlocks; argument 200 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks() 231 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const; 523 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI); 546 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI, 558 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
|
D | RegAllocGreedy.cpp | 1188 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in addSplitConstraints() 1194 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in addSplitConstraints() 1416 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in calcSpillCost() 1418 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in calcSpillCost() 1589 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in calcGlobalSplitCost() 1591 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in calcGlobalSplitCost() 1693 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in splitAroundRegion() 1695 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in splitAroundRegion() 2026 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in tryBlockSplit() 2028 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in tryBlockSplit() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIModeRegister.cpp | 122 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anond68230820111::SIModeRegister 319 BlockInfo[MBB.getNumber()] = std::move(NewInfo); in processBlockPhase1() 332 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2() 338 BlockInfo[ThisBlock]->Pred = BlockInfo[PB.getNumber()]->Exit; in processBlockPhase2() 342 …BlockInfo[ThisBlock]->Pred = BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[Pred->getNumber()]->Ex… in processBlockPhase2() 345 Status TmpStatus = BlockInfo[ThisBlock]->Pred.merge(BlockInfo[ThisBlock]->Change); in processBlockPhase2() 346 if (BlockInfo[ThisBlock]->Exit != TmpStatus) { in processBlockPhase2() 347 BlockInfo[ThisBlock]->Exit = TmpStatus; in processBlockPhase2() 366 if (!BlockInfo[ThisBlock]->Pred.isCompatible(BlockInfo[ThisBlock]->Require)) { in processBlockPhase3() 367 Status Delta = BlockInfo[ThisBlock]->Pred.delta(BlockInfo[ThisBlock]->Require); in processBlockPhase3() [all …]
|
D | SIWholeQuadMode.cpp | 132 struct BlockInfo { struct 157 DenseMap<MachineBasicBlock *, BlockInfo> Blocks; 326 BlockInfo &BBI = Blocks[&MBB]; in scanInstructions() 432 BlockInfo &BI = Blocks[MBB]; in propagateInstruction() 477 BlockInfo BI = Blocks[&MBB]; // Make a copy to prevent dangling references. in propagateBlock() 491 BlockInfo &PredBI = Blocks[Pred]; in propagateBlock() 502 BlockInfo &SuccBI = Blocks[Succ]; in propagateBlock() 698 const BlockInfo &BI = BII->second; in processBlock()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
D | function.h | 76 struct BlockInfo { struct 79 explicit BlockInfo(const spvtools::opt::BasicBlock& bb); 80 ~BlockInfo(); 180 inline std::ostream& operator<<(std::ostream& o, const BlockInfo& bi) { argument 621 bool EmitBasicBlock(const BlockInfo& block_info); 628 bool EmitIfStart(const BlockInfo& block_info); 635 bool EmitSwitchStart(const BlockInfo& block_info); 658 bool EmitStatementsInBasicBlock(const BlockInfo& block_info, 667 bool EmitNormalTerminator(const BlockInfo& block_info); 677 const ast::Statement* MakeBranch(const BlockInfo& src_info, in MakeBranch() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | ADCE.cpp | 125 MapVector<BasicBlock *, BlockInfoType> BlockInfo; member in __anon7bee62490111::AggressiveDeadCodeElimination 126 bool isLive(BasicBlock *BB) { return BlockInfo[BB].Live; } in isLive() 165 void markLive(BasicBlock *BB) { markLive(BlockInfo[BB]); } in markLive() 220 BlockInfo.reserve(NumBlocks); in initialize() 227 auto &Info = BlockInfo[&BB]; in initialize() 235 for (auto &BBInfo : BlockInfo) in initialize() 241 for (auto &BBInfo : BlockInfo) in initialize() 300 auto &Info = BlockInfo[BB]; in initialize() 310 markLive(BlockInfo[DFNode->getBlock()].Terminator); in initialize() 315 auto &EntryInfo = BlockInfo[BB]; in initialize() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 116 class BlockInfo { 117 BlockInfo &operator=(const BlockInfo &) = delete; 120 BlockInfo() = default; 121 explicit BlockInfo(unsigned BlockID) : BlockID(BlockID), Abbrevs() {} in BlockInfo() function 122 BlockInfo(const BlockInfo &) = default; 126 ~BlockInfo() {} in ~BlockInfo() 154 using InfosMap = std::unordered_map<unsigned, std::unique_ptr<BlockInfo>>; 166 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() 215 BlockInfo *getOrCreateUnknownBlockInfo(unsigned BlockID); 291 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64CompressJumpTables.cpp | 38 SmallVector<int, 8> BlockInfo; member in __anon872115330111::AArch64CompressJumpTables 75 BlockInfo.clear(); in scanFunction() 76 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction() 86 BlockInfo[MBB.getNumber()] = AlignedOffset; in scanFunction() 108 int BlockOffset = BlockInfo[Block->getNumber()]; in compressJumpTable() 157 int Offset = BlockInfo[MBB.getNumber()]; in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 41 struct BlockInfo { struct 49 std::vector<BlockInfo> BlockInfoRecords; argument 54 const BlockInfo *getBlockInfo(unsigned BlockID) const { 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() 357 BitstreamBlockInfo *BlockInfo = nullptr; variable 553 void setBlockInfo(BitstreamBlockInfo *BI) { BlockInfo = BI; } in setBlockInfo()
|
D | BitstreamWriter.h | 59 struct BlockInfo { struct 63 std::vector<BlockInfo> BlockInfoRecords; argument 187 BlockInfo *getBlockInfo(unsigned BlockID) { in getBlockInfo() 222 if (BlockInfo *Info = getBlockInfo(BlockID)) { in EnterSubblock() 518 BlockInfo &getOrCreateBlockInfo(unsigned BlockID) { in getOrCreateBlockInfo() 519 if (BlockInfo *BI = getBlockInfo(BlockID)) in getOrCreateBlockInfo() 537 BlockInfo &Info = getOrCreateBlockInfo(BlockID); in EmitBlockInfoAbbrev()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.h | 113 struct BlockInfo { struct 116 BlockInfo(const ast::BlockStatement* block, Type type, BlockInfo* parent); argument 117 ~BlockInfo(); 120 BlockInfo* FindFirstParent(Pred&& pred) { in FindFirstParent() argument 121 BlockInfo* curr = this; in FindFirstParent() 128 BlockInfo* FindFirstParent(BlockInfo::Type ty) { in FindFirstParent() argument 135 BlockInfo* const parent; argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Remarks/ |
D | BitstreamRemarkParser.h | 33 BitstreamBlockInfo &BlockInfo; member 46 BitstreamBlockInfo &BlockInfo); 93 BitstreamBlockInfo BlockInfo; member
|
/third_party/ffmpeg/libavcodec/ |
D | rpzaenc.c | 72 typedef struct BlockInfo { struct 84 } BlockInfo; argument 115 static int get_block_info(BlockInfo *bi, int block) in get_block_info() 194 static void get_max_component_diff(BlockInfo *bi, uint16_t *block_ptr, in get_max_component_diff() 244 static int compare_blocks(uint16_t *block1, uint16_t *block2, BlockInfo *bi, int thresh) in compare_blocks() 264 static int leastsquares(uint16_t *block_ptr, BlockInfo *bi, in leastsquares() 317 static int calc_lsq_max_fit_error(uint16_t *block_ptr, BlockInfo *bi, in calc_lsq_max_fit_error() 386 PutBitContext *pb, uint16_t *block_ptr, BlockInfo *bi) in encode_four_color_block() 419 const BlockInfo *bi, int block_counter) in update_block_in_prev_frame() 445 static int update_block_stats(RpzaContext *s, BlockInfo *bi, uint16_t *block, in update_block_stats() [all …]
|
D | dvdec.c | 54 typedef struct BlockInfo { struct 62 } BlockInfo; argument 202 static void dv_decode_ac(GetBitContext *gb, BlockInfo *mb, int16_t *block) in dv_decode_ac() 329 BlockInfo mb_data[5 * DV_MAX_BPM], *mb, *mb1; in dv_decode_video_segment()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/ |
D | BitcodeAnalyzer.cpp | 25 const BitstreamBlockInfo &BlockInfo, in GetBlockName() argument 35 if (const BitstreamBlockInfo::BlockInfo *Info = in GetBlockName() 36 BlockInfo.getBlockInfo(BlockID)) { in GetBlockName() 88 const BitstreamBlockInfo &BlockInfo, in GetCodeName() argument 108 if (const BitstreamBlockInfo::BlockInfo *Info = in GetCodeName() 109 BlockInfo.getBlockInfo(BlockID)) { in GetCodeName() 555 Stream.setBlockInfo(&BlockInfo); in analyze() 584 BlockInfo = std::move(*NewBlockInfo); in analyze() 651 GetBlockName(I->first, BlockInfo, CurStreamType)) in printStats() 714 FreqPairs[i].second, I->first, BlockInfo, CurStreamType)) in printStats() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | BitstreamRemarkParser.cpp | 38 BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo) in BitstreamMetaParserHelper() argument 39 : Stream(Stream), BlockInfo(BlockInfo) {} in BitstreamMetaParserHelper() 243 BlockInfo = **MaybeBlockInfo; in parseBlockInfoBlock() 245 Stream.setBlockInfo(&BlockInfo); in parseBlockInfoBlock() 350 ParserHelper.BlockInfo); in parseMeta() 447 ParserHelper.BlockInfo); in processExternalFilePath()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 348 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in BlockInfoRecordsMap() 353 NaClBitstreamReader::BlockInfo * 362 std::unique_ptr<BlockInfo> Info(new BlockInfo(BlockID)); in getOrCreateUnknownBlockInfo()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineTraceMetrics.h | 259 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum() 324 SmallVector<TraceBlockInfo, 4> BlockInfo; variable 401 SmallVector<FixedBlockInfo, 4> BlockInfo;
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.h | 41 struct BlockInfo struct 43 BlockInfo(const glsl::Uniform& uniform, int blockIndex); 52 Uniform(const glsl::Uniform &uniform, const BlockInfo &blockInfo); 64 const BlockInfo blockInfo; 240 …bool defineUniform(GLenum shader, const glsl::Uniform &uniform, const Uniform::BlockInfo& blockInf…
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/ |
D | BitstreamReader.cpp | 27 if (BlockInfo) { in EnterSubBlock() 28 if (const BitstreamBlockInfo::BlockInfo *Info = in EnterSubBlock() 29 BlockInfo->getBlockInfo(BlockID)) { in EnterSubBlock() 409 BitstreamBlockInfo::BlockInfo *CurBlockInfo = nullptr; in ReadBlockInfoBlock()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/ |
D | BitcodeAnalyzer.h | 51 BitstreamBlockInfo BlockInfo; variable
|