diff options
| author | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2023-02-28 11:29:19 +0530 |
|---|---|---|
| committer | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2023-02-28 11:29:19 +0530 |
| commit | 3e03cd87b8768091790e019489487fb986b9ffef (patch) | |
| tree | 2e53079be04f73bb1153e97cc20e09b856d6b2a4 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | d1628266946fdddb44bdad2b3ccf3cd5fc769f42 (diff) | |
[llvm][Uniformity] provide overloads for Instruction* and Value*
Uniformity analysis is mainly concerned with the uniformity of values. But it is
sometimes useful to ask if an instruction is uniform, for example, if the
instruction is a terminator. On LLVM IR, every Instruction is a Value, so the
queries like isUniform() need to be overloaded so that the most derived class
always wins.
Reviewed By: ruiling
Differential Revision: https://reviews.llvm.org/D144699
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
