diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-12-14 19:42:37 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2022-12-14 19:42:42 +0000 |
| commit | 636089d8dce257b5f261824d907bdb3d26b7a46e (patch) | |
| tree | 7880a61764884345cc837340861e534c7dbd0383 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp | |
| parent | 6efa850b096dc31f8e161374c1881ad715f9b946 (diff) | |
| download | llvm-636089d8dce257b5f261824d907bdb3d26b7a46e.zip llvm-636089d8dce257b5f261824d907bdb3d26b7a46e.tar.gz llvm-636089d8dce257b5f261824d907bdb3d26b7a46e.tar.bz2 | |
[GVN] hasUsersIn - merge isa<> and cast<> into single dyn_cast<> and convert for-range loop to any_of() test. NFCI.
Avoid running isa<> and cast<> if we can - dyn_cast<> can more efficiently check for a safe cast and give the casted pointer.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
