Timm Baeder
4497c53298
[clang][bytecode] Accept current PC argument in Function::dump() ( #170449 )
...
This is useful since we can highlight the opcode that OpPC points to.
2025-12-03 12:21:36 +01:00
Timm Baeder
f5ffedf81a
[clang][bytecode] Pass SourceInfo objects by value ( #159532 )
...
They are only pointer-sized and copying them is cheaper than taking the
const ref.
2025-09-18 13:08:42 +02:00
Timm Baeder
c75acb6f8b
[clang][bytecode] Remove some unused code ( #142580 )
...
Remove unused functions and add tests for fixed-point to bool casts,
which work.
2025-06-03 14:45:47 +02:00
Timm Baeder
202ad47fe1
[clang][bytecode] SourceInfo::Source might be null ( #115905 )
...
This broke in 23fbaff9a3fd2b26418e0c2f10b701049399251f, but the old
.dyn_cast<> handled null.
2024-11-13 08:35:50 +01:00
Kazu Hirata
23fbaff9a3
[ByteCode] Migrate away from PointerUnion::{is,get,dyn_cast} (NFC) ( #115809 )
...
Note that PointerUnion::{is,get,dyn_cast} have been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
// isa<T>, cast<T> and the llvm::dyn_cast<T>
2024-11-11 22:49:58 -08:00
Timm Baeder
a07aba5d44
[clang] Rename all AST/Interp stuff to AST/ByteCode ( #104552 )
...
"Interp" clashes with the clang interpreter and people often confuse
this.
2024-08-16 17:13:12 +02:00