Home
last modified time | relevance | path

Searched full:globaltype (Results 1 – 25 of 74) sorted by relevance

123

/llvm-project/llvm/test/MC/WebAssembly/
H A Dglobaltype-invalid.s4 .globaltype
7 .globaltype 42
10 .globaltype sym
13 .globaltype sym,
16 .globaltype sym, 42
18 # CHECK: [[#@LINE+1]]:18: error: Unknown type in .globaltype directive: i42
19 .globaltype sym, i42
22 .globaltype sym, i32,
25 .globaltype sym, i32, 42
27 # CHECK: [[#@LINE+1]]:23: error: Unknown type in .globaltype modifier: unmutable
[all …]
H A Dglobals.s8 .globaltype foo_global, i32
9 .globaltype global2, i64, immutable
10 .globaltype global3, f32
11 .globaltype global4, f64
37 # CHECK: .globaltype foo_global, i32
H A Dreloc-pic.s10 .globaltype __memory_base, i32
11 .globaltype __table_base, i32
80 # CHECK-NEXT: GlobalType: I32
85 # CHECK-NEXT: GlobalType: I32
98 # CHECK-NEXT: GlobalType: I32
103 # CHECK-NEXT: GlobalType: I32
H A Dreloc-pic64.s10 .globaltype __memory_base, i64
11 .globaltype __table_base, i64
82 # CHECK-NEXT: GlobalType: I64
87 # CHECK-NEXT: GlobalType: I64
101 # CHECK-NEXT: GlobalType: I32
106 # CHECK-NEXT: GlobalType: I32
H A Dwasm64.s6 .globaltype myglob64, i64
7 .globaltype __stack_pointer, i64
73 # CHECK: .globaltype myglob64, i64
153 # BIN-NEXT: GlobalType: I64
158 # BIN-NEXT: GlobalType: I64
H A Dstack-ptr.ll17 ; CHK32: GlobalType: I32
18 ; CHK64: GlobalType: I64
/llvm-project/lld/test/wasm/
H A Dduplicate-global-imports.s8 .globaltype g1, i64, immutable
14 .globaltype g2, i64, immutable
20 .globaltype g3, i32, immutable
26 .globaltype g4, i64
47 # CHECK-NEXT: GlobalType: I64
52 # CHECK-NEXT: GlobalType: I32
57 # CHECK-NEXT: GlobalType: I64
H A Dshared64.s9 .globaltype __stack_pointer, i64
10 .globaltype __table_base, i64, immutable
11 .globaltype __memory_base, i64, immutable
162 # CHECK-NEXT: GlobalType: I64
167 # CHECK-NEXT: GlobalType: I64
172 # CHECK-NEXT: GlobalType: I64
177 # CHECK-NEXT: GlobalType: I64
182 # CHECK-NEXT: GlobalType: I64
187 # CHECK-NEXT: GlobalType: I64
192 # CHECK-NEXT: GlobalType
[all...]
H A Dshared.s9 .globaltype __stack_pointer, i32
10 .globaltype __table_base, i32, immutable
11 .globaltype __memory_base, i32, immutable
159 # CHECK-NEXT: GlobalType: I32
164 # CHECK-NEXT: GlobalType: I32
169 # CHECK-NEXT: GlobalType: I32
174 # CHECK-NEXT: GlobalType: I32
179 # CHECK-NEXT: GlobalType: I32
184 # CHECK-NEXT: GlobalType: I32
189 # CHECK-NEXT: GlobalType
[all...]
H A Dbsymbolic.s21 // NOOPTION-NEXT: GlobalType: I32
26 // NOOPTION-NEXT: GlobalType: I32
31 // NOOPTION-NEXT: GlobalType: I32
36 // NOOPTION-NEXT: GlobalType: I32
63 // SYMBOLIC-NEXT: GlobalType: I32
68 // SYMBOLIC-NEXT: GlobalType: I32
H A Dglobals.s9 .globaltype foo_global, i32
10 .globaltype bar_global, f32
11 .globaltype immutable_global, i32, immutable
H A Dtls.s3 .globaltype __tls_base, i32
4 .globaltype __tls_align, i32, immutable
183 # RELOC-NEXT: GlobalType: I32
188 # RELOC-NEXT: GlobalType: I32
H A Dgc-imports.s36 # CHECK-NEXT: GlobalType: I64
72 # NO-GC-NEXT: GlobalType: I64
77 # NO-GC-NEXT: GlobalType: I64
H A Dpie.s10 .globaltype __stack_pointer, i32
98 # CHECK-NEXT: GlobalType: I32
103 # CHECK-NEXT: GlobalType: I32
108 # CHECK-NEXT: GlobalType: I32
H A Dtls-align.s3 .globaltype __tls_base, i32
4 .globaltype __tls_align, i32, immutable
/llvm-project/llvm/test/CodeGen/WebAssembly/
H A Dglobal-get.ll57 ; CHECK: .globaltype i32_global, i32
61 ; CHECK: .globaltype i64_global, i64
65 ; CHECK: .globaltype f32_global, f32
69 ; CHECK: .globaltype f64_global, f64
73 ; CHECK: .globaltype i32_external_used, i32
77 ; CHECK: .globaltype i32_external_unused, i32
H A Dglobal-set.ll48 ; CHECK: .globaltype i32_global, i32
52 ; CHECK: .globaltype i64_global, i64
56 ; CHECK: .globaltype f32_global, f32
60 ; CHECK: .globaltype f64_global, f64
/llvm-project/llvm/unittests/DebugInfo/LogicalView/
H A DCompareElementsTest.cpp38 LVType *GlobalType = nullptr; member in __anon8e4c552a0111::ReaderTestCompare
114 CREATE(GlobalType, createType, setIsBase); in createElements()
166 // GlobalType GlobalType
194 Insert(true, CompileUnit, GlobalType); in addElements()
238 set(GlobalType, "GlobalType", 0x1020, 1020); in initElements()
254 set(FunctionOne, "FunctionOne", 0x2020, 2020, GlobalType); in initElements()
255 set(FunctionTwo, "FunctionTwo", 0x2030, 2030, GlobalType); in initElements()
H A DLogicalElementsTest.cpp33 LVType *GlobalType = nullptr; member in __anonb3007c9e0111::ReaderTestElements
115 CREATE(GlobalType, createType); in createElements()
172 // GlobalType in addElements()
195 add(CompileUnit, GlobalType); in addElements()
270 set(GlobalType, "GlobalType", 0x1020, 1020); in initElements()
312 set(Function, "function", 0x2020, 2020, GlobalType); in initElements()
/llvm-project/lld/test/wasm/Inputs/
H A Dundefined-globals.s5 .globaltype unused_undef_global, i64, immutable
6 .globaltype used_undef_global, i64, immutable
/llvm-project/llvm/include/llvm/MC/
H A DMCSymbolWasm.h29 std::optional<wasm::WasmGlobalType> GlobalType; variable
135 assert(GlobalType); in getGlobalType()
136 return *GlobalType; in getGlobalType()
138 void setGlobalType(wasm::WasmGlobalType GT) { GlobalType = GT; } in setGlobalType()
/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasmTraits.h55 static unsigned getHashValue(const wasm::WasmGlobalType &GlobalType) {
56 return hash_combine(GlobalType.Type, GlobalType.Mutable);
/llvm-project/llvm/test/ObjectYAML/wasm/
H A Dimport_section.yaml22 GlobalType: I32
55 # CHECK: GlobalType: I32
/llvm-project/llvm/utils/
H A Dllvm.grm262 GlobalType ::= global | constant ;
278 | OptGlobalAssign GVVisibilityStyle ThreadLocal OptAddrSpace GlobalType
281 GlobalType ConstVal GlobalVarAttributes
283 GlobalType Types GlobalVarAttributes
/llvm-project/mlir/lib/Conversion/GPUCommon/
H A DGPUOpsLowering.cpp54 auto globalType = in matchAndRewrite()
60 if (globalOp.getGlobalType() == globalType && globalOp.getConstant() && in matchAndRewrite()
70 return b.create<LLVM::GlobalOp>(loc, globalType, in matchAndRewrite()
318 auto globalType = LLVM::LLVMArrayType::get(llvmI8, formatStringSize); matchAndRewrite() local
411 auto globalType = matchAndRewrite() local
466 auto globalType = matchAndRewrite() local

123