Lines Matching refs:BBInfo
111 struct BBInfo { struct in __anon212d07f20111::IfConverter
129 BBInfo() : IsDone(false), IsBeingAnalyzed(false), in BBInfo() argument
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);
209 bool FeasibilityAnalysis(BBInfo &BBI, SmallVectorImpl<MachineOperand> &Cond,
214 void RemoveExtraEdges(BBInfo &BBI);
215 bool IfConvertSimple(BBInfo &BBI, IfcvtKind Kind);
216 bool IfConvertTriangle(BBInfo &BBI, IfcvtKind Kind);
217 bool IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind,
219 void PredicateBlock(BBInfo &BBI,
223 void CopyAndPredicateBlock(BBInfo &ToBBI, BBInfo &FromBBI,
226 void MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges = true);
246 bool blockAlwaysFallThrough(BBInfo &BBI) const { in blockAlwaysFallThrough()
334 BBInfo &BBI = Token->BBI; in INITIALIZE_PASS_DEPENDENCY()
453 bool IfConverter::ReverseBranchCondition(BBInfo &BBI) { in ReverseBranchCondition()
478 bool IfConverter::ValidSimple(BBInfo &TrueBBI, unsigned &Dups, in ValidSimple()
504 bool IfConverter::ValidTriangle(BBInfo &TrueBBI, BBInfo &FalseBBI, in ValidTriangle()
545 bool IfConverter::ValidDiamond(BBInfo &TrueBBI, BBInfo &FalseBBI, in ValidDiamond()
649 void IfConverter::ScanInstructions(BBInfo &BBI) { in ScanInstructions()
761 bool IfConverter::FeasibilityAnalysis(BBInfo &BBI, in FeasibilityAnalysis()
817 BBInfo &BBI = BBAnalysis[BB->getNumber()]; in AnalyzeBlock()
862 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()]; in AnalyzeBlock()
863 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()]; in AnalyzeBlock()
1022 BBInfo &PBBI = BBAnalysis[Predecessor->getNumber()]; in InvalidatePreds()
1041 void IfConverter::RemoveExtraEdges(BBInfo &BBI) { in RemoveExtraEdges()
1111 bool IfConverter::IfConvertSimple(BBInfo &BBI, IfcvtKind Kind) { in IfConvertSimple()
1112 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()]; in IfConvertSimple()
1113 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()]; in IfConvertSimple()
1114 BBInfo *CvtBBI = &TrueBBI; in IfConvertSimple()
1115 BBInfo *NextBBI = &FalseBBI; in IfConvertSimple()
1197 bool IfConverter::IfConvertTriangle(BBInfo &BBI, IfcvtKind Kind) { in IfConvertTriangle()
1198 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()]; in IfConvertTriangle()
1199 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()]; in IfConvertTriangle()
1200 BBInfo *CvtBBI = &TrueBBI; in IfConvertTriangle()
1201 BBInfo *NextBBI = &FalseBBI; in IfConvertTriangle()
1233 BBInfo &PBBI = BBAnalysis[PBB->getNumber()]; in IfConvertTriangle()
1344 bool IfConverter::IfConvertDiamond(BBInfo &BBI, IfcvtKind Kind, in IfConvertDiamond()
1346 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()]; in IfConvertDiamond()
1347 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()]; in IfConvertDiamond()
1373 BBInfo *BBI1 = &TrueBBI; in IfConvertDiamond()
1374 BBInfo *BBI2 = &FalseBBI; in IfConvertDiamond()
1547 BBInfo &TailBBI = BBAnalysis[TailBB->getNumber()]; in IfConvertDiamond()
1613 void IfConverter::PredicateBlock(BBInfo &BBI, in PredicateBlock()
1656 void IfConverter::CopyAndPredicateBlock(BBInfo &ToBBI, BBInfo &FromBBI, in CopyAndPredicateBlock()
1722 void IfConverter::MergeBlocks(BBInfo &ToBBI, BBInfo &FromBBI, bool AddEdges) { in MergeBlocks()