History log of /llvm-project/clang/lib/AST/ByteCode/Program.cpp (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a34a087f 29-Jan-2025 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Handle non-primitive vector element types (#124926)

By rejecting them. We would crash before.


Revision tags: llvmorg-21-init
# 80e0cbaf 18-Jan-2025 Kazu Hirata <kazu@google.com>

[ByteCode] Migrate away from PointerUnion::dyn_cast (NFC) (#123445)

Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:

// FIXME: Replace the uses of is(), get() and dyn_

[ByteCode] Migrate away from PointerUnion::dyn_cast (NFC) (#123445)

Note that PointerUnion::dyn_cast has 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>

Literal migration would result in dyn_cast_if_present (see the
definition of PointerUnion::dyn_cast), but this patch uses dyn_cast
because we expect D to be nonnull.

show more ...


Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5
# 63d9ef5e 24-Nov-2024 Kazu Hirata <kazu@google.com>

[AST] Migrate away from PointerUnion::{is,get} (NFC) (#117469)

Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:

// FIXME: Replace the uses of is(), get() and dyn_c

[AST] Migrate away from PointerUnion::{is,get} (NFC) (#117469)

Note that PointerUnion::{is,get} 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>

I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.

show more ...


Revision tags: llvmorg-19.1.4
# dec6324c 17-Nov-2024 Kazu Hirata <kazu@google.com>

[AST] Remove unused includes (NFC) (#116549)

Identified with misc-include-cleaner.


# 05910b44 31-Oct-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode][NFC] Use const auto* for Type cast result (#114405)


Revision tags: llvmorg-19.1.3
# 9ae41c24 22-Oct-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Create dummy pointers for non-reference DeclRefExprs (#113202)

... with non-constant initializers.


Revision tags: llvmorg-19.1.2
# ff04bb8f 11-Oct-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Use PredefinedExpr as base for its variable (#111956)

This fixes the error message generated.


# 93f7fce3 06-Oct-2024 Kazu Hirata <kazu@google.com>

[ByteCode] Avoid repeated hash lookups (NFC) (#111273)


# 4e5f8a8f 05-Oct-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Save a per-Block IsWeak bit (#111248)

Checking the decl for every load is rather expensive.


Revision tags: llvmorg-19.1.1
# 8e2dbab2 17-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Fix defining extern variables (#108940)

At the point of defintion of the variable, a function might already
refert to the variable by its index. Replace the index with the new one.


Revision tags: llvmorg-19.1.0
# bd8d432d 12-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Add support for creating dummies for expressions (#108394)

And use that to fix VisitObjCBoxedExprs.


Revision tags: llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3
# 3e999bbc 19-Aug-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Use first FieldDecl instead of asserting (#104760)

This assertion fails sometimes. We use the first decl for lookup later,
so let's use the first decl here as well.


# a07aba5d 16-Aug-2024 Timm Baeder <tbaeder@redhat.com>

[clang] Rename all AST/Interp stuff to AST/ByteCode (#104552)

"Interp" clashes with the clang interpreter and people often confuse
this.