@@ -0,0 +1,45 @@
+//===-- OutOfProcessJITConfig.h - Struct for Out-Of-Process JIT--*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
@@ -333,11 +317,10 @@ int main(int argc, const char **argv) {
auto CudaRuntimeLibPath = CudaPath + "/lib/libcudart.so";
ExitOnErr(Interp->LoadDynamicLibrary(CudaRuntimeLibPath.c_str()));
}
- } else if (JB) {
-Interp =
-ExitOnErr(clang::Interpreter::
@@ -460,10 +464,99 @@ const char *const Runtimes = R"(
EXTERN_C void __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal,
void *OpaqueType, ...);
)";
+llvm::ExitOnError ExitOnErr;
+
+std::unique_ptr
+Interpreter::outOfProcessJITBuilder(OutOfProcessJITConfig OutOfPr
@@ -275,10 +331,10 @@ int main(int argc, const char **argv) {
if (!CudaPath.empty())
CB.SetCudaSDK(CudaPath);
-if (OffloadArch.empty()) {
- OffloadArch = "sm_35";
+if (::OffloadArch.empty()) {
+ ::OffloadArch = "sm_35";
}
-CB.SetOffloadArch
@@ -55,6 +57,8 @@
#include "llvm/TargetParser/Host.h"
#include "llvm/Transforms/Utils/Cloning.h" // for CloneModule
+#include
vgvassilev wrote:
We probably do not need this include.
https://github.com/llvm/llvm-project/pull/155140
__
@@ -460,10 +464,99 @@ const char *const Runtimes = R"(
EXTERN_C void __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal,
void *OpaqueType, ...);
)";
+llvm::ExitOnError ExitOnErr;
+
+std::unique_ptr
+Interpreter::outOfProcessJITBuilder(OutOfProcessJITConfig OutOfPr
@@ -33,6 +33,10 @@
using namespace llvm;
using namespace llvm::orc;
+#if LLVM_ON_UNIX
+static std::vector LaunchedExecutorPID;
vgvassilev wrote:
We need a home for this. The process is not the right home. Either the
Interpreter class or the IncrementalExecut
@@ -19,21 +19,32 @@
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/Interpreter/CodeCompletion.h"
#include "clang/Interpreter/Interpreter.h"
+#include "clang/Interpreter/OutOfProcessJITConfig.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Sema/Sema.h"
Author: Timm Baeder
Date: 2025-08-28T10:06:04+02:00
New Revision: 168308325d00b4de1c7a9c648d9f4f1f3e4c3866
URL:
https://github.com/llvm/llvm-project/commit/168308325d00b4de1c7a9c648d9f4f1f3e4c3866
DIFF:
https://github.com/llvm/llvm-project/commit/168308325d00b4de1c7a9c648d9f4f1f3e4c3866.diff
L
@@ -0,0 +1,45 @@
+//===-- OutOfProcessJITConfig.h - Struct for Out-Of-Process JIT--*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
Author: CHANDRA GHALE
Date: 2025-08-28T13:21:31+05:30
New Revision: 96b44a101cfbf208dd7acc02e5e1216178748637
URL:
https://github.com/llvm/llvm-project/commit/96b44a101cfbf208dd7acc02e5e1216178748637
DIFF:
https://github.com/llvm/llvm-project/commit/96b44a101cfbf208dd7acc02e5e1216178748637.diff
https://github.com/chandraghale closed
https://github.com/llvm/llvm-project/pull/154942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
> I guess this is because clang/lib/AST/ExprConstant is the current interpreter
> and we're not adding support to this new one.
The trick is to add support for the new one as well :angel:
https://github.com/llvm/llvm-project/pull/155542
RKSimon wrote:
I added something (rather vague) to the release notes last week: #154737 - we
can beef it out closer to the next branch once we've got a good idea on how
close we've gotten to constexpr'ing everything we can in the x86 intrinsics. It
might be that we want a fuller list in a pers
https://github.com/ukalappa-mips updated
https://github.com/llvm/llvm-project/pull/155747
>From 7dca481baec6862b8abed7a912f5666bb6caef17 Mon Sep 17 00:00:00 2001
From: Umesh Kalappa
Date: Thu, 28 Aug 2025 04:53:00 +
Subject: [PATCH 1/2] Added the mips extension instructions like ehb,ihb and
ro-i wrote:
(rebased on main after https://github.com/llvm/llvm-project/pull/146404 has
been merged)
https://github.com/llvm/llvm-project/pull/146405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
@@ -1221,44 +1231,68 @@ MCObjectFileInfo::getKCFITrapSection(const MCSection
&TextSec) const {
MCSection *
MCObjectFileInfo::getPseudoProbeSection(const MCSection &TextSec) const {
- if (Ctx->getObjectFileType() != MCContext::IsELF)
-return PseudoProbeSection;
-
- const
https://github.com/williamweixiao commented:
LGTM. Just some trivial comments.
https://github.com/llvm/llvm-project/pull/123870
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -99,89 +99,167 @@ class SWPFormat
bits<5> rs2;
bits<5> rs1;
- let Inst{31-27} = rs3;
- let Inst{26-25} = imm7{6-5};
- let Inst{24-20} = rs2;
- let Inst{19-15} = rs1;
- let Inst{14-12} = 0b101;
- let Inst{11-9} = imm7{4-2};
- let Inst{8-7} = 0b01;
- let Inst{6-0}
@@ -47,13 +47,13 @@ class LDPFormat
bits<5> rd1;
bits<5> rd2;
- let Inst{31-27} = rd2;
- let Inst{26-23} = imm7{6-3};
- let Inst{22-20} = 0b000;
- let Inst{19-15} = rs1;
- let Inst{14-12} = 0b100;
- let Inst{11-7} = rd1;
- let Inst{6-0} = OPC_CUSTOM_0.Value;
+ let
@@ -1,4 +1,4 @@
-; REQUIRES: x86_64-linux
+; REQUIRES: x86-registered-target
williamweixiao wrote:
The lit case is Linux specific.
https://github.com/llvm/llvm-project/pull/123870
___
cfe-commits mailing list
cfe-commi
https://github.com/williamweixiao edited
https://github.com/llvm/llvm-project/pull/123870
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ro-i auto_merge_enabled
https://github.com/llvm/llvm-project/pull/146405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4268,6 +4268,10 @@ def floop_interchange : Flag<["-"],
"floop-interchange">, Group,
HelpText<"Enable the loop interchange pass">, Visibility<[ClangOption,
CC1Option, FlangOption, FC1Option]>;
def fno_loop_interchange: Flag<["-"], "fno-loop-interchange">, Group,
HelpTe
@@ -0,0 +1,543 @@
+//===- ABI/Types.h --*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -0,0 +1,76 @@
+//=== ABITypeMapper.h - Maps LLVM ABI Types to LLVM IR Types ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache
@@ -0,0 +1,1493 @@
+//===- X86.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: A
CarlosAlbertoEnciso wrote:
The tests look good.
https://github.com/llvm/llvm-project/pull/151818
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,1493 @@
+//===- X86.cpp
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: A
@@ -0,0 +1,244 @@
+//=== ABITypeMapper.cpp - Maps LLVM ABI Types to LLVM IR Types --===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apach
@@ -139,21 +134,20 @@ define void @foo4() {
; PTX32-EMPTY:
; PTX32-NEXT: // %bb.0:
; PTX32-NEXT:mov.b32 %SPL, __local_depot3;
-; PTX32-NEXT:cvta.local.u32 %SP, %SPL;
-; PTX32-NEXT:add.u32 %r1, %SP, 0;
-; PTX32-NEXT:add.u32 %r2, %SPL, 0;
-; PTX32-NEXT:add.u3
@@ -1484,7 +1484,8 @@ void NVPTXAsmPrinter::setAndEmitFunctionVirtualRegisters(
if (NumBytes) {
O << "\t.local .align " << MFI.getMaxAlign().value() << " .b8 \t"
<< DEPOTNAME << getFunctionNumber() << "[" << NumBytes << "];\n";
-if (static_cast(MF.getTarget()).i
https://github.com/lucas-rami edited
https://github.com/llvm/llvm-project/pull/138284
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -216,41 +216,30 @@ define internal i32 @bitcasted_function() {
ret i32 0
}
-define internal void @called_from_invalid_bounds_0() {
-; CHECK-LABEL: define internal void @called_from_invalid_bounds_0
-; CHECK-SAME: () #[[ATTR1]] {
-; CHECK-NEXT:ret void
-;
+define inter
@@ -24,7 +24,7 @@
__target__("avx512vl,avx512dq,no-evex512"),
\
__min_vector_width__(256)))
-static __inline__ __m256i __DEFAULT_FN_ATTRS256
+static __inline__ __m256i __DEFAULT_FN_ATTRS256_CONSTEXPR
RKSimon
501 - 549 of 549 matches
Mail list logo