Searched refs:SSAPropagator (Results 1 – 10 of 10) sorted by relevance
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | ccp_pass.cpp | 44 SSAPropagator::PropStatus CCPPass::MarkInstructionVarying(Instruction* instr) { in MarkInstructionVarying() 48 return SSAPropagator::kVarying; in MarkInstructionVarying() 51 SSAPropagator::PropStatus CCPPass::VisitPhi(Instruction* phi) { in VisitPhi() 96 return SSAPropagator::kNotInteresting; in VisitPhi() 102 return SSAPropagator::kInteresting; in VisitPhi() 105 SSAPropagator::PropStatus CCPPass::VisitAssignment(Instruction* instr) { in VisitAssignment() 119 return SSAPropagator::kInteresting; in VisitAssignment() 122 return SSAPropagator::kNotInteresting; in VisitAssignment() 146 return SSAPropagator::kInteresting; in VisitAssignment() 165 return SSAPropagator::kNotInteresting; in VisitAssignment() [all …]
|
D | propagator.cpp | 20 void SSAPropagator::AddControlEdge(const Edge& edge) { in AddControlEdge() 39 void SSAPropagator::AddSSAEdges(Instruction* instr) { in AddSSAEdges() 60 bool SSAPropagator::IsPhiArgExecutable(Instruction* phi, uint32_t i) const { in IsPhiArgExecutable() 70 bool SSAPropagator::SetStatus(Instruction* inst, PropStatus status) { in SetStatus() 87 bool SSAPropagator::Simulate(Instruction* instr) { in Simulate() 175 bool SSAPropagator::Simulate(BasicBlock* block) { in Simulate() 209 void SSAPropagator::Initialize(Function* fn) { in Initialize() 239 bool SSAPropagator::Run(Function* fn) { in Run() 266 (!HasStatus(inst) || Status(inst) != SSAPropagator::kNotInteresting) && in Run() 275 const SSAPropagator::PropStatus& status) { in operator <<() [all …]
|
D | ccp_pass.h | 57 SSAPropagator::PropStatus VisitInstruction(Instruction* instr, 63 SSAPropagator::PropStatus VisitPhi(Instruction* phi); 68 SSAPropagator::PropStatus VisitAssignment(Instruction* instr); 74 SSAPropagator::PropStatus VisitBranch(Instruction* instr, 84 SSAPropagator::PropStatus MarkInstructionVarying(Instruction* instr); 106 std::unique_ptr<SSAPropagator> propagator_;
|
D | propagator.h | 181 class SSAPropagator { 189 SSAPropagator(IRContext* context, const VisitFunction& visit_fn) in SSAPropagator() function 308 std::unordered_map<Instruction*, SSAPropagator::PropStatus> statuses_; 312 const SSAPropagator::PropStatus& status);
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ccp_pass.cpp | 44 SSAPropagator::PropStatus CCPPass::MarkInstructionVarying(Instruction* instr) { in MarkInstructionVarying() 48 return SSAPropagator::kVarying; in MarkInstructionVarying() 51 SSAPropagator::PropStatus CCPPass::VisitPhi(Instruction* phi) { in VisitPhi() 96 return SSAPropagator::kNotInteresting; in VisitPhi() 102 return SSAPropagator::kInteresting; in VisitPhi() 105 SSAPropagator::PropStatus CCPPass::VisitAssignment(Instruction* instr) { in VisitAssignment() 119 return SSAPropagator::kInteresting; in VisitAssignment() 122 return SSAPropagator::kNotInteresting; in VisitAssignment() 146 return SSAPropagator::kInteresting; in VisitAssignment() 165 return SSAPropagator::kNotInteresting; in VisitAssignment() [all …]
|
D | propagator.cpp | 20 void SSAPropagator::AddControlEdge(const Edge& edge) { in AddControlEdge() 39 void SSAPropagator::AddSSAEdges(Instruction* instr) { in AddSSAEdges() 60 bool SSAPropagator::IsPhiArgExecutable(Instruction* phi, uint32_t i) const { in IsPhiArgExecutable() 70 bool SSAPropagator::SetStatus(Instruction* inst, PropStatus status) { in SetStatus() 87 bool SSAPropagator::Simulate(Instruction* instr) { in Simulate() 175 bool SSAPropagator::Simulate(BasicBlock* block) { in Simulate() 209 void SSAPropagator::Initialize(Function* fn) { in Initialize() 239 bool SSAPropagator::Run(Function* fn) { in Run() 266 (!HasStatus(inst) || Status(inst) != SSAPropagator::kNotInteresting) && in Run() 275 const SSAPropagator::PropStatus& status) { in operator <<() [all …]
|
D | ccp_pass.h | 58 SSAPropagator::PropStatus VisitInstruction(Instruction* instr, 64 SSAPropagator::PropStatus VisitPhi(Instruction* phi); 69 SSAPropagator::PropStatus VisitAssignment(Instruction* instr); 75 SSAPropagator::PropStatus VisitBranch(Instruction* instr, 85 SSAPropagator::PropStatus MarkInstructionVarying(Instruction* instr); 107 std::unique_ptr<SSAPropagator> propagator_;
|
D | propagator.h | 181 class SSAPropagator { 189 SSAPropagator(IRContext* context, const VisitFunction& visit_fn) in SSAPropagator() function 308 std::unordered_map<Instruction*, SSAPropagator::PropStatus> statuses_; 312 const SSAPropagator::PropStatus& status);
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | propagator_test.cpp | 48 bool Propagate(const SSAPropagator::VisitFunction& visit_fn) { in Propagate() 49 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate() 117 return SSAPropagator::kInteresting; in TEST_F() 120 return SSAPropagator::kVarying; in TEST_F() 184 return SSAPropagator::kInteresting; in TEST_F() 188 SSAPropagator::PropStatus retval; in TEST_F() 194 retval = SSAPropagator::kInteresting; in TEST_F() 197 retval = SSAPropagator::kNotInteresting; in TEST_F() 204 return SSAPropagator::kVarying; in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | propagator_test.cpp | 48 bool Propagate(const SSAPropagator::VisitFunction& visit_fn) { in Propagate() 49 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate() 117 return SSAPropagator::kInteresting; in TEST_F() 120 return SSAPropagator::kVarying; in TEST_F() 184 return SSAPropagator::kInteresting; in TEST_F() 188 SSAPropagator::PropStatus retval; in TEST_F() 194 retval = SSAPropagator::kInteresting; in TEST_F() 197 retval = SSAPropagator::kNotInteresting; in TEST_F() 204 return SSAPropagator::kVarying; in TEST_F()
|