Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/TargetParser/
H A DX86TargetParser.cpp29 FeatureBitset Features;
36 FeatureBitset ImpliedFeatures;
57 constexpr FeatureBitset FeaturesPentium2 =
64 constexpr FeatureBitset FeaturesNocona =
80 constexpr FeatureBitset FeaturesCore2 =
98 constexpr FeatureBitset FeaturesKNL =
184 constexpr FeatureBitset FeaturesK8 =
649 FeatureBitset Bits = I->Features; in getFeaturesForCPU()
667 FeatureBitset Prev; in getImpliedEnabledFeatures()
682 FeatureBitset Prev; in getImpliedDisabledFeatures()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DSubtargetFeature.h41 class FeatureBitset {
57 FeatureBitset &set() { in set()
97 constexpr FeatureBitset &operator^=(const FeatureBitset &RHS) {
103 constexpr FeatureBitset operator^(const FeatureBitset &RHS) const {
104 FeatureBitset Result = *this;
109 constexpr FeatureBitset &operator&=(const FeatureBitset &RHS) {
114 constexpr FeatureBitset operator&(const FeatureBitset &RHS) const {
115 FeatureBitset Result = *this;
120 constexpr FeatureBitset &operator|=(const FeatureBitset &RHS) {
126 constexpr FeatureBitset operator|(const FeatureBitset &RHS) const {
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCSubtargetInfo.cpp37 void SetImpliedBits(FeatureBitset &Bits, const FeatureBitset &Implies, in SetImpliedBits()
49 void ClearImpliedBits(FeatureBitset &Bits, unsigned Value, in ClearImpliedBits()
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()
257 FeatureBitset MCSubtargetInfo::ClearFeatureBitsTransitively( in ClearFeatureBitsTransitively()
258 const FeatureBitset &FB) { in ClearFeatureBitsTransitively()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A 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);
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DGlobalISelMatchTableExecutorEmitter.cpp79 for (const auto &FeatureBitset : FeatureBitsets) { in emitSubtargetFeatureBitsetImpl() local
80 if (FeatureBitset.first.empty() && FeatureBitset.second < 0) in emitSubtargetFeatureBitsetImpl()
83 << getNameForFeatureBitset(FeatureBitset.first, FeatureBitset.second) in emitSubtargetFeatureBitsetImpl()
89 for (const auto &FeatureBitset : FeatureBitsets) { in emitSubtargetFeatureBitsetImpl() local
90 if (FeatureBitset.first.empty() && FeatureBitset.second < 0) in emitSubtargetFeatureBitsetImpl()
93 for (const auto &Feature : FeatureBitset.first) { in emitSubtargetFeatureBitsetImpl()
99 if (FeatureBitset.second >= 0) { in emitSubtargetFeatureBitsetImpl()
100 OS << "Feature_HwMode" << FeatureBitset.second << "Bit, "; in emitSubtargetFeatureBitsetImpl()
H A DInstrInfoEmitter.cpp724 getNameForFeatureBitset(const std::vector<Record *> &FeatureBitset) { in getNameForFeatureBitset() argument
726 for (const auto &Feature : FeatureBitset) in getNameForFeatureBitset()
785 for (const auto &FeatureBitset : FeatureBitsets) { in emitFeatureVerifier() local
786 if (FeatureBitset.empty()) in emitFeatureVerifier()
788 OS << " " << getNameForFeatureBitset(FeatureBitset) << ",\n"; in emitFeatureVerifier()
793 for (const auto &FeatureBitset : FeatureBitsets) { in emitFeatureVerifier() local
794 if (FeatureBitset.empty()) in emitFeatureVerifier()
797 for (const auto &Feature : FeatureBitset) { in emitFeatureVerifier()
H A DAsmMatcherEmitter.cpp3195 getNameForFeatureBitset(const std::vector<Record *> &FeatureBitset) { in getNameForFeatureBitset() argument
3197 for (const auto &Feature : FeatureBitset) in getNameForFeatureBitset()
3443 for (const auto &FeatureBitset : FeatureBitsets) { in run() local
3444 if (FeatureBitset.empty()) in run()
3446 OS << " " << getNameForFeatureBitset(FeatureBitset) << ",\n"; in run()
3451 for (const auto &FeatureBitset : FeatureBitsets) { in run() local
3452 if (FeatureBitset.empty()) in run()
3455 for (const auto &Feature : FeatureBitset) { in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURemoveIncompatibleFunctions.cpp111 FeatureBitset expandImpliedFeatures(const FeatureBitset &Features) { in expandImpliedFeatures()
112 FeatureBitset Result = Features; in expandImpliedFeatures()
159 const FeatureBitset GPUFeatureBits = in checkFunction()
H A DAMDGPUTargetTransformInfo.cpp274 const FeatureBitset GCNTTIImpl::InlineFeatureIgnoreList = {
1161 const FeatureBitset &CallerBits = CallerST->getFeatureBits(); in areInlineCompatible()
1162 const FeatureBitset &CalleeBits = CalleeST->getFeatureBits(); in areInlineCompatible()
1164 FeatureBitset RealCallerBits = CallerBits & ~InlineFeatureIgnoreList; in areInlineCompatible()
1165 FeatureBitset RealCalleeBits = CalleeBits & ~InlineFeatureIgnoreList; in areInlineCompatible()
H A DAMDGPUTargetTransformInfo.h76 static const FeatureBitset InlineFeatureIgnoreList;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCTargetDesc.h50 class FeatureBitset; variable
73 FeatureBitset completeHVXFeatures(const FeatureBitset &FB);
H A 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCTargetAsmParser.h240 static NearMissInfo getMissedFeature(const FeatureBitset &MissingFeatures) { in getMissedFeature()
292 const FeatureBitset& getFeatures() const { in getFeatures()
342 FeatureBitset Features;
372 FeatureBitset AvailableFeatures;
397 const FeatureBitset& getAvailableFeatures() const { in getAvailableFeatures()
400 void setAvailableFeatures(const FeatureBitset& Value) { in setAvailableFeatures()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/Utils/
H A DARMBaseInfo.h196 FeatureBitset FeaturesRequired;
199 bool hasRequiredFeatures(FeatureBitset ActiveFeatures) const { in hasRequiredFeatures()
204 bool isInRequiredFeatures(FeatureBitset TestFeatures) const { in isInRequiredFeatures()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.h341 FeatureBitset FeaturesRequired;
344 constexpr SysAlias(const char *N, uint16_t E, FeatureBitset F) in SysAlias()
347 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
352 FeatureBitset getRequiredFeatures() const { return FeaturesRequired; } in getRequiredFeatures()
359 constexpr SysAliasReg(const char *N, uint16_t E, bool R, FeatureBitset F) in SysAliasReg()
367 constexpr SysAliasImm(const char *N, uint16_t E, uint16_t I, FeatureBitset F) in SysAliasImm()
681 FeatureBitset FeaturesRequired;
683 bool haveFeatures(FeatureBitset ActiveFeatures) const { in haveFeatures()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.cpp201 FeatureBitset Features = coalesceFeatures(M); in runOnModule()
230 FeatureBitset coalesceFeatures(const Module &M) { in coalesceFeatures()
231 FeatureBitset Features = in coalesceFeatures()
241 std::string getFeatureString(const FeatureBitset &Features) { in getFeatureString()
294 void recordFeatures(Module &M, const FeatureBitset &Features, bool Stripped) { in recordFeatures()
H A DWebAssemblyTargetTransformInfo.cpp107 const FeatureBitset &CallerBits = in areInlineCompatible()
109 const FeatureBitset &CalleeBits = in areInlineCompatible()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h419 FeatureBitset FeaturesRequired;
422 bool haveRequiredFeatures(const FeatureBitset &ActiveFeatures) const { in haveRequiredFeatures()
463 ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits,
480 void validate(const Triple &TT, const FeatureBitset &FeatureBits);
483 parseFeatureBits(bool IsRV64, const FeatureBitset &FeatureBits);
H A DRISCVBaseInfo.cpp39 ABI computeTargetABI(const Triple &TT, const FeatureBitset &FeatureBits, in computeTargetABI()
112 void validate(const Triple &TT, const FeatureBitset &FeatureBits) { in validate()
123 parseFeatureBits(bool IsRV64, const FeatureBitset &FeatureBits) { in parseFeatureBits()
H A DRISCVELFStreamer.cpp36 const FeatureBitset &Features = STI.getFeatureBits(); in RISCVTargetELFStreamer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRELFStreamer.cpp13 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { in getEFlagsForFeatureSet()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp130 uint64_t &ErrorInfo, FeatureBitset &MissingFeatures, in MatchInstruction()
1196 bool ErrorMissingFeature(SMLoc IDLoc, const FeatureBitset &MissingFeatures,
1232 FeatureBitset AllModes({X86::Is64Bit, X86::Is32Bit, X86::Is16Bit}); in SwitchMode()
1233 FeatureBitset OldMode = STI.getFeatureBits() & AllModes; in SwitchMode()
1234 FeatureBitset FB = ComputeAvailableFeatures( in SwitchMode()
1238 assert(FeatureBitset({mode}) == (STI.getFeatureBits() & AllModes)); in SwitchMode()
3975 const FeatureBitset &MissingFeatures, in ErrorMissingFeature()
4069 FeatureBitset MissingFeatures; in MatchAndEmitATTInstruction()
4138 FeatureBitset ErrorInfoMissingFeatures; // Init suppresses compiler warnings. in MatchAndEmitATTInstruction()
4348 FeatureBitset ErrorInfoMissingFeatures; in MatchAndEmitIntelInstruction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp246 const FeatureBitset &Bits = getFeatureBits(); in initSubtargetFeatures()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1464 FeatureBitset AvailableFeatures = getAvailableFeatures(); in parseOperand()
1465 FeatureBitset All; in parseOperand()
1529 FeatureBitset MissingFeatures; in MatchAndEmitInstruction()
1566 FeatureBitset FBS = ComputeAvailableFeatures(getSTI().getFeatureBits()); in MatchAndEmitInstruction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/Disassembler/
H A DARMDisassembler.cpp1479 const FeatureBitset &featureBits = in DecoderGPRRegisterClass()
1531 const FeatureBitset &featureBits = in DecodeDPRRegisterClass()
1871 const FeatureBitset &featureBits = in DecodeCopMemInstruction()
4073 const FeatureBitset &featureBits = in DecodeT2LoadShift()
4162 const FeatureBitset &featureBits = in DecodeT2LoadImm8()
4244 const FeatureBitset &featureBits = in DecodeT2LoadImm12()
4363 const FeatureBitset &featureBits = in DecodeT2LoadLabel()
4818 const FeatureBitset &featureBits = in DecodeCoprocessor()
4831 const FeatureBitset &FeatureBits = in DecodeThumbTableBranch()
4976 const FeatureBitset &FeatureBits = in DecodeMSRMask()
[all …]

123