Home
last modified time | relevance | path

Searched refs:Plan (Results 1 – 25 of 71) sorted by relevance

123

/external/tensorflow/tensorflow/stream_executor/
Dfft.h77 class Plan {
79 virtual ~Plan() {} in ~Plan()
94 virtual std::unique_ptr<Plan> Create1dPlan(Stream *stream, uint64 num_x,
98 virtual std::unique_ptr<Plan> Create2dPlan(Stream *stream, uint64 num_x,
103 virtual std::unique_ptr<Plan> Create3dPlan(Stream *stream, uint64 num_x,
108 virtual std::unique_ptr<Plan> Create1dPlanWithScratchAllocator(
113 virtual std::unique_ptr<Plan> Create2dPlanWithScratchAllocator(
118 virtual std::unique_ptr<Plan> Create3dPlanWithScratchAllocator(
139 virtual std::unique_ptr<Plan> CreateBatchedPlan(
162 virtual std::unique_ptr<Plan> CreateBatchedPlanWithScratchAllocator(
[all …]
/external/llvm-project/llvm/unittests/Transforms/Vectorize/
DVPlanSlpTest.cpp40 VPlan &Plan) { in getInterleavedAccessInfo() argument
50 return {Plan, *IAI}; in getInterleavedAccessInfo()
97 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
98 auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan); in TEST_F()
100 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
170 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
172 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
179 auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan); in TEST_F()
241 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
242 auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan); in TEST_F()
[all …]
DVPlanTestBase.h53 auto Plan = std::make_unique<VPlan>(); in buildHCFG() local
54 VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan); in buildHCFG()
56 return Plan; in buildHCFG()
63 auto Plan = std::make_unique<VPlan>(); in buildPlainCFG() local
64 VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan); in buildPlainCFG()
66 Plan->setEntry(TopRegion); in buildPlainCFG()
67 return Plan; in buildPlainCFG()
DVPlanTest.cpp217 VPlan Plan; in TEST() local
218 Plan.setEntry(VPBB1); in TEST()
220 EXPECT_EQ(&Plan, VPBB1->getPlan()); in TEST()
221 EXPECT_EQ(&Plan, VPBB2->getPlan()); in TEST()
222 EXPECT_EQ(&Plan, VPBB3->getPlan()); in TEST()
223 EXPECT_EQ(&Plan, VPBB4->getPlan()); in TEST()
233 VPlan Plan; in TEST() local
234 Plan.setEntry(R1); in TEST()
235 EXPECT_EQ(&Plan, R1->getPlan()); in TEST()
236 EXPECT_EQ(&Plan, R1BB1->getPlan()); in TEST()
[all …]
DVPlanPredicatorTest.cpp67 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
69 VPRegionBlock *TopRegion = cast<VPRegionBlock>(Plan->getEntry()); in TEST_F()
80 VPlanPredicator VPP(*Plan); in TEST_F()
107 EXPECT_EQ(&*Plan, InnerLoopLinSucc->getPlan()); in TEST_F()
108 EXPECT_EQ(&*Plan, OuterIfLinSucc->getPlan()); in TEST_F()
109 EXPECT_EQ(&*Plan, InnerIfLinSucc->getPlan()); in TEST_F()
110 EXPECT_EQ(&*Plan, InnerIf->getPlan()); in TEST_F()
111 EXPECT_EQ(&*Plan, InnerLoopLatch->getPlan()); in TEST_F()
168 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
170 VPRegionBlock *TopRegion = cast<VPRegionBlock>(Plan->getEntry()); in TEST_F()
[all …]
DVPlanHCFGTest.cpp42 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
44 VPBasicBlock *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
54 EXPECT_EQ(&*Plan, VecBB->getPlan()); in TEST_F()
94 Plan->addVPValue(&*F->arg_begin()); in TEST_F()
96 raw_string_ostream(FullDump) << *Plan; in TEST_F()
98 graph [labelloc=t, fontsize=30; label="Vectorization Plan"] in TEST_F()
133 VPlanTransforms::VPInstructionsToVPRecipes(LI->getLoopFor(LoopHeader), Plan, in TEST_F()
159 auto Plan = buildHCFG(LoopHeader); in TEST_F() local
163 VPlanTransforms::VPInstructionsToVPRecipes(LI->getLoopFor(LoopHeader), Plan, in TEST_F()
166 VPBlockBase *Entry = Plan->getEntry()->getEntryBasicBlock(); in TEST_F()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPRecipeBuilder.h65 tryToWidenMemory(Instruction *I, VFRange &Range, VPlanPtr &Plan);
79 VPBlendRecipe *tryToBlend(PHINode *Phi, VPlanPtr &Plan);
85 VPlan &Plan) const;
90 VPWidenRecipe *tryToWiden(Instruction *I, VPlan &Plan) const;
103 VPlanPtr &Plan);
118 VPValue *createBlockInMask(BasicBlock *BB, VPlanPtr &Plan);
122 VPValue *createEdgeMask(BasicBlock *Src, BasicBlock *Dst, VPlanPtr &Plan);
144 VPlanPtr &Plan);
155 VPlanPtr &Plan);
DVPlanTransforms.cpp20 Loop *OrigLoop, VPlanPtr &Plan, in VPInstructionsToVPRecipes() argument
24 auto *TopRegion = cast<VPRegionBlock>(Plan->getEntry()); in VPInstructionsToVPRecipes()
35 Plan->addCBV(NCondBit); in VPInstructionsToVPRecipes()
61 *Load, Plan->getOrAddVPValue(getLoadStorePointerOperand(Inst)), in VPInstructionsToVPRecipes()
65 *Store, Plan->getOrAddVPValue(getLoadStorePointerOperand(Inst)), in VPInstructionsToVPRecipes()
66 Plan->getOrAddVPValue(Store->getValueOperand()), nullptr /*Mask*/); in VPInstructionsToVPRecipes()
76 GEP, Plan->mapToVPValues(GEP->operands()), OrigLoop); in VPInstructionsToVPRecipes()
79 new VPWidenRecipe(*Inst, Plan->mapToVPValues(Inst->operands())); in VPInstructionsToVPRecipes()
DVPlanPredicator.cpp236 predicateRegionRec(cast<VPRegionBlock>(Plan.getEntry())); in predicate()
239 linearizeRegionRec(cast<VPRegionBlock>(Plan.getEntry())); in predicate()
242 VPlanPredicator::VPlanPredicator(VPlan &Plan) in VPlanPredicator() argument
243 : Plan(Plan), VPLI(&(Plan.getVPLoopInfo())) { in VPlanPredicator()
247 VPDomTree.recalculate(*(cast<VPRegionBlock>(Plan.getEntry()))); in VPlanPredicator()
DVPlanHCFGBuilder.cpp43 VPlan &Plan; member in __anon104158a80111::PlainCFGBuilder
74 : TheLoop(Lp), LI(LI), Plan(P) {} in PlainCFGBuilder()
184 Plan.addExternalDef(NewVPVal); in getOrCreateVPOperand()
331 PlainCFGBuilder PCFGBuilder(TheLoop, LI, Plan); in buildPlainCFG()
339 Plan.setEntry(TopRegion); in buildHierarchicalCFG()
340 LLVM_DEBUG(Plan.setName("HCFGBuilder: Plain CFG\n"); dbgs() << Plan); in buildHierarchicalCFG()
350 VPLoopInfo &VPLInfo = Plan.getVPLoopInfo(); in buildHierarchicalCFG()
DLoopVectorizationPlanner.h268 for (const auto &Plan : VPlans) in printPlans() local
269 O << *Plan; in printPlans()
275 return any_of(VPlans, [&](const VPlanPtr &Plan) { in hasPlanWithVFs()
277 if (Plan->hasVF(VF)) in hasPlanWithVFs()
323 void adjustRecipesForInLoopReductions(VPlanPtr &Plan,
DVPlanHCFGBuilder.h48 VPlan &Plan; variable
64 : TheLoop(Lp), LI(LI), Plan(P) {} in VPlanHCFGBuilder()
DVPlan.cpp183 VPlan *VPBlockBase::getPlan() { return getPlanEntry(this)->Plan; } in getPlan()
185 const VPlan *VPBlockBase::getPlan() const { return getPlanEntry(this)->Plan; } in getPlan()
205 Plan = ParentPlan; in setPlan()
728 if (!Plan.getName().empty()) in dump()
729 OS << "\\n" << DOT::EscapeString(Plan.getName()); in dump()
730 if (Plan.BackedgeTakenCount) { in dump()
732 Plan.BackedgeTakenCount->print(OS, SlotTracker); in dump()
740 for (const VPBlockBase *Block : depth_first(Plan.getEntry())) in dump()
1117 VPInterleavedAccessInfo::VPInterleavedAccessInfo(VPlan &Plan, in VPInterleavedAccessInfo() argument
1120 visitRegion(cast<VPRegionBlock>(Plan.getEntry()), Old2New, IAI); in VPInterleavedAccessInfo()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPRecipeBuilder.h72 VPValue *createBlockInMask(BasicBlock *BB, VPlanPtr &Plan);
76 VPValue *createEdgeMask(BasicBlock *Src, BasicBlock *Dst, VPlanPtr &Plan);
99 tryToWidenMemory(Instruction *I, VFRange &Range, VPlanPtr &Plan);
111 VPBlendRecipe *tryToBlend(Instruction *I, VPlanPtr &Plan);
124 VPlanPtr &Plan);
134 bool tryToCreateRecipe(Instruction *Instr, VFRange &Range, VPlanPtr &Plan,
146 VPlanPtr &Plan);
DVPlanPredicator.cpp236 predicateRegionRec(cast<VPRegionBlock>(Plan.getEntry())); in predicate()
239 linearizeRegionRec(cast<VPRegionBlock>(Plan.getEntry())); in predicate()
242 VPlanPredicator::VPlanPredicator(VPlan &Plan) in VPlanPredicator() argument
243 : Plan(Plan), VPLI(&(Plan.getVPLoopInfo())) { in VPlanPredicator()
247 VPDomTree.recalculate(*(cast<VPRegionBlock>(Plan.getEntry()))); in VPlanPredicator()
DVPlanHCFGBuilder.cpp43 VPlan &Plan; member in __anon54a56e3c0111::PlainCFGBuilder
74 : TheLoop(Lp), LI(LI), Plan(P) {} in PlainCFGBuilder()
184 Plan.addExternalDef(NewVPVal); in getOrCreateVPOperand()
331 PlainCFGBuilder PCFGBuilder(TheLoop, LI, Plan); in buildPlainCFG()
339 Plan.setEntry(TopRegion); in buildHierarchicalCFG()
340 LLVM_DEBUG(Plan.setName("HCFGBuilder: Plain CFG\n"); dbgs() << Plan); in buildHierarchicalCFG()
350 VPLoopInfo &VPLInfo = Plan.getVPLoopInfo(); in buildHierarchicalCFG()
DVPlanTransforms.cpp20 Loop *OrigLoop, VPlanPtr &Plan, in VPInstructionsToVPRecipes() argument
24 auto *TopRegion = cast<VPRegionBlock>(Plan->getEntry()); in VPInstructionsToVPRecipes()
35 Plan->addCBV(NCondBit); in VPInstructionsToVPRecipes()
60 *Inst, Plan->getOrAddVPValue(getLoadStorePointerOperand(Inst)), in VPInstructionsToVPRecipes()
DVPlanHCFGBuilder.h48 VPlan &Plan; variable
64 : TheLoop(Lp), LI(LI), Plan(P) {} in VPlanHCFGBuilder()
DVPlanPredicator.h32 VPlan &Plan; variable
68 VPlanPredicator(VPlan &Plan);
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_fft.cc294 std::unique_ptr<fft::Plan> CUDAFft::Create1dPlan(Stream *stream, uint64 num_x, in Create1dPlan()
311 std::unique_ptr<fft::Plan> CUDAFft::Create1dPlanWithScratchAllocator( in Create1dPlanWithScratchAllocator()
327 std::unique_ptr<fft::Plan> CUDAFft::Create2dPlan(Stream *stream, uint64 num_x, in Create2dPlan()
342 std::unique_ptr<fft::Plan> CUDAFft::Create2dPlanWithScratchAllocator( in Create2dPlanWithScratchAllocator()
358 std::unique_ptr<fft::Plan> CUDAFft::Create3dPlan(Stream *stream, uint64 num_x, in Create3dPlan()
375 std::unique_ptr<fft::Plan> CUDAFft::Create3dPlanWithScratchAllocator( in Create3dPlanWithScratchAllocator()
392 std::unique_ptr<fft::Plan> CUDAFft::CreateBatchedPlan( in CreateBatchedPlan()
419 std::unique_ptr<fft::Plan> CUDAFft::CreateBatchedPlanWithScratchAllocator( in CreateBatchedPlanWithScratchAllocator()
447 Stream *stream, fft::Plan *plan, ScratchAllocator *scratch_allocator) { in UpdatePlanWithScratchAllocator()
458 bool CUDAFft::DoFftInternal(Stream *stream, fft::Plan *plan, FuncT cufftExec, in DoFftInternal()
[all …]
Dcuda_fft.h45 class CUDAFftPlan : public fft::Plan {
123 bool DoFftWithDirectionInternal(Stream *stream, fft::Plan *plan,
131 bool DoFftInternal(Stream *stream, fft::Plan *plan, FuncT cufft_exec,
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_fft.cc371 std::unique_ptr<fft::Plan> ROCMFft::Create1dPlan(Stream *stream, uint64 num_x, in Create1dPlan()
387 std::unique_ptr<fft::Plan> ROCMFft::Create1dPlanWithScratchAllocator( in Create1dPlanWithScratchAllocator()
402 std::unique_ptr<fft::Plan> ROCMFft::Create2dPlan(Stream *stream, uint64 num_x, in Create2dPlan()
416 std::unique_ptr<fft::Plan> ROCMFft::Create2dPlanWithScratchAllocator( in Create2dPlanWithScratchAllocator()
431 std::unique_ptr<fft::Plan> ROCMFft::Create3dPlan(Stream *stream, uint64 num_x, in Create3dPlan()
446 std::unique_ptr<fft::Plan> ROCMFft::Create3dPlanWithScratchAllocator( in Create3dPlanWithScratchAllocator()
461 std::unique_ptr<fft::Plan> ROCMFft::CreateBatchedPlan( in CreateBatchedPlan()
479 std::unique_ptr<fft::Plan> ROCMFft::CreateBatchedPlanWithScratchAllocator( in CreateBatchedPlanWithScratchAllocator()
498 Stream *stream, fft::Plan *plan, ScratchAllocator *scratch_allocator) { in UpdatePlanWithScratchAllocator()
509 bool ROCMFft::DoFftInternal(Stream *stream, fft::Plan *plan, FuncT hipfftExec, in DoFftInternal()
[all …]
Drocm_fft.h45 class ROCMFftPlan : public fft::Plan {
119 bool DoFftWithDirectionInternal(Stream *stream, fft::Plan *plan,
127 bool DoFftInternal(Stream *stream, fft::Plan *plan, FuncT hipfft_exec,
/external/curl/plan9/
DREADME5 9legacy patches into Plan 9. Also Plan 9 still have no configuration option so
8 The zlib that is available on Plan 9 can be downloaded from:
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowWrangler.java39 public static final Plan DO_NOTHING_PLAN = new Plan() {
50 public static final Plan CALL_REAL_CODE_PLAN = null;
74 private final Map<String, Plan> planCache =
75 Collections.synchronizedMap(new LinkedHashMap<String, Plan>() {
77 protected boolean removeEldestEntry(Map.Entry<String, Plan> eldest) {
164 public Plan methodInvoked(String signature, boolean isStatic, Class<?> theClass) { in methodInvoked()
165 Plan plan; in methodInvoked()
176 private Plan calculatePlan(String signature, boolean isStatic, Class<?> definingClass) { in calculatePlan()
476 private static class ShadowMethodPlan implements Plan {

123