Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/include/llvm/IR/IntrinsicsX86.td
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 6,276 Lines • ▼ Show 20 Lines | |||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// Cache-line demote | // Cache-line demote | ||||
let TargetPrefix = "x86" in { | let TargetPrefix = "x86" in { | ||||
def int_x86_cldemote : GCCBuiltin<"__builtin_ia32_cldemote">, | def int_x86_cldemote : GCCBuiltin<"__builtin_ia32_cldemote">, | ||||
Intrinsic<[], [llvm_ptr_ty], []>; | Intrinsic<[], [llvm_ptr_ty], []>; | ||||
} | } | ||||
//===----------------------------------------------------------------------===// | |||||
// Wait and pause enhancements | |||||
let TargetPrefix = "x86" in { | |||||
def int_x86_umonitor : GCCBuiltin<"__builtin_ia32_umonitor">, | |||||
Intrinsic<[], [llvm_ptr_ty], []>; | |||||
def int_x86_umwait : GCCBuiltin<"__builtin_ia32_umwait">, | |||||
Intrinsic<[llvm_i8_ty], [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty], []>; | |||||
def int_x86_tpause : GCCBuiltin<"__builtin_ia32_tpause">, | |||||
Intrinsic<[llvm_i8_ty], [llvm_i32_ty, llvm_i32_ty, llvm_i32_ty], []>; | |||||
} |