Skip to content

Conversation

@ranapratap55
Copy link
Contributor

No description provided.

z1-cciauto and others added 30 commits October 3, 2025 01:14
When this config is found via find_package(OpenMP CONFIG) ensure
that when the OpenMP::omp target is used, we include -fopenmp
for the compulation.
The various per-type functions for list-directed (including namelist)
input editing all call a common function to detect whether the next
token of input is the name of a namelist item. This check simply
determines whether this next token looks like an identifier followed by
'=', '(', or '%', and this fails when the next item of input is a NAN
with parenthesized stuff afterwards. Make the check smarter so that it
ensures that any upcoming possible identifier is actually the name of an
item in the namelist group. (And that's tricky too when the group has an
array item named "nan" and the upcoming input is "nan("; see the
newly-added unit test case.)

Fixes llvm#152538.

more
Added support for LShr instructions as base for copyable elements. Also,
added simple analysis for best base instruction selection, if multiple
candidates are available.

Fixed scheduling after cancellation

Reviewers: hiraditya, RKSimon

Reviewed By: RKSimon

Pull Request: llvm#153393
…59658)

Summary:
This exposes the 'isDeviceCompatible' routine for checking if a binary
*can* be loaded. This is useful if people don't want to consume errors
everywhere when figuring out which image to put to what device.

I don't know if this is a good name, I was thining like `olIsCompatible`
or whatever. Let me know what you think.

Long term I'd like to be able to do something similar to what OpenMP
does where we can conditionally only initialize devices if we need them.
That's going to be support needed if we want this to be more
generic.
This squishes a warning where the runtime tries to bind a StringRef to
a `%p`.
Comment on lines +14 to +106
if: github.event.pull_request.draft == false
runs-on:
group: compiler-generic-runners
env:
svc_acc_org_secret: ${{secrets.CI_GITHUB_TOKEN}}
input_sha: ${{ github.event.pull_request.head.sha != '' && github.event.pull_request.head.sha || github.sha }}
input_pr_num: ${{ github.event.pull_request.number != '' && github.event.pull_request.number || 0 }}
input_pr_url: ${{ github.event.pull_request.html_url != '' && github.event.pull_request.html_url || '' }}
input_pr_title: ${{ github.event.pull_request.title != '' && github.event.pull_request.title || '' }}
# set the pipeline name here based on branch name
pipeline_name: ${{secrets.CI_JENKINS_JOB_NAME}}
JENKINS_URL: ${{secrets.CI_JENKINS_URL}}
CONTAINER_IMAGE: ${{ secrets.JENKINS_TRIGGER_DOCKER_IMAGE }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Set environment variable for container image
run: |
echo "CONTAINER_IMAGE=${{ secrets.JENKINS_TRIGGER_DOCKER_IMAGE }}" >> $GITHUB_ENV
echo "CONTAINER_NAME=my_container_${{ github.run_id }}" >> $GITHUB_ENV
- name: Pull container image
run: docker pull "${{env.CONTAINER_IMAGE}}"


- name: Run container
run: |
docker run -d --name "${{env.CONTAINER_NAME}}" $CONTAINER_IMAGE sleep infinity
#docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "git clone ${{secrets.CI_UTILS_REPO}} ."
docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "echo 'Running commands inside the container'"
- name: Escape pull request title
run: |
import json
import os
import shlex
with open('${{ github.event_path }}') as fh:
event = json.load(fh)
escaped = event['pull_request']['title']
with open(os.environ['GITHUB_ENV'], 'a') as fh:
print(f'PR_TITLE={escaped}', file=fh)
shell: python3 {0}

- name: Run Jenkins Cancel Script
env:
JENKINS_URL: ${{secrets.CI_JENKINS_URL}}
JENKINS_USER: ${{secrets.CI_JENKINS_USER}}
JENKINS_API_TOKEN: ${{secrets.CI_JENKINS_TOKEN}}
JENKINS_JOB_NAME: ${{secrets.CI_JENKINS_JOB_NAME}}
PR_NUMBER: ${{ github.event.pull_request.number }}
COMMIT_HASH: ${{ github.event.after }}
run: |
docker exec -e JENKINS_JOB_NAME=${{secrets.CI_JENKINS_JOB_NAME}} -e PR_NUMBER=${{ github.event.pull_request.number }} -e COMMIT_HASH=${{ github.event.after }} -e JENKINS_URL=${{secrets.CI_JENKINS_URL}} -e JENKINS_USER=${{secrets.CI_JENKINS_USER}} -e JENKINS_API_TOKEN=${{secrets.CI_JENKINS_TOKEN}} "${{env.CONTAINER_NAME}}" /bin/bash -c "PYTHONHTTPSVERIFY=0 python3 cancel_previous_build.py"
# Runs a set of commands using the runners shell
- name: Getting Event Details
run: |
echo $(pwd)
echo $GITHUB_ENV
echo $GITHUB_REPOSITORY
echo $GITHUB_SERVER_URL
echo "GITHUB_SHA is: $GITHUB_SHA"
echo "GITHUB_WORKFLOW_SHA is: $GITHUB_WORKFLOW_SHA"
echo "GITHUB_BASE_REF is: $GITHUB_BASE_REF"
echo "GITHUB_REF_NAME is: $GITHUB_REF_NAME"
echo "github.event.pull_request.id is: ${{github.event.pull_request.id}}"
echo "github.event.pull_request.html_url is: ${{github.event.pull_request.html_url}}"
echo "github.event.pull_request.number is: ${{github.event.pull_request.number}}"
echo "github.event.pull_request.url is: ${{github.event.pull_request.url}}"
echo "github.event.pull_request.issue_url is: ${{github.event.pull_request.issue_url}}"
echo "github.event.pull_request.head.sha is: ${{github.event.pull_request.head.sha}}"
echo "github.event.pull_request.base.ref is: ${{github.event.pull_request.base.ref}}"
echo "github.event.pull_request.merge_commit_sha is: ${{github.event.pull_request.merge_commit_sha}}"
echo "github.event.pull_request is: ${{github.event.pull_request}}"
- name: Trigger Jenkins Pipeline
if: steps.check_changes.outcome != 'failure'
run: |
echo "--Running jenkins_api.py with input sha - $input_sha for pull request - $input_pr_url"
docker exec -e GITHUB_REPOSITORY="$GITHUB_REPOSITORY" -e svc_acc_org_secret="$svc_acc_org_secret" -e input_sha="$input_sha" -e input_pr_url="$input_pr_url" -e pipeline_name="$pipeline_name" \
-e input_pr_num="$input_pr_num" -e PR_TITLE="$PR_TITLE" -e JENKINS_URL="$JENKINS_URL" -e GITHUB_PAT="$svc_acc_org_secret" "${{env.CONTAINER_NAME}}" \
/bin/bash -c 'echo \"PR NUM: "$input_pr_num"\" && PYTHONHTTPSVERIFY=0 python3 jenkins_api.py -s \"${JENKINS_URL}\" -jn "$pipeline_name" -ghr "$GITHUB_REPOSITORY" -ghsha "$input_sha" -ghprn "$input_pr_num" -ghpru "$input_pr_url" -ghprt "$PR_TITLE" -ghpat="$svc_acc_org_secret"'
- name: Stop and remove container
if: always()
run: |
docker stop "${{env.CONTAINER_NAME}}"
docker rm "${{env.CONTAINER_NAME}}"

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +11 to +135
if: github.event.pull_request.draft == false
runs-on:
group: compiler-generic-runners
env:
PR_SHA: ${{ github.event.pull_request.head.sha != '' && github.event.pull_request.head.sha || github.sha }}
PR_NUMBER: ${{ github.event.pull_request.number != '' && github.event.pull_request.number || 0 }}
PR_URL: ${{ github.event.pull_request.html_url != '' && github.event.pull_request.html_url || '' }}
PR_TITLE: ${{ github.event.pull_request.title != '' && github.event.pull_request.title || '' }}
BASE_BRANCH: ${{ github.event.pull_request.base.ref != '' && github.event.pull_request.base.ref || '' }}
GITHUB_TOKEN: ${{secrets.CI_GITHUB_TOKEN}}

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Set environment variable for container image
run: |
echo "CONTAINER_IMAGE=${{ secrets.BUILDBOT_DOCKER_IMAGE }}" >> $GITHUB_ENV
echo "CONTAINER_NAME=my_container_${{ github.run_id }}" >> $GITHUB_ENV

- name: Pull container image
run: docker pull "${{env.CONTAINER_IMAGE}}"

- name: Run container
run: |
docker run -d --name "${{env.CONTAINER_NAME}}" $CONTAINER_IMAGE sleep infinity
docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "echo 'Running commands inside the container'"

- name: Escape pull request title
run: |
import json
import os
import shlex
with open('${{ github.event_path }}') as fh:
event = json.load(fh)
escaped = event['pull_request']['title']
with open(os.environ['GITHUB_ENV'], 'a') as fh:
print(f'PR_TITLE={escaped}', file=fh)
shell: python3 {0}

- name: Trigger Buildbot Build
run: |
echo "${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_WORKER_PORT }}"
docker exec -e PR_TITLE="$PR_TITLE" "${{env.CONTAINER_NAME}}" /bin/bash -c 'buildbot sendchange -W ${{ secrets.BUILDBOT_USER }} -a ${{secrets.BUILDBOT_USER}}:${{secrets.BUILDBOT_PWD}} --master="${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_WORKER_PORT }}" --branch=${{ env.BASE_BRANCH }} --revision=${{ env.PR_SHA }} -p PR_NUMBER:${{ env.PR_NUMBER }} -p PR_TITLE:"$PR_TITLE" -p PR_URL:${{ env.PR_URL }} -p SHA:${{ env.PR_SHA }}'

- name: Set Initial Status to Pending
run: |
docker exec -e PR_SHA=$PR_SHA -e GITHUB_TOKEN=$GITHUB_TOKEN "${{env.CONTAINER_NAME}}" /bin/bash -c "python3 -c \"
import os
import requests
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
TARGET_SHA = os.getenv('PR_SHA')
print('debug', TARGET_SHA)
api_url = f'https://api.github.com/repos/AMD-Lightning-Internal/llvm-project/statuses/{TARGET_SHA}'
headers = {
'Authorization': f'token {GITHUB_TOKEN}',
'Content-Type': 'application/json'
}
payload = {
'state': 'pending',
'context': 'buildbot',
'description': 'Build is in queue'
}
response = requests.post(api_url, json=payload, headers=headers)
if response.status_code == 201:
print('Status set to pending successfully.')
else:
print(f'Failed to set status: {response.status_code} {response.text}')
\""

- name: Poll Buildbot build status
run: |
python3 -c "
import os
import time
import requests
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
BUILD_URL = 'http://${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_MASTER_PORT }}/api/v2/builds'
TARGET_SHA = os.getenv('PR_SHA')
print('debug', TARGET_SHA)
MAX_RETRIES = 10
RETRY_INTERVAL = 30 # seconds

def get_build_properties(build_id):
build_properties_url = f'http://${{ secrets.BUILDBOT_HOST }}:${{ secrets.BUILDBOT_MASTER_PORT }}/api/v2/builds/{build_id}/properties'
response = requests.get(build_properties_url, headers={'Accept': 'application/json', 'Authorization': f'token {GITHUB_TOKEN}'})
return response.json()

for i in range(MAX_RETRIES):
response = requests.get(BUILD_URL, headers={'Accept': 'application/json'})
response_json = response.json()
print(f'Attempt {i + 1}: Buildbot response:', response_json)

# Check if any build has the target SHA
builds = response_json.get('builds', [])
print (builds)
build_with_sha = None
for build in builds:
build_id = build['buildid']
properties = get_build_properties(build_id)
#print(properties)
#prop = properties.get('revision', [])

if 'properties' in properties:
print (properties['properties'])
if 'revision' in properties['properties'][0]:
print(properties['properties'][0])
if 'revision' in properties['properties'][0] and properties['properties'][0]['revision'] [0] == TARGET_SHA:
build_with_sha = build
break

if build_with_sha:
print('Build started successfully for SHA:', TARGET_SHA)
break
else:
print('Build for SHA not started yet, retrying in', RETRY_INTERVAL, 'seconds')
time.sleep(RETRY_INTERVAL)
else:
print('Build did not start for SHA:', TARGET_SHA, 'after maximum retries')
exit(1)
"

- name: Stop and remove container
if: always()
run: |
docker stop "${{env.CONTAINER_NAME}}"
docker rm "${{env.CONTAINER_NAME}}"

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +11 to +79
runs-on:
group: compiler-generic-runners

steps:
- name: Set environment variable for container image
run: |
echo "CONTAINER_IMAGE=${{ secrets.JENKINS_TRIGGER_DOCKER_IMAGE }}" >> $GITHUB_ENV
echo "CONTAINER_NAME=my_container_${{ github.run_id }}" >> $GITHUB_ENV

- name: Pull container image
run: docker pull "${{env.CONTAINER_IMAGE}}"

- name: Run container
run: |
docker run -d --name "${{env.CONTAINER_NAME}}" $CONTAINER_IMAGE sleep infinity
docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "echo 'Running commands inside the container'"

- name: Trigger compute-rocm-dkms-afar job
run: |
docker exec "${{env.CONTAINER_NAME}}" /bin/bash -c "python -c \"
import requests
import time
from requests.auth import HTTPBasicAuth

jenkins_user = '${{ secrets.CI_JENKINS_USER }}'
jenkins_token = '${{ secrets.ROCM_JENKINS_CI_TOKEN }}'
jenkins_host = '${{ secrets.ROCM_JENKINS_HOST }}'
jenkins_job = '${{ secrets.ROCM_JENKINS_OSDB_JOB }}'

jenkins_url = f'{jenkins_host}/job/{jenkins_job}/buildWithParameters'

response = requests.post(jenkins_url, auth=HTTPBasicAuth(jenkins_user, jenkins_token))

if response.status_code == 201:
print('Jenkins job triggered successfully!')
queue_url = response.headers.get('Location')
if queue_url:
print(f'Queue URL: {queue_url}')
print(f'Getting build URL(max 5 attempts with 10seconds interval)...')
# Poll the queue item to get the build number, limited to 5 attempts
max_attempts = 5
attempts = 0
while attempts < max_attempts:
queue_response = requests.get(queue_url + 'api/json', auth=HTTPBasicAuth(jenkins_user, jenkins_token))
queue_data = queue_response.json()
if 'executable' in queue_data:
build_number = queue_data['executable']['number']
build_url = f'{jenkins_host}/job/{jenkins_job}/{build_number}/'
print(f'Build URL: {build_url}')
break
attempts += 1
time.sleep(10) # Wait for 10 seconds before polling again
else:
print('Exceeded maximum attempts to get the build URL. The trigger happened, so not failing the workflow')
else:
print('Build URL not found in the response headers.')

elif response.status_code == 200:
print('Request was successful, but check the response content for details.')
print(response.text)
else:
print(f'Failed to trigger Jenkins job. Status code: {response.status_code}')
\""

- name: Stop and remove container
if: always()
run: |
docker stop "${{env.CONTAINER_NAME}}"
docker rm "${{env.CONTAINER_NAME}}"

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
@github-actions
Copy link

⚠️ Python code formatter, darker found issues in your code. ⚠️

You can test this locally with the following command:
darker --check --diff -r origin/main...HEAD amd/comgr/cmake/device-libs-id.py amd/comgr/test-lit/lit.cfg.py amd/hipcc/docs/conf.py compiler-rt/test/asan/TestCases/AMDGPU/lit.local.cfg.py openmp/libompd/gdb-plugin/loadompd.py openmp/libompd/gdb-plugin/setup.py clang-tools-extra/docs/conf.py clang/docs/conf.py clang/test/lit.cfg.py compiler-rt/test/asan/lit.cfg.py openmp/docs/conf.py

⚠️
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing origin/main to the base branch/commit you want to compare against.
⚠️

View the diff from darker here.
--- amd/comgr/cmake/device-libs-id.py	2025-10-23 06:08:48.000000 +0000
+++ amd/comgr/cmake/device-libs-id.py	2025-10-23 07:00:06.106958 +0000
@@ -5,22 +5,35 @@
 from argparse import ArgumentParser
 from hashlib import sha256
 from os.path import join as join_path
 
 if __name__ == "__main__":
-    parser = ArgumentParser(description='Generate id by computing a hash of the generated headers')
-    parser.add_argument("headers", nargs='+', help='List of headers to generate id from')
+    parser = ArgumentParser(
+        description="Generate id by computing a hash of the generated headers"
+    )
+    parser.add_argument(
+        "headers", nargs="+", help="List of headers to generate id from"
+    )
     # On Windows, we cannot list the realpath for every individual header since we hit cmd.exe's
     # maximum command line lenght. As a workaround, we pass the pwd and the headers separately.
-    parser.add_argument("--parent-directory", help='Parent directory for the headers', required=True)
-    parser.add_argument("--varname", help='Name of the variable to generate', required=True)
-    parser.add_argument("--output", help='Name of the header to generate', required=True)
+    parser.add_argument(
+        "--parent-directory", help="Parent directory for the headers", required=True
+    )
+    parser.add_argument(
+        "--varname", help="Name of the variable to generate", required=True
+    )
+    parser.add_argument(
+        "--output", help="Name of the header to generate", required=True
+    )
 
     args = parser.parse_args()
     args.headers.sort()
-    
+
     hash = sha256()
     for header in args.headers:
-        hash.update(open(join_path(args.parent_directory, header), 'rb').read())
+        hash.update(open(join_path(args.parent_directory, header), "rb").read())
     digest_uchar = hash.digest()
     digest_elts = ", ".join(map(str, digest_uchar))
-    print(f"static const unsigned char {args.varname}[] = {{{digest_elts}, 0}};", file=open(args.output, 'w'))
+    print(
+        f"static const unsigned char {args.varname}[] = {{{digest_elts}, 0}};",
+        file=open(args.output, "w"),
+    )
--- amd/comgr/test-lit/lit.cfg.py	2025-10-23 06:08:48.000000 +0000
+++ amd/comgr/test-lit/lit.cfg.py	2025-10-23 07:00:06.117440 +0000
@@ -15,6 +15,6 @@
 if not config.comgr_disable_spirv:
     config.available_features.add("comgr-has-spirv")
 
 # By default, disable the cache for the tests.
 # Test for the cache must explicitly enable this variable.
-config.environment['AMD_COMGR_CACHE'] = "0"
+config.environment["AMD_COMGR_CACHE"] = "0"
--- amd/hipcc/docs/conf.py	2025-10-23 06:08:48.000000 +0000
+++ amd/hipcc/docs/conf.py	2025-10-23 07:00:06.128438 +0000
@@ -6,12 +6,12 @@
 
 import re
 
 from rocm_docs import ROCmDocs
 
-with open('../CMakeLists.txt', encoding='utf-8') as f:
-    match = re.search(r'.*\bproject\(hipcc VERSION\s+\"?([0-9.]+)[^0-9.]+', f.read())
+with open("../CMakeLists.txt", encoding="utf-8") as f:
+    match = re.search(r".*\bproject\(hipcc VERSION\s+\"?([0-9.]+)[^0-9.]+", f.read())
     if not match:
         raise ValueError("VERSION not found!")
     version_number = match[1]
 left_nav_title = f"HIPCC {version_number} Documentation"
 
--- clang/docs/conf.py	2025-10-23 06:08:48.000000 +0000
+++ clang/docs/conf.py	2025-10-23 07:00:06.162417 +0000
@@ -87,11 +87,11 @@
 
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = "friendly"
 
 # A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
+# modindex_common_prefix = []
 
 #  TODO: Temporary workaround for configuration error to get man pages built
 
 # in_progress_title = "(In-Progress) " if tags.has("PreRelease") else ""
 
--- compiler-rt/test/asan/TestCases/AMDGPU/lit.local.cfg.py	2025-10-23 06:08:48.000000 +0000
+++ compiler-rt/test/asan/TestCases/AMDGPU/lit.local.cfg.py	2025-10-23 07:00:06.284881 +0000
@@ -1,13 +1,14 @@
 def getRoot(config):
-  if not config.parent:
-    return config
-  return getRoot(config.parent)
+    if not config.parent:
+        return config
+    return getRoot(config.parent)
+
 
 root = getRoot(config)
 
-if root.host_os not in ['Linux']:
-  config.unsupported = True
-if root.target_arch not in ['x86_64']:
-  config.unsupported = True
-if root.support_amd_offload_tests == 'false':
-  config.unsupported = True
+if root.host_os not in ["Linux"]:
+    config.unsupported = True
+if root.target_arch not in ["x86_64"]:
+    config.unsupported = True
+if root.support_amd_offload_tests == "false":
+    config.unsupported = True
--- compiler-rt/test/asan/lit.cfg.py	2025-10-23 06:08:48.000000 +0000
+++ compiler-rt/test/asan/lit.cfg.py	2025-10-23 07:00:06.408393 +0000
@@ -330,47 +330,63 @@
     config.parallelism_group = "shadow-memory"
 
 if config.target_os == "NetBSD":
     config.substitutions.insert(0, ("%run", config.netbsd_noaslr_prefix))
 
+
 # Find ROCM runtime and compiler paths only
 # when built with -DSANITIZER_AMDGPU=1
 def configure_rocm(config, test_rocm_path):
-    if (not os.path.isdir(test_rocm_path)):
+    if not os.path.isdir(test_rocm_path):
         print("no directory found")
-        test_rocm_path = os.path.join('/opt','rocm')
-        if (not os.path.isdir(test_rocm_path)):
-            test_rocm_path = os.path.abspath(os.path.join(config.llvm_install_dir, os.pardir))
-            if (not os.path.isdir(test_rocm_path)):
-                sys.exit("ROCM installation not found, try exporting ASAN_TEST_ROCM variable")
-
-    test_device_libs  = os.path.join(test_rocm_path, 'amdgcn', 'bitcode')
-    test_hip_path     = os.path.join(test_rocm_path, 'hip')
-    hipcc             = os.path.join(test_hip_path, 'bin', 'hipcc')
-
-    build_clang = getattr(config, 'clang', None)
+        test_rocm_path = os.path.join("/opt", "rocm")
+        if not os.path.isdir(test_rocm_path):
+            test_rocm_path = os.path.abspath(
+                os.path.join(config.llvm_install_dir, os.pardir)
+            )
+            if not os.path.isdir(test_rocm_path):
+                sys.exit(
+                    "ROCM installation not found, try exporting ASAN_TEST_ROCM variable"
+                )
+
+    test_device_libs = os.path.join(test_rocm_path, "amdgcn", "bitcode")
+    test_hip_path = os.path.join(test_rocm_path, "hip")
+    hipcc = os.path.join(test_hip_path, "bin", "hipcc")
+
+    build_clang = getattr(config, "clang", None)
     build_clang = build_clang.lstrip()
     build_clang = build_clang.rstrip()
     test_clang_path = os.path.dirname(build_clang)
 
     def hip_build_invocation(hipcc, compile_flags):
-        return ' ' + ' '.join([hipcc] + compile_flags) + ' ' # append extra space to avoid concat issue in shell
+        return (
+            " " + " ".join([hipcc] + compile_flags) + " "
+        )  # append extra space to avoid concat issue in shell
 
     hipcxx_sanitize_options = ["-fsanitize=address", "-shared-libsan", "-fgpu-sanitize"]
 
     config.substitutions.append(
-        ('%hipcompiler',
-        hip_build_invocation(hipcc, config.cxx_mode_flags + [config.target_cflags] + hipcxx_sanitize_options)))
-
-    #ROCM SPECIFIC ENVIRONMENT VARIABLES
-    device_library_path    = 'DEVICE_LIB_PATH=' + test_device_libs
-    hip_path               = 'HIP_PATH='        + test_hip_path
-    rocm_path              = 'ROCM_PATH='       + test_rocm_path
-    clang_path             = 'HIP_CLANG_PATH='  + test_clang_path
-    rocm_environment       = [device_library_path, hip_path, rocm_path, clang_path]
-    export_rocm_components = 'export ' + ' '.join(rocm_environment)
-    config.substitutions.append(('%ROCM_ENV', export_rocm_components))
-    config.suffixes.append('.hip')
-
-test_rocm_path = os.environ.get('ASAN_TEST_ROCM','null')
-if config.support_amd_offload_tests == 'true':
+        (
+            "%hipcompiler",
+            hip_build_invocation(
+                hipcc,
+                config.cxx_mode_flags
+                + [config.target_cflags]
+                + hipcxx_sanitize_options,
+            ),
+        )
+    )
+
+    # ROCM SPECIFIC ENVIRONMENT VARIABLES
+    device_library_path = "DEVICE_LIB_PATH=" + test_device_libs
+    hip_path = "HIP_PATH=" + test_hip_path
+    rocm_path = "ROCM_PATH=" + test_rocm_path
+    clang_path = "HIP_CLANG_PATH=" + test_clang_path
+    rocm_environment = [device_library_path, hip_path, rocm_path, clang_path]
+    export_rocm_components = "export " + " ".join(rocm_environment)
+    config.substitutions.append(("%ROCM_ENV", export_rocm_components))
+    config.suffixes.append(".hip")
+
+
+test_rocm_path = os.environ.get("ASAN_TEST_ROCM", "null")
+if config.support_amd_offload_tests == "true":
     configure_rocm(config, test_rocm_path)
--- openmp/libompd/gdb-plugin/loadompd.py	2025-10-23 06:08:48.000000 +0000
+++ openmp/libompd/gdb-plugin/loadompd.py	2025-10-23 07:00:06.438041 +0000
@@ -7,9 +7,9 @@
         sys.path.append(os.path.dirname(__file__))
 
         from ompd import ompd
 
         ompd.main()
-        print('OMPD GDB support loaded')
+        print("OMPD GDB support loaded")
     except Exception as e:
         traceback.print_exc()
-        print('Error: OMPD support could not be loaded', e)
+        print("Error: OMPD support could not be loaded", e)
--- openmp/libompd/gdb-plugin/setup.py	2025-10-23 06:08:48.000000 +0000
+++ openmp/libompd/gdb-plugin/setup.py	2025-10-23 07:00:06.451064 +0000
@@ -1,22 +1,35 @@
 from setuptools import setup, Extension, find_packages
 
-import os 
+import os
 
 dir_path = os.path.dirname(os.path.realpath(__file__))
-omp_include_dir = os.environ.get('LIBOMP_INCLUDE_DIR', dir_path)
-llvm_include_dir = os.environ.get('LLVM_MAIN_INCLUDE_DIR', dir_path)
-python_include_dir = os.environ.get('PYTHON_HEADERS', dir_path)
+omp_include_dir = os.environ.get("LIBOMP_INCLUDE_DIR", dir_path)
+llvm_include_dir = os.environ.get("LLVM_MAIN_INCLUDE_DIR", dir_path)
+python_include_dir = os.environ.get("PYTHON_HEADERS", dir_path)
 
 # Needed for dlsym
-clang_cpp = os.environ.get('CLANG_CPP', dir_path)
-clang_cpp_dir = clang_cpp.split('libclang-cpp.so')
+clang_cpp = os.environ.get("CLANG_CPP", dir_path)
+clang_cpp_dir = clang_cpp.split("libclang-cpp.so")
 
 print("find_packages : ", find_packages())
 setup(
-    name='ompd',
-    version='1.0',
-    py_modules=['loadompd'],
-    setup_requires=['wheel'],
+    name="ompd",
+    version="1.0",
+    py_modules=["loadompd"],
+    setup_requires=["wheel"],
     packages=find_packages(),
-    ext_modules=[Extension('ompd.ompdModule', [dir_path+'/ompdModule.c', dir_path+'/ompdAPITests.c', dir_path+'/DLSymService.cpp'], include_dirs=[omp_include_dir, llvm_include_dir], runtime_library_dirs=["$ORIGIN:$ORIGIN/../lib"], libraries=['clang-cpp'], library_dirs=[clang_cpp_dir[0]])]
+    ext_modules=[
+        Extension(
+            "ompd.ompdModule",
+            [
+                dir_path + "/ompdModule.c",
+                dir_path + "/ompdAPITests.c",
+                dir_path + "/DLSymService.cpp",
+            ],
+            include_dirs=[omp_include_dir, llvm_include_dir],
+            runtime_library_dirs=["$ORIGIN:$ORIGIN/../lib"],
+            libraries=["clang-cpp"],
+            library_dirs=[clang_cpp_dir[0]],
+        )
+    ],
 )

@github-actions
Copy link

⚠️ undef deprecator found issues in your code. ⚠️

You can test this locally with the following command:
git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef([^a-zA-Z0-9_-]|$)|UndefValue::get)' 'HEAD~1' HEAD amd/comgr/src/comgr-cache-command.cpp amd/comgr/src/comgr-cache-command.h amd/comgr/src/comgr-cache.cpp amd/comgr/src/comgr-cache.h amd/comgr/src/comgr-clang-command.cpp amd/comgr/src/comgr-clang-command.h amd/comgr/src/comgr-compiler.cpp amd/comgr/src/comgr-compiler.h amd/comgr/src/comgr-device-libs.cpp amd/comgr/src/comgr-device-libs.h amd/comgr/src/comgr-diagnostic-handler.cpp amd/comgr/src/comgr-diagnostic-handler.h amd/comgr/src/comgr-disassembly.cpp amd/comgr/src/comgr-disassembly.h amd/comgr/src/comgr-env.cpp amd/comgr/src/comgr-env.h amd/comgr/src/comgr-metadata.cpp amd/comgr/src/comgr-metadata.h amd/comgr/src/comgr-signal.cpp amd/comgr/src/comgr-signal.h amd/comgr/src/comgr-spirv-command.cpp amd/comgr/src/comgr-spirv-command.h amd/comgr/src/comgr-symbol.cpp amd/comgr/src/comgr-symbol.h amd/comgr/src/comgr-symbolizer.cpp amd/comgr/src/comgr-symbolizer.h amd/comgr/src/comgr-unbundle-command.cpp amd/comgr/src/comgr-unbundle-command.h amd/comgr/src/comgr.cpp amd/comgr/src/comgr.h amd/comgr/src/time-stat/perf-timer.h amd/comgr/src/time-stat/time-stat.cpp amd/comgr/src/time-stat/time-stat.h amd/comgr/src/time-stat/ts-interface.h amd/comgr/test-lit/comgr-sources/common.h amd/comgr/test-lit/comgr-sources/compile-opencl-minimal.c amd/comgr/test-lit/comgr-sources/data-action.c amd/comgr/test-lit/comgr-sources/get-version.c amd/comgr/test-lit/comgr-sources/lookup-code-object.c amd/comgr/test-lit/comgr-sources/source-to-bc-with-dev-libs.c amd/comgr/test-lit/comgr-sources/spirv-to-reloc.c amd/comgr/test-lit/comgr-sources/spirv-translator.c amd/comgr/test-lit/comgr-sources/status-string.c amd/comgr/test-lit/comgr-sources/unbundle.c amd/comgr/test-lit/data-action.c amd/comgr/test-lit/get-version.c amd/comgr/test-lit/status-string.c amd/comgr/test/assemble_test.c amd/comgr/test/common.h amd/comgr/test/compile_hip_test.c amd/comgr/test/compile_hip_to_relocatable.c amd/comgr/test/compile_log_remarks_test.c amd/comgr/test/compile_log_test.c amd/comgr/test/compile_minimal_test.c amd/comgr/test/compile_source_to_executable.c amd/comgr/test/compile_source_with_device_libs_to_bc_test.c amd/comgr/test/compile_source_with_device_libs_to_bc_with_vfs_test.c amd/comgr/test/compile_test.c amd/comgr/test/data_test.c amd/comgr/test/demangle_test.c amd/comgr/test/disasm_instr_test.c amd/comgr/test/fail_to_build_driver.c amd/comgr/test/file_map.c amd/comgr/test/get_data_isa_name_test.c amd/comgr/test/include_subdirectory_test.c amd/comgr/test/isa_name_parsing_test.c amd/comgr/test/link_test.c amd/comgr/test/mangled_names_hip_test.c amd/comgr/test/mangled_names_test.c amd/comgr/test/map_elf_virtual_address_test.c amd/comgr/test/metadata_merge_test.c amd/comgr/test/metadata_msgpack_test.c amd/comgr/test/metadata_multiple_msgpacks_test.c amd/comgr/test/metadata_tp_test.c amd/comgr/test/metadata_yaml_test.c amd/comgr/test/multithread_test.cpp amd/comgr/test/name_expression_map_test.c amd/comgr/test/nested_kernel_test.c amd/comgr/test/source/include-macro.h amd/comgr/test/source/include-nested.h amd/comgr/test/symbolize_test.c amd/comgr/test/symbols_iterate_test.c amd/comgr/test/symbols_test.c amd/comgr/test/unbundle_hip_test.c amd/device-libs/asanrtl/inc/asan_util.h amd/device-libs/asanrtl/inc/globals.h amd/device-libs/asanrtl/inc/shadow_mapping.h amd/device-libs/irif/inc/irif.h amd/device-libs/ockl/inc/amd_hsa_common.h amd/device-libs/ockl/inc/amd_hsa_elf.h amd/device-libs/ockl/inc/amd_hsa_kernel_code.h amd/device-libs/ockl/inc/amd_hsa_queue.h amd/device-libs/ockl/inc/amd_hsa_signal.h amd/device-libs/ockl/inc/device_amd_hsa.h amd/device-libs/ockl/inc/hsa.h amd/device-libs/ockl/inc/ockl.h amd/device-libs/ockl/inc/ockl_hsa.h amd/device-libs/ockl/inc/wgscratch.h amd/device-libs/ockl/src/base-image-intrinsics.ll amd/device-libs/ockl/src/buffer-intrinsics.ll amd/device-libs/ockl/src/extended-image-intrinsics.ll amd/device-libs/ockl/src/wgscratch.ll amd/device-libs/oclc/inc/oclc.h amd/device-libs/ocml/inc/ocml.h amd/device-libs/ocml/src/besselD_table.h amd/device-libs/ocml/src/besselF_table.h amd/device-libs/ocml/src/builtins.h amd/device-libs/ocml/src/ep.h amd/device-libs/ocml/src/expD_base.h amd/device-libs/ocml/src/expF_base.h amd/device-libs/ocml/src/logD_base.h amd/device-libs/ocml/src/mathD.h amd/device-libs/ocml/src/mathF.h amd/device-libs/ocml/src/mathH.h amd/device-libs/ocml/src/opts.h amd/device-libs/ocml/src/powD_base.h amd/device-libs/ocml/src/powF_base.h amd/device-libs/ocml/src/powH_base.h amd/device-libs/ocml/src/privD.h amd/device-libs/ocml/src/privF.h amd/device-libs/ocml/src/privH.h amd/device-libs/ocml/src/remainderD_base.h amd/device-libs/ocml/src/remainderF_base.h amd/device-libs/ocml/src/remainderH_base.h amd/device-libs/ocml/src/tables.h amd/device-libs/ocml/src/trigpiredD.h amd/device-libs/ocml/src/trigpiredF.h amd/device-libs/ocml/src/trigpiredH.h amd/device-libs/ocml/src/trigredD.h amd/device-libs/ocml/src/trigredF.h amd/device-libs/ocml/src/trigredH.h amd/device-libs/opencl/src/devenq/devenq.h amd/device-libs/opencl/src/integer/int.h amd/device-libs/opencl/src/pipes/pipes.h amd/device-libs/utils/prepare-builtins/prepare-builtins.cpp amd/hipcc/src/filesystem.h amd/hipcc/src/hipBin.h amd/hipcc/src/hipBin_amd.h amd/hipcc/src/hipBin_base.h amd/hipcc/src/hipBin_nvidia.h amd/hipcc/src/hipBin_util.h amd/hipcc/src/hipcc.cpp amd/hipcc/src/hipconfig.cpp amd/hipcc/src/utils.cpp amd/hipcc/src/utils.h clang/lib/CodeGen/CGEmitEmissaryExec.cpp clang/lib/Driver/ToolChains/OpaqueOffloadLinker.cpp clang/lib/Headers/omp_libmextras.h clang/lib/Headers/openmp_wrappers/hip/hip_runtime.h clang/test/CodeGen/amdgpu-builtin-is-invocable.c clang/test/CodeGen/amdgpu-builtin-processor-is.c clang/test/CodeGen/amdgpu-feature-builtins-invalid-use.cpp clang/test/CodeGen/asan_globals_symbols.cpp clang/test/CodeGen/asan_globals_symbols_ir_attribute.cpp clang/test/CodeGen/debug-info-block-expr-heterogeneous-dwarf.c clang/test/CodeGen/debug-info-global-constant-heterogeneous-dwarf.c clang/test/CodeGenCXX/heterogeneous-debug-info-structured-binding-bitfield.cpp clang/test/CodeGenCXX/heterogeneous-debug-info-structured-binding.cpp clang/test/Driver/A+A.c clang/test/Driver/amdgcn-openmp-toolchain-dwarf.c clang/test/Driver/amdgcn-toolchain-openmp-duplicate-arguments.c clang/test/Driver/amdgpu-openmp-O0.c clang/test/Driver/amdgpu-openmp-toolchain-new.c clang/test/Driver/amdllvm_error.c clang/test/Driver/amdllvm_link_version.c clang/test/Driver/amdllvm_version.c clang/test/Driver/android-no-installed-libcxx.cpp clang/test/Driver/clang-offload-wrapper.c clang/test/Driver/openmp-invalid-target-id.c clang/test/Driver/openmp-offload-fnoopenmp.c clang/test/Driver/openmp-offload-gpu-new.c clang/test/Driver/openmp-offload-multi-save-temps.c clang/test/Driver/openmp-offload-multi.c clang/test/Driver/openmp-runtimelib.c clang/test/Driver/openmp-target-fast-flag.c clang/test/Driver/openmp-target-id.c clang/test/OpenMP/allow-kernelc-io.c clang/test/OpenMP/amdgcn_fix_static_initializer_debug.cpp clang/test/OpenMP/amdgcn_target_codegen_globals.cpp clang/test/OpenMP/amdgcn_target_fast_fp_apu.cpp clang/test/OpenMP/amdgcn_target_printf_codegen.c clang/test/OpenMP/amdgcn_target_printf_conditional_codegen.c clang/test/OpenMP/amdgcn_target_printf_unknown_size_arguments.c clang/test/OpenMP/amdgcn_usm_atomics_hint.cpp clang/test/OpenMP/big_jump_loop_codegen.cpp clang/test/OpenMP/big_jump_loop_nonrect_collapse.cpp clang/test/OpenMP/big_jump_loop_split_codegen.cpp clang/test/OpenMP/fast_red_codegen.cpp clang/test/OpenMP/fast_red_host_codegen.cpp clang/test/OpenMP/multi_device_codegen.cpp clang/test/OpenMP/no_loop_codegen.cpp clang/test/OpenMP/no_loop_split_codegen.cpp clang/test/OpenMP/noloop_nonrect_collapse.cpp clang/test/OpenMP/nvptx_target_printf_codegen.c clang/test/OpenMP/target_teams_generic_loop_codegen-2.cpp clang/test/OpenMP/target_teams_loop_codegen_as_distribute.cpp clang/test/OpenMP/target_teams_loop_codegen_as_parallel_for.cpp clang/test/OpenMP/xteam_red_callee.cpp clang/test/OpenMP/xteam_red_callee_ptr.cpp clang/test/OpenMP/xteam_red_codegen.cpp clang/test/OpenMP/xteam_red_codegen_incr.cpp clang/test/OpenMP/xteam_red_debug_info.c clang/test/OpenMP/xteam_red_host_codegen.cpp clang/test/OpenMP/xteam_red_host_codegen_incr.cpp clang/test/OpenMP/xteam_red_min_max.cpp clang/test/OpenMP/xteam_red_min_max_fast_reduction.c clang/test/OpenMP/xteam_red_min_max_multi_device.c clang/test/OpenMP/xteam_red_min_max_small_precision.c clang/test/OpenMP/xteam_red_reference.cpp clang/test/OpenMP/xteam_red_small_precision.c clang/test/OpenMP/xteam_red_split_codegen.cpp clang/test/OpenMP/xteam_scan_codegen.cpp clang/test/OpenMP/xteam_scan_datatypes.cpp clang/test/OpenMP/xteam_scan_host_codegen.cpp clang/test/OpenMP/xteam_scan_messages.cpp clang/test/SemaCXX/amdgpu-wchar.cxx clang/tools/amdllvm/amdllvm.cpp clang/tools/clang-hip/clang-build-select-link/ClangBuildSelectLink.cpp clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp compiler-rt/lib/sanitizer_common/sanitizer_allocator_amdgpu.cpp compiler-rt/lib/sanitizer_common/sanitizer_allocator_amdgpu.h compiler-rt/lib/sanitizer_common/sanitizer_allocator_device.h compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_amdgpu.cpp compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_amdgpu.h compiler-rt/test/asan/TestCases/Linux/asan-nonself.cpp flang-rt/include/flang-rt/runtime/amd/umpire/config.hpp flang-rt/include/flang-rt/runtime/amd/umpire/interface/c_fortran/typesUmpire.h flang-rt/include/flang-rt/runtime/amd/umpire/interface/c_fortran/umpire-prep.h flang-rt/include/flang-rt/runtime/amd/umpire/interface/c_fortran/umpire.h flang-rt/include/flang-rt/runtime/amd/umpire/interface/c_fortran/wrapAllocator.h flang-rt/include/flang-rt/runtime/amd/umpire/interface/c_fortran/wrapResourceManager.h flang-rt/include/flang-rt/runtime/amd/umpire/interface/c_fortran/wrapUmpire.h flang-rt/lib/amd/amd_alloc.cpp flang/include/flang/Runtime/AMD/amd_alloc.h flang/lib/Optimizer/OpenMP/GlobalFiltering.cpp llvm/include/llvm/ADT/IntrusiveVariant.h llvm/include/llvm/ADT/VariantTraits.h llvm/lib/Target/AMDGPU/AMDGPUExpandFeaturePredicates.cpp llvm/lib/Target/AMDGPU/Disassembler/CodeObject.cpp llvm/lib/Target/AMDGPU/Disassembler/CodeObject.h llvm/test/Assembler/DIExpressionNew.ll llvm/test/Assembler/DIExpressionNewDebugRecords.ll llvm/test/Assembler/invalid-diarglist-outside-function.ll llvm/test/Bitcode/DIExpression-is-distinct-upgrade.ll llvm/test/Bitcode/DILocalVariable-address-space.ll llvm/test/Bitcode/DIPtrRef-address-space.ll llvm/test/Bitcode/bcanalyzer-metadata-diexpression.ll llvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-non-entry-func.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.ll llvm/test/CodeGen/AMDGPU/amdgpu-expand-feature-predicates-unfoldable.ll llvm/test/CodeGen/AMDGPU/amdgpu-expand-feature-predicates.ll llvm/test/CodeGen/AMDGPU/amdgpu-spill-cfi-saved-regs.ll llvm/test/CodeGen/AMDGPU/debug-frame.ll llvm/test/CodeGen/AMDGPU/debug-type-mutate.ll llvm/test/CodeGen/AMDGPU/fold-redundant-sgpr-vgpr-rw-across-bb.ll llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.load.b128.ll llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.store.b128.ll llvm/test/CodeGen/AMDGPU/need-fp-from-csr-vgpr-spill.ll llvm/test/CodeGen/AMDGPU/pei-cfi-saves-bug.ll llvm/test/CodeGen/AMDGPU/preload-implicit-kernargs-debug-info-multi-entry.ll llvm/test/CodeGen/AMDGPU/returnaddress_cfi.ll llvm/test/CodeGen/AMDGPU/uncalled-local-functions.ll llvm/test/CodeGen/AMDGPU/unsupported-global-load.ll llvm/test/CodeGen/AMDGPU/unsupported-global-store.ll llvm/test/CodeGen/AMDGPU/widen-vector-shift.ll llvm/test/DebugInfo/AMDGPU/dwarfdump-address-spaces.ll llvm/test/DebugInfo/AMDGPU/heterogeneous-dwarf-diop-diexpression-address-spaces.ll llvm/test/DebugInfo/AMDGPU/heterogeneous-dwarf-diop-diexpression-args.ll llvm/test/DebugInfo/AMDGPU/heterogeneous-dwarf-instruction-bundle.ll llvm/test/DebugInfo/AMDGPU/heterogeneous-dwarf-pointer-parameters-isel.ll llvm/test/DebugInfo/AMDGPU/lds-variable-location-info.ll llvm/test/DebugInfo/AMDGPU/reg-sequence-salvage.ll llvm/test/DebugInfo/heterogeneous-diop-in-diexpression-conversion.ll llvm/test/DebugInfo/heterogeneous-diop-in-diexpression.ll llvm/test/DebugInfo/verify-diop-based-diexpression.ll llvm/test/Transforms/InferAddressSpaces/AMDGPU/diop-diexpression.ll llvm/test/Transforms/InstCombine/heterogeneous-poison-dbg-rauw.ll llvm/test/Transforms/InstCombine/heterogeneous-poison-lower-dbg-declare.ll llvm/test/Transforms/LoopVectorize/AMDGPU/assert-vplan-cost-model.ll llvm/test/Transforms/OpenMP/attributor-DblComplex.ll llvm/test/Transforms/SLPVectorizer/AMDGPU/i8.ll llvm/test/Transforms/SROA/heterogeneous-poison.ll llvm/test/Verifier/amdgpu-intrinsics.ll llvm/test/Verifier/diderivedtype-memory-space-atomic-type.ll llvm/test/Verifier/diderivedtype-memory-space-const-type.ll llvm/test/Verifier/diderivedtype-memory-space-friend.ll llvm/test/Verifier/diderivedtype-memory-space-inheritance.ll llvm/test/Verifier/diderivedtype-memory-space-member.ll llvm/test/Verifier/diderivedtype-memory-space-ptr-to-member-type.ll llvm/test/Verifier/diderivedtype-memory-space-restrict-type.ll llvm/test/Verifier/diderivedtype-memory-space-rvalue-reference-type.ll llvm/test/Verifier/diderivedtype-memory-space-typedef.ll llvm/test/Verifier/diderivedtype-memory-space-volatile-type.ll llvm/test/Verifier/diglobal-memory-space-out-of-range.ll llvm/test/Verifier/dilocal-memory-space-out-of-range.ll llvm/unittests/rocm-gdb-symbols/AsmParserTest.cpp llvm/unittests/rocm-gdb-symbols/AsmWriterTest.cpp offload/include/DeviceEnvironment.h offload/include/OpenMP/OMPT/OmptCommonDefs.h offload/include/OpenMP/OMPT/OmptEventInfoTy.h offload/include/OpenMP/OMPT/OmptTracing.h offload/include/OpenMP/OMPT/OmptTracingBuffer.h offload/libomptarget/OpenMP/OMPT/OmptTracing.cpp offload/libomptarget/OpenMP/OMPT/OmptTracingBuffer.cpp offload/plugins-nextgen/amdgpu/utils/memtype.h offload/plugins-nextgen/common/OMPT/OmptDeviceTracing.h offload/plugins-nextgen/common/OMPT/OmptProfiler.cpp offload/plugins-nextgen/common/OMPT/OmptProfiler.h offload/plugins-nextgen/common/OMPT/OmptTracing.cpp offload/plugins-nextgen/common/include/Emissary.h offload/plugins-nextgen/common/include/GenericProfiler.h offload/plugins-nextgen/common/include/print_tracing.h offload/plugins-nextgen/common/src/Emissary.cpp offload/plugins-nextgen/common/src/EmissaryFortrt.cpp offload/plugins-nextgen/common/src/EmissaryPrint.cpp offload/plugins-nextgen/common/src/GenericProfiler.cpp offload/plugins-nextgen/common/src/trace.h offload/test/api/amd_assert.c offload/test/api/ompx_dump_mapping_tables.cpp offload/test/mapping/coarse_grain.cpp offload/test/multi_device/collapse-clause.cpp offload/test/multi_device/loop-with-fast-reduction.cpp offload/test/multi_device/loop-with-regular-reduction-and-privates.cpp offload/test/multi_device/loop-with-regular-reduction.cpp offload/test/multi_device/loop-with-xteam-reduction-and-privates.cpp offload/test/multi_device/mixed-multi-device.cpp offload/test/multi_device/nested-reductions.cpp offload/test/multi_device/no-copy-globals-no-force-usm.cpp offload/test/multi_device/no-copy-globals-target-fast-no-force-usm.cpp offload/test/multi_device/no-copy-globals-with-target-fast.cpp offload/test/multi_device/no-copy-globals.cpp offload/test/multi_device/non-unit-stride.cpp offload/test/multi_device/not-multi-device-small-tripcount.cpp offload/test/multi_device/not-multi-device.cpp offload/test/multi_device/simple-loop-big-jump.cpp offload/test/multi_device/simple-loop-no-loop.cpp offload/test/multi_device/small-trip-count-threshold-with-reduction-2.cpp offload/test/multi_device/small-trip-count-threshold-with-reduction-3.cpp offload/test/multi_device/small-trip-count-threshold-with-reduction.cpp offload/test/multi_device/small-trip-count-threshold.cpp offload/test/multi_device/small-trip-count.cpp offload/test/multi_device/static-chunk.cpp offload/test/multi_device/two-step-loop-big-jump.cpp offload/test/offloading/amd_default_thread_limit.c offload/test/offloading/amd_info.c offload/test/offloading/eager_maps_diag.cpp offload/test/offloading/xteam_red_1.c offload/test/offloading/xteam_red_2.c offload/test/offloading/xteam_red_blocksize_envar.c offload/test/offloading/xteam_red_callee.cpp offload/test/offloading/xteam_red_callee_ptr.cpp offload/test/offloading/xteam_red_default_option.c offload/test/offloading/xteam_red_incr.c offload/test/offloading/xteam_red_small_precision.c offload/test/offloading/xteam_scan_1.c offload/test/offloading/xteam_scan_2.c offload/test/offloading/xteam_scan_3.cpp offload/test/offloading/zero_copy_diag.cpp offload/test/unified_shared_memory/amd_close_enter_exit.c offload/test/xteamr/test_xteamr.cpp offload/test/xteamr/test_xteamr.h offload/test/xteams/test_xteams.cpp offload/test/xteams/test_xteams.h openmp/device/include/DevRTLExtras.h openmp/device/include/EmissaryIds.h openmp/device/include/EmissaryMPI.h openmp/device/include/Platform.h openmp/device/include/Xteamr.h openmp/device/include/Xteams.h openmp/device/include/extra_allocators.h openmp/device/src/EmissaryFortrt.cpp openmp/device/src/EmissaryPrint.cpp openmp/device/src/ExtraMapping.cpp openmp/device/src/LibM.cpp openmp/device/src/Memory.cpp openmp/device/src/Xteamr.cpp openmp/device/src/Xteams.cpp openmp/libompd/cuda_examples/test_target_generic.c openmp/libompd/cuda_examples/test_target_multilevel.c openmp/libompd/cuda_examples/test_target_noparallel.c openmp/libompd/cuda_examples/test_target_single.c openmp/libompd/cuda_examples/test_target_spmd.c openmp/libompd/cuda_examples/test_target_task.c openmp/libompd/gdb-plugin/DLSymService.cpp openmp/libompd/gdb-plugin/DLSymService.h openmp/libompd/gdb-plugin/test_callbacks.c openmp/libompd/src/Debug.cpp openmp/libompd/src/ompd_test.c openmp/libompd/src/ompd_test.h clang-tools-extra/clang-include-fixer/IncludeFixer.cpp clang/include/clang/AST/MangleNumberingContext.h clang/include/clang/Analysis/Analyses/UninitializedValues.h clang/include/clang/Basic/CodeGenOptions.h clang/include/clang/Basic/SyncScope.h clang/include/clang/Driver/Action.h clang/include/clang/Driver/CommonArgs.h clang/include/clang/Driver/Driver.h clang/include/clang/Driver/Job.h clang/include/clang/Driver/Phases.h clang/include/clang/Driver/ToolChain.h clang/include/clang/Driver/Types.h clang/include/clang/Frontend/ASTUnit.h clang/include/clang/Frontend/CompilerInstance.h clang/include/clang/Sema/SemaAMDGPU.h clang/include/clang/Serialization/ASTBitCodes.h clang/lib/AST/ASTContext.cpp clang/lib/AST/MicrosoftCXXABI.cpp clang/lib/AST/StmtOpenMP.cpp clang/lib/Analysis/UninitializedValues.cpp clang/lib/Basic/OpenMPKinds.cpp clang/lib/Basic/Targets/SPIR.cpp clang/lib/Basic/Targets/SPIR.h clang/lib/CodeGen/CGBuiltin.cpp clang/lib/CodeGen/CGCall.cpp clang/lib/CodeGen/CGClass.cpp clang/lib/CodeGen/CGDebugInfo.cpp clang/lib/CodeGen/CGDebugInfo.h clang/lib/CodeGen/CGDecl.cpp clang/lib/CodeGen/CGExpr.cpp clang/lib/CodeGen/CGExprScalar.cpp clang/lib/CodeGen/CGGPUBuiltin.cpp clang/lib/CodeGen/CGOpenMPRuntime.cpp clang/lib/CodeGen/CGOpenMPRuntime.h clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp clang/lib/CodeGen/CGOpenMPRuntimeGPU.h clang/lib/CodeGen/CGStmt.cpp clang/lib/CodeGen/CGStmtOpenMP.cpp clang/lib/CodeGen/CodeGenAction.cpp clang/lib/CodeGen/CodeGenFunction.h clang/lib/CodeGen/CodeGenModule.cpp clang/lib/CodeGen/CodeGenModule.h clang/lib/CodeGen/CodeGenTypes.cpp clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp clang/lib/Driver/Action.cpp clang/lib/Driver/Compilation.cpp clang/lib/Driver/Driver.cpp clang/lib/Driver/Job.cpp clang/lib/Driver/Phases.cpp clang/lib/Driver/ToolChain.cpp clang/lib/Driver/ToolChains/AIX.cpp clang/lib/Driver/ToolChains/AMDGPU.cpp clang/lib/Driver/ToolChains/AMDGPU.h clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp clang/lib/Driver/ToolChains/AMDGPUOpenMP.h clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Driver/ToolChains/Clang.h clang/lib/Driver/ToolChains/CommonArgs.cpp clang/lib/Driver/ToolChains/Cuda.cpp clang/lib/Driver/ToolChains/Cuda.h clang/lib/Driver/ToolChains/Flang.cpp clang/lib/Driver/ToolChains/Gnu.cpp clang/lib/Driver/ToolChains/HIPAMD.cpp clang/lib/Driver/ToolChains/HIPAMD.h clang/lib/Driver/ToolChains/HIPSPV.cpp clang/lib/Driver/ToolChains/Linux.cpp clang/lib/Driver/ToolChains/Linux.h clang/lib/Driver/ToolChains/MSVC.cpp clang/lib/Driver/ToolChains/MinGW.cpp clang/lib/Driver/ToolChains/SPIRV.cpp clang/lib/Frontend/ASTUnit.cpp clang/lib/Frontend/CompilerInstance.cpp clang/lib/Frontend/CompilerInvocation.cpp clang/lib/Frontend/FrontendAction.cpp clang/lib/Frontend/PrecompiledPreamble.cpp clang/lib/Headers/__clang_cuda_cmath.h clang/lib/Headers/__clang_cuda_complex_builtins.h clang/lib/Headers/__clang_cuda_math.h clang/lib/Headers/__clang_hip_cmath.h clang/lib/Headers/__clang_hip_math.h clang/lib/Headers/avx512fp16intrin.h clang/lib/Headers/llvm_libc_wrappers/string.h clang/lib/Headers/llvm_libc_wrappers/time.h clang/lib/Headers/opencl-c.h clang/lib/Headers/openmp_wrappers/math.h clang/lib/Lex/PPMacroExpansion.cpp clang/lib/Sema/AnalysisBasedWarnings.cpp clang/lib/Sema/JumpDiagnostics.cpp clang/lib/Sema/Sema.cpp clang/lib/Sema/SemaAMDGPU.cpp clang/lib/Sema/SemaCast.cpp clang/lib/Sema/SemaChecking.cpp clang/lib/Sema/SemaDecl.cpp clang/lib/Sema/SemaExpr.cpp clang/lib/Sema/SemaInit.cpp clang/lib/Sema/SemaLambda.cpp clang/lib/Sema/SemaOpenMP.cpp clang/lib/Sema/SemaOverload.cpp clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp clang/lib/Tooling/Tooling.cpp clang/test/AST/ast-dump-openmp-begin-declare-variant_10.c clang/test/AST/ast-dump-openmp-begin-declare-variant_11.c clang/test/AST/ast-dump-openmp-begin-declare-variant_12.c clang/test/AST/ast-dump-openmp-begin-declare-variant_2.c clang/test/AST/ast-dump-openmp-begin-declare-variant_3.c clang/test/AST/ast-dump-openmp-begin-declare-variant_5.c clang/test/AST/ast-dump-openmp-begin-declare-variant_8.c clang/test/AST/ast-dump-openmp-begin-declare-variant_9.c clang/test/AST/ast-dump-openmp-begin-declare-variant_addr_1.c clang/test/AST/ast-dump-openmp-begin-declare-variant_decl_1.c clang/test/AST/ast-dump-openmp-begin-declare-variant_namespace_1.cpp clang/test/AST/ast-dump-openmp-begin-declare-variant_nested.c clang/test/AST/ast-dump-openmp-begin-declare-variant_reference.cpp clang/test/AST/ast-dump-openmp-begin-declare-variant_template_1.cpp clang/test/AST/ast-dump-openmp-declare-variant-extensions.c clang/test/AST/ast-print-openacc-cache-construct.cpp clang/test/AST/ast-print-openacc-declare-construct.cpp clang/test/AST/ast-print-openacc-routine-construct.cpp clang/test/Analysis/MismatchedDeallocator-path-notes.cpp clang/test/Analysis/llvm-conventions.cpp clang/test/Analysis/malloc-plist.c clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.general/p8.cpp clang/test/CXX/expr/expr.const/p2-0x.cpp clang/test/CXX/temp/temp.spec/temp.expl.spec/p12.cpp clang/test/ClangScanDeps/multiple-commands.c clang/test/CodeGen/AArch64/soft-float-abi.c clang/test/CodeGen/AArch64/sve2p1-intrinsics/acle_sve2p1_qrshr.c clang/test/CodeGen/SystemZ/builtins-systemz-zvector-constrained.c clang/test/CodeGen/SystemZ/builtins-systemz-zvector.c clang/test/CodeGen/SystemZ/builtins-systemz-zvector2-constrained.c clang/test/CodeGen/SystemZ/builtins-systemz-zvector2.c clang/test/CodeGen/amdgpu-variadic-call.c clang/test/CodeGen/embed-bitcode-marker-with-nonzero-as.c clang/test/CodeGen/fp-floatcontrol-pragma.cpp clang/test/CodeGen/paren-list-agg-init.cpp clang/test/CodeGen/scoped-fence-ops.c clang/test/CodeGen/target-builtin-noerror.c clang/test/CodeGenCXX/bitfield-access-empty.cpp clang/test/CodeGenHipStdPar/select-accelerator-code-pass-ordering.cpp clang/test/DebugInfo/KeyInstructions/for.c clang/test/DebugInfo/KeyInstructions/init-member-memcopyable-2.cpp clang/test/DebugInfo/KeyInstructions/init-member-memcopyable.cpp clang/test/DebugInfo/KeyInstructions/return-va-arg.c clang/test/Driver/DTLTO/dtlto.c clang/test/Driver/android-installed-libcxx.cpp clang/test/Driver/android-unversioned-fallback-warning.cpp clang/test/Driver/cl-x86-flags.c clang/test/Driver/clang_f_opts.c clang/test/Driver/femit-dwarf-unwind.c clang/test/Driver/linux-header-search.cpp clang/test/Driver/ohos.c clang/test/Driver/openmp-offload-gpu.c clang/test/Driver/openmp-offload-infer.c clang/test/Driver/openmp-offload.c clang/test/Driver/openmp-system-arch.c clang/test/Driver/pic.c clang/test/Driver/ppc-cpus.c clang/test/Driver/sanitizer-ld.c clang/test/Driver/ve-toolchain.cpp clang/test/Frontend/optimization-remark-with-hotness-new-pm.c clang/test/Frontend/sarif-diagnostics.cpp clang/test/Headers/Inputs/include/stdlib.h clang/test/Headers/__cpuidex_conflict.c clang/test/Headers/amdgcn_openmp_device_math_constexpr.cpp clang/test/Headers/wasm.c clang/test/Misc/warning-flags.c clang/test/Misc/warning-wall.c clang/test/OpenMP/Inputs/nesting_of_regions.cpp clang/test/OpenMP/amdgcn-attributes.cpp clang/test/OpenMP/amdgcn_sret_ctor.cpp clang/test/OpenMP/amdgcn_target_device_vla.cpp clang/test/OpenMP/amdgpu_target_with_aligned_attribute.c clang/test/OpenMP/begin_declare_variant_messages.c clang/test/OpenMP/begin_declare_variant_using_messages.cpp clang/test/OpenMP/bug57757.cpp clang/test/OpenMP/declare_target_constexpr_codegen.cpp clang/test/OpenMP/declare_variant_ast_print.c clang/test/OpenMP/declare_variant_ast_print.cpp clang/test/OpenMP/declare_variant_implementation_vendor_codegen.cpp clang/test/OpenMP/declare_variant_messages.c clang/test/OpenMP/declare_variant_messages.cpp clang/test/OpenMP/declare_variant_mixed_codegen.cpp clang/test/OpenMP/distribute_parallel_for_reduction_codegen.cpp clang/test/OpenMP/irbuilder_nested_parallel_for.c clang/test/OpenMP/metadirective_ast_print.c clang/test/OpenMP/metadirective_device_arch_codegen.cpp clang/test/OpenMP/metadirective_empty.cpp clang/test/OpenMP/metadirective_implementation_codegen.c clang/test/OpenMP/metadirective_implementation_codegen.cpp clang/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cpp clang/test/OpenMP/ompx_attributes_codegen.cpp clang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c clang/test/OpenMP/remarks_parallel_in_target_state_machine.c clang/test/OpenMP/target_data_map_codegen_hold.cpp clang/test/OpenMP/target_num_teams_num_threads_attributes.cpp clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp clang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp clang/test/OpenMP/target_teams_generic_loop_codegen_as_parallel_for.cpp clang/test/OpenMP/target_teams_generic_loop_reduction_codegen.cpp clang/test/OpenMP/taskloop_strictmodifier_codegen.cpp clang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp clang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp clang/test/OpenMP/teams_generic_loop_codegen-1.cpp clang/test/OpenMP/teams_generic_loop_codegen.cpp clang/test/OpenMP/teams_generic_loop_collapse_codegen.cpp clang/test/OpenMP/teams_generic_loop_private_codegen.cpp clang/test/OpenMP/teams_generic_loop_reduction_codegen.cpp clang/test/OpenMP/thread_limit_amdgpu.c clang/test/OpenMP/thread_limit_nvptx.c clang/test/Sema/ms_predefined_expr.cpp clang/test/SemaCXX/uninitialized.cpp clang/test/SemaCXX/warn-implicit-unicode-conversions.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-addressof-arraysubscript.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-deref-simple-ptr-arith.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-local-var-span.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-deref.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-multi-decl-fixits-test.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-multi-decl-uuc-fixits.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-multi-decl-warnings.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-no-fixits.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma-fixit.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage-pragma.cpp clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp clang/test/SemaCXX/warn-unused-result.cpp clang/tools/clang-installapi/ClangInstallAPI.cpp clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp clang/tools/driver/driver.cpp clang/unittests/Interpreter/InterpreterExtensionsTest.cpp clang/unittests/Tooling/DependencyScanning/DependencyScannerTest.cpp clang/unittests/Tooling/Syntax/TokensTest.cpp clang/unittests/Tooling/Syntax/TreeTestBase.cpp compiler-rt/lib/asan/asan_allocator.cpp compiler-rt/lib/asan/asan_allocator.h compiler-rt/lib/asan/asan_descriptions.cpp compiler-rt/lib/asan/asan_descriptions.h compiler-rt/lib/asan/asan_errors.cpp compiler-rt/lib/asan/asan_errors.h compiler-rt/lib/asan/asan_globals.cpp compiler-rt/lib/asan/asan_interceptors.cpp compiler-rt/lib/asan/asan_interface.inc compiler-rt/lib/asan/asan_report.cpp compiler-rt/lib/asan/asan_report.h compiler-rt/lib/asan/asan_rtl.cpp compiler-rt/lib/builtins/eprintf.c compiler-rt/lib/profile/InstrProfiling.c compiler-rt/lib/sanitizer_common/sanitizer_allocator.h compiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h compiler-rt/lib/sanitizer_common/sanitizer_asm.h compiler-rt/lib/sanitizer_common/sanitizer_common.h compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp flang-rt/include/flang-rt/runtime/descriptor.h flang-rt/include/flang-rt/runtime/terminator.h flang-rt/include/flang-rt/runtime/work-queue.h flang-rt/lib/runtime/assign.cpp flang-rt/lib/runtime/copy.cpp flang-rt/lib/runtime/descriptor.cpp flang-rt/lib/runtime/io-api-minimal.cpp flang-rt/lib/runtime/io-api.cpp flang-rt/lib/runtime/io-stmt.cpp flang-rt/lib/runtime/main.cpp flang-rt/lib/runtime/stop.cpp flang-rt/lib/runtime/temporary-stack.cpp flang-rt/lib/runtime/terminator.cpp flang-rt/lib/runtime/unit.h flang/include/flang/Common/float128.h flang/include/flang/Lower/DirectivesCommon.h flang/include/flang/Lower/Support/ReductionProcessor.h flang/include/flang/Optimizer/Builder/Runtime/Main.h flang/include/flang/Optimizer/OpenMP/Passes.h flang/include/flang/Optimizer/Passes/Pipelines.h flang/include/flang/Optimizer/Transforms/Passes.h flang/include/flang/Optimizer/Transforms/Utils.h flang/include/flang/Runtime/freestanding-tools.h flang/include/flang/Runtime/main.h flang/include/flang/Runtime/stop.h flang/include/flang/Support/Fortran-features.h flang/include/flang/Support/OpenMP-utils.h flang/include/flang/Tools/CrossToolHelpers.h flang/lib/Frontend/CompilerInvocation.cpp flang/lib/Frontend/FrontendActions.cpp flang/lib/Lower/Allocatable.cpp flang/lib/Lower/OpenMP/ClauseProcessor.cpp flang/lib/Lower/OpenMP/ClauseProcessor.h flang/lib/Lower/OpenMP/DataSharingProcessor.cpp flang/lib/Lower/OpenMP/DataSharingProcessor.h flang/lib/Lower/OpenMP/Decomposer.cpp flang/lib/Lower/OpenMP/OpenMP.cpp flang/lib/Lower/OpenMP/Utils.cpp flang/lib/Lower/Support/PrivateReductionUtils.cpp flang/lib/Lower/Support/Utils.cpp flang/lib/Optimizer/Builder/FIRBuilder.cpp flang/lib/Optimizer/Builder/Runtime/Main.cpp flang/lib/Optimizer/OpenMP/FunctionFiltering.cpp flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp flang/lib/Optimizer/Passes/Pipelines.cpp flang/lib/Semantics/check-omp-structure.cpp flang/lib/Semantics/resolve-directives.cpp flang/lib/Support/Fortran-features.cpp flang/lib/Utils/OpenMP.cpp flang/tools/bbc/bbc.cpp libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.volatile.pass.cpp lld/Common/Args.cpp lld/ELF/Driver.cpp lld/ELF/LTO.cpp lld/test/COFF/lto-cache-errors.ll lld/test/COFF/thinlto-emit-imports.ll lld/test/ELF/lto/devirt_validate_vtable_typeinfos.ll lld/test/ELF/lto/devirt_vcall_vis_export_dynamic.ll lld/test/ELF/lto/resolution-err.ll lld/test/ELF/lto/thinlto-cant-write-index.ll lld/test/ELF/lto/thinlto-emit-imports.ll lld/test/MachO/thinlto-emit-imports.ll lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c llvm/include/llvm-c/DebugInfo.h llvm/include/llvm/ADT/Hashing.h llvm/include/llvm/ADT/STLExtras.h llvm/include/llvm/ADT/STLForwardCompat.h llvm/include/llvm/Analysis/TargetLibraryInfo.h llvm/include/llvm/AsmParser/LLParser.h llvm/include/llvm/AsmParser/LLToken.h llvm/include/llvm/BinaryFormat/Dwarf.h llvm/include/llvm/Bitcode/LLVMBitCodes.h llvm/include/llvm/CodeGen/AsmPrinter.h llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h llvm/include/llvm/CodeGen/MachineFunction.h llvm/include/llvm/CodeGen/TargetFrameLowering.h llvm/include/llvm/CodeGen/TargetRegisterInfo.h llvm/include/llvm/DWARFLinker/Utils.h llvm/include/llvm/DebugInfo/DIContext.h llvm/include/llvm/Frontend/OpenMP/OMPConstants.h llvm/include/llvm/Frontend/OpenMP/OMPDeviceConstants.h llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h llvm/include/llvm/IR/Attributes.h llvm/include/llvm/IR/DIBuilder.h llvm/include/llvm/IR/DebugInfoMetadata.h llvm/include/llvm/IR/GlobalVariable.h llvm/include/llvm/IR/InstVisitor.h llvm/include/llvm/IR/Metadata.h llvm/include/llvm/LTO/Config.h llvm/include/llvm/MC/MCAsmInfo.h llvm/include/llvm/MC/MCDwarf.h llvm/include/llvm/MC/MCStreamer.h llvm/include/llvm/Object/OffloadBinary.h llvm/include/llvm/Pass.h llvm/include/llvm/Support/CodeGen.h llvm/include/llvm/Support/TypeName.h llvm/include/llvm/Target/TargetMachine.h llvm/include/llvm/Transforms/Utils/Local.h llvm/lib/Analysis/CtxProfAnalysis.cpp llvm/lib/Analysis/InlineAdvisor.cpp llvm/lib/Analysis/LoopUnrollAnalyzer.cpp llvm/lib/Analysis/ObjCARCInstKind.cpp llvm/lib/AsmParser/LLLexer.cpp llvm/lib/AsmParser/LLParser.cpp llvm/lib/BinaryFormat/Dwarf.cpp llvm/lib/BinaryFormat/Magic.cpp llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp llvm/lib/Bitcode/Reader/BitcodeReader.cpp llvm/lib/Bitcode/Reader/MetadataLoader.cpp llvm/lib/Bitcode/Writer/BitcodeWriter.cpp llvm/lib/Bitcode/Writer/ValueEnumerator.cpp llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h llvm/lib/CodeGen/CFIInstrInserter.cpp llvm/lib/CodeGen/CodeGenPrepare.cpp llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp llvm/lib/CodeGen/IntrinsicLowering.cpp llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h llvm/lib/CodeGen/LiveDebugValues/LiveDebugValues.cpp llvm/lib/CodeGen/MIRParser/MILexer.cpp llvm/lib/CodeGen/MIRParser/MILexer.h llvm/lib/CodeGen/MIRParser/MIParser.cpp llvm/lib/CodeGen/MachineFunction.cpp llvm/lib/CodeGen/MachineInstr.cpp llvm/lib/CodeGen/MachineOperand.cpp llvm/lib/CodeGen/PrologEpilogInserter.cpp llvm/lib/CodeGen/RegAllocFast.cpp llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp llvm/lib/DWARFCFIChecker/DWARFCFIState.cpp llvm/lib/DebugInfo/DWARF/DWARFDie.cpp llvm/lib/DebugInfo/DWARF/DWARFExpressionPrinter.cpp llvm/lib/Frontend/OpenMP/OMPContext.cpp llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp llvm/lib/IR/AsmWriter.cpp llvm/lib/IR/Attributes.cpp llvm/lib/IR/AutoUpgrade.cpp llvm/lib/IR/DIBuilder.cpp llvm/lib/IR/DIExpressionOptimizer.cpp llvm/lib/IR/DebugInfo.cpp llvm/lib/IR/DebugInfoMetadata.cpp llvm/lib/IR/DebugProgramInstruction.cpp llvm/lib/IR/IntrinsicInst.cpp llvm/lib/IR/LLVMContextImpl.cpp llvm/lib/IR/LLVMContextImpl.h llvm/lib/IR/Metadata.cpp llvm/lib/IR/Pass.cpp llvm/lib/IR/Type.cpp llvm/lib/IR/TypeFinder.cpp llvm/lib/IR/Verifier.cpp llvm/lib/LTO/LTOBackend.cpp llvm/lib/MC/MCAsmStreamer.cpp llvm/lib/MC/MCDwarf.cpp llvm/lib/MC/MCParser/AsmParser.cpp llvm/lib/MC/MCParser/MasmParser.cpp llvm/lib/MC/MCStreamer.cpp llvm/lib/Object/ObjectFile.cpp llvm/lib/Object/OffloadBinary.cpp llvm/lib/Object/OffloadBundle.cpp llvm/lib/Passes/PassBuilderPipelines.cpp llvm/lib/Support/Caching.cpp llvm/lib/Support/CommandLine.cpp llvm/lib/Support/DynamicLibrary.cpp llvm/lib/Support/Windows/DynamicLibrary.inc llvm/lib/Support/Windows/Path.inc llvm/lib/Target/AMDGPU/AMDGPU.h llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp llvm/lib/Target/AMDGPU/AMDGPUFrameLowering.cpp llvm/lib/Target/AMDGPU/AMDGPUFrameLowering.h llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp llvm/lib/Target/AMDGPU/AMDGPUReserveWWMRegs.cpp llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp llvm/lib/Target/AMDGPU/SIFoldOperands.cpp llvm/lib/Target/AMDGPU/SIFrameLowering.cpp llvm/lib/Target/AMDGPU/SIFrameLowering.h llvm/lib/Target/AMDGPU/SIISelLowering.cpp llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp llvm/lib/Target/AMDGPU/SIInstrInfo.cpp llvm/lib/Target/AMDGPU/SIInstrInfo.h llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp llvm/lib/Target/AMDGPU/SIRegisterInfo.h llvm/lib/TargetParser/Host.cpp llvm/lib/Transforms/Coroutines/CoroFrame.cpp llvm/lib/Transforms/IPO/AttributorAttributes.cpp llvm/lib/Transforms/IPO/IROutliner.cpp llvm/lib/Transforms/IPO/Internalize.cpp llvm/lib/Transforms/IPO/OpenMPOpt.cpp llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp llvm/lib/Transforms/Scalar/SROA.cpp llvm/lib/Transforms/Utils/CodeExtractor.cpp llvm/lib/Transforms/Utils/Debugify.cpp llvm/lib/Transforms/Utils/Local.cpp llvm/test/Analysis/CtxProfAnalysis/full-cycle.ll llvm/test/Assembler/2002-08-15-ConstantExprProblem.ll llvm/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll llvm/test/Assembler/2002-08-16-ConstExprInlined.ll llvm/test/Assembler/2003-05-15-AssemblerProblem.ll llvm/test/Assembler/2003-08-21-ConstantExprCast-Fold.ll llvm/test/Assembler/2007-09-10-AliasFwdRef.ll llvm/test/Assembler/ConstantExprFold.ll llvm/test/Assembler/ConstantExprFoldCast.ll llvm/test/Assembler/ConstantExprNoFold.ll llvm/test/Assembler/MultipleReturnValueType.ll llvm/test/Assembler/addrspacecast-alias.ll llvm/test/Assembler/aggregate-constant-values.ll llvm/test/Assembler/align-param-attr-format.ll llvm/test/Assembler/atomic.ll llvm/test/Assembler/attribute-builtin.ll llvm/test/Assembler/auto_upgrade_intrinsics.ll llvm/test/Assembler/autoupgrade-thread-pointer.ll llvm/test/Assembler/byval-type-attr.ll llvm/test/Assembler/call-nonzero-program-addrspace-2.ll llvm/test/Assembler/call-nonzero-program-addrspace.ll llvm/test/Assembler/debug-info.ll llvm/test/Assembler/fast-math-flags.ll llvm/test/Assembler/flags.ll llvm/test/Assembler/getelementptr.ll llvm/test/Assembler/getelementptr_vec_ce.ll llvm/test/Assembler/global-addrspace-forwardref.ll llvm/test/Assembler/globalvariable-attributes.ll llvm/test/Assembler/huge-array.ll llvm/test/Assembler/ifunc-asm.ll llvm/test/Assembler/ifunc-dsolocal.ll llvm/test/Assembler/invoke-nonzero-program-addrspace.ll llvm/test/Assembler/local-unnamed-addr.ll llvm/test/Assembler/metadata-function-local.ll llvm/test/Assembler/musttail.ll llvm/test/Assembler/sret-type-attr.ll llvm/test/Assembler/unnamed-alias.ll llvm/test/Assembler/x86_intrcc.ll llvm/test/Bindings/llvm-c/debug_info_new_format.ll llvm/test/BugPoint/attr-crash.ll llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-extract-used-by-dbg.ll llvm/test/CodeGen/AArch64/dwarf-eh-prepare-dbg.ll llvm/test/CodeGen/AMDGPU/GlobalISel/assert-align.ll llvm/test/CodeGen/AMDGPU/GlobalISel/call-outgoing-stack-args.ll llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-uniform.ll llvm/test/CodeGen/AMDGPU/GlobalISel/localizer.ll llvm/test/CodeGen/AMDGPU/GlobalISel/memory-legalizer-atomic-fence.ll llvm/test/CodeGen/AMDGPU/GlobalISel/mul-known-bits.i64.ll llvm/test/CodeGen/AMDGPU/GlobalISel/non-entry-alloca.ll llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll llvm/test/CodeGen/AMDGPU/a-v-flat-atomicrmw.ll llvm/test/CodeGen/AMDGPU/a-v-global-atomicrmw.ll llvm/test/CodeGen/AMDGPU/abi-attribute-hints-undefined-behavior.ll llvm/test/CodeGen/AMDGPU/addrspacecast-known-non-null.ll llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll llvm/test/CodeGen/AMDGPU/amdgcn-call-whole-wave.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.256bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.320bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.576bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.640bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.704bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.768bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.832bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll llvm/test/CodeGen/AMDGPU/amdgpu-attributor-min-agpr-alloc.ll llvm/test/CodeGen/AMDGPU/amdgpu-cs-chain-cc.ll llvm/test/CodeGen/AMDGPU/amdgpu-cs-chain-preserve-cc.ll llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-pow-codegen.ll llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit-undefined-behavior2.ll llvm/test/CodeGen/AMDGPU/attributor-flatscratchinit.ll llvm/test/CodeGen/AMDGPU/bf16.ll llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll llvm/test/CodeGen/AMDGPU/branch-relax-spill.ll llvm/test/CodeGen/AMDGPU/call-args-inreg.ll llvm/test/CodeGen/AMDGPU/call-argument-types.ll llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll llvm/test/CodeGen/AMDGPU/call-preserved-registers.ll llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs-packed.ll llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll llvm/test/CodeGen/AMDGPU/carryout-selection.ll llvm/test/CodeGen/AMDGPU/cross-block-use-is-not-abi-copy.ll llvm/test/CodeGen/AMDGPU/dbg-info-inline-at.ll llvm/test/CodeGen/AMDGPU/debug-value.ll llvm/test/CodeGen/AMDGPU/debug-value2.ll llvm/test/CodeGen/AMDGPU/dwarf-multi-register-use-crash.ll llvm/test/CodeGen/AMDGPU/dynamic-vgpr-reserve-stack-for-cwsr.ll llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll llvm/test/CodeGen/AMDGPU/fix-frame-reg-in-custom-csr-spills.ll llvm/test/CodeGen/AMDGPU/flat-scratch-init.ll llvm/test/CodeGen/AMDGPU/frame-setup-without-sgpr-to-vgpr-spills.ll llvm/test/CodeGen/AMDGPU/function-args-inreg.ll llvm/test/CodeGen/AMDGPU/gfx-call-non-gfx-func.ll llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll llvm/test/CodeGen/AMDGPU/gfx-callable-preserved-registers.ll llvm/test/CodeGen/AMDGPU/gfx-callable-return-types.ll llvm/test/CodeGen/AMDGPU/global-alias.ll llvm/test/CodeGen/AMDGPU/hsa-metadata-dynlds-func-hidden-args-v5.ll llvm/test/CodeGen/AMDGPU/hsa-metadata-dynlds-funcarg-hidden-args-v5.ll llvm/test/CodeGen/AMDGPU/hsa-metadata-dynlds-kernarg-hidden-args-v5.ll llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args-v5.ll llvm/test/CodeGen/AMDGPU/identical-subrange-spill-infloop.ll llvm/test/CodeGen/AMDGPU/indirect-call.ll llvm/test/CodeGen/AMDGPU/insert-delay-alu-bug.ll llvm/test/CodeGen/AMDGPU/insert-waitcnts-crash.ll llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll llvm/test/CodeGen/AMDGPU/llvm.dbg.value.ll llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.f16.ll llvm/test/CodeGen/AMDGPU/llvm.maximum.f64.ll llvm/test/CodeGen/AMDGPU/llvm.minimum.f64.ll llvm/test/CodeGen/AMDGPU/local-stack-alloc-block-sp-reference.ll llvm/test/CodeGen/AMDGPU/lower-module-lds-via-table.ll llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.gfx10.ll llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll llvm/test/CodeGen/AMDGPU/memintrinsic-unroll.ll llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll llvm/test/CodeGen/AMDGPU/module-lds-false-sharing.ll llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll llvm/test/CodeGen/AMDGPU/need-fp-from-vgpr-spills.ll llvm/test/CodeGen/AMDGPU/nested-calls.ll llvm/test/CodeGen/AMDGPU/no-source-locations-in-prologue.ll llvm/test/CodeGen/AMDGPU/non-entry-alloca.ll llvm/test/CodeGen/AMDGPU/partial-regcopy-and-spill-missed-at-regalloc.ll llvm/test/CodeGen/AMDGPU/post-ra-soft-clause-dbg-info.ll llvm/test/CodeGen/AMDGPU/preserve-wwm-copy-dst-reg.ll llvm/test/CodeGen/AMDGPU/print-pipeline-passes.ll llvm/test/CodeGen/AMDGPU/prologue-epilogue-markers.ll llvm/test/CodeGen/AMDGPU/promote-alloca-budget-exhausted.ll llvm/test/CodeGen/AMDGPU/ptr-arg-dbg-value.ll llvm/test/CodeGen/AMDGPU/remove-no-kernel-id-attribute.ll llvm/test/CodeGen/AMDGPU/s-getpc-b64-remat.ll llvm/test/CodeGen/AMDGPU/scalar-float-sop2.ll llvm/test/CodeGen/AMDGPU/schedule-amdgpu-tracker-physreg.ll llvm/test/CodeGen/AMDGPU/sgpr-spills-split-regalloc.ll llvm/test/CodeGen/AMDGPU/shufflevector.v2i64.v8i64.ll llvm/test/CodeGen/AMDGPU/si-optimize-vgpr-live-range-dbg-instr.ll llvm/test/CodeGen/AMDGPU/sibling-call.ll llvm/test/CodeGen/AMDGPU/simple-indirect-call-2.ll llvm/test/CodeGen/AMDGPU/smed3.ll llvm/test/CodeGen/AMDGPU/spill-vgpr-block.ll llvm/test/CodeGen/AMDGPU/spill_more_than_wavesize_csr_sgprs.ll llvm/test/CodeGen/AMDGPU/split-arg-dbg-value.ll llvm/test/CodeGen/AMDGPU/stack-realign.ll llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll llvm/test/CodeGen/AMDGPU/strictfp_f16_abi_promote.ll llvm/test/CodeGen/AMDGPU/swdev504645-global-fold.ll llvm/test/CodeGen/AMDGPU/tail-call-inreg-arguments.error.ll llvm/test/CodeGen/AMDGPU/transform-block-with-return-to-epilog.ll llvm/test/CodeGen/AMDGPU/tuple-allocation-failure.ll llvm/test/CodeGen/AMDGPU/umed3.ll llvm/test/CodeGen/AMDGPU/unfold-masked-merge-scalar-variablemask.ll llvm/test/CodeGen/AMDGPU/unspill-vgpr-after-rewrite-vgpr-mfma.ll llvm/test/CodeGen/AMDGPU/unstructured-cfg-def-use-issue.ll llvm/test/CodeGen/AMDGPU/vgpr-tuple-allocation.ll llvm/test/CodeGen/AMDGPU/vni8-live-reg-opt.ll llvm/test/CodeGen/AMDGPU/wave32.ll llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll llvm/test/CodeGen/AMDGPU/whole-wave-register-copy.ll llvm/test/CodeGen/AMDGPU/whole-wave-register-spill.ll llvm/test/CodeGen/AMDGPU/wwm-reserved-spill.ll llvm/test/CodeGen/BPF/BTF/ptr-named.ll llvm/test/CodeGen/Generic/machine-function-splitter.ll llvm/test/CodeGen/MLRegAlloc/interactive-mode.ll llvm/test/CodeGen/PowerPC/aix-filename-c.ll llvm/test/CodeGen/PowerPC/aix-func-dsc-gen.ll llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll llvm/test/CodeGen/PowerPC/git_revision.ll llvm/test/CodeGen/PowerPC/regalloc-fast-debug-spill.ll llvm/test/CodeGen/SPIRV/debug-info/debug-type-pointer.ll llvm/test/CodeGen/X86/fake-use-vector.ll llvm/test/DebugInfo/AMDGPU/cfi.ll llvm/test/DebugInfo/AMDGPU/debug-loc-copy.ll llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll llvm/test/DebugInfo/COFF/global_rust.ll llvm/test/DebugInfo/Generic/address_space_rvalue.ll llvm/test/DebugInfo/Generic/assignment-tracking/parse-and-verify/distinct.ll llvm/test/DebugInfo/Generic/structor-declaration-linkage-names.ll llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll llvm/test/DebugInfo/NVPTX/debug-info.ll llvm/test/DebugInfo/X86/dbg-rust-valid-enum-as-scope.ll llvm/test/DebugInfo/X86/dynamic-bitfield.ll llvm/test/DebugInfo/X86/stack_adjustments_trigger_cfa_frame_base.ll llvm/test/Feature/alias2.ll llvm/test/Feature/comdat.ll llvm/test/Feature/md_on_instruction.ll llvm/test/Feature/prefixdata.ll llvm/test/Feature/prologuedata.ll llvm/test/Feature/strip_names.ll llvm/test/Feature/undefined.ll llvm/test/Instrumentation/AddressSanitizer/debug-info-global-var.ll llvm/test/Instrumentation/HWAddressSanitizer/use-after-scope.ll llvm/test/Linker/DbgDeclare.ll llvm/test/Linker/blockaddress.ll llvm/test/Linker/intrinsics-with-unnamed-types.ll llvm/test/Linker/type-unique-src-type.ll llvm/test/MC/ELF/data-section-prefix.ll llvm/test/Other/new-pm-defaults.ll llvm/test/Other/new-pm-print-pipeline.ll llvm/test/Other/new-pm-thinlto-postlink-defaults.ll llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll llvm/test/Other/new-pm-thinlto-prelink-defaults.ll llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll llvm/test/Other/pipeline-alias-errors.ll llvm/test/ThinLTO/AArch64/cgdata-two-rounds-caching.ll llvm/test/ThinLTO/X86/alias_import.ll llvm/test/ThinLTO/X86/alias_resolution.ll llvm/test/ThinLTO/X86/devirt_promote_legacy.ll llvm/test/ThinLTO/X86/funcimport.ll llvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll llvm/test/Transforms/Attributor/callgraph.ll llvm/test/Transforms/Attributor/reduced/clear_cached_analysis_for_deleted_functions.ll llvm/test/Transforms/Attributor/value-simplify.ll llvm/test/Transforms/CanonicalizeAliases/canonicalize.ll llvm/test/Transforms/EarlyCSE/PowerPC/read-reg.ll llvm/test/Transforms/FunctionImport/cg_profile.ll llvm/test/Transforms/FunctionImport/inlineasm.ll llvm/test/Transforms/FunctionImport/noinline.ll llvm/test/Transforms/GlobalOpt/deadglobal-diarglist-use.ll llvm/test/Transforms/IndVarSimplify/deterministic-sign.ll llvm/test/Transforms/Inline/always-inline-phase-ordering.ll llvm/test/Transforms/InstCombine/cast-mul-select.ll llvm/test/Transforms/InstCombine/debuginfo-variables.ll llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll llvm/test/Transforms/LoopUnroll/full-unroll-invariant.ll llvm/test/Transforms/LoopUnroll/loop-branch-folding.ll llvm/test/Transforms/OpenMP/always_inline_device.ll llvm/test/Transforms/OpenMP/custom_state_machines.ll llvm/test/Transforms/OpenMP/custom_state_machines_remarks.ll llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll llvm/test/Transforms/OpenMP/remove_globalization.ll llvm/test/Transforms/OpenMP/spmdization.ll llvm/test/Transforms/OpenMP/spmdization_constant_prop.ll llvm/test/Transforms/OpenMP/spmdization_guarding.ll llvm/test/Transforms/OpenMP/spmdization_indirect.ll llvm/test/Transforms/OpenMP/spmdization_kernel_env_dep.ll llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll llvm/test/Transforms/OpenMP/spmdization_remarks.ll llvm/test/Transforms/PhaseOrdering/ARM/arm_mult_q15.ll llvm/test/Transforms/PhaseOrdering/always-inline-alloca-promotion.ll llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat-inseltpoison.ll llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat.ll llvm/test/Transforms/SLPVectorizer/AMDGPU/phi-result-use-order.ll llvm/test/Transforms/SLPVectorizer/AMDGPU/reduction.ll llvm/test/Transforms/ThinLTOBitcodeWriter/cfi-icall-static-inline-asm.ll llvm/test/Transforms/ThinLTOBitcodeWriter/filter-alias.ll llvm/test/Transforms/ThinLTOBitcodeWriter/split-dsolocal.ll llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll llvm/test/Transforms/ThinLTOBitcodeWriter/split-used.ll llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc.ll llvm/test/Transforms/VectorCombine/RISCV/vpintrin-scalarization.ll llvm/test/Verifier/diderivedtype-address-space-atomic-type.ll llvm/test/Verifier/diderivedtype-address-space-const-type.ll llvm/test/Verifier/diderivedtype-address-space-friend.ll llvm/test/Verifier/diderivedtype-address-space-inheritance.ll llvm/test/Verifier/diderivedtype-address-space-member.ll llvm/test/Verifier/diderivedtype-address-space-ptr-to-member-type.ll llvm/test/Verifier/diderivedtype-address-space-restrict-type.ll llvm/test/Verifier/diderivedtype-address-space-rvalue-reference-type.ll llvm/test/Verifier/diderivedtype-address-space-typedef.ll llvm/test/Verifier/diderivedtype-address-space-volatile-type.ll llvm/test/tools/llvm-reduce/operands-skip.ll llvm/test/tools/llvm-split/scc-const-alias.ll llvm/test/tools/llvm-split/scc-global2global.ll llvm/tools/llvm-c-test/debuginfo.c llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp llvm/tools/llvm-objdump/OffloadDump.cpp llvm/tools/llvm-objdump/llvm-objdump.cpp llvm/tools/llvm-offload-binary/llvm-offload-binary.cpp llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp llvm/unittests/Frontend/OpenMPContextTest.cpp llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp llvm/unittests/IR/DebugInfoTest.cpp llvm/unittests/IR/MetadataTest.cpp llvm/unittests/IR/PatternMatch.cpp llvm/unittests/Object/OffloadingBundleTest.cpp llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.cpp llvm/utils/TableGen/Common/GlobalISel/GlobalISelMatchTable.h mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h mlir/lib/AsmParser/Parser.cpp mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp mlir/lib/Dialect/Affine/Transforms/SuperVectorize.cpp mlir/lib/Dialect/Arith/IR/ArithOps.cpp mlir/lib/Dialect/ArmNeon/Transforms/LowerContractToNeonPatterns.cpp mlir/lib/Dialect/ArmSVE/Transforms/LowerContractToSVEPatterns.cpp mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp mlir/lib/Dialect/Linalg/Transforms/HoistPadding.cpp mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp mlir/lib/Dialect/Ptr/IR/PtrDialect.cpp mlir/lib/Dialect/SCF/IR/SCF.cpp mlir/lib/Dialect/SCF/Transforms/ParallelLoopTiling.cpp mlir/lib/Dialect/Shard/Transforms/Partition.cpp mlir/lib/Dialect/Shard/Transforms/ShardingPropagation.cpp mlir/lib/Dialect/SparseTensor/Transforms/SparseBufferRewriting.cpp mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp mlir/lib/Dialect/Vector/IR/VectorOps.cpp mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp mlir/lib/IR/MLIRContext.cpp mlir/lib/Target/Cpp/TranslateToCpp.cpp mlir/lib/Target/LLVMIR/DebugTranslation.cpp mlir/lib/Target/LLVMIR/Dialect/OpenACC/OpenACCToLLVMIRTranslation.cpp mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp mlir/test/Target/LLVMIR/Import/debug-info.ll mlir/test/lib/Dialect/Test/TestPatterns.cpp offload/include/OpenMP/Mapping.h offload/include/OpenMP/OMPT/Callback.h offload/include/OpenMP/OMPT/Connector.h offload/include/OpenMP/OMPT/Interface.h offload/include/PluginManager.h offload/include/Shared/APITypes.h offload/include/Shared/Debug.h offload/include/Shared/RPCOpcodes.h offload/include/Shared/Requirements.h offload/include/device.h offload/include/omptarget.h offload/libomptarget/LegacyAPI.cpp offload/libomptarget/OpenMP/API.cpp offload/libomptarget/OpenMP/Mapping.cpp offload/libomptarget/OpenMP/OMPT/Callback.cpp offload/libomptarget/PluginManager.cpp offload/libomptarget/device.cpp offload/libomptarget/interface.cpp offload/libomptarget/omptarget.cpp offload/libomptarget/private.h offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.cpp offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h offload/plugins-nextgen/amdgpu/src/rtl.cpp offload/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h offload/plugins-nextgen/common/include/GlobalHandler.h offload/plugins-nextgen/common/include/PluginInterface.h offload/plugins-nextgen/common/src/PluginInterface.cpp offload/plugins-nextgen/common/src/RPC.cpp offload/plugins-nextgen/common/src/Utils/ELF.cpp offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h offload/plugins-nextgen/cuda/src/rtl.cpp offload/plugins-nextgen/host/src/rtl.cpp offload/test/jit/empty_kernel_lvl1.c offload/test/jit/empty_kernel_lvl2.c offload/test/jit/type_punning.c offload/test/mapping/lambda_mapping.cpp offload/test/mapping/ptr_and_obj_motion.c offload/test/mapping/reduction_implicit_map.cpp offload/test/offloading/bug49021.cpp offload/test/offloading/bug50022.cpp offload/test/offloading/bug51781.c offload/test/offloading/d2d_memcpy.c offload/test/offloading/default_thread_limit.c offload/test/offloading/dynamic_module_load.c offload/test/offloading/info.c offload/test/offloading/parallel_offloading_map.cpp offload/test/offloading/small_trip_count.c offload/test/offloading/small_trip_count_thread_limit.cpp offload/test/offloading/static_linking.c offload/test/offloading/struct_mapping_with_pointers.cpp offload/test/offloading/thread_limit.c offload/test/sanitizer/kernel_crash_async.c offload/test/sanitizer/use_after_free_2.c offload/test/sanitizer/use_after_free_3.c offload/test/unified_shared_memory/api.c offload/tools/deviceinfo/llvm-offload-device-info.cpp openmp/device/include/DeviceTypes.h openmp/device/include/Interface.h openmp/device/include/State.h openmp/device/include/Synchronization.h openmp/device/src/DeviceUtils.cpp openmp/device/src/Kernel.cpp openmp/device/src/Mapping.cpp openmp/device/src/Misc.cpp openmp/device/src/Reduction.cpp openmp/device/src/State.cpp openmp/device/src/Synchronization.cpp openmp/device/src/Tasking.cpp openmp/device/src/Workshare.cpp openmp/libompd/gdb-plugin/ompdAPITests.c openmp/libompd/gdb-plugin/ompdModule.c openmp/libompd/src/omp-debug.h openmp/libompd/test/ompt_plugin.h openmp/libompd/test/openmp_examples/example_1.c openmp/libompd/test/openmp_examples/example_2.c openmp/libompd/test/openmp_examples/example_3.c openmp/libompd/test/openmp_examples/example_4.c openmp/libompd/test/openmp_examples/example_5.c openmp/libompd/test/openmp_examples/example_task.c openmp/libompd/test/openmp_examples/fibonacci.c openmp/libompd/test/openmp_examples/nested.c openmp/libompd/test/openmp_examples/parallel.c openmp/runtime/src/kmp.h openmp/runtime/src/kmp_alloc.cpp openmp/runtime/src/kmp_ftn_entry.h openmp/runtime/src/kmp_ftn_os.h openmp/runtime/src/kmp_global.cpp openmp/runtime/src/kmp_runtime.cpp openmp/runtime/src/kmp_settings.cpp openmp/runtime/src/kmp_stub.cpp openmp/runtime/src/kmp_taskdeps.cpp openmp/runtime/src/kmp_taskdeps.h openmp/runtime/src/ompt-general.cpp openmp/runtime/src/ompt-internal.h openmp/runtime/src/ompt-specific.cpp openmp/runtime/src/ompt-specific.h openmp/runtime/test/affinity/kmp-affinity.c openmp/runtime/test/affinity/kmp-hw-subset.c openmp/runtime/test/affinity/omp-places.c openmp/runtime/test/lock/omp_init_lock.c openmp/runtime/test/tasking/bug_taskwait_detach.cpp openmp/runtime/test/tasking/hidden_helper_task/gtid.cpp openmp/runtime/test/worksharing/for/kmp_sch_simd_guided.c openmp/tools/archer/tests/barrier/barrier.c openmp/tools/archer/tests/critical/critical.c openmp/tools/archer/tests/critical/lock-nested.c openmp/tools/archer/tests/critical/lock.c openmp/tools/archer/tests/parallel/parallel-firstprivate.c openmp/tools/archer/tests/parallel/parallel-nosuppression.c openmp/tools/archer/tests/parallel/parallel-simple.c openmp/tools/archer/tests/parallel/parallel-simple2.c openmp/tools/archer/tests/races/critical-unrelated.c openmp/tools/archer/tests/races/lock-nested-unrelated.c openmp/tools/archer/tests/races/lock-unrelated.c openmp/tools/archer/tests/races/parallel-simple.c openmp/tools/archer/tests/races/task-dependency.c openmp/tools/archer/tests/races/task-taskgroup-unrelated.c openmp/tools/archer/tests/races/task-taskwait-nested.c openmp/tools/archer/tests/races/task-two.c openmp/tools/archer/tests/reduction/parallel-reduction-nowait.c openmp/tools/archer/tests/reduction/parallel-reduction.c openmp/tools/archer/tests/task/task-barrier.c openmp/tools/archer/tests/task/task-create.c openmp/tools/archer/tests/task/task-dependency.c openmp/tools/archer/tests/task/task-taskgroup-nested.c openmp/tools/archer/tests/task/task-taskgroup.c openmp/tools/archer/tests/task/task-taskwait-nested.c openmp/tools/archer/tests/task/task-taskwait.c openmp/tools/archer/tests/task/task_early_fulfill.c openmp/tools/archer/tests/task/task_late_fulfill.c openmp/tools/archer/tests/worksharing/ordered.c utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h flang/include/flang/Lower/OpenMP/Utils.h

The following files introduce new uses of undef:

  • clang/lib/CodeGen/CGDecl.cpp
  • llvm/test/Assembler/DIExpressionNew.ll
  • llvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-non-entry-func.ll
  • llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.s.buffer.load.ll
  • llvm/test/CodeGen/AMDGPU/dwarf-multi-register-use-crash.ll
  • llvm/test/CodeGen/AMDGPU/pei-cfi-saves-bug.ll
  • llvm/test/DebugInfo/AMDGPU/lds-variable-location-info.ll
  • llvm/test/DebugInfo/verify-diop-based-diexpression.ll
  • llvm/test/Transforms/OpenMP/attributor-DblComplex.ll
  • llvm/test/Transforms/OpenMP/custom_state_machines.ll
  • llvm/test/Transforms/SLPVectorizer/AMDGPU/add_sub_sat.ll
  • llvm/test/Transforms/SLPVectorizer/AMDGPU/phi-result-use-order.ll

Undef is now deprecated and should only be used in the rare cases where no replacement is possible. For example, a load of uninitialized memory yields undef. You should use poison values for placeholders instead.

In tests, avoid using undef and having tests that trigger undefined behavior. If you need an operand with some unimportant value, you can add a new argument to the function and use that instead.

For example, this is considered a bad practice:

define void @fn() {
  ...
  br i1 undef, ...
}

Please use the following instead:

define void @fn(i1 %cond) {
  ...
  br i1 %cond, ...
}

Please refer to the Undefined Behavior Manual for more information.

@ranapratap55 ranapratap55 deleted the amd/merge/upstream_merge_20251023010806 branch October 23, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.