WebAssembly: start instructions
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyInstrInfo.td
index 53681a8ad0741df4ac0b07703f04c70511eb9217..142eccfbcaa5f9ace0e7d4bde529d29bacba53f0 100644 (file)
 // WebAssembly Instruction Predicate Definitions.
 //===----------------------------------------------------------------------===//
 
+def HasAddr32 : Predicate<"!Subtarget->hasAddr64()">;
+def HasAddr64 : Predicate<"Subtarget->hasAddr64()">;
+def HasSIMD128 : Predicate<"Subtarget->hasSIMD128()">,
+                           AssemblerPredicate<"FeatureSIMD128", "simd128">;
+
 //===----------------------------------------------------------------------===//
 // WebAssembly-specific DAG Node Types.
 //===----------------------------------------------------------------------===//