Home
last modified time | relevance | path

Searched refs:hasFeature (Results 1 – 25 of 76) sorted by relevance

1234

/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMTargetStreamer.cpp136 if (STI.hasFeature(ARM::HasV9_0aOps)) in getArchForCPU()
138 else if (STI.hasFeature(ARM::HasV8Ops)) { in getArchForCPU()
139 if (STI.hasFeature(ARM::FeatureRClass)) in getArchForCPU()
142 } else if (STI.hasFeature(ARM::HasV8_1MMainlineOps)) in getArchForCPU()
144 else if (STI.hasFeature(ARM::HasV8MMainlineOps)) in getArchForCPU()
146 else if (STI.hasFeature(ARM::HasV7Ops)) { in getArchForCPU()
147 if (STI.hasFeature(ARM::FeatureMClass) && STI.hasFeature(ARM::FeatureDSP)) in getArchForCPU()
150 } else if (STI.hasFeature(ARM::HasV6T2Ops)) in getArchForCPU()
152 else if (STI.hasFeature(ARM::HasV8MBaselineOps)) in getArchForCPU()
154 else if (STI.hasFeature(ARM::HasV6MOps)) in getArchForCPU()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.cpp196 if (STI.hasFeature(CSKY::HasE1)) in emitTargetAttributes()
199 if (STI.hasFeature(CSKY::HasE2)) in emitTargetAttributes()
202 if (STI.hasFeature(CSKY::Has2E3)) in emitTargetAttributes()
205 if (STI.hasFeature(CSKY::HasMP)) in emitTargetAttributes()
208 if (STI.hasFeature(CSKY::Has3E3r1)) in emitTargetAttributes()
211 if (STI.hasFeature(CSKY::Has3r1E3r2)) in emitTargetAttributes()
214 if (STI.hasFeature(CSKY::Has3r2E3r3)) in emitTargetAttributes()
217 if (STI.hasFeature(CSKY::Has3E7)) in emitTargetAttributes()
220 if (STI.hasFeature(CSKY::HasMP1E2)) in emitTargetAttributes()
223 if (STI.hasFeature(CSKY::Has7E10)) in emitTargetAttributes()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCObjectFileInfo.cpp22 return (STI->hasFeature(RISCV::FeatureStdExtC) || in getTextSectionAlignment()
23 STI->hasFeature(RISCV::FeatureExtZca)) in getTextSectionAlignment()
H A DRISCVTargetStreamer.cpp50 if (STI.hasFeature(RISCV::FeatureRV32E)) in emitTargetAttributes()
56 STI.hasFeature(RISCV::Feature64Bit), STI.getFeatureBits()); in emitTargetAttributes()
/openbsd-src/gnu/llvm/clang/lib/Basic/Targets/
H A DHexagon.cpp85 if (hasFeature("hvx-length64b")) { in getTargetDefines()
91 if (hasFeature("hvx-length128b")) { in getTargetDefines()
99 if (hasFeature("audio")) { in getTargetDefines()
213 bool HexagonTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() function in HexagonTargetInfo
H A DX86.h320 bool hasFeature(StringRef Feature) const final;
486 if (hasFeature("cx8")) in setMaxAtomicWidth()
552 hasFeature("avx512f") ? 512 : hasFeature("avx") ? 256 : 128; in handleTargetFeatures()
796 if (hasFeature("cx16")) in setMaxAtomicWidth()
931 hasFeature("avx512f") ? 512 : hasFeature("avx") ? 256 : 128; in handleTargetFeatures()
H A DSPIR.h191 bool hasFeature(StringRef Feature) const override { in hasFeature() function
244 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DM68k.h45 bool hasFeature(StringRef Feature) const override;
H A DLanai.cpp53 bool LanaiTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() function in LanaiTargetInfo
H A DLanai.h71 bool hasFeature(StringRef Feature) const override;
H A DDirectX.h69 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DMSP430.h60 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DPNaCl.h51 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DTCE.h93 bool hasFeature(StringRef Feature) const override { return Feature == "tce"; } in hasFeature() function
H A DCSKY.h89 bool hasFeature(StringRef Feature) const override;
H A DBPF.h50 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DHexagon.h95 bool hasFeature(StringRef Feature) const override;
H A DSystemZ.cpp126 bool SystemZTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() function in SystemZTargetInfo
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp172 bool HasVectorFloat32 = TI.hasFeature("zve32f"); in InitIntrinsicList()
173 bool HasVectorFloat64 = TI.hasFeature("zve64d"); in InitIntrinsicList()
174 bool HasZvfh = TI.hasFeature("experimental-zvfh"); in InitIntrinsicList()
175 bool HasRV64 = TI.hasFeature("64bit"); in InitIntrinsicList()
176 bool HasFullMultiply = TI.hasFeature("v"); in InitIntrinsicList()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp296 assert((STI.hasFeature(X86::Is32Bit) || STI.hasFeature(X86::Is64Bit)) && in determinePaddingPrefix()
337 if (STI.hasFeature(X86::Is64Bit)) in determinePaddingPrefix()
496 if (!(STI.hasFeature(X86::Is64Bit) || STI.hasFeature(X86::Is32Bit))) in canPadBranches()
1000 if (STI.hasFeature(X86::Is16Bit)) in getMaximumNopSize()
1002 if (!STI.hasFeature(X86::FeatureNOPL) && !STI.hasFeature(X86::Is64Bit)) in getMaximumNopSize()
H A DX86InstPrinterCommon.cpp397 if (STI.hasFeature(X86::Is16Bit) || STI.hasFeature(X86::Is64Bit)) in printInstFlags()
399 else if (STI.hasFeature(X86::Is32Bit)) in printInstFlags()
/openbsd-src/gnu/llvm/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430ELFStreamer.cpp62 Streamer.emitInt8(STI.hasFeature(MSP430::FeatureX) ? ISAMSP430X : ISAMSP430); in MSP430TargetELFStreamer()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DModule.cpp101 static bool hasFeature(StringRef Feature, const LangOptions &LangOpts, in hasFeature() function
121 .Default(Target.hasFeature(Feature) || in hasFeature()
140 if (hasFeature(Current->Requirements[I].first, LangOpts, Target) != in isUnimportable()
317 if (hasFeature(Feature, LangOpts, Target) == RequiredState) in addRequirement()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp258 if (!STI.hasFeature(AMDGPU::FeatureVscnt)) in generateWaitCntInfo()
265 if (!STI.hasFeature(AMDGPU::FeatureVscnt)) in generateWaitCntInfo()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp35 ARM_TM.getMCSubtargetInfo()->hasFeature(ARM::FeatureExecuteOnly); in Initialize()

1234