Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h45 class BBInfo {
49 BBInfo *DefBB; // Block that defines the available value.
51 BBInfo *IDom; // Immediate dominator.
53 BBInfo **Preds; // Array[NumPreds] of predecessor blocks.
56 BBInfo(BlkT *ThisBB, ValT V) in BBInfo() function
66 typedef SmallVectorImpl<BBInfo*> BlockListTy;
67 typedef DenseMap<BlkT*, BBInfo*> BBMapTy;
81 SmallVector<BBInfo*, 100> BlockList; in GetValue()
82 BBInfo *PseudoEntry = BuildBlockList(BB, &BlockList); in GetValue()
102 BBInfo *BuildBlockList(BlkT *BB, BlockListTy *BlockList) { in BuildBlockList()
[all …]
/external/llvm/lib/CodeGen/
DIfConversion.cpp109 struct BBInfo { struct in __anon01cb6a4b0111::IfConverter
127 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() function
147 BBInfo &BBI;
152 IfcvtToken(BBInfo &b, IfcvtKind k, bool s, unsigned d, unsigned d2 = 0) in IfcvtToken()
158 std::vector<BBInfo> BBAnalysis;
192 bool ReverseBranchCondition(BBInfo &BBI);
193 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
195 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI,
198 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI,
200 void ScanInstructions(BBInfo &BBI);
[all …]
DMachineVerifier.cpp98 struct BBInfo { struct
125 BBInfo() : reachable(false) {} in BBInfo() function
181 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap;
459 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable()
488 BBInfo &MInfo = MBBInfoMap[&MBB]; in visitMachineFunctionBefore()
1131 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in checkLiveness()
1197 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineBundleAfter()
1236 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsPassed()
1241 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed()
1252 BBInfo &MInfo = MBBInfoMap[MBB]; in calcRegsPassed()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h36 template <class Edge, class BBInfo> class CFGMST {
45 DenseMap<const BasicBlock *, std::unique_ptr<BBInfo>> BBInfos;
48 BBInfo *findAndCompressGroup(BBInfo *G) { in findAndCompressGroup()
50 G->Group = findAndCompressGroup(static_cast<BBInfo *>(G->Group)); in findAndCompressGroup()
51 return static_cast<BBInfo *>(G->Group); in findAndCompressGroup()
57 BBInfo *BB1G = findAndCompressGroup(&getBBInfo(BB1)); in unionGroups()
58 BBInfo *BB2G = findAndCompressGroup(&getBBInfo(BB2)); in unionGroups()
76 BBInfo &getBBInfo(const BasicBlock *BB) const { in getBBInfo()
192 Iter->second = std::move(llvm::make_unique<BBInfo>(Index)); in addEdge()
198 Iter->second = std::move(llvm::make_unique<BBInfo>(Index)); in addEdge()
DPGOInstrumentation.cpp190 struct BBInfo { struct
191 BBInfo *Group; argument
195 BBInfo(unsigned IX) : Group(this), Index(IX), Rank(0) {} in BBInfo() function
204 template <class Edge, class BBInfo> class FuncPGOInstrumentation {
216 CFGMST<Edge, BBInfo> MST;
223 BBInfo &getBBInfo(const BasicBlock *BB) const { return MST.getBBInfo(BB); } in getBBInfo()
255 template <class Edge, class BBInfo>
256 void FuncPGOInstrumentation<Edge, BBInfo>::computeCFGHash() { in computeCFGHash()
274 template <class Edge, class BBInfo>
275 BasicBlock *FuncPGOInstrumentation<Edge, BBInfo>::getInstrBB(Edge *E) { in getInstrBB()
[all …]
/external/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp241 std::vector<BasicBlockInfo> BBInfo; member in __anon449aa4850111::MipsConstantIslands
433 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
434 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
436 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
525 BBInfo.clear(); in runOnMachineFunction()
651 BBInfo.clear(); in initializeFunctionInfo()
652 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
813 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
831 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
858 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
[all …]
/external/llvm/include/llvm/Support/
DGenericDomTreeConstruction.h62 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/ARM/
DARMConstantIslandPass.cpp159 std::vector<BasicBlockInfo> BBInfo; member in __anon8e1325130111::ARMConstantIslands
352 assert(!MBBId || BBInfo[MBBId - 1].postOffset() <= BBInfo[MBBId].Offset); in verify()
376 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
377 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
382 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
512 BBInfo.clear(); in runOnMachineFunction()
728 BBInfo.clear(); in initializeFunctionInfo()
729 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
740 BBInfo.front().KnownBits = MF->getAlignment(); in initializeFunctionInfo()
902 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
[all …]
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp175 VisitedBBInfo BBInfo = it->second; in cyclesUntilReturn() local
176 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
177 return BBInfo.HasReturn; in cyclesUntilReturn()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp773 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/
DObjCARCOpts.cpp420 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/
DThreadSafetyCommon.h485 std::vector<BlockInfo> BBInfo; // Extra information per BB. variable