Searched refs:PhiCandidate (Results 1 – 6 of 6) sorted by relevance
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | ssa_rewrite_pass.h | 53 class PhiCandidate { 55 explicit PhiCandidate(uint32_t var, uint32_t result, BasicBlock* block) in PhiCandidate() function 142 PhiCandidate* GetPhiCandidate(uint32_t id) { in GetPhiCandidate() 149 void ReplacePhiUsersWith(const PhiCandidate& phi_cand, uint32_t repl_id); 179 uint32_t GetPhiArgument(const PhiCandidate* phi_candidate, uint32_t ix); 224 uint32_t AddPhiOperands(PhiCandidate* phi_candidate); 235 PhiCandidate& CreatePhiCandidate(uint32_t var_id, BasicBlock* bb); 244 uint32_t TryRemoveTrivialPhi(PhiCandidate* phi_cand); 248 void FinalizePhiCandidate(PhiCandidate* phi_candidate); 271 std::unordered_map<uint32_t, PhiCandidate> phi_candidates_; [all …]
|
D | ssa_rewrite_pass.cpp | 70 std::string SSARewriter::PhiCandidate::PrettyPrint(const CFG* cfg) const { in PrettyPrint() 90 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate() 95 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate() 96 PhiCandidate& phi_candidate = result.first->second; in CreatePhiCandidate() 100 void SSARewriter::ReplacePhiUsersWith(const PhiCandidate& phi_to_remove, in ReplacePhiUsersWith() 103 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith() 129 uint32_t SSARewriter::TryRemoveTrivialPhi(PhiCandidate* phi_candidate) { in TryRemoveTrivialPhi() 165 uint32_t SSARewriter::AddPhiOperands(PhiCandidate* phi_candidate) { in AddPhiOperands() 216 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands() 271 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | ssa_rewrite_pass.h | 53 class PhiCandidate { 55 explicit PhiCandidate(uint32_t var, uint32_t result, BasicBlock* block) in PhiCandidate() function 142 PhiCandidate* GetPhiCandidate(uint32_t id) { in GetPhiCandidate() 149 void ReplacePhiUsersWith(const PhiCandidate& phi_cand, uint32_t repl_id); 179 uint32_t GetPhiArgument(const PhiCandidate* phi_candidate, uint32_t ix); 224 uint32_t AddPhiOperands(PhiCandidate* phi_candidate); 235 PhiCandidate& CreatePhiCandidate(uint32_t var_id, BasicBlock* bb); 244 uint32_t TryRemoveTrivialPhi(PhiCandidate* phi_cand); 248 void FinalizePhiCandidate(PhiCandidate* phi_candidate); 271 std::unordered_map<uint32_t, PhiCandidate> phi_candidates_; [all …]
|
D | ssa_rewrite_pass.cpp | 72 std::string SSARewriter::PhiCandidate::PrettyPrint(const CFG* cfg) const { in PrettyPrint() 92 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate() 97 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate() 98 PhiCandidate& phi_candidate = result.first->second; in CreatePhiCandidate() 102 void SSARewriter::ReplacePhiUsersWith(const PhiCandidate& phi_to_remove, in ReplacePhiUsersWith() 105 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith() 131 uint32_t SSARewriter::TryRemoveTrivialPhi(PhiCandidate* phi_candidate) { in TryRemoveTrivialPhi() 167 uint32_t SSARewriter::AddPhiOperands(PhiCandidate* phi_candidate) { in AddPhiOperands() 218 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands() 273 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | ssa_rewrite_pass.h | 53 class PhiCandidate { 55 explicit PhiCandidate(uint32_t var, uint32_t result, BasicBlock* block) in PhiCandidate() function 142 PhiCandidate* GetPhiCandidate(uint32_t id) { in GetPhiCandidate() 149 void ReplacePhiUsersWith(const PhiCandidate& phi_cand, uint32_t repl_id); 179 uint32_t GetPhiArgument(const PhiCandidate* phi_candidate, uint32_t ix); 224 uint32_t AddPhiOperands(PhiCandidate* phi_candidate); 235 PhiCandidate& CreatePhiCandidate(uint32_t var_id, BasicBlock* bb); 244 uint32_t TryRemoveTrivialPhi(PhiCandidate* phi_cand); 248 void FinalizePhiCandidate(PhiCandidate* phi_candidate); 271 std::unordered_map<uint32_t, PhiCandidate> phi_candidates_; [all …]
|
D | ssa_rewrite_pass.cpp | 71 std::string SSARewriter::PhiCandidate::PrettyPrint(const CFG* cfg) const { in PrettyPrint() 91 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate() 96 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate() 97 PhiCandidate& phi_candidate = result.first->second; in CreatePhiCandidate() 101 void SSARewriter::ReplacePhiUsersWith(const PhiCandidate& phi_to_remove, in ReplacePhiUsersWith() 104 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith() 130 uint32_t SSARewriter::TryRemoveTrivialPhi(PhiCandidate* phi_candidate) { in TryRemoveTrivialPhi() 166 uint32_t SSARewriter::AddPhiOperands(PhiCandidate* phi_candidate) { in AddPhiOperands() 217 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands() 272 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef() [all …]
|