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 __anon581e0ee20111::IfConverter
127 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() argument
147 BBInfo &BBI;
152 IfcvtToken(BBInfo &b, IfcvtKind k, bool s, unsigned d, unsigned d2 = 0) in IfcvtToken()
158 std::vector<BBInfo> BBAnalysis;
187 bool ReverseBranchCondition(BBInfo &BBI);
188 bool ValidSimple(BBInfo &TrueBBI, unsigned &Dups,
190 bool ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI,
193 bool ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI,
195 void ScanInstructions(BBInfo &BBI);
[all …]
DMachineVerifier.cpp99 struct BBInfo { struct
126 BBInfo() : reachable(false) {} in BBInfo() function
182 DenseMap<const MachineBasicBlock*, BBInfo> MBBInfoMap;
445 BBInfo &MInfo = MBBInfoMap[MBB]; in markReachable()
474 BBInfo &MInfo = MBBInfoMap[&MBB]; in visitMachineFunctionBefore()
1056 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in checkLiveness()
1122 BBInfo &MInfo = MBBInfoMap[MI->getParent()]; in visitMachineBundleAfter()
1161 BBInfo &MInfo = MBBInfoMap[&MBB]; in calcRegsPassed()
1166 BBInfo &SInfo = MBBInfoMap[*SuI]; in calcRegsPassed()
1177 BBInfo &MInfo = MBBInfoMap[MBB]; in calcRegsPassed()
[all …]
/external/llvm/lib/Target/ARM/
DARMConstantIslandPass.cpp159 std::vector<BasicBlockInfo> BBInfo; member in __anona28a642a0111::ARMConstantIslands
336 assert(!MBBId || BBInfo[MBBId - 1].postOffset() <= BBInfo[MBBId].Offset); in verify()
360 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
361 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
366 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
492 BBInfo.clear(); in runOnMachineFunction()
636 BBInfo.clear(); in initializeFunctionInfo()
637 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
648 BBInfo.front().KnownBits = MF->getAlignment(); in initializeFunctionInfo()
800 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
[all …]
/external/llvm/lib/Target/Mips/
DMipsConstantIslandPass.cpp240 std::vector<BasicBlockInfo> BBInfo; member in __anon53de055c0111::MipsConstantIslands
435 for (unsigned J = 0, E = BBInfo.size(); J !=E; ++J) { in dumpBBs()
436 const BasicBlockInfo &BBI = BBInfo[J]; in dumpBBs()
438 << format(" size=%#x\n", BBInfo[J].Size); in dumpBBs()
527 BBInfo.clear(); in runOnMachineFunction()
655 BBInfo.clear(); in initializeFunctionInfo()
656 BBInfo.resize(MF->getNumBlockIDs()); in initializeFunctionInfo()
817 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()]; in computeBlockSize()
835 unsigned Offset = BBInfo[MBB->getNumber()].Offset; in getOffsetOf()
862 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo()); in updateForInsertedWaterBlock()
[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/MC/MCAnalysis/
DMCObjectDisassembler.cpp155 struct BBInfo;
156 typedef SmallPtrSet<BBInfo*, 2> BBInfoSetTy;
158 struct BBInfo { struct
165 BBInfo() : Atom(nullptr), BB(nullptr) {} in BBInfo() function
167 void addSucc(BBInfo &Succ) { in addSucc() argument
180 typedef std::map<uint64_t, BBInfo> BBInfoByAddrTy; in buildCFG()
245 BBInfo &CurBB = BBInfos[TA->getBeginAddr()]; in buildCFG()
261 BBInfo &BBI = BBInfos[*CI]; in buildCFG()
267 SmallSetVector<BBInfo*, 16> Worklist; in buildCFG()
270 BBInfo *BBI = Worklist[wi]; in buildCFG()
[all …]
/external/llvm/lib/Target/X86/
DX86PadShortFunction.cpp179 VisitedBBInfo BBInfo = it->second; in cyclesUntilReturn() local
180 Cycles += BBInfo.Cycles; in cyclesUntilReturn()
181 return BBInfo.HasReturn; in cyclesUntilReturn()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp603 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge()
626 BBInfo.resize(NBlocks); in enterCFG()
660 CurrentBlockInfo = &BBInfo[B->getBlockID()]; in enterCFGBlock()
672 BlockInfo *PredInfo = &BBInfo[Pred->getBlockID()]; in handlePredecessor()
752 ++BBInfo[Succ->getBlockID()].ProcessedPredecessors; in handleSuccessorBackEdge()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h372 std::vector<BlockInfo> BBInfo; // Extra information per BB. variable