Home
last modified time | relevance | path

Searched refs:PolicyScheme (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h372 enum PolicyScheme : uint8_t { enum
392 PolicyScheme Scheme;
408 bool HasVL, PolicyScheme Scheme, bool SupportOverloading,
423 bool hasPolicy() const { return Scheme != PolicyScheme::SchemeNone; } in hasPolicy()
425 return Scheme == PolicyScheme::HasPassthruOperand; in hasPassthruOperand()
428 return Scheme == PolicyScheme::HasPolicyOperand; in hasPolicyOperand()
436 PolicyScheme getPolicyScheme() const { return Scheme; } in getPolicyScheme()
473 unsigned NF, PolicyScheme DefaultScheme,
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp239 PolicyScheme UnMaskedPolicyScheme = in ConstructRVVIntrinsics()
240 static_cast<PolicyScheme>(Record.UnMaskedPolicyScheme); in ConstructRVVIntrinsics()
241 PolicyScheme MaskedPolicyScheme = in ConstructRVVIntrinsics()
242 static_cast<PolicyScheme>(Record.MaskedPolicyScheme); in ConstructRVVIntrinsics()
259 bool UnMaskedHasPolicy = UnMaskedPolicyScheme != PolicyScheme::SchemeNone; in ConstructRVVIntrinsics()
260 bool MaskedHasPolicy = MaskedPolicyScheme != PolicyScheme::SchemeNone; in ConstructRVVIntrinsics()
307 if (Record.UnMaskedPolicyScheme != PolicyScheme::SchemeNone) { in ConstructRVVIntrinsics()
328 if (Record.MaskedPolicyScheme == PolicyScheme::SchemeNone) in ConstructRVVIntrinsics()
/freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp516 static_cast<PolicyScheme>(MPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
519 static_cast<PolicyScheme>(UMPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
583 if (UnMaskedPolicyScheme != PolicyScheme::SchemeNone) in createRVVIntrinsics()
610 if (MaskedPolicyScheme == PolicyScheme::SchemeNone) in createRVVIntrinsics()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Driscv_vector_common.td139 class PolicyScheme<int val>{
142 def NonePolicy : PolicyScheme<0>;
143 def HasPassthruOperand : PolicyScheme<1>;
144 def HasPolicyOperand : PolicyScheme<2>;
194 PolicyScheme MaskedPolicyScheme = HasPolicyOperand;
202 PolicyScheme UnMaskedPolicyScheme = NonePolicy;
/freebsd-14.2/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp978 bool HasMaskedOffOperand, bool HasVL, PolicyScheme Scheme, in RVVIntrinsic()
1042 PolicyScheme DefaultScheme, Policy PolicyAttrs, bool IsTuple) { in computeBuiltinTypes()
1045 bool HasPassthruOp = DefaultScheme == PolicyScheme::HasPassthruOperand; in computeBuiltinTypes()