Home
last modified time | relevance | path

Searched refs:BBInfo (Results 1 – 10 of 10) 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;
189 bool ReverseBranchCondition(BBInfo &BBI);
190 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
192 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI,
195 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI,
197 void ScanInstructions(BBInfo &BBI);
[all …]
DMachineVerifier.cpp98 struct BBInfo { struct
125 BBInfo() : reachable(false) {} in BBInfo() argument
181 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap;
437 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable()
466 BBInfo &MInfo = MBBInfoMap[&MBB]; in visitMachineFunctionBefore()
1083 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in checkLiveness()
1149 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineBundleAfter()
1188 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsPassed()
1193 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed()
1204 BBInfo &MInfo = MBBInfoMap[MBB]; in calcRegsPassed()
[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/lib/Target/ARM/
DARMConstantIslandPass.cpp159 std::vector<BasicBlockInfo> BBInfo; member in __anon8e1325130111::ARMConstantIslands
337 assert(!MBBId || BBInfo[MBBId - 1].postOffset() <= BBInfo[MBBId].Offset); in verify()
361 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
362 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
367 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
493 BBInfo.clear(); in runOnMachineFunction()
638 BBInfo.clear(); in initializeFunctionInfo()
639 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
650 BBInfo.front().KnownBits = MF->getAlignment(); in initializeFunctionInfo()
802 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
[all …]
/external/llvm/include/llvm/Support/
DGenericDomTreeConstruction.h63 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 = nullptr; in Calculate()
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp176 VisitedBBInfo BBInfo = it->second; in cyclesUntilReturn() local
177 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
178 return BBInfo.HasReturn; in cyclesUntilReturn()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp799 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge()
820 BBInfo.resize(NBlocks); in enterCFG()
853 CurrentBlockInfo = &BBInfo[B->getBlockID()]; in enterCFGBlock()
865 BlockInfo *PredInfo = &BBInfo[Pred->getBlockID()]; in handlePredecessor()
944 ++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.h483 std::vector<BlockInfo> BBInfo; // Extra information per BB. variable