History log of /llvm-project/clang/lib/AST/ByteCode/Compiler.cpp (Results 51 – 75 of 98)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6cbd8a30 28-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement floating-to-fixed-point casts (#110361)


# 6b62e04e 28-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement (N)EQ between fixed point and integral (#110358)

Convert the non-fixed-point side to a fixed-point type before doing the
comparison.


# 641b4d53 28-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement integral-to-fixed-point casts (#110350)


# 6fd870bf 27-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement zero-init for fixed point types (#110257)


# 581c015e 27-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement fixed point negation (#110237)


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


# 3ea55d3c 26-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Add a source location to destructor calls (#110121)

The added test case is still diagnosed differently, but I'm not sure
which version is better.


# 82ce8296 26-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Don't call dtors of anonymous unions (#110087)


# 1cdcec58 25-Sep-2024 yronglin <yronglin777@gmail.com>

[clang][bytecode] Handle vector comma op (#109827)

Currently we were not handle comma op for vector operands, after this
patch, we handle the comma op for vector operands with common way.

Signed

[clang][bytecode] Handle vector comma op (#109827)

Currently we were not handle comma op for vector operands, after this
patch, we handle the comma op for vector operands with common way.

Signed-off-by: yronglin <yronglin777@gmail.com>

show more ...


# 679c9717 24-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Fix vector shifts on big-endian systems (#109800)

For shifts, the LHS and RHS element types might be different. The
variable naming here could probably use some love now, but I'm

[clang][bytecode] Fix vector shifts on big-endian systems (#109800)

For shifts, the LHS and RHS element types might be different. The
variable naming here could probably use some love now, but I'm trying to
fix this as fast as possible.

See the discussion in https://github.com/llvm/llvm-project/pull/108949

show more ...


# 4b964002 24-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Allow placement-new in std functions pre-C++26 (#109753)


# e4d34261 24-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Ignore CPointerToObjCPointerCasts (#109760)


# c712ab82 23-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement placement-new (#107033)

If we have a placement-new destination already, use that instead of
allocating a new one.
Tests are partially based on
`test/SemaCXX/cxx2c-cons

[clang][bytecode] Implement placement-new (#107033)

If we have a placement-new destination already, use that instead of
allocating a new one.
Tests are partially based on
`test/SemaCXX/cxx2c-constexpr-placement-new.cpp`.

show more ...


# f86050de 21-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Don't call checkLiteralType() in visitInitializer() (#109530)

We were calling checkLiteralType() too many time and rejecting some
things we shouldn't. Add The calls manually when

[clang][bytecode] Don't call checkLiteralType() in visitInitializer() (#109530)

We were calling checkLiteralType() too many time and rejecting some
things we shouldn't. Add The calls manually when handling
MaterializeTemporaryExprs. Maybe we should call it in other places as
well, but adding more calls is easier than removing them from a generic
code path.

show more ...


# f5a65d87 21-Sep-2024 yronglin <yronglin777@gmail.com>

[clang][bytecode] Implement arithmetic, bitwise and compound assignment operator (#108949)

Implement `+`, `-`, `*`, `/` , `%`, `&`, `|`, `^`, `<<`, `>>` and
compound assignment operator.

-------

[clang][bytecode] Implement arithmetic, bitwise and compound assignment operator (#108949)

Implement `+`, `-`, `*`, `/` , `%`, `&`, `|`, `^`, `<<`, `>>` and
compound assignment operator.

---------

Signed-off-by: yronglin <yronglin777@gmail.com>

show more ...


# 5b4c80f1 21-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Create dummy pointers for ObjCStringLiterals (#109520)

We need to have the final APValue point to the ObjCStringLiteral
expression, not the StringLiteral itself.


Revision tags: llvmorg-19.1.0
# 0bc81680 16-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Fix reinterpret_casts from pointer to non-pointers (#108811)

We need to be a little more careful here with whether or nor we are able
to do the cast at all or not.


# fbf0a801 13-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Implement HLSLVectorTruncation casts (#108499)


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


# 3928edec 10-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Fix local destructor order (#107951)

Add appropriate scopes and use reverse-order iteration in
LocalScope::emitDestructors().


# 6f67c386 08-Sep-2024 Timm Baeder <tbaeder@redhat.com>

[clang][bytecode] Fix a variable scope problem with continue/break jumps (#107738)

Cleaning up _all_ the scopes is a little too much. Only clean up until
the point here we started the scope relevan

[clang][bytecode] Fix a variable scope problem with continue/break jumps (#107738)

Cleaning up _all_ the scopes is a little too much. Only clean up until
the point here we started the scope relevant for the break/continue
statement.

show more ...


# cf11eb62 08-Sep-2024 yronglin <yronglin777@gmail.com>

[clang][bytecode] Implement logical operators for vector type (#107678)

Implement `&&`, `||` logical operators for vector type.

---------

Signed-off-by: yronglin <yronglin777@gmail.com>


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

[clang][bytecode] Fix two-pointer-style std::initializer_lists (#107682)

The first pointer needs to point to the first element of the underlying
array. This requires some changes to how we handle a

[clang][bytecode] Fix two-pointer-style std::initializer_lists (#107682)

The first pointer needs to point to the first element of the underlying
array. This requires some changes to how we handle array expansion

show more ...


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

[clang][bytecode] Implement using operator new/operator delete (#107679)

Reuse the __builtin_operator_{new,delete} implementations.


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


1234