Home
last modified time | relevance | path

Searched +full:merge +full:- +full:base (Results 1 – 25 of 1053) sorted by relevance

12345678910>>...43

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-vector.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -S | FileCheck %s
5 define i64 addrspace(1)* @test(<2 x i64 addrspace(1)*> %vec, i32 %idx) gc "statepoint-example" {
6 ; CHECK-LABEL: @test
11 ; CHECK-DAG: ; (%base_ee, %obj)
13 ; CHECK-DAG: ; (%base_ee, %base_ee)
15 ; be to reuse the existing obj as a base since it is actually a base pointer.
22 …(1)* @test2(<2 x i64 addrspace(1)*>* %ptr, i1 %cnd, i32 %idx1, i32 %idx2) gc "statepoint-example" {
23 ; CHECK-LABEL: test2
29 br label %merge
[all …]
Dbase-pointers.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -S 2>&1 | FileCheck %s
7 declare i64 addrspace(1)* @generate_obj() "gc-leaf-function"
9 declare void @use_obj(i64 addrspace(1)*) "gc-leaf-function"
11 define void @def_use_safepoint() gc "statepoint-example" {
12 ; CHECK-LABEL: def_use_safepoint
14 ; CHECK-DAG: [ %obj.relocated.casted, %loop ]
15 ; CHECK-DAG: [ %obj, %entry ]
22 call void @do_safepoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
30 …est1(i32 %caller, i8 addrspace(1)* %a, i8 addrspace(1)* %b, i32 %unknown) gc "statepoint-example" {
[all …]
Dbase-pointers-10.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
5 declare i1 @runtime_value() "gc-leaf-function"
9 …lect_of_phi(i64 addrspace(1)* %base_obj_x, i64 addrspace(1)* %base_obj_y) gc "statepoint-example" {
13 loop: ; preds = %merge, %entry
14 %current_x = phi i64 addrspace(1)* [ %base_obj_x, %entry ], [ %next_x, %merge ]
15 %current_y = phi i64 addrspace(1)* [ %base_obj_y, %entry ], [ %next_y, %merge ]
16 %current = phi i64 addrspace(1)* [ null, %entry ], [ %next, %merge ]
23 br label %merge
26 br label %merge
[all …]
Dbase-pointers-4.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 ; CHECK: derived %obj_to_consume base %obj_to_consume.base
12 define void @test(i32 %condition) gc "statepoint-example" {
16 loop: ; preds = %merge.split, %entry
18 …0, i64 addrspace(1)* ()* @generate_obj, i32 0, i32 0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i3
19 ; CHECK-NEXT: [[RESULT_0:%[^ ]+]] = call i64 addrspace(1)* @llvm.experimental.gc.result
20 %0 = call i64 addrspace(1)* @generate_obj() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
27 br label %merge
30 br label %merge
[all …]
Dbase-pointers-1.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 ; CHECK: derived %merged_value base %merged_value.base
8 …ce(1)* %base_obj_x, i64 addrspace(1)* %base_obj_y, i1 %runtime_condition) gc "statepoint-example" {
14 br label %merge
18 br label %merge
20 merge: ; preds = %there, %here
21 ; CHECK-LABEL: merge:
22 ; CHECK: %merged_value.base = phi i64 addrspace(1)* [ %base_obj_x, %here ], [ %base_obj_y, %there…
24 call void @site_for_call_safpeoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
Dbase-pointers-5.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 ; CHECK: derived %merged_value base %merged_value.base
8 …ce(1)* %base_obj_x, i64 addrspace(1)* %base_obj_y, i1 %runtime_condition) gc "statepoint-example" {
16 br label %merge
20 br label %merge
22 merge: ; preds = %there, %bump
23 ; CHECK: merge:
24 ; CHECK: %merged_value.base = phi i64 addrspace(1)* [ %base_obj_x, %bump ], [ %base_obj_y, %there ]
25 ; CHECK-NEXT: %merged_value = phi i64 addrspace(1)* [ %base_obj_x, %bump ], [ %y, %there ]
[all …]
Dbase-pointers-7.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 ; CHECK: derived %merged_value base %merged_value.base
8 …rspace(1)* %base_obj_y, i1 %runtime_condition_x, i1 %runtime_condition_y) gc "statepoint-example" {
25 ; CHECK-DAG: %x.base
26 ; CHECK-DAG: phi i64 addrspace(1)*
27 ; CHECK-DAG: [ %base_obj_x, %bump_here_a ]
28 ; CHECK-DAG: [ %base_obj_y, %bump_here_b ]
30 br label %merge
34 br label %merge
[all …]
Dbase-pointers-6.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 ; CHECK: derived %merged_value base %merged_value.base
8 …rspace(1)* %base_obj_y, i1 %runtime_condition_x, i1 %runtime_condition_y) gc "statepoint-example" {
25 br label %merge
29 br label %merge
31 merge: ; preds = %there, %merge_here
32 ; CHECK: merge:
33 ; CHECK: %merged_value.base = phi i64 addrspace(1)* [ %base_obj_x, %merge_here ], [ %base_obj_y, %…
34 ; CHECK-NEXT: %merged_value = phi i64 addrspace(1)* [ %x, %merge_here ], [ %y, %there ]
[all …]
Dliveness-basics.ll3 ; RUN: opt -rewrite-statepoints-for-gc -spp-rematerialization-threshold=0 -S < %s | FileCheck %s
4 ; RUN: opt -passes=rewrite-statepoints-for-gc -spp-rematerialization-threshold=0 -S < %s | FileChec…
7 ; predeccessor of merge.
9 define i64 addrspace(1)* @test1(i1 %cmp, i64 addrspace(1)* %obj) gc "statepoint-example" {
10 ; CHECK-LABEL: @test1
15 ; CHECK-LABEL: taken:
16 ; CHECK-NEXT: gc.statepoint
17 ; CHECK-NEXT: %obj.relocated = call coldcc i8 addrspace(1)*
18 ; CHECK-NEXT: bitcast
19 ; CHECK-NEXT: br label %merge
[all …]
Drematerialize-derived-pointers.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -S | FileCheck %s
5 declare void @use_obj16(i16 addrspace(1)*) "gc-leaf-function"
6 declare void @use_obj32(i32 addrspace(1)*) "gc-leaf-function"
7 declare void @use_obj64(i64 addrspace(1)*) "gc-leaf-function"
11 define void @test_gep_const(i32 addrspace(1)* %base) gc "statepoint-example" {
12 ; CHECK-LABEL: test_gep_const
14 %ptr = getelementptr i32, i32 addrspace(1)* %base, i32 15
15 ; CHECK: getelementptr i32, i32 addrspace(1)* %base, i32 15
17 ; CHECK: %base.relocated = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(token %…
[all …]
Dbase-pointers-2.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
2 ; RUN: opt < %s -passes=rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 ; CHECK: derived %merged_value base %base_obj
6 define i64 addrspace(1)* @test(i64 addrspace(1)* %base_obj, i1 %runtime_condition) gc "statepoint-e…
8 br i1 %runtime_condition, label %merge, label %there
12 br label %merge
14 merge: ; preds = %there, %entry
16 call void @foo() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
/external/llvm/test/Transforms/RewriteStatepointsForGC/
Dbase-vector.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S | FileCheck %s
4 define i64 addrspace(1)* @test(<2 x i64 addrspace(1)*> %vec, i32 %idx) gc "statepoint-example" {
5 ; CHECK-LABEL: @test
10 ; CHECK-DAG: ; (%base_ee, %obj)
12 ; CHECK-DAG: ; (%base_ee, %base_ee)
14 ; be to reuse the existing obj as a base since it is actually a base pointer.
21 …(1)* @test2(<2 x i64 addrspace(1)*>* %ptr, i1 %cnd, i32 %idx1, i32 %idx2) gc "statepoint-example" {
22 ; CHECK-LABEL: test2
28 br label %merge
32 br label %merge
[all …]
Dbase-pointers.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -S 2>&1 | FileCheck %s
6 declare i64 addrspace(1)* @generate_obj() "gc-leaf-function"
8 declare void @use_obj(i64 addrspace(1)*) "gc-leaf-function"
10 define void @def_use_safepoint() gc "statepoint-example" {
11 ; CHECK-LABEL: def_use_safepoint
13 ; CHECK-DAG: [ %obj.relocated.casted, %loop ]
14 ; CHECK-DAG: [ %obj, %entry ]
21 call void @do_safepoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
29 …est1(i32 %caller, i8 addrspace(1)* %a, i8 addrspace(1)* %b, i32 %unknown) gc "statepoint-example" {
30 ; CHECK-LABEL: test1
[all …]
Dbase-pointers-10.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
4 declare i1 @runtime_value() "gc-leaf-function"
8 …lect_of_phi(i64 addrspace(1)* %base_obj_x, i64 addrspace(1)* %base_obj_y) gc "statepoint-example" {
12 loop: ; preds = %merge, %entry
13 %current_x = phi i64 addrspace(1)* [ %base_obj_x, %entry ], [ %next_x, %merge ]
14 %current_y = phi i64 addrspace(1)* [ %base_obj_y, %entry ], [ %next_y, %merge ]
15 %current = phi i64 addrspace(1)* [ null, %entry ], [ %next, %merge ]
22 br label %merge
25 br label %merge
27 merge: ; preds = %false, %true
[all …]
Dbase-pointers-4.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
3 ; CHECK: derived %obj_to_consume base %obj_to_consume.base
11 define void @test(i32 %condition) gc "statepoint-example" {
15 loop: ; preds = %merge.split, %entry
17 …0, i64 addrspace(1)* ()* @generate_obj, i32 0, i32 0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i3
18 ; CHECK-NEXT: [[RESULT_0:%[^ ]+]] = call i64 addrspace(1)* @llvm.experimental.gc.result
19 %0 = call i64 addrspace(1)* @generate_obj() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
26 br label %merge
29 br label %merge
32 br label %merge
[all …]
Dbase-pointers-1.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
3 ; CHECK: derived %merged_value base %merged_value.base
7 …ce(1)* %base_obj_x, i64 addrspace(1)* %base_obj_y, i1 %runtime_condition) gc "statepoint-example" {
13 br label %merge
17 br label %merge
19 merge: ; preds = %there, %here
20 ; CHECK-LABEL: merge:
21 ; CHECK: %merged_value.base = phi i64 addrspace(1)* [ %base_obj_x, %here ], [ %base_obj_y, %there…
23 call void @site_for_call_safpeoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
Dbase-pointers-5.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
3 ; CHECK: derived %merged_value base %merged_value.base
7 …ce(1)* %base_obj_x, i64 addrspace(1)* %base_obj_y, i1 %runtime_condition) gc "statepoint-example" {
15 br label %merge
19 br label %merge
21 merge: ; preds = %there, %bump
22 ; CHECK: merge:
23 ; CHECK: %merged_value.base = phi i64 addrspace(1)* [ %base_obj_x, %bump ], [ %base_obj_y, %there ]
24 ; CHECK-NEXT: %merged_value = phi i64 addrspace(1)* [ %base_obj_x, %bump ], [ %y, %there ]
26 call void @foo() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
Dbase-pointers-7.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
3 ; CHECK: derived %merged_value base %merged_value.base
7 …rspace(1)* %base_obj_y, i1 %runtime_condition_x, i1 %runtime_condition_y) gc "statepoint-example" {
24 ; CHECK-DAG: %x.base
25 ; CHECK-DAG: phi i64 addrspace(1)*
26 ; CHECK-DAG: [ %base_obj_x, %bump_here_a ]
27 ; CHECK-DAG: [ %base_obj_y, %bump_here_b ]
29 br label %merge
33 br label %merge
35 merge: ; preds = %there, %merge_here
[all …]
Dbase-pointers-6.ll1 ; RUN: opt < %s -rewrite-statepoints-for-gc -spp-print-base-pointers -S 2>&1 | FileCheck %s
3 ; CHECK: derived %merged_value base %merged_value.base
7 …rspace(1)* %base_obj_y, i1 %runtime_condition_x, i1 %runtime_condition_y) gc "statepoint-example" {
24 br label %merge
28 br label %merge
30 merge: ; preds = %there, %merge_here
31 ; CHECK: merge:
32 ; CHECK: %merged_value.base = phi i64 addrspace(1)* [ %base_obj_x, %merge_here ], [ %base_obj_y, %…
33 ; CHECK-NEXT: %merged_value = phi i64 addrspace(1)* [ %x, %merge_here ], [ %y, %there ]
35 call void @site_for_call_safpeoint() [ "deopt"(i32 0, i32 -1, i32 0, i32 0, i32 0) ]
Dliveness-basics.ll3 ; RUN: opt -rewrite-statepoints-for-gc -spp-rematerialization-threshold=0 -S < %s | FileCheck %s
6 ; predeccessor of merge.
8 define i64 addrspace(1)* @test1(i1 %cmp, i64 addrspace(1)* %obj) gc "statepoint-example" {
9 ; CHECK-LABEL: @test1
14 ; CHECK-LABEL: taken:
15 ; CHECK-NEXT: gc.statepoint
16 ; CHECK-NEXT: %obj.relocated = call coldcc i8 addrspace(1)*
17 ; CHECK-NEXT: bitcast
18 ; CHECK-NEXT: br label %merge
20 br label %merge
[all …]
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dmerge.cpp3 #include "rxcpp/rx-test.hpp"
6 SCENARIO("merge sample"){
7 printf("//! [merge sample]\n");
11 auto values = o1.merge(o2, o3);
16 printf("//! [merge sample]\n");
19 SCENARIO("implicit merge sample"){
20 printf("//! [implicit merge sample]\n");
24 auto base = rxcpp::observable<>::from(o1.as_dynamic(), o2, o3); variable
25 auto values = base.merge();
30 printf("//! [implicit merge sample]\n");
[all …]
/external/u-boot/cmd/
Defi.c1 // SPDX-License-Identifier: GPL-2.0+
35 { EFI_MEMORY_WC_SHIFT, "write-coalescing" },
36 { EFI_MEMORY_WT_SHIFT, "write-through" },
37 { EFI_MEMORY_WB_SHIFT, "write-back" },
39 { EFI_MEMORY_WP_SHIFT, "write-protect" },
40 { EFI_MEMORY_RP_SHIFT, "read-protect" },
41 { EFI_MEMORY_XP_SHIFT, "execute-protect" },
59 int64_t diff = desc1->physical_start - desc2->physical_start; in h_cmp_entry()
62 * Manually calculate the difference to avoid sign loss in the 64-bit in h_cmp_entry()
63 * to 32-bit conversion in h_cmp_entry()
[all …]
/external/fonttools/Lib/fontTools/varLib/
Dmerger.py2 Merge OpenType Layout tables (GDEF / GPOS / GSUB).
32 assert method.__name__ == 'merge'
40 "Oops, class '%s' has merge function for '%s' defined already." % (clazz.__name__, attr)
117 def merge(merger, self, lst): function
152 - Combined glyph list,
153 - If values_lst is None, return input glyph lists, but padded with None when a glyph
154 was missing in a list. Otherwise, return values_lst list-of-list, padded with None
220 def merge(merger, self, lst): function
249 # Note!!! This *might* result in behavior change if ValueFormat2-zeroedness
259 # Merge everything else; though, there shouldn't be anything else. :)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp1 //===- MergeICmps.cpp - Optimize chains of integer comparisons ------------===//
8 //===----------------------------------------------------------------------===//
17 // - There are less jumps, and therefore less opportunities for mispredictions
18 // and I-cache misses.
19 // - Code size is smaller, both because jumps are removed and because the
20 // encoding of a 2*n byte compare is smaller than that of two n-byte
23 //===----------------------------------------------------------------------===//
48 const Value *Base() const { return GEP ? GEP->getPointerOperand() : nullptr; } in Base() function
51 assert(Base() && "invalid atom"); in operator <()
52 assert(O.Base() && "invalid atom"); in operator <()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Util/
Dstrip-gc-relocates.ll1 ; RUN: opt -S -strip-gc-relocates -instcombine < %s | FileCheck %s
2 ; test utility/debugging pass which removes gc.relocates, inserted by -rewrite-statepoints-for-gc
3 declare void @use_obj32(i32 addrspace(1)*) "gc-leaf-function"
14 define i32 addrspace(1)* @test1(i32 addrspace(1)* %arg) gc "statepoint-example" {
16 ; CHECK-LABEL: test1
18 ; CHECK-NOT: gc.relocate
27 define void @test2(i32 addrspace(1)* %base) gc "statepoint-example" {
29 ; CHECK-LABEL: test2
31 ; CHECK-NOT: gc.relocate
34 %ptr.gep = getelementptr i32, i32 addrspace(1)* %base, i32 15
[all …]

12345678910>>...43