| /llvm-project-15.0.7/libc/test/src/string/memory_utils/ |
| H A D | backend_test.cpp | 123 template <typename Backend, size_t Size, Temporality TS, Aligned AS> 145 LoadStoreConf<X86Backend, 1, Temporality::TEMPORAL, Aligned::NO>, // 146 LoadStoreConf<X86Backend, 1, Temporality::TEMPORAL, Aligned::YES>, // 147 LoadStoreConf<X86Backend, 2, Temporality::TEMPORAL, Aligned::NO>, // 148 LoadStoreConf<X86Backend, 2, Temporality::TEMPORAL, Aligned::YES>, // 149 LoadStoreConf<X86Backend, 4, Temporality::TEMPORAL, Aligned::NO>, // 150 LoadStoreConf<X86Backend, 4, Temporality::TEMPORAL, Aligned::YES>, // 151 LoadStoreConf<X86Backend, 8, Temporality::TEMPORAL, Aligned::NO>, // 152 LoadStoreConf<X86Backend, 8, Temporality::TEMPORAL, Aligned::YES>, // 154 LoadStoreConf<X86Backend, 16, Temporality::TEMPORAL, Aligned::NO>, // [all …]
|
| H A D | algorithm_test.cpp | 40 template <typename T, Temporality TS, Aligned AS> 42 log<T>((AS == Aligned::YES ? "LdA" : "LdU"), in load() 47 template <typename T, Temporality TS, Aligned AS> 49 log<T>((AS == Aligned::YES ? "StA" : "StU"), in store()
|
| /llvm-project-15.0.7/libc/src/string/memory_utils/ |
| H A D | backend_x86.h | 42 template <typename T, Temporality TS, Aligned AS, 49 template <typename T, Temporality TS, Aligned AS, 78 typename T, Temporality TS, Aligned AS, 84 typename T, Temporality TS, Aligned AS, 142 SPECIALIZE_LOAD(__m128i, Temporality::NON_TEMPORAL, Aligned::YES, in SPECIALIZE_LOAD() 163 SPECIALIZE_LOAD(__m256i, Temporality::NON_TEMPORAL, Aligned::YES, in SPECIALIZE_LOAD() 166 SPECIALIZE_STORE(__m256i, Temporality::TEMPORAL, Aligned::YES, in SPECIALIZE_LOAD() 168 SPECIALIZE_STORE(__m256i, Temporality::TEMPORAL, Aligned::NO, in SPECIALIZE_LOAD() 186 SPECIALIZE_LOAD(__m512i, Temporality::NON_TEMPORAL, Aligned::YES, in SPECIALIZE_LOAD() 189 SPECIALIZE_STORE(__m512i, Temporality::TEMPORAL, Aligned::YES, in SPECIALIZE_LOAD() [all …]
|
| H A D | backends.h | 31 template <typename T, Temporality, Aligned> static T load(const T *src); 34 template <typename T, Temporality, Aligned>
|
| H A D | sized_op.h | 52 template <typename T, typename AddrT> static constexpr Aligned isAligned() { in isAligned() 54 return AddrT::ALIGNMENT > 1 && AddrT::ALIGNMENT >= sizeof(T) ? Aligned::YES in isAligned() 55 : Aligned::NO; in isAligned()
|
| H A D | algorithm.h | 418 template <typename Arg1AddrT, typename Arg2AddrT> struct Aligned { struct 423 Aligned stepForward() const { in stepForward() argument 424 return Aligned{offsetAddrMultiplesOf<ALIGN_OP_SIZE>(arg1, ALIGN_OP_SIZE), in stepForward() 429 Aligned stepBack() const { in stepBack() argument 430 return Aligned{offsetAddrMultiplesOf<ALIGN_OP_SIZE>(arg1, -ALIGN_OP_SIZE), in stepBack() 438 return Aligned<Arg1AddrT, Arg2AddrT>{arg1, arg2, size}; in makeAligned()
|
| H A D | backend_scalar.h | 24 template <typename T, Temporality TS, Aligned AS> 32 template <typename T, Temporality TS, Aligned AS>
|
| H A D | backend_aarch64.h | 24 template <typename T, Temporality TS, Aligned AS,
|
| H A D | address.h | 36 enum class Aligned { NO, YES }; enum
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | PointerUnionTest.cpp | 119 typedef PointerUnion<Aligned<0> *, Aligned<1> *, Aligned<2> *, Aligned<3> *, 120 Aligned<4> *, Aligned<5> *, Aligned<6> *, Aligned<7> *> 124 Aligned<0> a0; in TEST_F() 125 Aligned<7> a7; in TEST_F() 128 EXPECT_TRUE(a.is<Aligned<0>*>()); in TEST_F() 129 EXPECT_FALSE(a.is<Aligned<1>*>()); in TEST_F() 130 EXPECT_FALSE(a.is<Aligned<2>*>()); in TEST_F() 131 EXPECT_FALSE(a.is<Aligned<3>*>()); in TEST_F() 132 EXPECT_FALSE(a.is<Aligned<4>*>()); in TEST_F() 133 EXPECT_FALSE(a.is<Aligned<5>*>()); in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.unary/expr.new/ |
| H A D | p14.cpp | 21 struct alignas(Align) Aligned { struct 24 auto *aa = new Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__>; // expected-error {{no matching}} 25 auto *ab = new Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2>; // expected-error {{deleted}} 26 auto *aap = new (arg) Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__, Arg>; // expected-error {{no matchi… 27 auto *abp = new (arg) Aligned<__STDCPP_DEFAULT_NEW_ALIGNMENT__ * 2, Arg>; // expected-error {{delet…
|
| /llvm-project-15.0.7/mlir/test/Target/SPIRV/ |
| H A D | memory-ops.mlir | 90 // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4] : f32 91 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4] : f32 99 … // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 4], ["Volatile"] : f32 100 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 4], ["Volatile"] : f32 102 … // CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Volatile"], ["Aligned", 4] : f32 103 spv.CopyMemory "Function" %0, "Function" %1 ["Volatile"], ["Aligned", 4] : f32 105 …// CHECK: spv.CopyMemory "Function" %{{.*}}, "Function" %{{.*}} ["Aligned", 8], ["Aligned", 4] : f… 106 spv.CopyMemory "Function" %0, "Function" %1 ["Aligned", 8], ["Aligned", 4] : f32
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/Transforms/ |
| H A D | canonicalize.mlir | 503 spv.Store "Function" %3, %2 ["Aligned", 4]: i32 507 spv.Store "Function" %3, %1 ["Aligned", 4]: i32 534 spv.Store "Function" %3, %1 ["Aligned", 8]: vector<3xi32> 538 spv.Store "Function" %3, %2 ["Aligned", 8] : vector<3xi32> 573 spv.Store "Function" %3, %1 ["Aligned", 8]: vector<3xi32> 577 spv.Store "Function" %4, %2 ["Aligned", 8] : vector<3xi32> 608 spv.Store "Function" %3, %1 ["Aligned", 8] : vector<3xi32> 610 spv.Store "Function" %4, %1 ["Aligned", 8]: vector<3xi32> 615 spv.Store "Function" %4, %2 ["Aligned", 8] : vector<3xi32> 644 spv.Store "Function" %3, %1 ["Aligned", 8]: vector<3xi32> [all …]
|
| /llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/ |
| H A D | memory-ops.mlir | 182 %1 = spv.Load "Function" %0 ["Aligned", 4] : f32 190 %1 = spv.Load "Function" %0 ["Volatile|Aligned", 4] : f32 218 // CHECK-SAME: ["Aligned", 4] 227 // CHECK-SAME: ["Volatile|Aligned", 4] 282 %1 = spv.Load "Function" %0 ["Aligned"] : f32 291 %1 = spv.Load "Function" %0 ["Aligned" 4] : f32 336 %1 = spv.Load "Function" %0 ["Aligned", 4, 23] : f32 382 spv.Store "Function" %0, %arg0 ["Aligned", 4] : f32 436 spv.Store "Function" %0, %arg0 ["Aligned"] : f32 445 spv.Store "Function" %0, %arg0 ["Aligned" 4] : f32 [all …]
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | alignas.cpp | 26 …t Alignment> struct alignas(X) alignas(long long) alignas(long double) alignas(Alignment) Aligned { struct 33 Aligned<int, 1> a;
|
| /llvm-project-15.0.7/llvm/test/CodeGen/SPIRV/ |
| H A D | opaque_pointers.ll | 11 ; CHECK: OpStore %[[#Parm]] %[[#Const]] Aligned 4 12 ; CHECK: %[[#Res:]] = OpLoad %[[#Int64Ty]] %[[#Parm]] Aligned 8
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | unaligned-expr.c | 120 typedef int Aligned; typedef 121 typedef __unaligned Aligned UnalignedInt2;
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaTemplateInstantiateDecl.cpp | 88 if (Aligned->isAlignmentExpr()) { in instantiateDependentAlignedAttr() 106 const AlignedAttr *Aligned, Decl *New) { in instantiateDependentAlignedAttr() argument 107 if (!Aligned->isPackExpansion()) { in instantiateDependentAlignedAttr() 113 if (Aligned->isAlignmentExpr()) in instantiateDependentAlignedAttr() 125 SourceLocation EllipsisLoc = Aligned->getLocation(); in instantiateDependentAlignedAttr() 144 const AssumeAlignedAttr *Aligned, Decl *New) { in instantiateDependentAssumeAlignedAttr() argument 155 if (Aligned->getOffset()) { in instantiateDependentAssumeAlignedAttr() 156 Result = S.SubstExpr(Aligned->getOffset(), TemplateArgs); in instantiateDependentAssumeAlignedAttr() 162 S.AddAssumeAlignedAttr(New, *Aligned, E, OE); in instantiateDependentAssumeAlignedAttr() 167 const AlignValueAttr *Aligned, Decl *New) { in instantiateDependentAlignValueAttr() argument [all …]
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-recovery.cpp | 162 struct alignas(invalid()) Aligned {}; struct
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | LibcMemoryBenchmarkTest.cpp | 57 TEST(OffsetDistribution, Aligned) { in TEST() argument
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstructions.td | 416 class Aligned<int Bytes> { 596 Aligned<8> { 601 Aligned<16> { 606 (store_local node:$val, node:$ptr)>, Aligned<8> { 611 (store_local node:$val, node:$ptr)>, Aligned<16> {
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86FastISel.cpp | 538 if (Aligned) { in X86FastEmitStore() 550 if (Aligned) { in X86FastEmitStore() 565 if (Aligned) { in X86FastEmitStore() 578 if (Aligned) { in X86FastEmitStore() 588 if (Aligned) { in X86FastEmitStore() 601 if (Aligned) { in X86FastEmitStore() 611 if (Aligned) in X86FastEmitStore() 618 if (Aligned) { in X86FastEmitStore() 630 if (Aligned) in X86FastEmitStore() 695 return X86FastEmitStore(VT, ValReg, AM, MMO, Aligned); in X86FastEmitStore() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVMemoryOps.td | 205 memory-access ::= `"None"` | `"Volatile"` | `"Aligned", ` integer-literal 218 %3 = spv.Load "Function" %0 ["Aligned", 4] : f32 340 spv.Store "Function" %0, %1 ["Aligned", 4] : f32
|
| /llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/ |
| H A D | memory-ops-to-llvm.mlir | 114 %1 = spv.Load "Function" %0 ["Aligned", 4] : f32 158 spv.Store "Function" %0, %arg0 ["Aligned", 4] : f32
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Thumb2/ |
| H A D | aligned-spill.ll | 78 ; Aligned spilling only works for contiguous ranges starting from d8.
|