Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/IR/IntrinsicsWebAssembly.td
Show First 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | def int_wasm_trunc : | ||||
Intrinsic<[llvm_anyvector_ty], | Intrinsic<[llvm_anyvector_ty], | ||||
[LLVMMatchType<0>], | [LLVMMatchType<0>], | ||||
[IntrNoMem, IntrSpeculatable]>; | [IntrNoMem, IntrSpeculatable]>; | ||||
def int_wasm_nearest : | def int_wasm_nearest : | ||||
Intrinsic<[llvm_anyvector_ty], | Intrinsic<[llvm_anyvector_ty], | ||||
[LLVMMatchType<0>], | [LLVMMatchType<0>], | ||||
[IntrNoMem, IntrSpeculatable]>; | [IntrNoMem, IntrSpeculatable]>; | ||||
// TODO: Replace these intrinsic with normal ISel patterns once the | |||||
// load_zero instructions are merged to the proposal. | |||||
def int_wasm_load32_zero : | |||||
Intrinsic<[llvm_v4i32_ty], | |||||
[LLVMPointerType<llvm_i32_ty>], | |||||
[IntrReadMem, IntrArgMemOnly], | |||||
aheejin: Can memory accesses be speculatable? The below too | |||||
Hmm, maybe not, and it's definitely move conservative for them not to be. tlively: Hmm, maybe not, and it's definitely move conservative for them not to be. | |||||
"", [SDNPMemOperand]>; | |||||
def int_wasm_load64_zero : | |||||
Intrinsic<[llvm_v2i64_ty], | |||||
[LLVMPointerType<llvm_i64_ty>], | |||||
[IntrReadMem, IntrArgMemOnly], | |||||
"", [SDNPMemOperand]>; | |||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// Thread-local storage intrinsics | // Thread-local storage intrinsics | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
def int_wasm_tls_size : | def int_wasm_tls_size : | ||||
Intrinsic<[llvm_anyint_ty], | Intrinsic<[llvm_anyint_ty], | ||||
[], | [], | ||||
[IntrNoMem, IntrSpeculatable]>; | [IntrNoMem, IntrSpeculatable]>; | ||||
Show All 12 Lines |
Can memory accesses be speculatable? The below too