Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp131 unsigned BonusInstThreshold) { in iterativelySimplifyCFG() argument
139 if (SimplifyCFG(&*BBIt++, TTI, BonusInstThreshold, AC)) { in iterativelySimplifyCFG()
150 AssumptionCache *AC, int BonusInstThreshold) { in simplifyFunctionCFG() argument
153 EverChanged |= iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); in simplifyFunctionCFG()
167 EverChanged = iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); in simplifyFunctionCFG()
175 : BonusInstThreshold(UserBonusInstThreshold) {} in SimplifyCFGPass()
177 SimplifyCFGPass::SimplifyCFGPass(int BonusInstThreshold) in SimplifyCFGPass() argument
178 : BonusInstThreshold(BonusInstThreshold) {} in SimplifyCFGPass()
185 if (!simplifyFunctionCFG(F, TTI, &AC, BonusInstThreshold)) in run()
194 unsigned BonusInstThreshold; member
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DSimplifyCFG.h29 int BonusInstThreshold; variable
38 SimplifyCFGPass(int BonusInstThreshold);
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp130 unsigned BonusInstThreshold; member in __anonfb6897ed0111::SimplifyCFGOpt
152 unsigned BonusInstThreshold, AssumptionCache *AC) in SimplifyCFGOpt() argument
153 : TTI(TTI), DL(DL), BonusInstThreshold(BonusInstThreshold), AC(AC) {} in SimplifyCFGOpt()
2075 bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) { in FoldBranchToCommonDest() argument
2142 if (NumBonusInsts > BonusInstThreshold) in FoldBranchToCommonDest()
3028 const TargetTransformInfo &TTI, unsigned BonusInstThreshold, in TryToSimplifyUncondBranchWithICmpInIt() argument
3062 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in TryToSimplifyUncondBranchWithICmpInIt()
3078 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in TryToSimplifyUncondBranchWithICmpInIt()
4718 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in SimplifySwitch()
4723 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in SimplifySwitch()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h140 unsigned BonusInstThreshold, AssumptionCache *AC = nullptr);
152 bool FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold = 1);