Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMTargetStreamer.cpp136 if (STI.hasFeature(ARM::HasV9_0aOps)) in getArchForCPU()
147 if (STI.hasFeature(ARM::FeatureMClass) && STI.hasFeature(ARM::FeatureDSP)) in getArchForCPU()
154 else if (STI.hasFeature(ARM::HasV6MOps)) in getArchForCPU()
156 else if (STI.hasFeature(ARM::HasV6Ops)) in getArchForCPU()
183 if (STI.hasFeature(ARM::ProcKrait)) { in emitTargetAttributes()
222 if (STI.hasFeature(ARM::FeatureNEON)) { in emitTargetAttributes()
236 if (STI.hasFeature(ARM::HasV8Ops)) in emitTargetAttributes()
272 if (STI.hasFeature(ARM::FeatureVFP2_SP) && !STI.hasFeature(ARM::FeatureFP64)) in emitTargetAttributes()
276 if (STI.hasFeature(ARM::FeatureFP16)) in emitTargetAttributes()
279 if (STI.hasFeature(ARM::FeatureMP)) in emitTargetAttributes()
[all …]
/llvm-project-15.0.7/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()
217 if (STI.hasFeature(CSKY::Has3E7)) in emitTargetAttributes()
220 if (STI.hasFeature(CSKY::HasMP1E2)) in emitTargetAttributes()
223 if (STI.hasFeature(CSKY::Has7E10)) in emitTargetAttributes()
226 if (STI.hasFeature(CSKY::Has10E60)) in emitTargetAttributes()
244 if (STI.hasFeature(CSKY::HasDSP1E2)) in emitTargetAttributes()
[all …]
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DHexagon.cpp76 if (hasFeature("hvx-length64b")) { in getTargetDefines()
82 if (hasFeature("hvx-length128b")) { in getTargetDefines()
90 if (hasFeature("audio")) { in getTargetDefines()
199 bool HexagonTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() function in HexagonTargetInfo
H A DX86.h306 bool hasFeature(StringRef Feature) const final;
471 if (hasFeature("cx8")) in setMaxAtomicWidth()
534 hasFeature("avx512f") ? 512 : hasFeature("avx") ? 256 : 128; in handleTargetFeatures()
778 if (hasFeature("cx16")) in setMaxAtomicWidth()
910 hasFeature("avx512f") ? 512 : hasFeature("avx") ? 256 : 128; in handleTargetFeatures()
H A DSPIR.h184 bool hasFeature(StringRef Feature) const override { in hasFeature() function
237 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DLanai.cpp53 bool LanaiTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() function in LanaiTargetInfo
H A DM68k.h44 bool hasFeature(StringRef Feature) const override;
H A DDirectX.h66 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DLanai.h71 bool hasFeature(StringRef Feature) const override;
H A DMSP430.h60 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DTCE.h92 bool hasFeature(StringRef Feature) const override { return Feature == "tce"; } in hasFeature() function
H A DPNaCl.h51 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DCSKY.h89 bool hasFeature(StringRef Feature) const override;
H A DBPF.h51 bool hasFeature(StringRef Feature) const override { in hasFeature() function
H A DHexagon.h96 bool hasFeature(StringRef Feature) const override;
H A DSystemZ.cpp126 bool SystemZTargetInfo::hasFeature(StringRef Feature) const { in hasFeature() function in SystemZTargetInfo
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaRISCVVectorLookup.cpp170 bool HasVectorFloat32 = TI.hasFeature("zve32f"); in InitIntrinsicList()
171 bool HasVectorFloat64 = TI.hasFeature("zve64d"); in InitIntrinsicList()
172 bool HasZvfh = TI.hasFeature("experimental-zvfh"); in InitIntrinsicList()
173 bool HasRV64 = TI.hasFeature("64bit"); in InitIntrinsicList()
174 bool HasFullMultiply = TI.hasFeature("v"); in InitIntrinsicList()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.cpp48 if (STI.hasFeature(RISCV::FeatureRV32E)) in emitTargetAttributes()
54 STI.hasFeature(RISCV::Feature64Bit), STI.getFeatureBits()); in emitTargetAttributes()
H A DRISCVMCObjectFileInfo.cpp22 return STI->hasFeature(RISCV::FeatureStdExtC) ? 2 : 4; in getTextSectionAlignment()
/llvm-project-15.0.7/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()
1001 if (STI.hasFeature(X86::Is16Bit)) in getMaximumNopSize()
1003 if (!STI.hasFeature(X86::FeatureNOPL) && !STI.hasFeature(X86::Is64Bit)) in getMaximumNopSize()
H A DX86InstPrinterCommon.cpp393 if (STI.hasFeature(X86::Is16Bit) || STI.hasFeature(X86::Is64Bit)) in printInstFlags()
395 else if (STI.hasFeature(X86::Is32Bit)) in printInstFlags()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/MCTargetDesc/
H A DMSP430ELFStreamer.cpp62 Streamer.emitInt8(STI.hasFeature(MSP430::FeatureX) ? ISAMSP430X : ISAMSP430); in MSP430TargetELFStreamer()
/llvm-project-15.0.7/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()
297 if (hasFeature(Feature, LangOpts, Target) == RequiredState) in addRequirement()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCA/
H A DAMDGPUCustomBehaviour.cpp258 if (!STI.hasFeature(AMDGPU::FeatureVscnt)) in generateWaitCntInfo()
265 if (!STI.hasFeature(AMDGPU::FeatureVscnt)) in generateWaitCntInfo()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.cpp35 ARM_TM.getMCSubtargetInfo()->hasFeature(ARM::FeatureExecuteOnly); in Initialize()

123