Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Support/
H A DRISCVVIntrinsicUtils.h372 enum PolicyScheme : uint8_t { enum
379 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, enum PolicyScheme PS);
394 PolicyScheme Scheme;
410 bool HasVL, PolicyScheme Scheme, bool SupportOverloading,
422 bool hasPolicy() const { return Scheme != PolicyScheme::SchemeNone; } in hasPolicy()
424 return Scheme == PolicyScheme::HasPassthruOperand; in hasPassthruOperand()
427 return Scheme == PolicyScheme::HasPolicyOperand; in hasPolicyOperand()
436 PolicyScheme getPolicyScheme() const { return Scheme; } in getPolicyScheme()
473 unsigned NF, PolicyScheme DefaultScheme,
533 LLVM_PREFERRED_TYPE(PolicyScheme)
[all …]
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp69 LLVM_PREFERRED_TYPE(PolicyScheme)
71 LLVM_PREFERRED_TYPE(PolicyScheme)
635 static_cast<PolicyScheme>(MPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
638 static_cast<PolicyScheme>(UMPSRecord->getValueAsInt("Value")); in createRVVIntrinsics()
702 if (UnMaskedPolicyScheme != PolicyScheme::SchemeNone) in createRVVIntrinsics()
728 if (MaskedPolicyScheme == PolicyScheme::SchemeNone) in createRVVIntrinsics()
/freebsd/contrib/llvm-project/clang/lib/Support/
H A DRISCVVIntrinsicUtils.cpp975 bool HasMaskedOffOperand, bool HasVL, PolicyScheme Scheme, in RVVIntrinsic()
1038 PolicyScheme DefaultScheme, Policy PolicyAttrs, bool IsTuple) { in computeBuiltinTypes()
1040 bool HasPassthruOp = DefaultScheme == PolicyScheme::HasPassthruOperand; in computeBuiltinTypes()
1201 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, enum PolicyScheme PS) { in operator <<()
1237 OS << "/*UnMaskedPolicyScheme=*/" << (PolicyScheme)Record.UnMaskedPolicyScheme in operator <<()
1239 OS << "/*MaskedPolicyScheme=*/" << (PolicyScheme)Record.MaskedPolicyScheme in operator <<()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaRISCV.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()
298 if (Record.UnMaskedPolicyScheme != PolicyScheme::SchemeNone) { in ConstructRVVIntrinsics()
319 if (Record.MaskedPolicyScheme == PolicyScheme::SchemeNone) in ConstructRVVIntrinsics()
/freebsd/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;