Home
last modified time | relevance | path

Searched refs:PhiCandidate (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dssa_rewrite_pass.h53 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);
276 std::unordered_map<uint32_t, PhiCandidate> phi_candidates_;
[all …]
Dssa_rewrite_pass.cpp73 std::string SSARewriter::PhiCandidate::PrettyPrint(const CFG* cfg) const { in PrettyPrint()
93 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate()
98 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate()
99 PhiCandidate& phi_candidate = result.first->second; in CreatePhiCandidate()
103 void SSARewriter::ReplacePhiUsersWith(const PhiCandidate& phi_to_remove, in ReplacePhiUsersWith()
106 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith()
132 uint32_t SSARewriter::TryRemoveTrivialPhi(PhiCandidate* phi_candidate) { in TryRemoveTrivialPhi()
168 uint32_t SSARewriter::AddPhiOperands(PhiCandidate* phi_candidate) { in AddPhiOperands()
219 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands()
274 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dssa_rewrite_pass.h53 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);
276 std::unordered_map<uint32_t, PhiCandidate> phi_candidates_;
[all …]
Dssa_rewrite_pass.cpp73 std::string SSARewriter::PhiCandidate::PrettyPrint(const CFG* cfg) const { in PrettyPrint()
93 SSARewriter::PhiCandidate& SSARewriter::CreatePhiCandidate(uint32_t var_id, in CreatePhiCandidate()
98 phi_result_id, PhiCandidate(var_id, phi_result_id, bb)); in CreatePhiCandidate()
99 PhiCandidate& phi_candidate = result.first->second; in CreatePhiCandidate()
103 void SSARewriter::ReplacePhiUsersWith(const PhiCandidate& phi_to_remove, in ReplacePhiUsersWith()
106 PhiCandidate* user_phi = GetPhiCandidate(user_id); in ReplacePhiUsersWith()
132 uint32_t SSARewriter::TryRemoveTrivialPhi(PhiCandidate* phi_candidate) { in TryRemoveTrivialPhi()
168 uint32_t SSARewriter::AddPhiOperands(PhiCandidate* phi_candidate) { in AddPhiOperands()
219 PhiCandidate* defining_phi = GetPhiCandidate(arg_id); in AddPhiOperands()
274 PhiCandidate& phi_candidate = CreatePhiCandidate(var_id, bb); in GetReachingDef()
[all …]
/third_party/spirv-tools/source/opt/
Dssa_rewrite_pass.h53 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 …]
Dssa_rewrite_pass.cpp72 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 …]