Home
last modified time | relevance | path

Searched refs:LoopDepth (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_vert_fc.c16 unsigned LoopDepth; member
97 if (fc_state->LoopDepth == 0 && fc_state->BranchDepth == 0) { in lower_bgnloop()
111 fc_state->PredStack[fc_state->LoopDepth] = fc_state->PredicateReg; in lower_bgnloop()
135 if (fc_state->LoopDepth == 1) { in lower_brk()
157 fc_state->PredicateReg = fc_state->PredStack[fc_state->LoopDepth - 1]; in lower_endloop()
169 assert(fc_state->LoopDepth == 0); in lower_if()
176 if (fc_state->BranchDepth == 0 && fc_state->LoopDepth == 0) { in lower_if()
208 fc_state.LoopDepth++; in rc_vert_fc()
216 if (fc_state.BranchDepth != 0 || fc_state.LoopDepth != 1) { in rc_vert_fc()
221 fc_state.LoopDepth--; in rc_vert_fc()
[all …]
Dradeon_dataflow.c479 if (cb_data->ReaderData->LoopDepth > 0) { in get_readers_read_callback()
614 d->ReaderData->LoopDepth = 0; in get_readers_for_single_write()
629 d->ReaderData->LoopDepth++; in get_readers_for_single_write()
633 if (d->ReaderData->LoopDepth > 0) { in get_readers_for_single_write()
634 d->ReaderData->LoopDepth--; in get_readers_for_single_write()
635 if (d->ReaderData->LoopDepth == 0) { in get_readers_for_single_write()
662 if (branch_depth == 0 && d->ReaderData->LoopDepth == 0) { in get_readers_for_single_write()
Dradeon_dataflow.h69 unsigned int LoopDepth; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CmovConversion.cpp387 DepthInfo LoopDepth[LoopIterations] = {{0, 0}, {0, 0}}; in checkForProfitableCmovCandidates() local
426 DepthInfo &MaxDepth = LoopDepth[I]; in checkForProfitableCmovCandidates()
473 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates()
474 LoopDepth[1].Depth - LoopDepth[1].OptDepth}; in checkForProfitableCmovCandidates()
508 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates()
511 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates()
512 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/X86/
DX86CmovConversion.cpp402 DepthInfo LoopDepth[LoopIterations] = {{0, 0}, {0, 0}}; in checkForProfitableCmovCandidates() local
440 for (DepthInfo &MaxDepth : LoopDepth) { in checkForProfitableCmovCandidates()
487 unsigned Diff[LoopIterations] = {LoopDepth[0].Depth - LoopDepth[0].OptDepth, in checkForProfitableCmovCandidates()
488 LoopDepth[1].Depth - LoopDepth[1].OptDepth}; in checkForProfitableCmovCandidates()
522 WorthOptLoop = Diff[0] * 8 >= LoopDepth[0].Depth; in checkForProfitableCmovCandidates()
525 (Diff[1] - Diff[0]) * 2 >= (LoopDepth[1].Depth - LoopDepth[0].Depth) && in checkForProfitableCmovCandidates()
526 (Diff[1] * 8 >= LoopDepth[1].Depth); in checkForProfitableCmovCandidates()
DX86LoadValueInjectionLoadHardening.cpp501 unsigned LoopDepth = MLI.getLoopDepth(MBB); in getGadgetGraph() local
515 Builder.addEdge(LoopDepth, GI, Ref->getSecond()); in getGadgetGraph()
525 Builder.addEdge(LoopDepth, GI, EndBB.first); in getGadgetGraph()
530 TraverseCFG(Succ, GI, LoopDepth); in getGadgetGraph()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp614 unsigned LoopDepth, bool InnerLoop, in checkDependencies() argument
643 if (D->getDirection(LoopDepth) & Dependence::DVEntry::GT) { in checkDependencies()
650 assert(LoopDepth + 1 <= D->getLevels()); in checkDependencies()
651 if (D->getDirection(LoopDepth) & Dependence::DVEntry::GT && in checkDependencies()
652 D->getDirection(LoopDepth + 1) & Dependence::DVEntry::LT) { in checkDependencies()
678 unsigned LoopDepth = L->getLoopDepth(); in checkDependencies() local
679 return checkDependencies(ForeMemInstr, SubLoopMemInstr, LoopDepth, false, in checkDependencies()
681 checkDependencies(ForeMemInstr, AftMemInstr, LoopDepth, false, DI) && in checkDependencies()
682 checkDependencies(SubLoopMemInstr, AftMemInstr, LoopDepth, false, in checkDependencies()
684 checkDependencies(SubLoopMemInstr, SubLoopMemInstr, LoopDepth, true, in checkDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopCacheAnalysis.cpp225 int LoopDepth = L.getLoopDepth(); in hasTemporalReuse() local
237 if (Level != LoopDepth && !CI.isZero()) { in hasTemporalReuse()
242 } else if (Level == LoopDepth && CI.getSExtValue() > MaxDistance) { in hasTemporalReuse()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/
DLoopCacheAnalysis.cpp242 int LoopDepth = L.getLoopDepth(); in hasTemporalReuse() local
254 if (Level != LoopDepth && !CI.isZero()) { in hasTemporalReuse()
259 } else if (Level == LoopDepth && CI.getSExtValue() > MaxDistance) { in hasTemporalReuse()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/
DLoopUnrollAndJam.cpp767 unsigned LoopDepth = Root.getLoopDepth(); in checkDependencies() local
783 if (!checkDependency(Earlier, Later, LoopDepth, CommonLoopDepth, false, in checkDependencies()
793 LoopDepth, CurLoopDepth, true, DI)) in checkDependencies()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp351 unsigned LoopDepth = getAdjustedLoopDepth(RN); in orderNodes() local
356 if (LoopDepth < CurrentLoopDepth) { in orderNodes()
374 CurrentLoopDepth = LoopDepth; in orderNodes()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp322 unsigned LoopDepth = LI->getLoopDepth(BB); in orderNodes() local
327 if (LoopDepth < CurrentLoopDepth) { in orderNodes()
347 CurrentLoopDepth = LoopDepth; in orderNodes()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/IPO/
DFunctionSpecialization.cpp576 unsigned LoopDepth = LI.getLoopDepth(I->getParent()); in getUserBonus() local
577 Cost *= std::pow((double)AvgLoopIterationCount, LoopDepth); in getUserBonus()
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/
DSelectOptimize.cpp190 bool checkLoopHeuristics(const Loop *L, const CostInfo LoopDepth[2]);