Home
last modified time | relevance | path

Searched refs:FeatureBitset (Results 1 – 25 of 47) sorted by relevance

12

/openbsd/src/gnu/llvm/llvm/include/llvm/MC/
DSubtargetFeature.h41 class FeatureBitset {
47 constexpr FeatureBitset(const std::array<uint64_t, MAX_SUBTARGET_WORDS> &B) in FeatureBitset() function
51 constexpr FeatureBitset() = default;
52 constexpr FeatureBitset(std::initializer_list<unsigned> Init) { in FeatureBitset() function
57 FeatureBitset &set() { in set()
62 constexpr FeatureBitset &set(unsigned I) { in set()
69 constexpr FeatureBitset &reset(unsigned I) { in reset()
76 constexpr FeatureBitset &flip(unsigned I) { in flip()
103 constexpr FeatureBitset &operator^=(const FeatureBitset &RHS) {
109 constexpr FeatureBitset operator^(const FeatureBitset &RHS) const {
[all …]
DMCSubtargetInfo.h92 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
112 const FeatureBitset& getFeatureBits() const { return FeatureBits; } in getFeatureBits()
113 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
137 FeatureBitset ToggleFeature(uint64_t FB);
141 FeatureBitset ToggleFeature(const FeatureBitset& FB);
145 FeatureBitset ToggleFeature(StringRef FS);
149 FeatureBitset ApplyFeatureFlag(StringRef FS);
152 FeatureBitset SetFeatureBitsTransitively(const FeatureBitset& FB);
153 FeatureBitset ClearFeatureBitsTransitively(const FeatureBitset &FB);
/openbsd/src/gnu/llvm/llvm/lib/MC/
DMCSubtargetInfo.cpp37 void SetImpliedBits(FeatureBitset &Bits, const FeatureBitset &Implies, in SetImpliedBits()
49 void ClearImpliedBits(FeatureBitset &Bits, unsigned Value, in ClearImpliedBits()
59 static void ApplyFeatureFlag(FeatureBitset &Bits, StringRef Feature, in ApplyFeatureFlag()
151 static FeatureBitset getFeatures(StringRef CPU, StringRef TuneCPU, StringRef FS, in getFeatures()
157 return FeatureBitset(); in getFeatures()
162 FeatureBitset Bits; in getFeatures()
241 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
246 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
251 FeatureBitset MCSubtargetInfo::SetFeatureBitsTransitively( in SetFeatureBitsTransitively()
252 const FeatureBitset &FB) { in SetFeatureBitsTransitively()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPUPropagateAttributes.cpp50 static constexpr const FeatureBitset TargetFeatures = {
66 explicit FnProperties(const FeatureBitset &&FB) : Features(FB) {} in FnProperties()
93 FeatureBitset Features;
127 void setFeatures(Function &F, const FeatureBitset &NewFeatures);
133 std::string getFeatureString(const FeatureBitset &Features) const;
336 const FeatureBitset &NewFeatures) { in setFeatures()
360 AMDGPUPropagateAttributes::getFeatureString(const FeatureBitset &Features) const in getFeatureString()
DAMDGPUTargetTransformInfo.cpp269 const FeatureBitset GCNTTIImpl::InlineFeatureIgnoreList = {
1150 const FeatureBitset &CallerBits = CallerST->getFeatureBits(); in areInlineCompatible()
1151 const FeatureBitset &CalleeBits = CalleeST->getFeatureBits(); in areInlineCompatible()
1153 FeatureBitset RealCallerBits = CallerBits & ~InlineFeatureIgnoreList; in areInlineCompatible()
1154 FeatureBitset RealCalleeBits = CalleeBits & ~InlineFeatureIgnoreList; in areInlineCompatible()
DAMDGPUTargetTransformInfo.h73 static const FeatureBitset InlineFeatureIgnoreList;
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCTargetDesc.h51 class FeatureBitset; variable
74 FeatureBitset completeHVXFeatures(const FeatureBitset &FB);
DHexagonMCTargetDesc.cpp466 FeatureBitset Hexagon_MC::completeHVXFeatures(const FeatureBitset &S) { in completeHVXFeatures()
470 FeatureBitset FB = S; in completeHVXFeatures()
558 llvm::FeatureBitset Features = X->getFeatureBits(); in createHexagonMCSubtargetInfo()
563 llvm::FeatureBitset Features = X->getFeatureBits(); in createHexagonMCSubtargetInfo()
575 llvm::FeatureBitset Features = X->getFeatureBits(); in createHexagonMCSubtargetInfo()
/openbsd/src/gnu/llvm/llvm/include/llvm/MC/MCParser/
DMCTargetAsmParser.h203 static NearMissInfo getMissedFeature(const FeatureBitset &MissingFeatures) { in getMissedFeature()
255 const FeatureBitset& getFeatures() const { in getFeatures()
305 FeatureBitset Features;
335 FeatureBitset AvailableFeatures;
360 const FeatureBitset& getAvailableFeatures() const { in getAvailableFeatures()
363 void setAvailableFeatures(const FeatureBitset& Value) { in setAvailableFeatures()
/openbsd/src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVBaseInfo.h350 FeatureBitset FeaturesRequired;
353 bool haveRequiredFeatures(const FeatureBitset &ActiveFeatures) const { in haveRequiredFeatures()
393 ABI computeTargetABI(const Triple &TT, FeatureBitset FeatureBits,
410 void validate(const Triple &TT, const FeatureBitset &FeatureBits);
413 parseFeatureBits(bool IsRV64, const FeatureBitset &FeatureBits);
DRISCVMatInt.h49 InstSeq generateInstSeq(int64_t Val, const FeatureBitset &ActiveFeatures);
62 const FeatureBitset &ActiveFeatures,
DRISCVBaseInfo.cpp39 ABI computeTargetABI(const Triple &TT, FeatureBitset FeatureBits, in computeTargetABI()
99 void validate(const Triple &TT, const FeatureBitset &FeatureBits) { in validate()
112 parseFeatureBits(bool IsRV64, const FeatureBitset &FeatureBits) { in parseFeatureBits()
DRISCVMatInt.cpp49 const FeatureBitset &ActiveFeatures, in generateInstSeqImpl()
175 InstSeq generateInstSeq(int64_t Val, const FeatureBitset &ActiveFeatures) { in generateInstSeq()
371 const FeatureBitset &ActiveFeatures, bool CompressionCost) { in getIntMatCost()
DRISCVELFStreamer.cpp36 const FeatureBitset &Features = STI.getFeatureBits(); in RISCVTargetELFStreamer()
153 const FeatureBitset &Features = STI.getFeatureBits(); in finish()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/Utils/
DARMBaseInfo.h196 FeatureBitset FeaturesRequired;
199 bool hasRequiredFeatures(FeatureBitset ActiveFeatures) const { in hasRequiredFeatures()
204 bool isInRequiredFeatures(FeatureBitset TestFeatures) const { in isInRequiredFeatures()
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.h374 FeatureBitset FeaturesRequired;
377 constexpr SysAlias(const char *N, uint16_t E, FeatureBitset F) in SysAlias()
380 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
385 FeatureBitset getRequiredFeatures() const { return FeaturesRequired; } in getRequiredFeatures()
392 constexpr SysAliasReg(const char *N, uint16_t E, bool R, FeatureBitset F) in SysAliasReg()
400 constexpr SysAliasImm(const char *N, uint16_t E, uint16_t I, FeatureBitset F) in SysAliasImm()
693 FeatureBitset FeaturesRequired;
695 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
/openbsd/src/gnu/llvm/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp200 FeatureBitset Features = coalesceFeatures(M); in runOnModule()
229 FeatureBitset coalesceFeatures(const Module &M) { in coalesceFeatures()
230 FeatureBitset Features = in coalesceFeatures()
240 std::string getFeatureString(const FeatureBitset &Features) { in getFeatureString()
293 void recordFeatures(Module &M, const FeatureBitset &Features, bool Stripped) { in recordFeatures()
DWebAssemblyTargetTransformInfo.cpp107 const FeatureBitset &CallerBits = in areInlineCompatible()
109 const FeatureBitset &CalleeBits = in areInlineCompatible()
/openbsd/src/gnu/llvm/llvm/utils/TableGen/
DInstrInfoEmitter.cpp722 getNameForFeatureBitset(const std::vector<Record *> &FeatureBitset) { in getNameForFeatureBitset() argument
724 for (const auto &Feature : FeatureBitset) in getNameForFeatureBitset()
786 for (const auto &FeatureBitset : FeatureBitsets) { in emitFeatureVerifier() local
787 if (FeatureBitset.empty()) in emitFeatureVerifier()
789 OS << " " << getNameForFeatureBitset(FeatureBitset) << ",\n"; in emitFeatureVerifier()
794 for (const auto &FeatureBitset : FeatureBitsets) { in emitFeatureVerifier() local
795 if (FeatureBitset.empty()) in emitFeatureVerifier()
798 for (const auto &Feature : FeatureBitset) { in emitFeatureVerifier()
DAsmMatcherEmitter.cpp3193 getNameForFeatureBitset(const std::vector<Record *> &FeatureBitset) { in getNameForFeatureBitset() argument
3195 for (const auto &Feature : FeatureBitset) in getNameForFeatureBitset()
3439 for (const auto &FeatureBitset : FeatureBitsets) { in run() local
3440 if (FeatureBitset.empty()) in run()
3442 OS << " " << getNameForFeatureBitset(FeatureBitset) << ",\n"; in run()
3447 for (const auto &FeatureBitset : FeatureBitsets) { in run() local
3448 if (FeatureBitset.empty()) in run()
3451 for (const auto &Feature : FeatureBitset) { in run()
/openbsd/src/gnu/llvm/llvm/lib/Target/AVR/MCTargetDesc/
DAVRELFStreamer.cpp13 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { in getEFlagsForFeatureSet()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp124 uint64_t &ErrorInfo, FeatureBitset &MissingFeatures, in MatchInstruction()
1189 bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
1225 FeatureBitset AllModes({X86::Is64Bit, X86::Is32Bit, X86::Is16Bit}); in SwitchMode()
1226 FeatureBitset OldMode = STI.getFeatureBits() & AllModes; in SwitchMode()
1227 FeatureBitset FB = ComputeAvailableFeatures( in SwitchMode()
1231 assert(FeatureBitset({mode}) == (STI.getFeatureBits() & AllModes)); in SwitchMode()
4087 const FeatureBitset &MissingFeatures, in ErrorMissingFeature()
4176 FeatureBitset MissingFeatures; in MatchAndEmitATTInstruction()
4245 FeatureBitset ErrorInfoMissingFeatures; // Init suppresses compiler warnings. in MatchAndEmitATTInstruction()
4455 FeatureBitset ErrorInfoMissingFeatures; in MatchAndEmitIntelInstruction()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp1492 FeatureBitset AvailableFeatures = getAvailableFeatures(); in parseOperand()
1493 FeatureBitset All; in parseOperand()
1557 FeatureBitset MissingFeatures; in MatchAndEmitInstruction()
1594 FeatureBitset FBS = ComputeAvailableFeatures(getSTI().getFeatureBits()); in MatchAndEmitInstruction()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMSubtarget.cpp245 const FeatureBitset &Bits = getFeatureBits(); in initSubtargetFeatures()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86TargetTransformInfo.h39 const FeatureBitset InlineFeatureIgnoreList = {

12