/llvm-project/llvm/test/MC/WebAssembly/ |
H A D | globaltype-invalid.s | 4 .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 D | globals.s | 8 .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 D | reloc-pic.s | 10 .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 D | reloc-pic64.s | 10 .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 D | wasm64.s | 6 .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 D | stack-ptr.ll | 17 ; CHK32: GlobalType: I32 18 ; CHK64: GlobalType: I64
|
/llvm-project/lld/test/wasm/ |
H A D | duplicate-global-imports.s | 8 .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 D | shared64.s | 9 .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 D | shared.s | 9 .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 D | bsymbolic.s | 21 // 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 D | globals.s | 9 .globaltype foo_global, i32 10 .globaltype bar_global, f32 11 .globaltype immutable_global, i32, immutable
|
H A D | tls.s | 3 .globaltype __tls_base, i32 4 .globaltype __tls_align, i32, immutable 183 # RELOC-NEXT: GlobalType: I32 188 # RELOC-NEXT: GlobalType: I32
|
H A D | gc-imports.s | 36 # CHECK-NEXT: GlobalType: I64 72 # NO-GC-NEXT: GlobalType: I64 77 # NO-GC-NEXT: GlobalType: I64
|
H A D | pie.s | 10 .globaltype __stack_pointer, i32 98 # CHECK-NEXT: GlobalType: I32 103 # CHECK-NEXT: GlobalType: I32 108 # CHECK-NEXT: GlobalType: I32
|
H A D | tls-align.s | 3 .globaltype __tls_base, i32 4 .globaltype __tls_align, i32, immutable
|
/llvm-project/llvm/test/CodeGen/WebAssembly/ |
H A D | global-get.ll | 57 ; 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 D | global-set.ll | 48 ; 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 D | CompareElementsTest.cpp | 38 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 D | LogicalElementsTest.cpp | 33 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 D | undefined-globals.s | 5 .globaltype unused_undef_global, i64, immutable 6 .globaltype used_undef_global, i64, immutable
|
/llvm-project/llvm/include/llvm/MC/ |
H A D | MCSymbolWasm.h | 29 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 D | WasmTraits.h | 55 static unsigned getHashValue(const wasm::WasmGlobalType &GlobalType) { 56 return hash_combine(GlobalType.Type, GlobalType.Mutable);
|
/llvm-project/llvm/test/ObjectYAML/wasm/ |
H A D | import_section.yaml | 22 GlobalType: I32 55 # CHECK: GlobalType: I32
|
/llvm-project/llvm/utils/ |
H A D | llvm.grm | 262 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 D | GPUOpsLowering.cpp | 54 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
|