| /freebsd-src/contrib/llvm-project/llvm/lib/TargetParser/ |
| H A D | TargetParser.cpp | 27 unsigned Features; member 31 // Name Canonical Kind Features 65 // Name Canonical Kind Features 204 return Entry->Features; in getIsaVersion() 210 return Entry->Features; in getIsaVersion() 316 StringMap<bool> &Features) { in fillAMDGPUFeatureMap() 320 Features["atomic-ds-pk-add-16-insts"] = true; in fillAMDGPUFeatureMap() 321 Features["atomic-flat-pk-add-16-insts"] = true; in fillAMDGPUFeatureMap() 322 Features["atomic-buffer-global-pk-add-f16-insts"] = true; in fillAMDGPUFeatureMap() 323 Features["atomi in fillAMDGPUFeatureMap() 271 fillAMDGPUFeatureMap(StringRef GPU,const Triple & T,StringMap<bool> & Features) fillAMDGPUFeatureMap() argument 523 insertWaveSizeFeature(StringRef GPU,const Triple & T,StringMap<bool> & Features,std::string & ErrorMsg) insertWaveSizeFeature() argument [all...] |
| H A D | Host.cpp | 707 #define testFeature(F) (Features[F / 32] & (1 << (F % 32))) != 0 in getIntelProcessorTypeAndSubtype() 711 const unsigned *Features, in getIntelProcessorTypeAndSubtype() 1072 const unsigned *Features, in getAMDProcessorTypeAndSubtype() 1245 unsigned *Features) { in getAvailableFeatures() 1249 Features[F / 32] |= 1U << (F % 32); in getAvailableFeatures() 1388 unsigned Features[(X86::CPU_FEATURE_MAX + 31) / 32] = {0}; in getHostCPUName() 1390 getAvailableFeatures(ECX, EDX, MaxLeaf, Features); in getHostCPUName() 1400 CPU = getIntelProcessorTypeAndSubtype(Family, Model, Features, &Type, in getHostCPUName() 1403 CPU = getAMDProcessorTypeAndSubtype(Family, Model, Features, &Type, in getHostCPUName() 1743 StringMap<bool> Features; in getHostCPUFeatures() 682 getIntelProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getIntelProcessorTypeAndSubtype() argument 1048 getAMDProcessorTypeAndSubtype(unsigned Family,unsigned Model,const unsigned * Features,unsigned * Type,unsigned * Subtype) getAMDProcessorTypeAndSubtype() argument 1203 getAvailableFeatures(unsigned ECX,unsigned EDX,unsigned MaxLeaf,unsigned * Features) getAvailableFeatures() argument 1350 unsigned Features[(X86::CPU_FEATURE_MAX + 31) / 32] = {0}; getHostCPUName() local 1687 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument 1879 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument 1948 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument 1960 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument 1976 getHostCPUFeatures(StringMap<bool> & Features) getHostCPUFeatures() argument [all...] |
| H A D | CSKYTargetParser.cpp | 21 std::vector<StringRef> &Features) { in getFPUFeatures() argument 28 Features.push_back("+fpuv2_sf"); in getFPUFeatures() 29 Features.push_back("+fpuv2_df"); in getFPUFeatures() 30 Features.push_back("+fdivdu"); in getFPUFeatures() 33 Features.push_back("+fpuv2_sf"); in getFPUFeatures() 34 Features.push_back("+fpuv2_df"); in getFPUFeatures() 37 Features.push_back("+fpuv2_sf"); in getFPUFeatures() 38 Features.push_back("+fpuv2_df"); in getFPUFeatures() 39 Features.push_back("+fdivdu"); in getFPUFeatures() 42 Features.push_back("+fpuv2_sf"); in getFPUFeatures() [all …]
|
| H A D | SubtargetFeature.cpp | 41 Features.push_back(hasFlag(String) ? String.lower() in AddFeature() 47 Features.insert(Features.cend(), OtherFeatures.begin(), OtherFeatures.end()); in addFeaturesVector() 52 Split(Features, Initial); in SubtargetFeatures() 56 return join(Features.begin(), Features.end(), ","); in getString() 60 for (const auto &F : Features) in print()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNProcessors.td | 24 FeatureISAVersion6_0_0.Features 28 FeatureISAVersion6_0_0.Features 32 FeatureISAVersion6_0_1.Features 36 FeatureISAVersion6_0_1.Features 40 FeatureISAVersion6_0_1.Features 44 FeatureISAVersion6_0_2.Features 48 FeatureISAVersion6_0_2.Features 52 FeatureISAVersion6_0_2.Features 60 FeatureISAVersion7_0_0.Features 64 FeatureISAVersion7_0_0.Features [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
| H A D | RISCV.cpp | 30 std::vector<StringRef> &Features, in getArchFeatures() argument 47 Features.push_back(Args.MakeArgString(Str)); in getArchFeatures() 50 Features.push_back(Args.MakeArgString("+experimental")); in getArchFeatures() 59 std::vector<StringRef> &Features) { in getRISCFeaturesFromMcpu() argument 74 std::vector<StringRef> &Features) { 77 if (!getArchFeatures(D, MArch, Features, Args)) in getRISCVTargetFeatures() argument 90 getRISCFeaturesFromMcpu(D, A, Triple, CPU, Features); in getRISCVTargetFeatures() 100 Features.push_back("+reserve-x1"); in getRISCVTargetFeatures() 102 Features.push_back("+reserve-x2"); in getRISCVTargetFeatures() 104 Features in getRISCVTargetFeatures() [all...] |
| H A D | AArch64.cpp | 153 std::vector<StringRef> &Features) { 168 Features.push_back("+zcm"); in getAArch64MicroArchFeaturesFromMtune() 169 Features.push_back("+zcz"); in getAArch64MicroArchFeaturesFromMtune() 178 std::vector<StringRef> &Features) { in getAArch64MicroArchFeaturesFromMcpu() 186 return getAArch64MicroArchFeaturesFromMtune(D, CPU, Args, Features); in getAArch64MicroArchFeaturesFromMcpu() 192 std::vector<StringRef> &Features, in getAArch64TargetFeatures() 224 getAArch64MicroArchFeaturesFromMtune(D, A->getValue(), Args, Features); in getAArch64TargetFeatures() 227 getAArch64MicroArchFeaturesFromMcpu(D, A->getValue(), Args, Features); in getAArch64TargetFeatures() 230 D, getAArch64TargetCPU(Args, Triple, A), Args, Features); in getAArch64TargetFeatures() 257 Extensions.toLLVMFeatureList(Features); in getAArch64TargetFeatures() 157 getAArch64MicroArchFeaturesFromMtune(const Driver & D,StringRef Mtune,const ArgList & Args,std::vector<StringRef> & Features) getAArch64MicroArchFeaturesFromMtune() argument 179 getAArch64MicroArchFeaturesFromMcpu(const Driver & D,StringRef Mcpu,const ArgList & Args,std::vector<StringRef> & Features) getAArch64MicroArchFeaturesFromMcpu() argument 193 getAArch64TargetFeatures(const Driver & D,const llvm::Triple & Triple,const ArgList & Args,std::vector<StringRef> & Features,bool ForAS) getAArch64TargetFeatures() argument [all...] |
| H A D | Sparc.cpp | 134 std::vector<StringRef> &Features) { in getSparcTargetFeatures() argument 137 Features.push_back("+soft-float"); in getSparcTargetFeatures() 141 Features.push_back("+fsmuld"); in getSparcTargetFeatures() 143 Features.push_back("-fsmuld"); in getSparcTargetFeatures() 148 Features.push_back("+popc"); in getSparcTargetFeatures() 150 Features.push_back("-popc"); in getSparcTargetFeatures() 155 Features.push_back("+vis"); in getSparcTargetFeatures() 157 Features.push_back("-vis"); in getSparcTargetFeatures() 162 Features.push_back("+vis2"); in getSparcTargetFeatures() 164 Features.push_back("-vis2"); in getSparcTargetFeatures() [all …]
|
| H A D | M68k.cpp | 69 std::vector<llvm::StringRef> &Features) { in addFloatABIFeatures() argument 74 Features.push_back("-isa-68881"); in addFloatABIFeatures() 75 Features.push_back("-isa-68882"); in addFloatABIFeatures() 84 Features.push_back("+isa-68881"); in addFloatABIFeatures() 90 Features.push_back("+isa-68882"); in addFloatABIFeatures() 95 std::vector<StringRef> &Features) { in getM68kTargetFeatures() argument 96 addFloatABIFeatures(Args, Features); in getM68kTargetFeatures() 100 Features.push_back("+reserve-a0"); in getM68kTargetFeatures() 102 Features.push_back("+reserve-a1"); in getM68kTargetFeatures() 104 Features.push_back("+reserve-a2"); in getM68kTargetFeatures() [all …]
|
| H A D | LoongArch.cpp | 129 std::vector<StringRef> &Features) { in getLoongArchTargetFeatures() argument 133 Features.push_back("+lsx"); in getLoongArchTargetFeatures() 139 llvm::LoongArch::getArchFeatures(ArchName, Features); in getLoongArchTargetFeatures() 148 Features.push_back("+f"); in getLoongArchTargetFeatures() 149 Features.push_back("+d"); in getLoongArchTargetFeatures() 151 Features.push_back("+f"); in getLoongArchTargetFeatures() 152 Features.push_back("-d"); in getLoongArchTargetFeatures() 153 Features.push_back("-lsx"); in getLoongArchTargetFeatures() 155 Features.push_back("-f"); in getLoongArchTargetFeatures() 156 Features in getLoongArchTargetFeatures() [all...] |
| H A D | X86.cpp | 121 std::vector<StringRef> &Features) { in getX86TargetFeatures() argument 135 Features.push_back( in getX86TargetFeatures() 143 Features.push_back("-rdrnd"); in getX86TargetFeatures() 144 Features.push_back("-aes"); in getX86TargetFeatures() 145 Features.push_back("-pclmul"); in getX86TargetFeatures() 146 Features.push_back("-rtm"); in getX86TargetFeatures() 147 Features.push_back("-fsgsbase"); in getX86TargetFeatures() 154 Features.push_back("+sse4.2"); in getX86TargetFeatures() 155 Features.push_back("+popcnt"); in getX86TargetFeatures() 156 Features in getX86TargetFeatures() [all...] |
| H A D | ARM.cpp | 82 std::vector<StringRef> &Features) { in getARMHWDivFeatures() argument 84 if (!llvm::ARM::getHWDivFeatures(HWDivID, Features)) in getARMHWDivFeatures() 91 std::vector<StringRef> &Features) { in getARMFPUFeatures() argument 93 if (!llvm::ARM::getFPUFeatures(FPUKind, Features)) in getARMFPUFeatures() 101 std::vector<StringRef> &Features, in DecodeARMFeatures() argument 107 if (!appendArchExtFeatures(CPU, ArchKind, Feature, Features, ArgFPUKind)) in DecodeARMFeatures() 114 std::vector<StringRef> &Features) { in DecodeARMFeaturesFromCPU() argument 119 llvm::ARM::getExtensionFeatures(Extension, Features); in DecodeARMFeaturesFromCPU() 128 std::vector<StringRef> &Features, in checkARMArchName() argument 137 !DecodeARMFeatures(D, Split.second, CPUName, ArchKind, Features, in checkARMArchName() 146 checkARMCPUName(const Driver & D,const Arg * A,const ArgList & Args,llvm::StringRef CPUName,llvm::StringRef ArchName,std::vector<StringRef> & Features,const llvm::Triple & Triple,llvm::ARM::FPUKind & ArgFPUKind) checkARMCPUName() argument 490 getARMTargetFeatures(const Driver & D,const llvm::Triple & Triple,const ArgList & Args,std::vector<StringRef> & Features,bool ForAS,bool ForMultilib) getARMTargetFeatures() argument [all...] |
| H A D | Mips.cpp | 187 std::vector<StringRef> &Features) { in getMIPSTargetFeatures() argument 257 Features.push_back("+noabicalls"); in getMIPSTargetFeatures() 259 Features.push_back("-noabicalls"); in getMIPSTargetFeatures() 264 Features.push_back("-long-calls"); in getMIPSTargetFeatures() 266 Features.push_back("+long-calls"); in getMIPSTargetFeatures() 273 Features.push_back("+xgot"); in getMIPSTargetFeatures() 275 Features.push_back("-xgot"); in getMIPSTargetFeatures() 283 Features.push_back("+soft-float"); in getMIPSTargetFeatures() 290 Features.push_back("+nan2008"); in getMIPSTargetFeatures() 293 Features in getMIPSTargetFeatures() [all...] |
| H A D | CSKY.cpp | 80 StringRef FPU, std::vector<StringRef> &Features) { in getCSKYFPUFeatures() argument 99 [&Features](ArrayRef<const char *> FPUFeatures) { in getCSKYFPUFeatures() 101 auto it = llvm::find(Features, FPUFeature); in getCSKYFPUFeatures() 102 if (it != Features.end()) in getCSKYFPUFeatures() 103 Features.erase(it); in getCSKYFPUFeatures() 110 if (!llvm::CSKY::getFPUFeatures(FPUID, Features)) { in getCSKYFPUFeatures() 120 std::vector<llvm::StringRef> &Features) { in getCSKYTargetFeatures() argument 158 Features.push_back("+hard-float-abi"); in getCSKYTargetFeatures() 159 Features.push_back("+hard-float"); in getCSKYTargetFeatures() 161 Features.push_back("+hard-float"); in getCSKYTargetFeatures() [all …]
|
| H A D | SystemZ.cpp | 55 std::vector<llvm::StringRef> &Features) { in getSystemZTargetFeatures() argument 59 Features.push_back("+transactional-execution"); in getSystemZTargetFeatures() 61 Features.push_back("-transactional-execution"); in getSystemZTargetFeatures() 66 Features.push_back("+vector"); in getSystemZTargetFeatures() 68 Features.push_back("-vector"); in getSystemZTargetFeatures() 73 Features.push_back("+soft-float"); in getSystemZTargetFeatures() 78 Features.push_back("+unaligned-symbols"); 80 Features.push_back("-unaligned-symbols");
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
| H A D | AVRELFStreamer.cpp | 13 static unsigned getEFlagsForFeatureSet(const FeatureBitset &Features) { in getEFlagsForFeatureSet() argument 17 if (Features[AVR::ELFArchAVR1]) in getEFlagsForFeatureSet() 19 else if (Features[AVR::ELFArchAVR2]) in getEFlagsForFeatureSet() 21 else if (Features[AVR::ELFArchAVR25]) in getEFlagsForFeatureSet() 23 else if (Features[AVR::ELFArchAVR3]) in getEFlagsForFeatureSet() 25 else if (Features[AVR::ELFArchAVR31]) in getEFlagsForFeatureSet() 27 else if (Features[AVR::ELFArchAVR35]) in getEFlagsForFeatureSet() 29 else if (Features[AVR::ELFArchAVR4]) in getEFlagsForFeatureSet() 31 else if (Features[AVR::ELFArchAVR5]) in getEFlagsForFeatureSet() 33 else if (Features[AV in getEFlagsForFeatureSet() [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | PPC.cpp | 33 bool PPCTargetInfo::handleTargetFeatures(std::vector<std::string> &Features, in handleTargetFeatures() argument 36 for (const auto &Feature : Features) { in handleTargetFeatures() 517 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() 519 Features["altivec"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap() 534 Features["power9-vector"] = (CPU == "pwr9"); in initFeatureMap() 535 Features["crypto"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap() 540 Features["power8-vector"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap() 545 Features["bpermd"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap() 551 Features["extdiv"] = llvm::StringSwitch<bool>(CPU) in initFeatureMap() 557 Features["direc in initFeatureMap() 484 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) const initFeatureMap() argument 707 setFeatureEnabled(llvm::StringMap<bool> & Features,StringRef Name,bool Enabled) const setFeatureEnabled() argument [all...] |
| H A D | WebAssembly.cpp | 112 void WebAssemblyTargetInfo::setSIMDLevel(llvm::StringMap<bool> &Features, in setSIMDLevel() 117 Features["relaxed-simd"] = true; in setSIMDLevel() 120 Features["simd128"] = true; in setSIMDLevel() 131 Features["simd128"] = false; in setSIMDLevel() 134 Features["relaxed-simd"] = false; in setSIMDLevel() 139 void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, in setFeatureEnabled() 143 setSIMDLevel(Features, SIMD128, Enabled); in setFeatureEnabled() 145 setSIMDLevel(Features, RelaxedSIMD, Enabled); in setFeatureEnabled() 147 Features[Name] = Enabled; in initFeatureMap() 151 llvm::StringMap<bool> &Features, DiagnosticsEngin in initFeatureMap() 109 setSIMDLevel(llvm::StringMap<bool> & Features,SIMDEnum Level,bool Enabled) setSIMDLevel() argument 136 setFeatureEnabled(llvm::StringMap<bool> & Features,StringRef Name,bool Enabled) const setFeatureEnabled() argument 148 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) const initFeatureMap() argument 169 handleTargetFeatures(std::vector<std::string> & Features,DiagnosticsEngine & Diags) handleTargetFeatures() argument [all...] |
| H A D | RISCV.cpp | 246 llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU, in initFeatureMap() 252 Features["64bit"] = true; in initFeatureMap() 255 Features["32bit"] = true; in initFeatureMap() 273 return TargetInfo::initFeatureMap(Features, Diags, CPU, OverrideFeatures); in initFeatureMap() 291 return TargetInfo::initFeatureMap(Features, Diags, CPU, AllFeatures); in initFeatureMap() 334 bool RISCVTargetInfo::handleTargetFeatures(std::vector<std::string> &Features, in handleTargetFeatures() 337 auto ParseResult = llvm::RISCVISAInfo::parseFeatures(XLen, Features); in handleTargetFeatures() 357 llvm::is_contained(Features, "+unaligned-scalar-mem"); in handleTargetFeatures() 359 if (llvm::is_contained(Features, "+experimental")) in handleTargetFeatures() 393 std::vector<std::string> &Features) { in handleFullArchString() 245 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) const initFeatureMap() argument 333 handleTargetFeatures(std::vector<std::string> & Features,DiagnosticsEngine & Diags) handleTargetFeatures() argument 391 handleFullArchString(StringRef FullArchStr,std::vector<std::string> & Features) handleFullArchString() argument [all...] |
| H A D | SystemZ.h | 149 initFeatureMap(llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, in initFeatureMap() 154 Features["transactional-execution"] = true; in initFeatureMap() 156 Features["vector"] = true; in initFeatureMap() 158 Features["vector-enhancements-1"] = true; in initFeatureMap() 160 Features["vector-enhancements-2"] = true; 162 Features["nnp-assist"] = true; in handleTargetFeatures() 163 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); in handleTargetFeatures() 166 bool handleTargetFeatures(std::vector<std::string> &Features, in handleTargetFeatures() 172 for (const auto &Feature : Features) { in handleTargetFeatures() 144 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) initFeatureMap() argument 161 handleTargetFeatures(std::vector<std::string> & Features,DiagnosticsEngine & Diags) handleTargetFeatures() argument
|
| H A D | Mips.h | 181 initFeatureMap(llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, in initFeatureMap() 187 Features["mips64r2"] = Features["cnmips"] = true; in initFeatureMap() 189 Features["mips64r2"] = Features["cnmips"] = Features["cnmipsp"] = true; 191 Features[CPU] = true; 192 return TargetInfo::initFeatureMap(Features, Diags, CPU, FeaturesVec); 314 bool handleTargetFeatures(std::vector<std::string> &Features, in handleTargetFeatures() 329 for (const auto &Feature : Features) { in handleTargetFeatures() 176 initFeatureMap(llvm::StringMap<bool> & Features,DiagnosticsEngine & Diags,StringRef CPU,const std::vector<std::string> & FeaturesVec) initFeatureMap() argument 309 handleTargetFeatures(std::vector<std::string> & Features,DiagnosticsEngine & Diags) handleTargetFeatures() argument [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Object/ |
| H A D | ELFObjectFile.cpp | 102 SubtargetFeatures Features; in getMIPSFeatures() 109 Features.AddFeature("mips2"); in getMIPSFeatures() 112 Features.AddFeature("mips3"); in getMIPSFeatures() 115 Features.AddFeature("mips4"); in getMIPSFeatures() 118 Features.AddFeature("mips5"); in getMIPSFeatures() 121 Features.AddFeature("mips32"); in getMIPSFeatures() 124 Features.AddFeature("mips64"); in getMIPSFeatures() 127 Features.AddFeature("mips32r2"); in getMIPSFeatures() 130 Features.AddFeature("mips64r2"); in getMIPSFeatures() 133 Features in getMIPSFeatures() 101 SubtargetFeatures Features; getMIPSFeatures() local 161 SubtargetFeatures Features; getARMFeatures() local 291 SubtargetFeatures Features; getRISCVFeatures() local 325 SubtargetFeatures Features; getLoongArchFeatures() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetID.cpp | 28 auto Features = T.isAMDGCN() ? llvm::AMDGPU::getArchAttrAMDGCN(ProcKind) in getAllPossibleAMDGPUTargetIDFeatures() local 30 if (Features & llvm::AMDGPU::FEATURE_SRAMECC) in getAllPossibleAMDGPUTargetIDFeatures() 32 if (Features & llvm::AMDGPU::FEATURE_XNACK) in getAllPossibleAMDGPUTargetIDFeatures() 79 auto Features = Split.second; in parseTargetIDWithFormatCheckingOnly() local 80 if (Features.empty()) in parseTargetIDWithFormatCheckingOnly() 87 while (!Features.empty()) { in parseTargetIDWithFormatCheckingOnly() 88 auto Splits = Features.split(':'); in parseTargetIDWithFormatCheckingOnly() 99 Features = Splits.second; in parseTargetIDWithFormatCheckingOnly() 131 const llvm::StringMap<bool> &Features) { in getCanonicalTargetID() argument 134 for (const auto &F : Features) in getCanonicalTargetID() [all …]
|
| /freebsd-src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 80 static CharSourceRange MakeCharSourceRange(const LangOptions &Features, in MakeCharSourceRange() argument 87 TokLoc.getManager(), Features); in MakeCharSourceRange() 90 TokLoc.getManager(), Features); in MakeCharSourceRange() 100 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument 105 TokLoc.getManager(), Features); in Diag() 107 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag() 135 const LangOptions &Features, in ProcessCharEscape() argument 162 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 168 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape() 193 Diag(Diags, Features, Lo in ProcessCharEscape() 460 ProcessNumericUCNEscape(const char * ThisTokBegin,const char * & ThisTokBuf,const char * ThisTokEnd,uint32_t & UcnVal,unsigned short & UcnLen,bool & Delimited,FullSourceLoc Loc,DiagnosticsEngine * Diags,const LangOptions & Features,bool in_char_string_literal=false) ProcessNumericUCNEscape() argument 542 DiagnoseInvalidUnicodeCharacterName(DiagnosticsEngine * Diags,const LangOptions & Features,FullSourceLoc Loc,const char * TokBegin,const char * TokRangeBegin,const char * TokRangeEnd,llvm::StringRef Name) DiagnoseInvalidUnicodeCharacterName() argument 601 ProcessNamedUCNEscape(const char * ThisTokBegin,const char * & ThisTokBuf,const char * ThisTokEnd,uint32_t & UcnVal,unsigned short & UcnLen,FullSourceLoc Loc,DiagnosticsEngine * Diags,const LangOptions & Features) ProcessNamedUCNEscape() argument 649 ProcessUCNEscape(const char * ThisTokBegin,const char * & ThisTokBuf,const char * ThisTokEnd,uint32_t & UcnVal,unsigned short & UcnLen,FullSourceLoc Loc,DiagnosticsEngine * Diags,const LangOptions & Features,bool in_char_string_literal=false) ProcessUCNEscape() argument 722 MeasureUCNEscape(const char * ThisTokBegin,const char * & ThisTokBuf,const char * ThisTokEnd,unsigned CharByteWidth,const LangOptions & Features,bool & HadError) MeasureUCNEscape() argument 760 EncodeUCNEscape(const char * ThisTokBegin,const char * & ThisTokBuf,const char * ThisTokEnd,char * & ResultBuf,bool & HadError,FullSourceLoc Loc,unsigned CharByteWidth,DiagnosticsEngine * Diags,const LangOptions & Features) EncodeUCNEscape() argument [all...] |
| /freebsd-src/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerMerge.cpp | 109 Files[CurrentFileIdx].Features = TmpFeatures; in Parse() 133 Res += sizeof(F) + F.Features.size() * sizeof(F.Features[0]); in ApproximateMemoryConsumption() 152 auto &Cur = Files[i].Features; in Merge() 157 auto &Cur = Files[i].Features; in Merge() 171 return a.Features.size() > b.Features.size(); in Merge() 177 auto &Cur = Files[i].Features; in Merge() 199 S.insert(File.Features.begin(), File.Features.end()); in AllFeatures() 243 std::set<size_t> Features; in CrashResistantMergeInternalStep() local 245 TPC.CollectFeatures([&](size_t Feature) { Features.insert(Feature); }); in CrashResistantMergeInternalStep() 249 Features.insert(Feature); in CrashResistantMergeInternalStep() [all …]
|