/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 35 class BBInfo { 39 BBInfo *DefBB; // Block that defines the available value. 41 BBInfo *IDom; // Immediate dominator. 43 BBInfo **Preds; // Array[NumPreds] of predecessor blocks. 46 BBInfo(BlkT *ThisBB, ValT V) in BBInfo() function 56 typedef SmallVectorImpl<BBInfo*> BlockListTy; 57 typedef DenseMap<BlkT*, BBInfo*> BBMapTy; 71 SmallVector<BBInfo*, 100> BlockList; in GetValue() 72 BBInfo *PseudoEntry = BuildBlockList(BB, &BlockList); in GetValue() 92 BBInfo *BuildBlockList(BlkT *BB, BlockListTy *BlockList) { in BuildBlockList() [all …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 46 class BBInfo { 50 BBInfo *DefBB; // Block that defines the available value. 52 BBInfo *IDom; // Immediate dominator. 54 BBInfo **Preds; // Array[NumPreds] of predecessor blocks. 57 BBInfo(BlkT *ThisBB, ValT V) in BBInfo() function 67 typedef SmallVectorImpl<BBInfo*> BlockListTy; 68 typedef DenseMap<BlkT*, BBInfo*> BBMapTy; 82 SmallVector<BBInfo*, 100> BlockList; in GetValue() 83 BBInfo *PseudoEntry = BuildBlockList(BB, &BlockList); in GetValue() 103 BBInfo *BuildBlockList(BlkT *BB, BlockListTy *BlockList) { in BuildBlockList() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IfConversion.cpp | 102 struct BBInfo { struct in __anon5b63ca740111::IfConverter 120 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() function 139 BBInfo &BBI; 144 IfcvtToken(BBInfo &b, IfcvtKind k, bool s, unsigned d, unsigned d2 = 0) in IfcvtToken() 150 std::vector<BBInfo> BBAnalysis; 175 bool ReverseBranchCondition(BBInfo &BBI); 176 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups, 178 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI, 181 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI, 183 void ScanInstructions(BBInfo &BBI); [all …]
|
D | MachineVerifier.cpp | 92 struct BBInfo { struct 116 BBInfo() : reachable(false) {} in BBInfo() argument 172 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap; 357 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable() 687 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineOperand() 820 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineInstrAfter() 862 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsPassed() 867 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed() 878 BBInfo &MInfo = MBBInfoMap[MBB]; in calcRegsPassed() 883 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed() [all …]
|
/external/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 111 struct BBInfo { struct in __anonfea412480111::IfConverter 129 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() function 149 BBInfo &BBI; 154 IfcvtToken(BBInfo &b, IfcvtKind k, bool s, unsigned d, unsigned d2 = 0) in IfcvtToken() 160 std::vector<BBInfo> BBAnalysis; 198 bool ReverseBranchCondition(BBInfo &BBI); 199 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups, 201 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI, 204 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI, 206 void ScanInstructions(BBInfo &BBI); [all …]
|
D | MachineVerifier.cpp | 98 struct BBInfo { struct 125 BBInfo() : reachable(false) {} in BBInfo() function 181 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap; 514 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable() 543 BBInfo &MInfo = MBBInfoMap[&MBB]; in visitMachineFunctionBefore() 1289 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in checkLiveness() 1351 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineBundleAfter() 1390 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsPassed() 1395 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed() 1406 BBInfo &MInfo = MBBInfoMap[MBB]; in calcRegsPassed() [all …]
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 35 template <class Edge, class BBInfo> class CFGMST { 44 DenseMap<const BasicBlock *, std::unique_ptr<BBInfo>> BBInfos; 47 BBInfo *findAndCompressGroup(BBInfo *G) { in findAndCompressGroup() 49 G->Group = findAndCompressGroup(static_cast<BBInfo *>(G->Group)); in findAndCompressGroup() 50 return static_cast<BBInfo *>(G->Group); in findAndCompressGroup() 56 BBInfo *BB1G = findAndCompressGroup(&getBBInfo(BB1)); in unionGroups() 57 BBInfo *BB2G = findAndCompressGroup(&getBBInfo(BB2)); in unionGroups() 75 BBInfo &getBBInfo(const BasicBlock *BB) const { in getBBInfo() 191 Iter->second = std::move(llvm::make_unique<BBInfo>(Index)); in addEdge() 197 Iter->second = std::move(llvm::make_unique<BBInfo>(Index)); in addEdge()
|
D | PGOInstrumentation.cpp | 223 struct BBInfo { struct 224 BBInfo *Group; argument 228 BBInfo(unsigned IX) : Group(this), Index(IX), Rank(0) {} in BBInfo() function 237 template <class Edge, class BBInfo> class FuncPGOInstrumentation { 249 CFGMST<Edge, BBInfo> MST; 256 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); } in getBBInfo() 288 template <class Edge, class BBInfo> 289 void FuncPGOInstrumentation<Edge, BBInfo>::computeCFGHash() { in computeCFGHash() 307 template <class Edge, class BBInfo> 308 BasicBlock *FuncPGOInstrumentation<Edge, BBInfo>::getInstrBB(Edge *E) { in getInstrBB() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Dominators.h | 60 typedef DenseMapInfo<const BasicBlock *> BBInfo; 62 return BasicBlockEdge(BBInfo::getEmptyKey(), BBInfo::getEmptyKey()); 65 return BasicBlockEdge(BBInfo::getTombstoneKey(), BBInfo::getTombstoneKey()); 69 return hash_combine(BBInfo::getHashValue(Edge.getStart()), 70 BBInfo::getHashValue(Edge.getEnd())); 73 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) && 74 BBInfo::isEqual(LHS.getEnd(), RHS.getEnd());
|
/external/llvm/lib/Target/Mips/ |
D | MipsConstantIslandPass.cpp | 231 std::vector<BasicBlockInfo> BBInfo; member in __anond1a303420111::MipsConstantIslands 425 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs() 426 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs() 428 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs() 516 BBInfo.clear(); in runOnMachineFunction() 642 BBInfo.clear(); in initializeFunctionInfo() 643 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo() 800 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize() 816 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf() 843 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantIslandPass.cpp | 159 std::vector<BasicBlockInfo> BBInfo; member in __anonff0ab0900111::ARMConstantIslands 356 return BBInfo[LHS.getNumber()].postOffset() < in verify() 357 BBInfo[RHS.getNumber()].postOffset(); in verify() 381 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs() 382 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs() 387 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs() 525 BBInfo.clear(); in runOnMachineFunction() 737 BBInfo.clear(); in initializeFunctionInfo() 738 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo() 749 BBInfo.front().KnownBits = MF->getAlignment(); in initializeFunctionInfo() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | DominatorInternals.h | 63 typename DominatorTreeBase<typename GraphT::NodeType>::InfoRec &BBInfo = in DFSPass() local 68 BBInfo.DFSNum = BBInfo.Semi = ++N; in DFSPass() 69 BBInfo.Label = BB; in DFSPass() 74 BBInfo.Parent = 1; in DFSPass() 81 unsigned BBDFSNum = BBInfo.DFSNum; in DFSPass() 158 typename DominatorTreeBase<typename GraphT::NodeType>::InfoRec &BBInfo = in Calculate() local 160 BBInfo.DFSNum = BBInfo.Semi = ++N; in Calculate() 161 BBInfo.Label = NULL; in Calculate()
|
/external/llvm/include/llvm/Support/ |
D | GenericDomTreeConstruction.h | 62 typename DominatorTreeBase<typename GraphT::NodeType>::InfoRec &BBInfo = in DFSPass() local 67 BBInfo.DFSNum = BBInfo.Semi = ++N; in DFSPass() 68 BBInfo.Label = BB; in DFSPass() 73 BBInfo.Parent = 1; in DFSPass() 80 unsigned BBDFSNum = BBInfo.DFSNum; in DFSPass() 157 typename DominatorTreeBase<typename GraphT::NodeType>::InfoRec &BBInfo = in Calculate() local 159 BBInfo.DFSNum = BBInfo.Semi = ++N; in Calculate() 160 BBInfo.Label = nullptr; in Calculate()
|
/external/llvm/lib/Target/X86/ |
D | X86PadShortFunction.cpp | 183 VisitedBBInfo BBInfo = it->second; in cyclesUntilReturn() local 184 Cycles += BBInfo.Cycles; in cyclesUntilReturn() 185 return BBInfo.HasReturn; in cyclesUntilReturn()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyCommon.cpp | 773 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge() 794 BBInfo.resize(NBlocks); in enterCFG() 826 CurrentBlockInfo = &BBInfo[B->getBlockID()]; in enterCFGBlock() 837 BlockInfo *PredInfo = &BBInfo[Pred->getBlockID()]; in handlePredecessor() 908 ++BBInfo[Succ->getBlockID()].ProcessedPredecessors; in handleSuccessorBackEdge()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | ObjCARCOpts.cpp | 420 raw_ostream &llvm::operator<<(raw_ostream &OS, BBState &BBInfo) { in operator <<() argument 423 if (!BBInfo.hasTopDownPtrs()) { in operator <<() 426 for (auto I = BBInfo.top_down_ptr_begin(), E = BBInfo.top_down_ptr_end(); in operator <<() 443 if (!BBInfo.hasBottomUpPtrs()) { in operator <<() 446 for (auto I = BBInfo.bottom_up_ptr_begin(), E = BBInfo.bottom_up_ptr_end(); in operator <<()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyCommon.h | 485 std::vector<BlockInfo> BBInfo; // Extra information per BB. variable
|