Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/RISCV/RISCV.td
Show First 20 Lines • Show All 478 Lines • ▼ Show 20 Lines | |||||
// built with this feature is not ABI-compatible with code built without this | // built with this feature is not ABI-compatible with code built without this | ||||
// feature, if atomic variables are exposed across the ABI boundary. | // feature, if atomic variables are exposed across the ABI boundary. | ||||
def FeatureForcedAtomics : SubtargetFeature< | def FeatureForcedAtomics : SubtargetFeature< | ||||
"forced-atomics", "HasForcedAtomics", "true", | "forced-atomics", "HasForcedAtomics", "true", | ||||
"Assume that lock-free native-width atomics are available">; | "Assume that lock-free native-width atomics are available">; | ||||
def HasAtomicLdSt | def HasAtomicLdSt | ||||
: Predicate<"Subtarget->hasStdExtA() || Subtarget->hasForcedAtomics()">; | : Predicate<"Subtarget->hasStdExtA() || Subtarget->hasForcedAtomics()">; | ||||
def FeatureTaggedGlobals : SubtargetFeature<"tagged-globals", | |||||
"AllowTaggedGlobals", | |||||
"true", "Use an instruction sequence for taking the address of a global " | |||||
"that allows a memory tag in the upper address bits">; | |||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// Named operands for CSR instructions. | // Named operands for CSR instructions. | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
include "RISCVSystemOperands.td" | include "RISCVSystemOperands.td" | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// Registers, calling conventions, instruction descriptions. | // Registers, calling conventions, instruction descriptions. | ||||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |