Home
last modified time | relevance | path

Searched refs:BBInfo (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h42 class BBInfo {
51 BBInfo *DefBB;
57 BBInfo *IDom = nullptr;
63 BBInfo **Preds = nullptr;
68 BBInfo(BlkT *ThisBB, ValT V) in BBInfo() function
78 using BlockListTy = SmallVectorImpl<BBInfo *>;
79 using BBMapTy = DenseMap<BlkT *, BBInfo *>;
94 SmallVector<BBInfo *, 100> BlockList; in GetValue()
95 BBInfo *PseudoEntry = BuildBlockList(BB, &BlockList); in GetValue()
115 BBInfo *BuildBlockList(BlkT *BB, BlockListTy *BlockList) { in BuildBlockList()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIfConversion.cpp135 struct BBInfo { struct in __anone11d33740111::IfConverter
155 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() function
174 BBInfo &BBI;
182 IfcvtToken(BBInfo &b, IfcvtKind k, bool s, unsigned d, unsigned d2 = 0, in IfcvtToken()
190 std::vector<BBInfo> BBAnalysis;
229 bool reverseBranchCondition(BBInfo &BBI) const;
230 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
232 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI,
241 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI,
243 BBInfo &TrueBBICalc, BBInfo &FalseBBICalc) const;
[all …]
DMachineVerifier.cpp131 struct BBInfo { struct
158 BBInfo() = default;
214 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap;
568 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable()
589 BBInfo &MInfo = MBBInfoMap[&MBB]; in visitMachineFunctionBefore()
2037 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in checkLiveness()
2098 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineBundleAfter()
2137 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsPassed()
2142 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed()
2153 BBInfo &MInfo = MBBInfoMap[MBB]; in calcRegsPassed()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DADCE.cpp235 for (auto &BBInfo : BlockInfo) in initialize() local
236 for (Instruction &I : *BBInfo.second.BB) in initialize()
237 InstInfo[&I].Block = &BBInfo.second; in initialize()
241 for (auto &BBInfo : BlockInfo) in initialize() local
242 BBInfo.second.TerminatorLiveInfo = &InstInfo[BBInfo.second.Terminator]; in initialize()
321 for (auto &BBInfo : BlockInfo) in initialize() local
322 if (!BBInfo.second.terminatorIsLive()) in initialize()
323 BlocksWithDeadTerminators.insert(BBInfo.second.BB); in initialize()
392 auto &BBInfo = *Info.Block; in markLive() local
393 if (BBInfo.Terminator == I) { in markLive()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBasicBlockInfo.cpp49 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
81 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
98 unsigned DestOffset = BBInfo[DestBB->getNumber()].Offset; in isBBInRange()
132 const unsigned Offset = BBInfo[i - 1].postOffset(Align); in adjustBBOffsetsAfter()
133 const unsigned KnownBits = BBInfo[i - 1].postKnownBits(Align); in adjustBBOffsetsAfter()
139 BBInfo[i].Offset == Offset && in adjustBBOffsetsAfter()
140 BBInfo[i].KnownBits == KnownBits) in adjustBBOffsetsAfter()
143 BBInfo[i].Offset = Offset; in adjustBBOffsetsAfter()
144 BBInfo[i].KnownBits = KnownBits; in adjustBBOffsetsAfter()
DARMBasicBlockInfo.h115 SmallVector<BasicBlockInfo, 8> BBInfo; variable
125 BBInfo.resize(MF.getNumBlockIDs()); in computeAllBlockSizes()
135 return BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
141 BBInfo[MBB->getNumber()].Size += Size; in adjustBBSize()
148 BBInfo.insert(BBInfo.begin() + BBNum, BBI); in insert()
151 void clear() { BBInfo.clear(); } in clear()
153 BBInfoVector &getBBInfo() { return BBInfo; } in getBBInfo()
DARMConstantIslandPass.cpp304 BBInfoVector &BBInfo = BBUtils->getBBInfo(); in verify() local
306 [&BBInfo](const MachineBasicBlock &LHS, in verify()
308 return BBInfo[LHS.getNumber()].postOffset() < in verify()
309 BBInfo[RHS.getNumber()].postOffset(); in verify()
334 BBInfoVector &BBInfo = BBUtils->getBBInfo(); in dumpBBs()
335 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
336 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
340 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
693 BBInfoVector &BBInfo = BBUtils->getBBInfo(); in initializeFunctionInfo() local
696 BBInfo.front().KnownBits = Log2(MF->getAlignment()); in initializeFunctionInfo()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCFGMST.h37 template <class Edge, class BBInfo> class CFGMST {
46 DenseMap<const BasicBlock *, std::unique_ptr<BBInfo>> BBInfos;
53 BBInfo *findAndCompressGroup(BBInfo *G) { in findAndCompressGroup()
55 G->Group = findAndCompressGroup(static_cast<BBInfo *>(G->Group)); in findAndCompressGroup()
56 return static_cast<BBInfo *>(G->Group); in findAndCompressGroup()
62 BBInfo *BB1G = findAndCompressGroup(&getBBInfo(BB1)); in unionGroups()
63 BBInfo *BB2G = findAndCompressGroup(&getBBInfo(BB2)); in unionGroups()
81 BBInfo &getBBInfo(const BasicBlock *BB) const { in getBBInfo()
88 BBInfo *findBBInfo(const BasicBlock *BB) const { in findBBInfo()
260 Iter->second = std::move(std::make_unique<BBInfo>(Index)); in addEdge()
[all …]
DPGOInstrumentation.cpp500 struct BBInfo { struct
501 BBInfo *Group; argument
505 BBInfo(unsigned IX) : Group(this), Index(IX) {} in BBInfo() function
520 template <class Edge, class BBInfo> class FuncPGOInstrumentation {
545 CFGMST<Edge, BBInfo> MST;
556 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); } in getBBInfo()
559 BBInfo *findBBInfo(const BasicBlock *BB) const { return MST.findBBInfo(BB); } in findBBInfo()
611 template <class Edge, class BBInfo>
612 void FuncPGOInstrumentation<Edge, BBInfo>::computeCFGHash() { in computeCFGHash()
673 template <class Edge, class BBInfo>
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp228 std::vector<BasicBlockInfo> BBInfo; member in __anon5948c16e0111::MipsConstantIslands
426 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
427 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
429 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
515 BBInfo.clear(); in runOnMachineFunction()
639 BBInfo.clear(); in initializeFunctionInfo()
640 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
791 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
807 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
834 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDominators.h103 using BBInfo = DenseMapInfo<const BasicBlock *>;
108 return BasicBlockEdge(BBInfo::getEmptyKey(), BBInfo::getEmptyKey());
112 return BasicBlockEdge(BBInfo::getTombstoneKey(), BBInfo::getTombstoneKey());
116 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
117 BBInfo::getHashValue(Edge.getEnd()));
121 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) &&
122 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86PadShortFunction.cpp194 VisitedBBInfo BBInfo = it->second; in cyclesUntilReturn() local
195 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
196 return BBInfo.HasReturn; in cyclesUntilReturn()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DBlockExtractor.cpp183 for (const auto &BBInfo : BInfo.second) { in runOnModule() local
185 return BB.getName().equals(BBInfo); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericDomTreeConstruction.h227 auto &BBInfo = NodeToInfo[BB]; in runDFS() local
230 if (BBInfo.DFSNum != 0) continue; in runDFS()
231 BBInfo.DFSNum = BBInfo.Semi = ++LastNum; in runDFS()
232 BBInfo.Label = BB; in runDFS()
360 auto &BBInfo = NodeToInfo[nullptr]; in addVirtualRoot() local
361 BBInfo.DFSNum = BBInfo.Semi = 1; in addVirtualRoot()
362 BBInfo.Label = nullptr; in addVirtualRoot()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp436 raw_ostream &llvm::operator<<(raw_ostream &OS, BBState &BBInfo) { in operator <<() argument
439 if (!BBInfo.hasTopDownPtrs()) { in operator <<()
442 for (auto I = BBInfo.top_down_ptr_begin(), E = BBInfo.top_down_ptr_end(); in operator <<()
459 if (!BBInfo.hasBottomUpPtrs()) { in operator <<()
462 for (auto I = BBInfo.bottom_up_ptr_begin(), E = BBInfo.bottom_up_ptr_end(); in operator <<()