Home
last modified time | relevance | path

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

/external/llvm/include/llvm/MC/
DSubtargetFeature.h34 class FeatureBitset : public std::bitset<MAX_SUBTARGET_FEATURES> {
37 FeatureBitset() : bitset() {} in FeatureBitset() function
39 FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {} in FeatureBitset() function
41 FeatureBitset(std::initializer_list<unsigned> Init) : bitset() { in FeatureBitset() function
55 FeatureBitset Value; // K-V integer value
56 FeatureBitset Implies; // K-V bit mask
103 FeatureBitset ToggleFeature(FeatureBitset Bits, StringRef String,
107 FeatureBitset ApplyFeatureFlag(FeatureBitset Bits, StringRef Feature,
111 FeatureBitset getFeatureBits(StringRef CPU,
DMCSubtargetInfo.h45 FeatureBitset FeatureBits; // Feature bits for current CPU + FS
71 const FeatureBitset& getFeatureBits() const { in getFeatureBits()
77 void setFeatureBits(const FeatureBitset &FeatureBits_) { in setFeatureBits()
95 FeatureBitset ToggleFeature(uint64_t FB);
99 FeatureBitset ToggleFeature(const FeatureBitset& FB);
103 FeatureBitset ToggleFeature(StringRef FS);
107 FeatureBitset ApplyFeatureFlag(StringRef FS);
DMCInstrDesc.h25 class FeatureBitset; variable
/external/llvm/lib/MC/
DSubtargetFeature.cpp134 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits()
150 void ClearImpliedBits(FeatureBitset &Bits, in ClearImpliedBits()
165 FeatureBitset
166 SubtargetFeatures::ToggleFeature(FeatureBitset Bits, StringRef Feature, in ToggleFeature()
197 FeatureBitset
198 SubtargetFeatures::ApplyFeatureFlag(FeatureBitset Bits, StringRef Feature, in ApplyFeatureFlag()
232 FeatureBitset
238 return FeatureBitset(); in getFeatureBits()
251 FeatureBitset Bits; in getFeatureBits()
DMCSubtargetInfo.cpp20 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures()
53 FeatureBitset MCSubtargetInfo::ToggleFeature(uint64_t FB) { in ToggleFeature()
58 FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) { in ToggleFeature()
65 FeatureBitset MCSubtargetInfo::ToggleFeature(StringRef FS) { in ToggleFeature()
71 FeatureBitset MCSubtargetInfo::ApplyFeatureFlag(StringRef FS) { in ApplyFeatureFlag()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.h17 class FeatureBitset; variable
32 IsaVersion getIsaVersion(const FeatureBitset &Features);
34 const FeatureBitset &Features);
DAMDGPUBaseInfo.cpp30 IsaVersion getIsaVersion(const FeatureBitset &Features) { in getIsaVersion()
48 const FeatureBitset &Features) { in initDefaultAMDKernelCodeT()
/external/llvm/lib/Target/AArch64/Utils/
DAArch64BaseInfo.h286 FeatureBitset FeatureBitSet;
289 const FeatureBitset& FeatureBits) const { in isNameEqual()
297 const FeatureBitset& FeatureBits) const { in isValueEqual()
310 StringRef toString(uint32_t Value, const FeatureBitset& FeatureBits,
313 uint32_t fromString(StringRef Name, const FeatureBitset& FeatureBits,
1247 uint32_t fromString(StringRef Name, const FeatureBitset& FeatureBits,
1249 std::string toString(uint32_t Bits, const FeatureBitset& FeatureBits) const;
DAArch64BaseInfo.cpp22 const FeatureBitset& FeatureBits, bool &Valid) const { in toString()
35 const FeatureBitset& FeatureBits, bool &Valid) const { in fromString()
838 const FeatureBitset& FeatureBits, bool &Valid) const { in fromString()
882 const FeatureBitset& FeatureBits) const { in toString()
/external/llvm/lib/Target/ARM/
DARMSubtarget.cpp252 const FeatureBitset &Bits = getFeatureBits(); in initSubtargetFeatures()
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsTargetStreamer.cpp442 const FeatureBitset &Features = STI.getFeatureBits(); in MipsTargetELFStreamer()
524 const FeatureBitset &Features = STI.getFeatureBits(); in finish()
/external/llvm/lib/Target/ARM/Disassembler/
DARMDisassembler.cpp970 const FeatureBitset &featureBits = in DecoderGPRRegisterClass()
1014 const FeatureBitset &featureBits = in DecodeDPRRegisterClass()
1362 const FeatureBitset &featureBits = in DecodeCopMemInstruction()
2140 const FeatureBitset &FeatureBits = Dis->getSubtargetInfo().getFeatureBits(); in DecodeSETPANInstruction()
3309 const FeatureBitset &featureBits = in DecodeT2LoadShift()
3396 const FeatureBitset &featureBits = in DecodeT2LoadImm8()
3477 const FeatureBitset &featureBits = in DecodeT2LoadImm12()
3595 const FeatureBitset &featureBits = in DecodeT2LoadLabel()
3919 const FeatureBitset &featureBits = in DecodeCoprocessor()
4072 const FeatureBitset &FeatureBits = in DecodeMSRMask()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp47 MipsAssemblerOptions(const FeatureBitset &Features_) : in MipsAssemblerOptions()
74 const FeatureBitset &getFeatures() const { return Features; } in getFeatures()
75 void setFeatures(const FeatureBitset &Features_) { Features = Features_; } in setFeatures()
82 static const FeatureBitset AllArchRelatedMask;
88 FeatureBitset Features;
92 const FeatureBitset MipsAssemblerOptions::AllArchRelatedMask = {
359 FeatureBitset FeatureBits = STI.getFeatureBits(); in selectArch()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp1342 const FeatureBitset &CallerBits = in areInlineCompatible()
1344 const FeatureBitset &CalleeBits = in areInlineCompatible()
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp776 FeatureBitset AllModes({X86::Mode64Bit, X86::Mode32Bit, X86::Mode16Bit}); in SwitchMode()
777 FeatureBitset OldMode = STI.getFeatureBits() & AllModes; in SwitchMode()
782 assert(FeatureBitset({mode}) == (STI.getFeatureBits() & AllModes)); in SwitchMode()
/external/llvm/lib/Target/X86/Disassembler/
DX86Disassembler.cpp83 const FeatureBitset &FB = STI.getFeatureBits(); in X86GenericDisassembler()
/external/llvm/lib/Target/ARM/InstPrinter/
DARMInstPrinter.cpp800 const FeatureBitset &FeatureBits = STI.getFeatureBits(); in printMSRMaskOperand()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp9922 const FeatureBitset Features;
9982 FeatureBitset ToggleFeatures = EnableFeature in parseDirectiveArchExtension()