Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DSafeStackColoring.cpp111 BlockInfo.Begin.resize(NumAllocas); in collectMarkers()
112 BlockInfo.End.resize(NumAllocas); in collectMarkers()
113 BlockInfo.LiveIn.resize(NumAllocas); in collectMarkers()
114 BlockInfo.LiveOut.resize(NumAllocas); in collectMarkers()
135 BlockInfo.Begin.set(M.AllocaNo); in collectMarkers()
139 BlockInfo.End.set(M.AllocaNo); in collectMarkers()
188 LocalLiveOut.reset(BlockInfo.End); in calculateLocalLiveness()
189 LocalLiveOut |= BlockInfo.Begin; in calculateLocalLiveness()
194 BlockInfo.LiveIn |= LocalLiveIn; in calculateLocalLiveness()
269 << "): begin " << BlockInfo.Begin << ", end " << BlockInfo.End in dumpBlockLiveness()
[all …]
H A DBranchRelaxation.cpp84 SmallVector<BasicBlockInfo, 16> BlockInfo; member in __anonff8b01de0111::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()
156 BlockInfo.clear(); in scanFunction()
157 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
187 unsigned Offset = BlockInfo[MBB->getNumber()].Offset; in getInstrOffset()
206 BlockInfo[Num].Offset = BlockInfo[PrevNum].postOffset(MBB); in adjustBlockOffsets()
220 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in createNewBlockAfter()
247 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in splitBlockBeforeInstr()
452 BlockInfo[MBB->getNumber()].Size -= OldBrSize; in fixupUnconditionalBranch()
[all …]
H A DMachineTraceMetrics.cpp74 BlockInfo.resize(MF->getNumBlockIDs()); in runOnMachineFunction()
82 BlockInfo.clear(); in releaseMemory()
146 assert(BlockInfo[MBBNum].hasResources() && in getProcResourceCycles()
159 BlockInfo.resize(MTM.BlockInfo.size()); in Ensemble()
193 TraceBlockInfo *PredTBI = &BlockInfo[PredNum]; in computeDepthResources()
400 BlockInfo[MBB->getNumber()].invalidate(); in invalidate()
482 LoopBounds Bounds(BlockInfo, MTM.Loops); in computeTrace()
1293 BlockInfo[i].print(OS); in print()
1327 unsigned MBBNum = &TBI - &TE.BlockInfo[0]; in print()
1341 Block = &TE.BlockInfo[Num]; in print()
[all …]
H A DStackColoring.cpp545 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()
719 BlockInfo.Begin.resize(NumSlot); in collectMarkers()
720 BlockInfo.End.resize(NumSlot); in collectMarkers()
731 BlockInfo.Begin.reset(Slot); in collectMarkers()
733 BlockInfo.End.set(Slot); in collectMarkers()
747 BlockInfo.End.reset(Slot); in collectMarkers()
749 BlockInfo.Begin.set(Slot); in collectMarkers()
[all …]
H A DSplitKit.h121 struct BlockInfo { struct
147 SmallVector<BlockInfo, 8> UseBlocks; argument
201 ArrayRef<BlockInfo> getUseBlocks() const { return UseBlocks; } in getUseBlocks()
232 bool shouldSplitSingleBlock(const BlockInfo &BI, bool SingleInstrs) const;
524 void splitSingleBlock(const SplitAnalysis::BlockInfo &BI);
547 void splitRegInBlock(const SplitAnalysis::BlockInfo &BI,
559 void splitRegOutBlock(const SplitAnalysis::BlockInfo &BI,
H A DRegAllocGreedy.cpp1174 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in addSplitConstraints()
1180 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in addSplitConstraints()
1402 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in calcSpillCost()
1404 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in calcSpillCost()
1575 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in calcGlobalSplitCost()
1577 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in calcGlobalSplitCost()
1679 ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks(); in splitAroundRegion()
1681 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in splitAroundRegion()
2014 const SplitAnalysis::BlockInfo &BI = UseBlocks[i]; in tryBlockSplit()
2140 const SplitAnalysis::BlockInfo &BI = SA->getUseBlocks().front(); in calcGapWeights()
[all …]
H A DSplitKit.cpp229 BlockInfo BI; in calcLiveBlockInfo()
1556 bool SplitAnalysis::shouldSplitSingleBlock(const BlockInfo &BI, in shouldSplitSingleBlock()
1574 void SplitEditor::splitSingleBlock(const SplitAnalysis::BlockInfo &BI) { in splitSingleBlock()
1703 void SplitEditor::splitRegInBlock(const SplitAnalysis::BlockInfo &BI, in splitRegInBlock()
1796 void SplitEditor::splitRegOutBlock(const SplitAnalysis::BlockInfo &BI, in splitRegOutBlock()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DSIModeRegister.cpp123 std::vector<std::unique_ptr<BlockData>> BlockInfo; member in __anon59bb2fbe0111::SIModeRegister
333 BlockInfo[ThisBlock]->Pred = DefaultStatus; in processBlockPhase2()
339 BlockInfo[ThisBlock]->Pred = BlockInfo[PB.getNumber()]->Exit; in processBlockPhase2()
343BlockInfo[ThisBlock]->Pred = BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[Pred->getNumber()]->Ex… in processBlockPhase2()
346 Status TmpStatus = BlockInfo[ThisBlock]->Pred.merge(BlockInfo[ThisBlock]->Change); in processBlockPhase2()
347 if (BlockInfo[ThisBlock]->Exit != TmpStatus) { in processBlockPhase2()
348 BlockInfo[ThisBlock]->Exit = TmpStatus; in processBlockPhase2()
367 if (!BlockInfo[ThisBlock]->Pred.isCompatible(BlockInfo[ThisBlock]->Require)) { in processBlockPhase3()
368 Status Delta = BlockInfo[ThisBlock]->Pred.delta(BlockInfo[ThisBlock]->Require); in processBlockPhase3()
377 BlockInfo.resize(MF.getNumBlockIDs()); in runOnMachineFunction()
[all …]
H A DSIWholeQuadMode.cpp132 struct BlockInfo { struct
156 DenseMap<MachineBasicBlock *, BlockInfo> Blocks;
321 BlockInfo &BBI = Blocks[&MBB]; in scanInstructions()
420 BlockInfo &BI = Blocks[MBB]; in propagateInstruction()
465 BlockInfo BI = Blocks[&MBB]; // Make a copy to prevent dangling references. in propagateBlock()
479 BlockInfo &PredBI = Blocks[Pred]; in propagateBlock()
490 BlockInfo &SuccBI = Blocks[Succ]; in propagateBlock()
681 const BlockInfo &BI = BII->second; in processBlock()
H A DSIInsertWaitcnts.cpp367 struct BlockInfo { struct in __anon651e2a160111::SIInsertWaitcnts
372 explicit BlockInfo(MachineBasicBlock *MBB) : MBB(MBB) {} in BlockInfo() function
375 std::vector<BlockInfo> BlockInfos; // by reverse post-order traversal index
1384 for (BlockInfo &BI : BlockInfos) { in runOnMachineFunction()
1406 BlockInfo *MoveBracketsToSucc = nullptr; in runOnMachineFunction()
1409 BlockInfo &SuccBI = BlockInfos[SuccIdx]; in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DADCE.cpp219 BlockInfo.reserve(NumBlocks); in initialize()
226 auto &Info = BlockInfo[&BB]; in initialize()
234 for (auto &BBInfo : BlockInfo) in initialize()
240 for (auto &BBInfo : BlockInfo) in initialize()
299 auto &Info = BlockInfo[BB]; in initialize()
314 auto &EntryInfo = BlockInfo[BB]; in initialize()
320 for (auto &BBInfo : BlockInfo) in initialize()
445 auto &Info = BlockInfo[PN->getParent()]; in markPhiLive()
455 auto &Info = BlockInfo[PredBB]; in markPhiLive()
570 auto &Info = BlockInfo[BB]; in updateDeadRegions()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp38 SmallVector<int, 8> BlockInfo; member in __anone316ce6f0111::AArch64CompressJumpTables
75 BlockInfo.clear(); in scanFunction()
76 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
80 BlockInfo[MBB.getNumber()] = Offset; in scanFunction()
102 int BlockOffset = BlockInfo[Block->getNumber()]; in compressJumpTable()
150 int Offset = BlockInfo[MBB.getNumber()]; in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/tools/llvm-bcanalyzer/
H A 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()
525 BlockInfo = std::move(*NewBlockInfo); in ParseBlock()
839 BitstreamBlockInfo BlockInfo; in AnalyzeBitcode() local
843 Stream.setBlockInfo(&BlockInfo); in AnalyzeBitcode()
866 BlockInfo = std::move(*NewBlockInfo); in AnalyzeBitcode()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Bitcode/
H A 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()
H A 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()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h436 struct BlockInfo { struct
446 BlockInfo() = default; argument
447 BlockInfo(BlockInfo &&) = default;
448 BlockInfo &operator=(BlockInfo &&) = default; argument
505 std::vector<BlockInfo> BBInfo;
512 BlockInfo *CurrentBlockInfo = nullptr;
H A DConsumed.h242 ConsumedBlockInfo BlockInfo; variable
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp39 Optional<llvm::BitstreamBlockInfo> BlockInfo; in readDiagnostics() local
59 BlockInfo = Stream.ReadBlockInfoBlock(); in readDiagnostics()
60 if (!BlockInfo) in readDiagnostics()
62 Stream.setBlockInfo(&*BlockInfo); in readDiagnostics()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafety.cpp514 std::vector<CFGBlockInfo> &BlockInfo);
736 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlockID]; in traverseCFG()
752 CFGBlockInfo *PrevBlockInfo = &BlockInfo[PrevBlockID]; in traverseCFG()
806 saveContext(nullptr, BlockInfo[exitID].ExitContext); in traverseCFG()
1020 std::vector<CFGBlockInfo> BlockInfo; member in __anonef2eab400a11::ThreadSafetyAnalyzer
2282 BlockInfo.resize(CFGraph->getNumBlockIDs(), in runAnalysis()
2295 LocalVarMap.traverseCFG(CFGraph, SortedGraph, BlockInfo); in runAnalysis()
2298 findBlockLocations(CFGraph, SortedGraph, BlockInfo); in runAnalysis()
2365 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlockID]; in runAnalysis()
2392 CFGBlockInfo *PrevBlockInfo = &BlockInfo[PrevBlockID]; in runAnalysis()
[all …]
H A DConsumed.cpp1295 BlockInfo.addInfo(*SI, std::move(CurrStates)); in splitState()
1300 BlockInfo.addInfo(*SI, std::move(FalseStates)); in splitState()
1319 BlockInfo = ConsumedBlockInfo(CFGraph->getNumBlockIDs(), SortedGraph); in run()
1331 CurrStates = BlockInfo.getInfo(CurrBlock); in run()
1391 if (BlockInfo.isBackEdge(CurrBlock, *SI)) { in run()
1392 BlockInfo.borrowInfo(*SI)->intersectAtLoopHead( in run()
1395 if (BlockInfo.allBackEdgesVisited(CurrBlock, *SI)) in run()
1396 BlockInfo.discardInfo(*SI); in run()
1398 BlockInfo.addInfo(*SI, RawState, CurrStates); in run()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DMachineTraceMetrics.h260 unsigned getBlockNum() const { return &TBI - &TE.BlockInfo[0]; } in getBlockNum()
325 SmallVector<TraceBlockInfo, 4> BlockInfo; variable
402 SmallVector<FixedBlockInfo, 4> BlockInfo;
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitstreamReader.cpp29 if (BlockInfo) { in EnterSubBlock()
30 if (const BitstreamBlockInfo::BlockInfo *Info = in EnterSubBlock()
31 BlockInfo->getBlockInfo(BlockID)) { in EnterSubBlock()
330 BitstreamBlockInfo::BlockInfo *CurBlockInfo = nullptr; in ReadBlockInfoBlock()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.cpp115 const CGBlockInfo &BlockInfo, const LangOptions &LangOpts,
128 if (BlockInfo.needsCopyDisposeHelpers()) { in getBlockDescriptorName()
148 BlockInfo.BlockAlign, CGM); in getBlockDescriptorName()
508 if (CGF.BlockInfo && CI.isNested()) in getCaptureFieldType()
509 return CGF.BlockInfo->getCapture(VD).fieldType(); in getCaptureFieldType()
1065 if (BlockInfo && CI.isNested()) { in EmitBlockLiteral()
1068 BlockInfo->getCapture(variable); in EmitBlockLiteral()
1498 *BlockInfo, D->getName(), argNum, in setBlockContextParameter()
1510 BlockInfo->StructureType->getPointerTo( in setBlockContextParameter()
1520 return Address(BlockPointer, BlockInfo->BlockAlign); in LoadBlockStruct()
[all …]
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DCrashDebugger.cpp490 std::vector<std::pair<std::string, std::string>> BlockInfo; in TestBlocks() local
493 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName()); in TestBlocks()
521 for (const auto &BI : BlockInfo) { in TestBlocks()
597 std::vector<std::pair<std::string, std::string>> BlockInfo; in TestBlocks() local
600 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName()); in TestBlocks()
628 for (auto &BI : BlockInfo) { in TestBlocks()
687 std::vector<std::pair<std::string, std::string>> BlockInfo; in TestBlocks() local
690 BlockInfo.emplace_back(BB->getParent()->getName(), BB->getName()); in TestBlocks()
720 for (auto &BI : BlockInfo) { in TestBlocks()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DThumb2SizeReduction.cpp233 SmallVector<MBBInfo, 8> BlockInfo; member in __anon184549d40111::Thumb2SizeReduce
1042 const MBBInfo &PInfo = BlockInfo[Pred->getNumber()]; in ReduceMBB()
1114 MBBInfo &Info = BlockInfo[MBB.getNumber()]; in ReduceMBB()
1134 BlockInfo.clear(); in runOnMachineFunction()
1135 BlockInfo.resize(MF.getNumBlockIDs()); in runOnMachineFunction()

12