History log of /llvm-project/llvm/unittests/SandboxIR/SandboxIRTest.cpp (Results 1 – 25 of 123)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init
# 334a1cdb 28-Jan-2025 vporpo <vporpodas@google.com>

[SandboxIR] createFunction() should always create a function (#124665)

This patch removes the assertion that checks for an existing function.
If one exists it will remove it and create a new one. T

[SandboxIR] createFunction() should always create a function (#124665)

This patch removes the assertion that checks for an existing function.
If one exists it will remove it and create a new one. This helps remove
a crash when a function declaration object already exists and we are
about to create a SandboxIR object for the definition.

show more ...


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


# 22d4ff15 17-Jan-2025 vporpo <vporpodas@google.com>

[SandboxIR] Fix CmpInst::create() when it gets folded (#123408)

If the operands of a CmpInst are constants then it gets folded into a
constant. Therefore CmpInst::create() should return a Value*, n

[SandboxIR] Fix CmpInst::create() when it gets folded (#123408)

If the operands of a CmpInst are constants then it gets folded into a
constant. Therefore CmpInst::create() should return a Value*, not a
Constant* and should handle the creation of the constant correctly.

show more ...


Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4
# 12a8f504 29-Oct-2024 Jorge Gorbe Moya <jgorbe@google.com>

[SandboxIR] Use the proper gmock public header in unit tests.

This should fix the BuildKite bazel build.


# 4df71ab7 29-Oct-2024 Jorge Gorbe Moya <jgorbe@google.com>

[SandboxIR] Add callbacks for instruction insert/remove/move ops (#112965)


Revision tags: llvmorg-19.1.3, llvmorg-19.1.2
# ed5088a2 04-Oct-2024 vporpo <vporpodas@google.com>

[SandboxIR] Switch more Instruction::create() to InsertPosition (#111213)

Also moves CmpInst definitions from Context.cpp to Instruction.cpp


# c029702f 04-Oct-2024 vporpo <vporpodas@google.com>

[SandboxIR] Switch more Instruction::create() to InsertPosition (#111208)


# 4f3a0959 04-Oct-2024 vporpo <vporpodas@google.com>

[SandboxIR] Switch more Instruction::create() to InsertPosition (#111187)


# 3a47bf63 04-Oct-2024 vporpo <vporpodas@google.com>

[SandboxIR] Switch more Instruction::create() to InsertPosition (#111080)


# e1434a87 04-Oct-2024 vporpo <vporpodas@google.com>

[SandboxIR] Switch more Instruction::create() functions to InsertPosition (#111075)


# 635db5ee 03-Oct-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement InsertPosition (#110730)

This patch implements the InsertPosition class that is used to specify
where an instruction should be placed.

It also switches a couple of create()

[SandboxIR] Implement InsertPosition (#110730)

This patch implements the InsertPosition class that is used to specify
where an instruction should be placed.

It also switches a couple of create() functions from the old API to the
new one that uses InsertPosition.

show more ...


# 906ffc4b 02-Oct-2024 Sterling-Augustine <56981066+Sterling-Augustine@users.noreply.github.com>

[SandboxIR][NFC] Move Utils test to proper file (#110763)


# 504585d7 02-Oct-2024 Vasileios Porpodas <vporpodas@google.com>

[SandboxIR][NFC] Move isMemDepCandidate() and isStackSaveOrRestoreIntrinsic() to Utils


# 2f432729 01-Oct-2024 Sterling-Augustine <56981066+Sterling-Augustine@users.noreply.github.com>

[SandboxIR] Implement getNumBits for Instructions (#110748)

This also moves the other getNumbits test into UtilsTest.cc where it
belongs.


Revision tags: llvmorg-19.1.1
# 9e85937b 30-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR][NFC] Rename SandboxIRValues.def to Values.def (#110538)


# e22b07e7 30-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR][NFC] Move Function class to a separate file (#110526)


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


# 13809b3d 25-Sep-2024 Vasileios Porpodas <vporpodas@google.com>

[SandboxIR] Fix failing unittest introduced by 51039101cf32


# 51039101 25-Sep-2024 Sriraman Tallam <38991943+tmsri@users.noreply.github.com>

[SandboxIR] Add more functions to sandboxir:Instruction class. (#110050)

The getter functions simply turn around and call the LLVM
counterparts. This is fine until we don't add new sandbox IR
opc

[SandboxIR] Add more functions to sandboxir:Instruction class. (#110050)

The getter functions simply turn around and call the LLVM
counterparts. This is fine until we don't add new sandbox IR
opcodes. At that point, we may have to explicitly check if
the behavior is different.

show more ...


# 7e5df5bc 25-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement Module (#109716)

This patch implements sandboxir::Module.
It provides access to globals.


# f4042077 24-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement a few Instruction member functions (#109820)

This patch implements a few sandboxir::Instruction predicate functions.


# 74405b9d 23-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement a few Instruction member functions (#109709)

This patch implements some of the missing member functions of
sandboxir::Instruction.


# 416c3ce0 23-Sep-2024 vporpo <vporpodas@google.com>

[SandboxIR] Implement ConstantExpr (#109491)

This patch implements an empty sandboxir::ConstantExpr class, mirroring
llvm::ConstantExpr.


12345