History log of /llvm-project/clang/lib/AST/ByteCode/Context.cpp (Results 1 – 9 of 9)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init
# 2c934dc5 28-Jan-2025 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Always compile most recent function decl (#124722)


Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5
# 82ed9c03 01-Dec-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode][NFC] Remove APValue Result argument where unnecessary (#118199)

This is unneeded in almost all circumstances. We only return an APValue
back to clang when the evaluation is finishe

[clang][bytecode][NFC] Remove APValue Result argument where unnecessary (#118199)

This is unneeded in almost all circumstances. We only return an APValue
back to clang when the evaluation is finished, and that is always done
by an EvalEmitter - which has its own implementation of the Ret
instructions.

show more ...


Revision tags: llvmorg-19.1.4, llvmorg-19.1.3
# 3eaf4a9d 18-Oct-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Check for memory leaks after destroying global scope (#112868)

The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can'

[clang][bytecode] Check for memory leaks after destroying global scope (#112868)

The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can't check for memory leaks
before destroying it.

show more ...


Revision tags: llvmorg-19.1.2, llvmorg-19.1.1
# 048bc672 27-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Start implementing fixed point types (#110216)

Add the primitive type and implement to-bool casts.


Revision tags: llvmorg-19.1.0
# 83fea8b8 07-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Allow continuing when discarded MemberExpr Base fails (#107231)

We don't need the value in this case, since we're discarding it anyway.
Allow continuing the interpretation but not

[clang][bytecode] Allow continuing when discarded MemberExpr Base fails (#107231)

We don't need the value in this case, since we're discarding it anyway.
Allow continuing the interpretation but note the side effect.

show more ...


# eef8116b 07-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Only visit local variables if they have constant init (#107576)

See the comment I added for why this is weird. We might want to have a
different mechanism for this in the future.

[clang][bytecode] Only visit local variables if they have constant init (#107576)

See the comment I added for why this is weird. We might want to have a
different mechanism for this in the future.

Fixes https://github.com/llvm/llvm-project/issues/101801

show more ...


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

[clang][bytecode] Support ObjC blocks (#104551)

I started out by adding a new pointer type for blocks, and I was fully
prepared to compile their AST to bytecode and later call them.

... then I f

[clang][bytecode] Support ObjC blocks (#104551)

I started out by adding a new pointer type for blocks, and I was fully
prepared to compile their AST to bytecode and later call them.

... then I found out that the current interpreter doesn't support
calling blocks at all. So we reuse `Function` to support sources other
than `FunctionDecl`s and classify `BlockPointerType` as `PT_FnPtr`.

show more ...


# f620c5b6 17-Aug-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Classify 1-bit unsigned integers as bool (#104662)

This happens for enum types with bool parent types. isBooleanType()
returns false for them however.

The previous version did

[clang][bytecode] Classify 1-bit unsigned integers as bool (#104662)

This happens for enum types with bool parent types. isBooleanType()
returns false for them however.

The previous version did the same thing by re-classifying the enum
integer type, but that breaks with forward-declared enums.

show more ...


# 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.