/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | loop_descriptor.cpp | 40 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 …]
|
D | loop_unroller.cpp | 92 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()
|
D | loop_dependence_helpers.cpp | 397 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()
|
D | loop_descriptor.h | 248 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/ |
D | loop_descriptor.cpp | 40 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 …]
|
D | loop_unroller.cpp | 92 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()
|
D | loop_dependence_helpers.cpp | 397 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()
|
D | loop_descriptor.h | 248 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/ |
D | loop_descriptor.cpp | 37 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 …]
|
D | loop_unroller.cpp | 91 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()
|
D | loop_dependence_helpers.cpp | 395 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()
|
D | loop_descriptor.h | 248 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/ |
D | unroll_simple.cpp | 975 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/ |
D | unroll_simple.cpp | 976 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/ |
D | unroll_simple.cpp | 976 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/ |
D | infiniteloop.ll | 8 ; We used to assert on this loop because we could not find an induction 11 ; induction variable. This is not a valid assumption:
|
D | value-ptr-bug.ll | 10 ; induction) that we cached in the induction variable list.
|
D | induction.ll | 9 ; 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,
|
D | global_alias.ll | 18 ; /// 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/ |
D | 2011-08-09-IVSimplify.ll | 3 ; Test induction variable simplify after loop unrolling. It should 11 ; PR10534: LoopUnroll not keeping canonical induction variable...
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-scaled_iv.ll | 16 ; 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/ |
D | avoid_complex_am.ll | 18 ; Only one induction variable should have been generated. 24 ; The induction variable should carry the scaling factor: 1.
|
/external/llvm/test/CodeGen/Hexagon/ |
D | hwloop-cleanup.ll | 3 ; 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/ |
D | arbitrary-induction-step.ll | 7 ; 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/ |
D | 2002-09-09-PointerIndVar.ll | 1 ; Induction variable pass is doing bad things with pointer induction vars,
|