file_text stringlengths 1 2.1M ⌀ | language stringclasses 416
values | file_name stringlengths 1 185 ⌀ |
|---|---|---|
apiVersion: v1
kind: Service
metadata:
name: worker-lb
namespace: chroma
spec:
ports:
- name: worker-port
port: 50052
targetPort: 50051
selector:
app: worker
type: LoadBalancer
| YAML | worker_service.yaml |
- k8sOperation: create
unstructuredObj:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
annotations:
another-example: another-test
labels:
example: test
name: hello-world-202306221736
namespace: default
ownerReferences:
- apiVersion: argoproj... | YAML | workflow-without-label.yaml |
- k8sOperation: create
unstructuredObj:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
annotations:
another-example: another-test
labels:
workflows.argoproj.io/cron-workflow: hello-world
workflows.argoproj.io/controller-instanceid: test-instance
examp... | YAML | workflow.yaml |
name: C++ masters course pre-commit and post-push
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Install google test and boost, also install g++-12 (for atomic shared point... | YAML | workflow.yml |
- k8sOperation: create
unstructuredObj:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
labels:
workflows.argoproj.io/workflow-template: workflow-template-submittable
name: workflow-template-submittable-202306221735
namespace: default
ownerReferences:
- ap... | YAML | workflow_1.yaml |
name: Tests
on:
schedule:
- cron: "0 5 * * 0"
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Install
run: make instal... | YAML | workflow_1.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
my_workflow:
type: state_machine
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTestC... | YAML | workflow_not_valid.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
article:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTestCase
... | YAML | workflow_with_guard_expression.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
article:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTestCase
... | YAML | workflow_with_multiple_transitions_with_same_name.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
my_workflow:
type: state_machine
initial_marking: one
events_to_dispatch: []
marking_store:
type: met... | YAML | workflow_with_no_events_to_dispatch.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
my_workflow:
type: state_machine
initial_marking: one
events_to_dispatch: ['workflow.leave', 'workflow.completed']
ma... | YAML | workflow_with_specified_events_to_dispatch.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
my_workflow:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTestCase
... | YAML | workflow_with_support_and_support_strategy.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
my_workflow:
type: workflow
places:
- first
- last
transitions:
go:
... | YAML | workflow_without_support_and_support_strategy.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
article:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTestCase
... | YAML | workflows.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows: ~
| YAML | workflows_enabled.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
enabled: true
workflows:
foo:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests... | YAML | workflows_explicitly_enabled.yml |
framework:
annotations: false
http_method_override: false
handle_all_throwables: true
php_errors:
log: true
workflows:
enabled: true
workflows:
type: workflow
supports:
- Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\Framewor... | YAML | workflows_explicitly_enabled_named_workflows.yml |
name: Github workflows linter
on:
pull_request:
paths:
- ".github/workflows"
jobs:
lint-workflows:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install actionlint
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
... | YAML | workflows_linting.yml |
apiVersion: argoproj.io/v1alpha1
kind: WorkflowTemplate
metadata:
labels:
app.kubernetes.io/instance: test
name: workflow-template-submittable
namespace: default
spec:
arguments:
parameters:
- name: message
value: hello world
entrypoint: whalesay-template
templates:
- container:
... | YAML | workflowtemplate.yaml |
parameters:
archType: ''
buildConfig: ''
container: ''
dependsOn: []
isOfficialBuild: false
osGroup: ''
osSubgroup: ''
platform: ''
pool: ''
runtimeVariant: ''
testGroup: ''
timeoutInMinutes: ''
variables: {}
jobs:
- template: /eng/pipelines/common/templates/runtimes/xplat-job.yml
parameter... | YAML | workloads-build.yml |
apiVersion: "cilium.io/v2"
kind: CiliumNetworkPolicy
metadata:
name: "from-world-to-role-public"
spec:
endpointSelector:
matchLabels:
role: public
ingress:
- fromEntities:
- world
| YAML | world.yaml |
apiVersion: v1
kind: PersistentVolume
metadata:
name: mysql-pv
labels:
type: local
spec:
storageClassName: local-storage
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/home/my-msql-data"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: mysql-pv-claim
s... | YAML | worldpress.yaml |
apache_modules:
- mod_rewrite
| YAML | wp-cli.yml |
# RUN: llc -march=amdgcn -mcpu=fiji -verify-machineinstrs -run-pass si-wqm -o - %s | FileCheck %s
---
# Check for awareness that s_or_saveexec_b64 clobbers SCC
#
#CHECK: ENTER_STRICT_WWM
#CHECK: S_CMP_LT_I32
#CHECK: S_CSELECT_B32
name: test_strict_wwm_scc
alignment: 1
exposesReturnsTwice: false
legal... | YAML | wqm.mir |
---
name: wrappy
version: 1.0.2
type: npm
summary: Callback wrapping utility
homepage: https://github.com/npm/wrappy
license: isc
licenses:
- sources: LICENSE
text: |
The ISC License
Copyright (c) Isaac Z. Schlueter and Contributors
Permission to use, copy, modify, and/or distribute this software for an... | YAML | wrappy.dep.yml |
# RUN: ld64.lld.darwinold -arch x86_64 %s %p/Inputs/write-final-sections.yaml \
# RUN: -o %t -e _foo
# RUN: llvm-readobj --sections --section-data %t | FileCheck %s
--- !native
defined-atoms:
# For __TEXT, __text (with typeCode)
- name: _foo
scope: global
content: [ 55 ]
# CHECK:... | YAML | write-final-sections.yaml |
--- !mach-o
arch: x86_64
file-type: MH_DYLIB
flags: [ ]
install-name: /usr/lib/libSystem.B.dylib
sections:
- segment: __TEXT
section: __text
type: S_REGULAR
attributes: [ S_ATTR_PURE_INSTRUCTIONS, S_ATTR_SOME_INSTRUCTIONS ]
address: ... | YAML | write-final-sections_1.yaml |
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: writer-role
rules:
- apiGroups:
- ""
- apps
- rbac.authorization.k8s.io
- extensions
resources:
- clusterroles
- clusterrolebindings
- configmaps
- secrets
- pods
- services
- deployments
- daemonsets
- persiste... | YAML | writer-role.yaml |
# RUN: not ld64.lld.darwinold -arch x86_64 -r %s \
# RUN: %p/Inputs/wrong-arch-error.yaml 2> %t.err
# RUN: FileCheck %s < %t.err
--- !mach-o
arch: x86_64
file-type: MH_OBJECT
flags: [ ]
has-UUID: false
OS: unknown
sections:
- segment: __TEXT
section: ... | YAML | wrong-arch-error.yaml |
# RUN: not ld64.lld.darwinold -arch x86_64 -r %s 2> %t.err
# RUN: FileCheck %s < %t.err
--- !mach-o
arch: x86
file-type: MH_OBJECT
flags: [ MH_SUBSECTIONS_VIA_SYMBOLS ]
has-UUID: false
OS: unknown
sections:
- segment: __TEXT
section: __text
type:... | YAML | wrong-arch-error_1.yaml |
# RUN: llc -start-before=prologepilog -filetype=obj -o %t %s
# RUN: llvm-dwarfdump --name=obj1 %t | FileCheck %s --check-prefix=CHECKDWARF1
# RUN: llvm-dwarfdump --name=obj2 %t | FileCheck %s --check-prefix=CHECKDWARF2
# RUN: llvm-objdump -d %t | FileCheck %s --check-prefix=CHECKASM
#
# Test that the location for obj1 ... | YAML | wrong-callee-save-size-after-livedebugvariables.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=thumbv8.1m.main -mattr=+mve -run-pass=arm-low-overhead-loops %s -o - --verify-machineinstrs | FileCheck %s
--- |
define dso_local arm_aapcs_vfpcc signext i16 @wrong_liveout_shift(i8* nocapture readonly %b, i8* nocapture... | YAML | wrong-liveout-lsr-shift.mir |
# NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
# RUN: llc -mtriple=riscv32 -mattr=+m,+experimental-v -o - %s \
# RUN: -start-before=prologepilog | FileCheck %s
#
# This test checks that we are assigning the right stack slot to GPRs and to
# vector registers (VRs). If this test changes,... | YAML | wrong-stack-slot-rv32.mir |
# NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
# RUN: llc -mtriple=riscv64 -mattr=+m,+experimental-v -o - %s \
# RUN: -start-before=prologepilog | FileCheck %s
#
# This test checks that we are assigning the right stack slot to GPRs and to
# vector registers (VRs). If this test changes,... | YAML | wrong-stack-slot-rv64.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=thumbv8.1m.main -mattr=+mve -run-pass=arm-low-overhead-loops %s -o - | FileCheck %s
# I think this should be equivalent, but the calculation in the middle block
# is too complex to process for now.
--- |
define dso_loc... | YAML | wrong-vctp-opcode-liveout.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=thumbv8.1m.main -mattr=+mve -run-pass=arm-low-overhead-loops %s -o - | FileCheck %s
# The VCTP uses r2, which is redefined in the loop.
--- |
define dso_local i32 @wrong_vctp_liveout(i16* nocapture readonly %a, i16* no... | YAML | wrong-vctp-operand-liveout.mir |
dataset:
name: super_glue.wsc
path: # dataset in huggingface doesn't need path
plm:
model_name: t5
model_path: t5-large
optimize:
freeze_para: True
lr: 1.0e-5
weight_decay: 0.0
scheduler:
type:
num_warmup_steps: 500
dataloader:
max_seq_length: 256 # max_seq_length
decoder_... | YAML | wsc_t5_large_softprompt.yaml |
wsjcpp_version: "v0.1.1"
cmake_minimum_required: "3.0"
cmake_cxx_standard: "11"
name: "nlohmann/json"
version: "v3.10.5"
description: "JSON for Modern C++"
issues: "https://github.com/nlohmann/json/issues"
keywords:
- "c++"
- "json"
repositories:
- type: main
url: "https://github.com/nlohmann/json"
authors:... | YAML | wsjcpp.yml |
wsjcpp_version: "v0.1.1"
cmake_minimum_required: "3.0"
cmake_cxx_standard: "11"
name: "nlohmann/json"
version: "v3.10.5"
description: "JSON for Modern C++"
issues: "https://github.com/nlohmann/json/issues"
keywords:
- "c++"
- "json"
repositories:
- type: main
url: "https://github.com/nlohmann/json"
authors:... | YAML | wsjcpp_1.yml |
wsjcpp_version: "v0.1.1"
cmake_minimum_required: "3.0"
cmake_cxx_standard: "11"
name: "nlohmann/json"
version: "v3.10.5"
description: "JSON for Modern C++"
issues: "https://github.com/nlohmann/json/issues"
keywords:
- "c++"
- "json"
repositories:
- type: main
url: "https://github.com/nlohmann/json"
authors:... | YAML | wsjcpp_2.yml |
- name: kubernetes.wss_bytes
rules:
- record: container_memory:kmem
expr: |
container_memory_usage_bytes
-
(
container_memory_swap
+
container_memory_rss
+
container_memory_cache
)
- record: container_memory_working_set_bytes:without_kmem
exp... | YAML | wss.yaml |
# The frequency to save trained models when training.
save_step: 10000
# The frequency to fetch and print output when training.
print_step: 100
# Path of the checkpoint, to resume the previous training
init_from_checkpoint: ""
# Path of the pretrain model, to better solve the current task
init_from_pretrain_model: ""
#... | YAML | wt103.yaml |
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: www-artist
description: Artist main website
spec:
type: website
lifecycle: production
owner: team-a
system: artist-engagement-portal
consumesApis: ['component:artist-lookup']
| YAML | www-artist-component.yaml |
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: "http://devicetree.org/schemas/mfd/x-powers,ac100.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: X-Powers AC100
maintainers:
- Chen-Yu Tsai <wens@csie.org>
properties:
compatible:
const: x-powers,ac100
reg:
maxItems: 1
co... | YAML | x-powers,ac100.yaml |
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: X-Powers AXP PMIC
maintainers:
- Chen-Yu Tsai <wens@csie.org>
allOf:
- if:
properties:
compatible:
contains:
... | YAML | x-powers,axp152.yaml |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: X-Powers AXP ADC
maintainers:
- Chen-Yu Tsai <wens@csie.org>
description: |
ADC is frequently used as a provider to... | YAML | x-powers,axp209-adc.yaml |
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: "http://devicetree.org/schemas/gpio/x-powers,axp209-gpio.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
title: X-Powers AXP209 GPIO
maintainers:
- Chen-Yu Tsai <wens@csie.org>
properties:
"#gpio-cells":
const: 2
description: >
T... | YAML | x-powers,axp209-gpio.yaml |
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-ac-power-supply.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: AXP20x AC power-supply
description: |
The AXP20X can read the current current and voltage supplied by AC by
reading A... | YAML | x-powers,axp20x-ac-power-supply.yaml |
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-battery-power-supply.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: AXP20x Battery power-supply
description: |
The supported devices can read the battery voltage, charge and discharg... | YAML | x-powers,axp20x-battery-power-supply.yaml |
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/supply/x-powers,axp20x-usb-power-supply.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: AXP20x USB power-supply
description: |
The AXP223 PMIC shares most of its behaviour with the AXP221 but has slight
v... | YAML | x-powers,axp20x-usb-power-supply.yaml |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnux32 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK
--- |
define i32* @allocai32() {
%ptr1 = alloca i32
ret i32* %ptr1
}
...
---
name: ... | YAML | x32-select-frameIndex.mir |
model:
base_learning_rate: 1.0e-04
target: ldm.models.diffusion.ddpm.LatentUpscaleDiffusion
params:
parameterization: "v"
low_scale_key: "lr"
linear_start: 0.0001
linear_end: 0.02
num_timesteps_cond: 1
log_every_t: 200
timesteps: 1000
first_stage_key: "jpg"
cond_stage_key: "txt... | YAML | x4-upscaling.yaml |
!COFF
header: !Header
Machine: IMAGE_FILE_MACHINE_AMD64 # (0x8664)
sections:
- !Section
Name: .text
Alignment: 16
Characteristics: [IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ, ] # 0x60500020
SectionData: !hex "4883EC28C744242400000000488D0D00000000E800000000E8000000008B442424488... | YAML | x86-64.yaml |
# RUN: llc %s -o - -experimental-debug-variable-locations -run-pass=peephole-opt | FileCheck %s
#
# X86 initially produces subtract operations to perform comparisons, and then
# downgrades them into cmp instructions if nothing uses the result. It does this
# by calling setDesc on the instruction, mutating it from one s... | YAML | x86-drop-compare-inst.mir |
# RUN: llc -mtriple=x86_64-unknown-linux-gnu -run-pass x86-fixup-bw-insts %s -o - -experimental-debug-variable-locations | FileCheck %s
#
# This test is a copy of llvm/test/CodeGen/X86/fixup-bw-inst.mir, with a few
# test bodies removed. The pass promotes certain register operations to be
# wider operations (such as l... | YAML | x86-fixup-bw-inst-subreb.mir |
# RUN: llc %s -run-pass=x86-codegen -o - -experimental-debug-variable-locations | FileCheck %s
#
# The x87 FP instructions below have debug instr numbers attached -- but the
# operands get rewritten when it's converted to stack-form. Rather than trying
# to recover from this, drop any instruction numbers.
#
# CHECK-NOT... | YAML | x86-fp-stackifier-drop-locations.mir |
# RUN: llc -run-pass x86-fixup-LEAs -mtriple=i386 -verify-machineinstrs -mcpu=corei7-avx -o - %s | FileCheck %s
#
# Test that several LEA => ADD transforms get substitutions applied to them,
# for corner cases that we can only hit with -mtriple=i386.
---
name: test2add_32
# CHECK: name: test2add_32
alignment... | YAML | x86-lea-fixup-2.mir |
# RUN: llc -run-pass x86-fixup-LEAs -mtriple=x86_64-gnu-unknown -verify-machineinstrs -mcpu=corei7-avx -o - %s | FileCheck %s --check-prefix=COREI7
# RUN: llc -run-pass x86-fixup-LEAs -mtriple=x86_64-gnu-unknown -verify-machineinstrs -mcpu=haswell -o - %s | FileCheck %s --check-prefix=HASWELL
# RUN: llc -run-pass x86-f... | YAML | x86-lea-fixup.mir |
# RUN: llc -mtriple=i386-linux-gnu -run-pass=legalizer %s -o - | FileCheck %s
--- |
@g_int = global i32 0, align 4
define i32* @test_global_ptrv() {
entry:
ret i32* @g_int
}
...
---
name: test_global_ptrv
# CHECK-LABEL: name: test_global_ptrv
alignment: 16
legalized: false
regBan... | YAML | x86-legalize-GV.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i32* @inttoptr_p0_s32(i32 %val) {
entry:
%0 = inttoptr i32 %val to i32*
ret i32* %0
}
...
---
name: i... | YAML | x86-legalize-inttoptr.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @ptrtoint_s1_p0(i64* %p) {
entry:
%0 = ptrtoint i64* %p to i1
ret i1 %0
}
define i8 @ptrtoint_s8_p0(i64* %p... | YAML | x86-legalize-ptrtoint.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'sdiv.ll'
source_filename = "sdiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define i8 @test... | YAML | x86-legalize-sdiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'srem.ll'
source_filename = "srem.ll"
target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
target tr... | YAML | x86-legalize-srem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'udiv.ll'
source_filename = "udiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define i8 @test... | YAML | x86-legalize-udiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i686-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'urem.ll'
source_filename = "urem.ll"
target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
target tr... | YAML | x86-legalize-urem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK
--- |
define i32* @allocai32() {
%ptr1 = alloca i32
ret i32* %ptr1
}
...
---
name: ... | YAML | x86-select-frameIndex.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i32* @inttoptr_p0_s32(i32 %val) {
entry:
%0 = inttoptr i32 %val to i32*
ret i32* %0
}
...
---
name: ... | YAML | x86-select-inttoptr.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @ptrtoint_s1_p0(i64* %p) {
entry:
%0 = ptrtoint i64* %p to i1
ret i1 %0
}
define i8 @ptrtoint_s8_p... | YAML | x86-select-ptrtoint.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'sdiv.ll'
source_filename = "sdiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define... | YAML | x86-select-sdiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'srem.ll'
source_filename = "srem.ll"
target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
... | YAML | x86-select-srem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
declare void @llvm.trap() #0
define i32 @trap() #0 {
tail call void @llvm.trap()
unreachable
}
attributes #0... | YAML | x86-select-trap.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'udiv.ll'
source_filename = "udiv.ll"
target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
... | YAML | x86-select-udiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=i386-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'urem.ll'
source_filename = "urem.ll"
target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
... | YAML | x86-select-urem.mir |
--- !COFF
OptionalHeader:
AddressOfEntryPoint: 4144
ImageBase: 1073741824
SectionAlignment: 4096
FileAlignment: 512
MajorOperatingSystemVersion: 6
MinorOperatingSystemVersion: 0
MajorImageVersion: 0
MinorImageVersion: 0
MajorSubsystemVersion: 6
MinorSubsystemVersion: 0
Subsystem: I... | YAML | x86_64-exe.yaml |
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer %s -o - | FileCheck %s
--- |
@g_int = global i32 0, align 4
define i32* @test_global_ptrv() {
entry:
ret i32* @g_int
}
...
---
name: test_global_ptrv
# CHECK-LABEL: name: test_global_ptrv
alignment: 16
legalized: false
regBan... | YAML | x86_64-legalize-GV.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @fcmp_float_oeq(float %x, float %y) {
%1 = fcmp oeq float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ogt(floa... | YAML | x86_64-legalize-fcmp.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define signext i8 @float_to_int8(float %val) {
entry:
%conv = fptosi float %val to i8
ret i8 %conv
}
define signext... | YAML | x86_64-legalize-fptosi.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i64* @inttoptr_p0_s64(i64 %val) {
entry:
%0 = inttoptr i64 %val to i64*
ret i64* %0
}
...
---
name: ... | YAML | x86_64-legalize-inttoptr.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @ptrtoint_s1_p0(i64* %p) {
entry:
%0 = ptrtoint i64* %p to i1
ret i1 %0
}
define i8 @ptrtoint_s8_p0(i64* ... | YAML | x86_64-legalize-ptrtoint.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'sdiv.ll'
source_filename = "sdiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define i8 @te... | YAML | x86_64-legalize-sdiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -O0 -mtriple=x86_64-linux-gnu -global-isel -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'sitofp.ll'
source_filename = "sitofp.c"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S1... | YAML | x86_64-legalize-sitofp.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'srem.ll'
source_filename = "srem.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define i8 @te... | YAML | x86_64-legalize-srem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'udiv.ll'
source_filename = "udiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define i8 @te... | YAML | x86_64-legalize-udiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'urem.ll'
source_filename = "urem.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
define i8 @te... | YAML | x86_64-legalize-urem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i8 @zext_i1_to_i8(i1 %val) {
%res = zext i1 %val to i8
ret i8 %res
}
define i16 @zext_i1_to_i16(i1 %val) {
... | YAML | x86_64-legalize-zext.mir |
--- !COFF
header:
Machine: IMAGE_FILE_MACHINE_AMD64
Characteristics: [ ]
sections:
- Name: .text
Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE, IMAGE_SCN_MEM_READ ]
Alignment: 16
SectionData: 50894C24048B0D00000000034C240489C859C3662E0F1F8... | YAML | x86_64-obj.yaml |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @fcmp_float_oeq(float %x, float %y) {
%1 = fcmp oeq float %x, %y
ret i1 %1
}
define i1 @fcmp_float... | YAML | x86_64-select-fcmp.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define signext i8 @float_to_int8(float %val) {
entry:
%conv = fptosi float %val to i8
ret i8 %conv
}
defin... | YAML | x86_64-select-fptosi.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s --check-prefix=CHECK
--- |
define i32* @allocai32() {
%ptr1 = alloca i32
ret i32* %ptr1
}
...
---
name: ... | YAML | x86_64-select-frameIndex.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i64* @inttoptr_p0_s64(i64 %val) {
entry:
%0 = inttoptr i64 %val to i64*
ret i64* %0
}
...
---
name: ... | YAML | x86_64-select-inttoptr.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @ptrtoint_s1_p0(i64* %p) {
entry:
%0 = ptrtoint i64* %p to i1
ret i1 %0
}
define i8 @ptrtoint_s8... | YAML | x86_64-select-ptrtoint.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'sdiv.ll'
source_filename = "sdiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
defi... | YAML | x86_64-select-sdiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -global-isel -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'sitofp_legal.ll'
source_filename = "sitofp.c"
target datalayout = "e-m:e-i64:64-f80:128-n8:... | YAML | x86_64-select-sitofp.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'srem.ll'
source_filename = "srem.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
defi... | YAML | x86_64-select-srem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'udiv.ll'
source_filename = "udiv.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
defi... | YAML | x86_64-select-udiv.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
; ModuleID = 'urem.ll'
source_filename = "urem.ll"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
defi... | YAML | x86_64-select-urem.mir |
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i8 @zext_i1_to_i8(i1 %val) {
%res = zext i1 %val to i8
ret i8 %res
}
define i16 @zext_i1_to_i16(i1 %v... | YAML | x86_64-select-zext.mir |
--- !mach-o
FileHeader:
magic: 0xFEEDFACF
cputype: 0x01000007
cpusubtype: 0x00000003
filetype: 0x00000001
ncmds: 4
sizeofcmds: 352
flags: 0x00002000
reserved: 0x00000000
LoadCommands:
- cmd: LC_SEGMENT_64
cmdsize: 23... | YAML | x86_64-slice.yaml |
--- !mach-o
FileHeader:
magic: 0xFEEDFACF
cputype: 0x01000007
cpusubtype: 0x00000003
filetype: 0x00000001
ncmds: 4
sizeofcmds: 352
flags: 0x00002000
reserved: 0x00000000
LoadCommands:
- cmd: LC_SEGMENT_64
cmdsize: 23... | YAML | x86_64.yaml |
--- !mach-o
FileHeader:
magic: 0xFEEDFACF
cputype: 0x01000007
cpusubtype: 0x00000003
filetype: 0x00000001
ncmds: 4
sizeofcmds: 352
flags: 0x00002000
reserved: 0x00000000
LoadCommands:
- cmd: LC_SEGMENT_64
cmdsize: 23... | YAML | x86_64_macho_with_debug.yaml |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.