Home
last modified time | relevance | path

Searched refs:induction (Results 1 – 25 of 113) sorted by relevance

12345

/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp40 const Instruction* induction) const { in GetInductionStepOperation()
42 assert(induction->opcode() == SpvOpPhi); in GetInductionStepOperation()
49 for (uint32_t operand_id = 1; operand_id < induction->NumInOperands(); in GetInductionStepOperation()
53 context_->cfg()->block(induction->GetSingleWordInOperand(operand_id)); in GetInductionStepOperation()
59 induction->GetSingleWordInOperand(operand_id - 1)); in GetInductionStepOperation()
74 if (lhs != induction->result_id() && rhs != induction->result_id()) { in GetInductionStepOperation()
170 bool Loop::GetInductionInitValue(const Instruction* induction, in GetInductionInitValue() argument
175 for (uint32_t operand_id = 0; operand_id < induction->NumInOperands(); in GetInductionInitValue()
178 induction->GetSingleWordInOperand(operand_id + 1)); in GetInductionInitValue()
182 induction->GetSingleWordInOperand(operand_id)); in GetInductionInitValue()
[all …]
Dloop_unroller.cpp92 LoopUnrollState(Instruction* induction, BasicBlock* latch_block, in LoopUnrollState()
94 : previous_phi_(induction), in LoopUnrollState()
791 for (Instruction* induction : inductions) { in CloseUnrolledLoop()
793 GetPhiDefID(induction, loop->GetPreHeaderBlock()->id()); in CloseUnrolledLoop()
795 state_.new_inst[induction->result_id()] = initalizer_id; in CloseUnrolledLoop()
993 const Instruction* induction = loop_->FindConditionVariable(condition); in CanPerformUnroll() local
994 if (!induction || induction->opcode() != SpvOpPhi) return false; in CanPerformUnroll()
997 if (!loop_->FindNumberOfIterations(induction, &*condition->ctail(), nullptr)) in CanPerformUnroll()
1007 loop_->FindNumberOfIterations(induction, &*condition->ctail(), in CanPerformUnroll()
Dloop_dependence_helpers.cpp397 SERecurrentNode* induction) { in GetConstantTerm() argument
398 SENode* offset = induction->GetOffset(); in GetConstantTerm()
460 Instruction* induction = inductions[0]; in IsSupportedLoop() local
462 scalar_evolution_.AnalyzeInstruction(induction)); in IsSupportedLoop()
Dloop_descriptor.h248 bool FindNumberOfIterations(const Instruction* induction,
309 bool GetInductionInitValue(const Instruction* induction,
314 Instruction* GetInductionStepOperation(const Instruction* induction) const;
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp40 const Instruction* induction) const { in GetInductionStepOperation()
42 assert(induction->opcode() == spv::Op::OpPhi); in GetInductionStepOperation()
49 for (uint32_t operand_id = 1; operand_id < induction->NumInOperands(); in GetInductionStepOperation()
53 context_->cfg()->block(induction->GetSingleWordInOperand(operand_id)); in GetInductionStepOperation()
59 induction->GetSingleWordInOperand(operand_id - 1)); in GetInductionStepOperation()
74 if (lhs != induction->result_id() && rhs != induction->result_id()) { in GetInductionStepOperation()
171 bool Loop::GetInductionInitValue(const Instruction* induction, in GetInductionInitValue() argument
176 for (uint32_t operand_id = 0; operand_id < induction->NumInOperands(); in GetInductionInitValue()
179 induction->GetSingleWordInOperand(operand_id + 1)); in GetInductionInitValue()
183 induction->GetSingleWordInOperand(operand_id)); in GetInductionInitValue()
[all …]
Dloop_unroller.cpp92 LoopUnrollState(Instruction* induction, BasicBlock* latch_block, in LoopUnrollState()
94 : previous_phi_(induction), in LoopUnrollState()
790 for (Instruction* induction : inductions) { in CloseUnrolledLoop()
792 GetPhiDefID(induction, loop->GetPreHeaderBlock()->id()); in CloseUnrolledLoop()
794 state_.new_inst[induction->result_id()] = initalizer_id; in CloseUnrolledLoop()
992 const Instruction* induction = loop_->FindConditionVariable(condition); in CanPerformUnroll() local
993 if (!induction || induction->opcode() != spv::Op::OpPhi) return false; in CanPerformUnroll()
996 if (!loop_->FindNumberOfIterations(induction, &*condition->ctail(), nullptr)) in CanPerformUnroll()
1006 loop_->FindNumberOfIterations(induction, &*condition->ctail(), in CanPerformUnroll()
Dloop_dependence_helpers.cpp397 SERecurrentNode* induction) { in GetConstantTerm() argument
398 SENode* offset = induction->GetOffset(); in GetConstantTerm()
460 Instruction* induction = inductions[0]; in IsSupportedLoop() local
462 scalar_evolution_.AnalyzeInstruction(induction)); in IsSupportedLoop()
Dloop_descriptor.h248 bool FindNumberOfIterations(const Instruction* induction,
309 bool GetInductionInitValue(const Instruction* induction,
314 Instruction* GetInductionStepOperation(const Instruction* induction) const;
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_descriptor.cpp37 const Instruction* induction) const { in GetInductionStepOperation()
39 assert(induction->opcode() == spv::Op::OpPhi); in GetInductionStepOperation()
46 for (uint32_t operand_id = 1; operand_id < induction->NumInOperands(); in GetInductionStepOperation()
50 context_->cfg()->block(induction->GetSingleWordInOperand(operand_id)); in GetInductionStepOperation()
56 induction->GetSingleWordInOperand(operand_id - 1)); in GetInductionStepOperation()
71 if (lhs != induction->result_id() && rhs != induction->result_id()) { in GetInductionStepOperation()
168 bool Loop::GetInductionInitValue(const Instruction* induction, in GetInductionInitValue() argument
173 for (uint32_t operand_id = 0; operand_id < induction->NumInOperands(); in GetInductionInitValue()
176 induction->GetSingleWordInOperand(operand_id + 1)); in GetInductionInitValue()
180 induction->GetSingleWordInOperand(operand_id)); in GetInductionInitValue()
[all …]
Dloop_unroller.cpp91 LoopUnrollState(Instruction* induction, BasicBlock* latch_block, in LoopUnrollState()
93 : previous_phi_(induction), in LoopUnrollState()
789 for (Instruction* induction : inductions) { in CloseUnrolledLoop()
791 GetPhiDefID(induction, loop->GetPreHeaderBlock()->id()); in CloseUnrolledLoop()
793 state_.new_inst[induction->result_id()] = initalizer_id; in CloseUnrolledLoop()
991 const Instruction* induction = loop_->FindConditionVariable(condition); in CanPerformUnroll() local
992 if (!induction || induction->opcode() != spv::Op::OpPhi) return false; in CanPerformUnroll()
995 if (!loop_->FindNumberOfIterations(induction, &*condition->ctail(), nullptr)) in CanPerformUnroll()
1005 loop_->FindNumberOfIterations(induction, &*condition->ctail(), in CanPerformUnroll()
Dloop_dependence_helpers.cpp395 SERecurrentNode* induction) { in GetConstantTerm() argument
396 SENode* offset = induction->GetOffset(); in GetConstantTerm()
458 Instruction* induction = inductions[0]; in IsSupportedLoop() local
460 scalar_evolution_.AnalyzeInstruction(induction)); in IsSupportedLoop()
Dloop_descriptor.h248 bool FindNumberOfIterations(const Instruction* induction,
309 bool GetInductionInitValue(const Instruction* induction,
314 Instruction* GetInductionStepOperation(const Instruction* induction) const;
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/loop_optimizations/
Dunroll_simple.cpp975 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
976 EXPECT_EQ(induction->result_id(), 34u); in TEST_F()
982 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1070 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
1071 EXPECT_EQ(induction->result_id(), 35u); in TEST_F()
1077 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1467 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
1468 EXPECT_EQ(induction->result_id(), 32u); in TEST_F()
1474 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1638 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dunroll_simple.cpp976 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
977 EXPECT_EQ(induction->result_id(), 34u); in TEST_F()
983 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1071 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
1072 EXPECT_EQ(induction->result_id(), 35u); in TEST_F()
1078 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1468 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
1469 EXPECT_EQ(induction->result_id(), 32u); in TEST_F()
1475 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1639 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Dunroll_simple.cpp976 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
977 EXPECT_EQ(induction->result_id(), 34u); in TEST_F()
983 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1071 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
1072 EXPECT_EQ(induction->result_id(), 35u); in TEST_F()
1078 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1468 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
1469 EXPECT_EQ(induction->result_id(), 32u); in TEST_F()
1475 EXPECT_TRUE(loop.FindNumberOfIterations(induction, &*condition->ctail(), in TEST_F()
1639 Instruction* induction = loop.FindConditionVariable(condition); in TEST_F() local
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dinfiniteloop.ll8 ; We used to assert on this loop because we could not find an induction
11 ; induction variable. This is not a valid assumption:
Dvalue-ptr-bug.ll10 ; induction) that we cached in the induction variable list.
Dinduction.ll9 ; Make sure that we can handle multiple integer induction variables.
34 ; Make sure we remove unneeded vectorization of induction variables.
35 ; In order for instcombine to cleanup the vectorized induction variables that we
43 ; Vectorized induction variable.
71 ; Make sure we don't create a vector induction phi node that is unused.
253 ; induction variable to a bigger type the exit count computation will overflow
320 ; When generating the overflow check we must sure that the induction start value
354 ; In order to recognize %sphi as an induction PHI and vectorize this loop,
393 ; In order to recognize %sphi as an induction PHI and vectorize this loop,
Dglobal_alias.ll18 ; /// Different objects, positive induction, constant distance
66 ; /// Different objects, positive induction with widening slide
115 ; /// Different objects, positive induction with shortening slide
218 ; /// Different objects, positive induction, multi-array
274 ; /// Same objects, positive induction, multi-array, different sub-elements
331 ; /// Different objects, negative induction, constant distance
382 ; /// Different objects, negative induction, shortening slide
434 ; /// Different objects, negative induction, widening slide
546 ; /// Different objects, negative induction, multi-array
606 ; /// Same objects, negative induction, multi-array, different sub-elements
[all …]
/external/llvm/test/Transforms/LoopUnroll/
D2011-08-09-IVSimplify.ll3 ; Test induction variable simplify after loop unrolling. It should
11 ; PR10534: LoopUnroll not keeping canonical induction variable...
/external/llvm/test/CodeGen/AArch64/
Darm64-scaled_iv.ll16 ; Only one induction variable should have been generated.
22 ; The induction variable should carry the scaling factor: 1 * 8 = 8.
/external/llvm/test/CodeGen/X86/
Davoid_complex_am.ll18 ; Only one induction variable should have been generated.
24 ; The induction variable should carry the scaling factor: 1.
/external/llvm/test/CodeGen/Hexagon/
Dhwloop-cleanup.ll3 ; Check that we remove the compare and induction variable instructions
65 ; This test checks that we don't remove the induction variable since it's used.
/external/llvm/test/Transforms/LoopVectorize/AArch64/
Darbitrary-induction-step.ll7 ; Test integer induction variable of step 2:
51 ; Test integer induction variable of step -2:
95 ; Test pointer induction variable of step 2. As currently we don't support
/external/llvm/test/Transforms/IndVarSimplify/
D2002-09-09-PointerIndVar.ll1 ; Induction variable pass is doing bad things with pointer induction vars,

12345