Home
last modified time | relevance | path

Searched refs:BonusInstThreshold (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DLocal.h66 int BonusInstThreshold; member
78 : BonusInstThreshold(BonusThreshold), in BonusInstThreshold() function
87 BonusInstThreshold = I; in bonusInstThreshold()
236 bool FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold = 1);
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSimplifyCFGPass.cpp201 Options.BonusInstThreshold = UserBonusInstThreshold.getNumOccurrences() in SimplifyCFGPass()
203 : Opts.BonusInstThreshold; in SimplifyCFGPass()
244 Options.BonusInstThreshold = UserBonusInstThreshold.getNumOccurrences() in CFGSimplifyPass()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2542 bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) { in FoldBranchToCommonDest() argument
2617 if (NumBonusInsts > BonusInstThreshold) in FoldBranchToCommonDest()
5799 if (FoldBranchToCommonDest(BI, Options.BonusInstThreshold)) in SimplifyUncondBranch()
5863 if (FoldBranchToCommonDest(BI, Options.BonusInstThreshold)) in SimplifyCondBranch()