History log of /llvm-project/llvm/lib/SandboxIR/Type.cpp (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init
# 830bd0e8 22-Jan-2025 Mats Jun Larsen <mats@jun.codes>

[SandboxIR] Remove sandboxir::PointerType::get(Type) (#123885)

This was just an alias for getting the LLVM Context from the type.

We are in the process of removing the same function for the regular

[SandboxIR] Remove sandboxir::PointerType::get(Type) (#123885)

This was just an alias for getting the LLVM Context from the type.

We are in the process of removing the same function for the regular LLVM
type in https://github.com/llvm/llvm-project/issues/123569

show more ...


# 416f1c46 20-Jan-2025 Mats Jun Larsen <mats@jun.codes>

[IR] Replace of PointerType::get(Type) with opaque version (NFC) (#123617)

In accordance with https://github.com/llvm/llvm-project/issues/123569

In order to keep the patch at reasonable size, this

[IR] Replace of PointerType::get(Type) with opaque version (NFC) (#123617)

In accordance with https://github.com/llvm/llvm-project/issues/123569

In order to keep the patch at reasonable size, this PR only covers for
the llvm subproject, unittests excluded.

show more ...


Revision tags: llvmorg-19.1.7, llvmorg-19.1.6
# f33e2369 12-Dec-2024 Qiongsi Wu <274595+qiongsiwu@users.noreply.github.com>

[clang][Modules] Fixing Build Breaks When -DLLVM_ENABLE_MODULES=ON (#119473)

A few recent changes are causing build breaks when
`-DLLVM_ENABLE_MODULES=ON` (such as
834dfd23155351c9885eddf7b9664f76

[clang][Modules] Fixing Build Breaks When -DLLVM_ENABLE_MODULES=ON (#119473)

A few recent changes are causing build breaks when
`-DLLVM_ENABLE_MODULES=ON` (such as
834dfd23155351c9885eddf7b9664f7697326946 and
7dfdca1961aadc75ca397818bfb9bd32f1879248).

This PR makes the required updates so that clang/llvm builds when
`-DLLVM_ENABLE_MODULES=ON`.

rdar://140803058

show more ...


Revision tags: llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1
# 2018f4cc 27-Sep-2024 Vasileios Porpodas <vporpodas@google.com>

Reapply "[SandboxIR][NFC] Delete SandboxIR.h (#110309)"

This reverts commit 8dfeb4ef5d60a5c764f0ce249cc4ec69e012ff93.


# 8dfeb4ef 27-Sep-2024 Vasileios Porpodas <vporpodas@google.com>

Revert "[SandboxIR][NFC] Delete SandboxIR.h (#110309)"

This reverts commit ca47f48a5c9e81ef8b5c4a5b1fbc473ea5d5497c.


# ca47f48a 27-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR][NFC] Delete SandboxIR.h (#110309)


Revision tags: llvmorg-19.1.0
# 3b4e7c9c 11-Sep-2024 Sterling-Augustine <56981066+Sterling-Augustine@users.noreply.github.com>

[SandboxIR] Implement ScalableVectorType (#108124)

As in the heading.


# bb728651 10-Sep-2024 Sterling-Augustine <56981066+Sterling-Augustine@users.noreply.github.com>

[SandboxIR] Implement FixedVectorType (#107930)


# 6f8d2781 09-Sep-2024 Sterling-Augustine <56981066+Sterling-Augustine@users.noreply.github.com>

[SandboxIR] Add missing VectorType functions (#107650)

Fills in many missing functions from VectorType


# df50751d 04-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement ConstantAggregateZero (#107172)

This patch implements sandboxir::ConstantAggregateZero mirroring
llvm::ConstantAggregateZero.


# 814aa432 04-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement ConstantAggregate (#107136)

This patch implements sandboxir:: ConstantAggregate, ConstantStruct,
ConstantArray and ConstantVector, mirroring LLVM IR.


# b91b1f0b 03-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement remaining ConstantInt functions (#106775)

This patch adds the remaining ConstantInt:: functions and it also
implements the IntegerType class.


Revision tags: llvmorg-19.1.0-rc4
# 034f2b38 30-Aug-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement SandboxIR Type (#106294)

This patch implements sandboxir::Type, a thin wrapper of llvm::Type.
This is designed very similarly to sandbox::Value. Context owns all
sandboxir::T

[SandboxIR] Implement SandboxIR Type (#106294)

This patch implements sandboxir::Type, a thin wrapper of llvm::Type.
This is designed very similarly to sandbox::Value. Context owns all
sandboxir::Type objects and maintains a map between llvm::Type and
sandboxir::Type.

There are a couple of reasons for migrating from llvm::Type to
sandboxir::Type:
- Creating an llvm::Type from within SandboxIR-only code doesn't work
well because it requires you to pass llvm::Context to functions like
llvm::Type::getInt32Ty(C), but you wouldn't normally have access to
llvm::Context C. In unit tests this is not such a big deal because you
have access to both, but it will become an issue in SandboxIR-only code.
- Not being able to get the sandboxir::Context from llvm::Type results
in awkward sandboir APIs with additional sandboxir::Context arguments.
- llvm::Type::getContext() can basically give you access to the whole
LLVM IR, which we should try to avoid.

show more ...