Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp133 unsigned BonusInstThreshold) { in iterativelySimplifyCFG() argument
148 if (SimplifyCFG(&*BBIt++, TTI, BonusInstThreshold, AC, &LoopHeaders)) { in iterativelySimplifyCFG()
159 AssumptionCache *AC, int BonusInstThreshold) { in simplifyFunctionCFG() argument
162 EverChanged |= iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); in simplifyFunctionCFG()
176 EverChanged = iterativelySimplifyCFG(F, TTI, AC, BonusInstThreshold); in simplifyFunctionCFG()
184 : BonusInstThreshold(UserBonusInstThreshold) {} in SimplifyCFGPass()
186 SimplifyCFGPass::SimplifyCFGPass(int BonusInstThreshold) in SimplifyCFGPass() argument
187 : BonusInstThreshold(BonusInstThreshold) {} in SimplifyCFGPass()
194 if (!simplifyFunctionCFG(F, TTI, &AC, BonusInstThreshold)) in run()
204 unsigned BonusInstThreshold; member
[all …]
/external/llvm/include/llvm/Transforms/Scalar/
DSimplifyCFG.h29 int BonusInstThreshold; variable
36 SimplifyCFGPass(int BonusInstThreshold);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DLocal.h64 int BonusInstThreshold; member
76 : BonusInstThreshold(BonusThreshold), in BonusInstThreshold() function
85 BonusInstThreshold = I; in bonusInstThreshold()
228 bool FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold = 1);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp201 Options.BonusInstThreshold = UserBonusInstThreshold.getNumOccurrences() in SimplifyCFGPass()
203 : Opts.BonusInstThreshold; in SimplifyCFGPass()
244 Options.BonusInstThreshold = UserBonusInstThreshold.getNumOccurrences() in CFGSimplifyPass()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp142 unsigned BonusInstThreshold; member in __anonfb6897ed0111::SimplifyCFGOpt
167 unsigned BonusInstThreshold, AssumptionCache *AC, in SimplifyCFGOpt() argument
169 : TTI(TTI), DL(DL), BonusInstThreshold(BonusInstThreshold), AC(AC), in SimplifyCFGOpt()
2188 bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) { in FoldBranchToCommonDest() argument
2255 if (NumBonusInsts > BonusInstThreshold) in FoldBranchToCommonDest()
3143 const TargetTransformInfo &TTI, unsigned BonusInstThreshold, in TryToSimplifyUncondBranchWithICmpInIt() argument
3179 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in TryToSimplifyUncondBranchWithICmpInIt()
3195 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in TryToSimplifyUncondBranchWithICmpInIt()
5049 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in SimplifySwitch()
5054 return SimplifyCFG(BB, TTI, BonusInstThreshold, AC) | true; in SimplifySwitch()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h137 unsigned BonusInstThreshold, AssumptionCache *AC = nullptr,
148 bool FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold = 1);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2541 bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) { in FoldBranchToCommonDest() argument
2610 if (NumBonusInsts > BonusInstThreshold) in FoldBranchToCommonDest()
5789 if (FoldBranchToCommonDest(BI, Options.BonusInstThreshold)) in SimplifyUncondBranch()
5864 if (FoldBranchToCommonDest(BI, Options.BonusInstThreshold)) in SimplifyCondBranch()