| /llvm-project/clang/lib/Basic/ |
| H A D | TargetID.cpp | 69 llvm::StringMap<bool> *FeatureMap) { in parseTargetIDWithFormatCheckingOnly() 85 if (!FeatureMap) in parseTargetIDWithFormatCheckingOnly() 86 FeatureMap = &LocalFeatureMap; in parseTargetIDWithFormatCheckingOnly() 96 if (!FeatureMap->try_emplace(Feature, IsOn).second) in parseTargetIDWithFormatCheckingOnly() 105 llvm::StringMap<bool> *FeatureMap) { in parseTargetID() 107 parseTargetIDWithFormatCheckingOnly(TargetID, FeatureMap); in parseTargetID() 120 for (auto &&F : *FeatureMap) in parseTargetID() 151 llvm::StringMap<Info> FeatureMap; in getConflictTargetIDCombination() 155 auto [Loc, Inserted] = FeatureMap.try_emplace(Proc, ID, Features); in getConflictTargetIDCombination() 68 parseTargetIDWithFormatCheckingOnly(llvm::StringRef TargetID,llvm::StringMap<bool> * FeatureMap) parseTargetIDWithFormatCheckingOnly() argument 106 parseTargetID(const llvm::Triple & T,llvm::StringRef TargetID,llvm::StringMap<bool> * FeatureMap) parseTargetID() argument 150 llvm::StringMap<Info> FeatureMap; getConflictTargetIDCombination() local
|
| H A D | Targets.cpp | 826 if (!Target->initFeatureMap(Opts->FeatureMap, Diags, Opts->CPU, in CreateTargetInfo() 832 for (const auto &F : Opts->FeatureMap) in CreateTargetInfo()
|
| /llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | JITTargetMachineBuilder.cpp | 31 llvm::StringMap<bool> FeatureMap; detectHost() local
|
| /llvm-project/clang/lib/Basic/Targets/ |
| H A D | X86.cpp | 1697 bool X86TargetInfo::validateOutputSize(const llvm::StringMap<bool> &FeatureMap, in validateOperandSize() 1703 return validateOperandSize(FeatureMap, Constraint, Size); in validateOperandSize() 1706 bool X86TargetInfo::validateInputSize(const llvm::StringMap<bool> &FeatureMap, in validateOperandSize() 1709 return validateOperandSize(FeatureMap, Constraint, Size); in validateOperandSize() 1712 bool X86TargetInfo::validateOperandSize(const llvm::StringMap<bool> &FeatureMap, in validateOperandSize() 1737 if (hasFeatureEnabled(FeatureMap, "avx512f") && in convertConstraint() 1738 hasFeatureEnabled(FeatureMap, "evex512")) in convertConstraint() 1741 else if (hasFeatureEnabled(FeatureMap, "avx")) in convertConstraint() 1744 else if (hasFeatureEnabled(FeatureMap, "sse")) in convertConstraint() 1758 if (hasFeatureEnabled(FeatureMap, "avx512 in convertConstraint() 1653 validateOutputSize(const llvm::StringMap<bool> & FeatureMap,StringRef Constraint,unsigned Size) const validateOutputSize() argument 1662 validateInputSize(const llvm::StringMap<bool> & FeatureMap,StringRef Constraint,unsigned Size) const validateInputSize() argument 1668 validateOperandSize(const llvm::StringMap<bool> & FeatureMap,StringRef Constraint,unsigned Size) const validateOperandSize() argument [all...] |
| H A D | M68k.cpp | 113 if (TargetOpts.FeatureMap.lookup("isa-68881") || in getTargetDefines() 114 TargetOpts.FeatureMap.lookup("isa-68882")) in getTargetDefines()
|
| H A D | X86.h | 263 bool validateOutputSize(const llvm::StringMap<bool> &FeatureMap, 266 bool validateInputSize(const llvm::StringMap<bool> &FeatureMap, in checkCFProtectionReturnSupported() 283 virtual bool validateOperandSize(const llvm::StringMap<bool> &FeatureMap, in getClobbers() 485 bool validateOperandSize(const llvm::StringMap<bool> &FeatureMap, in validateOperandSize() 504 return X86TargetInfo::validateOperandSize(FeatureMap, Constraint, Size); in setMaxAtomicWidth() 482 validateOperandSize(const llvm::StringMap<bool> & FeatureMap,StringRef Constraint,unsigned Size) validateOperandSize() argument
|
| /llvm-project/llvm/utils/TableGen/ |
| H A D | SubtargetEmitter.cpp | 93 unsigned featureKeyValues(raw_ostream &OS, const FeatureMapTy &FeatureMap); 94 unsigned cpuKeyValues(raw_ostream &OS, const FeatureMapTy &FeatureMap); 174 FeatureMapTy FeatureMap; in Enumeration() 184 FeatureMap[Def] = I; in Enumeration() 193 return FeatureMap; in printFeatureMask() 198 const FeatureMapTy &FeatureMap) { in printFeatureMask() 201 unsigned Bit = FeatureMap.lookup(Feature); in printFeatureMask() 258 const FeatureMapTy &FeatureMap) { in FeatureKeyValues() 291 printFeatureMask(OS, ImpliesList, FeatureMap); in FeatureKeyValues() 341 const FeatureMapTy &FeatureMap) { in CPUKeyValues() 153 Enumeration(raw_ostream & OS,DenseMap<Record *,unsigned> & FeatureMap) Enumeration() argument 192 printFeatureMask(raw_ostream & OS,RecVec & FeatureList,const DenseMap<Record *,unsigned> & FeatureMap) printFeatureMask() argument 252 FeatureKeyValues(raw_ostream & OS,const DenseMap<Record *,unsigned> & FeatureMap) FeatureKeyValues() argument 311 CPUKeyValues(raw_ostream & OS,const DenseMap<Record *,unsigned> & FeatureMap) CPUKeyValues() argument 1999 DenseMap<Record *, unsigned> FeatureMap; run() local [all...] |
| /llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | HIPAMD.cpp | 61 llvm::StringMap<bool> FeatureMap; shouldSkipSanitizeOption() local
|
| H A D | AMDGPU.cpp | 681 llvm::StringMap<bool> FeatureMap; in getAMDGPUTargetFeatures() 682 auto OptionalGpuArch = parseTargetID(Triple, TargetID, &FeatureMap); in getAMDGPUTargetFeatures() 690 auto Pos = FeatureMap.find(Feature); in AMDGPUToolChain() 691 if (Pos == FeatureMap.end()) 885 llvm::StringMap<bool> FeatureMap; in getSystemGPUArchs() 886 auto OptionalGpuArch = parseTargetID(getTriple(), TargetID, &FeatureMap); in getSystemGPUArchs() 890 return {TargetID.str(), OptionalGpuArch->str(), FeatureMap}; in getSystemGPUArchs() 1088 llvm::StringMap<bool> FeatureMap; 1089 auto OptionalGpuArch = parseTargetID(TC.getTriple(), TargetID, &FeatureMap); 1093 auto Loc = FeatureMap 655 llvm::StringMap<bool> FeatureMap; getAMDGPUTargetFeatures() local 859 llvm::StringMap<bool> FeatureMap; getParsedTargetID() local [all...] |
| /llvm-project/llvm/lib/Analysis/ |
| H A D | MLInlineAdvisor.cpp | 80 M.getContext(), FeatureMap, DecisionName, in getReleaseModeAdvisor() 83 auto Features = FeatureMap; in getReleaseModeAdvisor() 110 const std::vector<TensorSpec> llvm::FeatureMap{ 525 OR << NV(FeatureMap[I].name(), in reportContextForRemark()
|
| /llvm-project/clang/include/clang/Sema/ |
| H A D | SemaRISCV.h | 40 const llvm::StringMap<bool> &FeatureMap);
|
| /llvm-project/clang/include/clang/Basic/ |
| H A D | TargetID.h | 43 llvm::StringMap<bool> *FeatureMap);
|
| H A D | TargetOptions.h | 62 llvm::StringMap<bool> FeatureMap; variable
|
| H A D | TargetInfo.h | 1210 virtual bool validateOutputSize(const llvm::StringMap<bool> &FeatureMap, in validateInputSize() argument 1216 virtual bool validateInputSize(const llvm::StringMap<bool> &FeatureMap, in validateConstraintModifier() 1204 validateOutputSize(const llvm::StringMap<bool> & FeatureMap,StringRef,unsigned) validateOutputSize() argument
|
| /llvm-project/clang/lib/Sema/ |
| H A D | SemaRISCV.cpp | 1373 const llvm::StringMap<bool> &FeatureMap) { 1380 !FeatureMap.lookup("zve64d")) in checkRVVTypeSupport() 1386 !FeatureMap.lookup("zve64x")) in checkRVVTypeSupport() 1388 else if (Info.ElementType->isFloat16Type() && !FeatureMap.lookup("zvfh") && in checkRVVTypeSupport() 1389 !FeatureMap.lookup("zvfhmin")) in checkRVVTypeSupport() 1392 else if (Info.ElementType->isBFloat16Type() && !FeatureMap.lookup("zvfbfmin")) in checkRVVTypeSupport() 1395 !FeatureMap.lookup("zve32f")) in checkRVVTypeSupport() 1399 else if (!FeatureMap.lookup("zve32x")) in checkRVVTypeSupport() 1375 checkRVVTypeSupport(QualType Ty,SourceLocation Loc,Decl * D,const llvm::StringMap<bool> & FeatureMap) checkRVVTypeSupport() argument
|
| H A D | SemaStmtAsm.cpp | 255 llvm::StringMap<bool> FeatureMap; in ActOnGCCAsmStmt() 256 Context.getFunctionFeatureMap(FeatureMap, FD); in ActOnGCCAsmStmt() 338 FeatureMap, Literal->getString(), Size)) { in ActOnGCCAsmStmt() 451 if (!Context.getTargetInfo().validateInputSize(FeatureMap, in ActOnGCCAsmStmt() 262 llvm::StringMap<bool> FeatureMap; ActOnGCCAsmStmt() local
|
| H A D | SemaDecl.cpp | 12147 llvm::StringMap<bool> FeatureMap; CheckFunctionDeclaration() local 12159 llvm::StringMap<bool> FeatureMap; CheckFunctionDeclaration() local
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | InlineModelFeatureMaps.h | 156 extern const std::vector<TensorSpec> FeatureMap;
|
| /llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 2937 ASTCtx.getFunctionFeatureMap(FeatureMap, CurrentFunctionDecl); 2944 auto It = FeatureMap.find(RawString); 2945 if (It != FeatureMap.end())
|
| H A D | ASTContext.cpp | 2525 getTargetInfo().getTriple(), Target->getTargetOpts().FeatureMap); in getPreferredTypeAlign() 14497 void ASTContext::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap, 14500 getFunctionFeatureMap(FeatureMap, GlobalDecl().getWithDecl(FD)); 14502 Target->initFeatureMap(FeatureMap, getDiagnostics(), 14509 void ASTContext::getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap, 14532 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, 14542 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); 14551 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); 14563 Target->initFeatureMap(FeatureMap, getDiagnostics(), TargetCPU, Features); 14571 Target->initFeatureMap(FeatureMap, getDiagnostic 13787 getFunctionFeatureMap(llvm::StringMap<bool> & FeatureMap,const FunctionDecl * FD) const getFunctionFeatureMap() argument 13799 getFunctionFeatureMap(llvm::StringMap<bool> & FeatureMap,GlobalDecl GD) const getFunctionFeatureMap() argument [all...] |
| /llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 3357 void getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap, 3359 void getFunctionFeatureMap(llvm::StringMap<bool> &FeatureMap,
|
| H A D | OpenMPClause.h | 9464 llvm::StringMap<bool> FeatureMap; 8998 llvm::StringMap<bool> FeatureMap; global() member
|
| /llvm-project/clang/lib/Lex/ |
| H A D | PPMacroExpansion.cpp | 1823 getTargetInfo().getTargetOpts().FeatureMap); in ExpandBuiltinMacro()
|
| /llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 2703 llvm::StringMap<bool> FeatureMap; in setNonAliasAttributes() 2704 getContext().getFunctionFeatureMap(FeatureMap, GD); in setNonAliasAttributes() 2707 for (const llvm::StringMap<bool>::value_type &Entry : FeatureMap) in setNonAliasAttributes() 2626 llvm::StringMap<bool> FeatureMap; GetCPUAndFeaturesAttributes() local
|
| H A D | CGOpenMPRuntimeGPU.cpp | 2234 for (const auto &Feature : CGM.getTarget().getTargetOpts().FeatureMap) { in getOffloadArch()
|