ConvertUTF8toWide | Converts a UTF-8 StringRef to a std::wstring. |
DiffFilesWithTolerance | Compare two files, allowing absolute and relative floating-point tolerance. |
DisplayGraph | Display a DOT graph file with the given Graphviz program. |
EmitImportsFiles | Emit into OutputFilename the files module ModulePath will import from. |
MD5Hash | Helper to compute and return lower 64 bits of the given string's MD5 hash. |
SplitString | Split Source on Delimiters, appending fragments to OutFragments. |
StrCmpOptionName | Compare two option name (or prefix) strings for sorting. |
StripTemplateParameters | Strips template parameters from a templated function name. |
UpgradeDataLayoutString | Upgrade the datalayout string by adding a section for address space pointers. |
arrayRefFromStringRef | Construct an array ref of bytes from a string ref. |
caseFoldingDjbHash | Computes the Bernstein hash after folding the input according to the Dwarf 5 standard case folding rules. |
center_justify | center_justify - add spaces before and after string so total output is Width characters. If Str is larger that Width, full string is written with no padding. |
computeArchiveRelativePath | Compute a relative path from the directory of From to To. |
consumeSignedInteger | Parse a signed integer from the front of Str using Radix into Result. |
consumeUnsignedInteger | Parse an unsigned integer from the front of Str using Radix into Result. |
convertExceptionBehaviorToStr | For any ExceptionBehavior enumerator, returns a string valid as input in constrained intrinsic exception behavior metadata. |
convertRoundingModeToStr | For any RoundingMode enumerator, returns a string valid as input in constrained intrinsic rounding mode metadata. |
convertStrToExceptionBehavior | Returns a valid ExceptionBehavior enumerator when given a string valid as input in constrained intrinsic exception behavior metadata. |
convertStrToRoundingMode | Returns a valid RoundingMode enumerator when given a string that is valid as input in constrained intrinsic rounding mode metadata. |
convertToCamelFromSnakeCase | Convert a snake-case string to camel-case. |
convertToSnakeFromCamelCase | Convert a camel-case string to snake-case. |
convertUTF8ToUTF16String | Converts a UTF-8 string into a UTF-16 string with native endianness. |
createCtxProfFromYAML | Convert a YAML contextual profile in Profile into bitstream form on Out. |
createMIRParserFromFile | This function is the main interface to the MIR serialization format parser. |
decodeBase64 | Decode a Base64 string into raw bytes. |
denormalModeKindName | Return the name used for the denormal handling mode used by the expected names from the denormal-fp-math attribute. |
djbHash | The Bernstein hash function used by the DWARF accelerator tables. |
doSystemDiff | Performs a system-based diff between Before and After. |
emitSourceFileHeader | Output an LLVM style file header to the specified raw_ostream. |
exportDebugifyStats | Write debugify statistics from Map to the file at Path. |
findBooleanLoopTags | Return the replacement tags for the enable tag Name, or nullptr. |
fromHex | Convert hexadecimal string Input to its binary representation. The return string is half the size of Input. |
gatherImportedSummariesForModule | Compute summaries needed for ThinLTO backend compilation of a module. |
getAllocTokenModeAsString | Returns the canonical string name for the given AllocTokenMode. |
getAllocTokenModeFromString | Returns the AllocTokenMode from its canonical string name; if an invalid name was provided returns nullopt. |
getAllocationFamily | If a function is part of an allocation family (e.g. malloc/realloc/calloc/free), return the identifier for its family of functions. |
getArm64ECDemangledFunctionName | Returns the ARM64EC demangled function name, unless the input is not mangled. |
getArm64ECMangledFunctionName | Returns the ARM64EC mangled function name unless the input is already mangled. |
getAsSignedInteger | Parse a signed integer from Str using Radix into Result. |
getAsUnsignedInteger | Parse an unsigned integer from Str using Radix into Result. |
getAssumptions | Return the set of all assumptions for the function F. |
getAssumptions | Return the set of all assumptions for the call CB. |
getAtomicScopeIRString | Returns the LLVM IR syncscope string that T uses to spell S. |
getAutoSenseRadix | Detect and strip a radix prefix from Str, returning the inferred radix. |
getCPUDefaultTargetFeatures | Returns the default enabled features for CPU, or nullopt if unknown. |
getCachedOrDownloadArtifact | Fetches any debuginfod artifact using the default local cache directory and server URLs. |
getCachedOrDownloadArtifact | Fetches any debuginfod artifact from a cache or remote servers. |
getCoverageMappingVarName | Return the name of a coverage mapping variable for an instrumented module. |
getCoverageUnusedNamesVarName | Return the name of the variable listing PGO names referenced by coverage. |
getDebuginfodCacheKey | Returns the cache key for a given debuginfod URL path. |
getDefaultDebuginfodUrls | Finds default array of Debuginfod server URLs by checking DEBUGINFOD_URLS environment variable. |
getEHPersonalityName | Return the canonical name string for personality Pers. |
getFloatFn | Get the name of the overloaded floating point function corresponding to Ty. |
getFuncNameWithoutPrefix | Strip the filename prefix from a PGO function name. |
getGCStrategy | Lookup the GCStrategy object associated with the given gc name. |
getInstrProfBitmapBiasVarName | Return the name of the runtime bitmap-bias global variable. |
getInstrProfBitmapVarPrefix | Return the name prefix of profile bitmap variables. |
getInstrProfCounterBiasVarName | Return the name of the runtime counter-bias global variable. |
getInstrProfCountersVarPrefix | Return the name prefix of profile counter variables. |
getInstrProfDataVarPrefix | Return the name prefix of variables containing per-function control data. |
getInstrProfInitFuncName | Return the name of the compiler-generated profile runtime initializer. |
getInstrProfInstrumentGPUFuncName | Return the name of the GPU wave-cooperative counter increment helper. |
getInstrProfNameSeparator | Return the marker used to separate PGO names during serialization. |
getInstrProfNameVarPrefix | Return the name prefix of variables containing instrumented function names. |
getInstrProfNamesRegFuncName | Return the name of the runtime interface that registers the PGO name strings. |
getInstrProfNamesVarName | Return the name of the variable holding the strings (possibly compressed) of all function's PGO names. |
getInstrProfNamesVarPostfixVarName | Return the name of the post-fix marker for the PGO names variable. |
getInstrProfRegFuncName | Return the name of the runtime interface that registers per-function control data for one instrumented function. |
getInstrProfRegFuncsName | Return the name of the function that registers per-function control data. |
getInstrProfRuntimeHookVarName | Return the name of the profile runtime hook variable. |
getInstrProfRuntimeHookVarUseFuncName | Return the name of the compiler generated function that references the runtime hook variable. The function is a weak global. |
getInstrProfVNodesVarName | Return the name of value profile node array variables: |
getInstrProfVTableNamesVarName | Return the name of the variable holding (possibly compressed) vtable names. |
getInstrProfVTableVarPrefix | Return the name prefix of variables containing virtual table profile data. |
getInstrProfValueProfFuncName | Return the name profile runtime entry point to do value profiling for a given site. |
getInstrProfValueProfMemOpFuncName | Return the name profile runtime entry point to do memop size value profiling. |
getInstrProfValuesVarPrefix | Return the name prefix of value profile variables. |
getInstrProfVarPrefix | Return the prefix of the name of the variables to function as a filter. |
getKCFITypeID | Compute KCFI type ID from mangled type name. The algorithm can be xxHash64 or FNV-1a. |
getLazyIRFileModule | Create a Module from a file, with lazy function-body loading for bitcode. |
getLongDoubleFormatName | Returns the IR floating-point type name for a LongDoubleFormat. |
getLoopVectorizeKindPrefix | Return a short prefix describing the loop's vectorizer origin. |
getMachineType | Map a /machine flag argument to a COFF machine type. |
getModuleSummaryIndexForFile | Parse the module summary index out of an IR file. |
getNameFromBundleAttr | Return the string name of the given operand-bundle attribute kind. |
getObjCNamesIfSelector | Parses an Objective-C selector name into its component parts. |
getOrdinalSuffix | Returns the English suffix for an ordinal integer (-st, -nd, -rd, -th). |
getPGOFuncName | Return a front-end PGO lookup name from raw name, linkage, and file name. |
getPGOFuncNameMetadataName | Return the metadata kind name used for legacy PGO function names. |
getPGOFuncNameVarInitializer | Return the string initializer of PGO name variable NameVar. |
getPGOFuncNameVarName | Return the global variable name used to store a PGO function name. |
getPGONameMetadataName | Return the metadata kind name used for PGO global-object names. |
getParsedIRPGOName | Parse a filename and function name from an IRPGO name string. |
getPointerAuthStableSipHash | Compute a stable non-zero 16-bit hash of the given string. |
getPrefetchTargetSymbolName | Return the symbol name for a prefetch target. |
getStableSipHash | Compute a stable 64-bit hash of the given string. |
getToken | Extract one token from Source using the characters in Delimiters. |
getTypeName | We provide a function which tries to compute the (demangled) name of a type statically. |
getUniqueInternalLinkagePostfix | Build a unique-internal-linkage post-fix hash for FName. |
get_stable_name | Strip LLVM-introduced suffixes so the name is stable across builds. |
get_threadpool_strategy | Build a strategy from a number of threads as a string provided in Num. |
handleExecNameEncodedBEOpts | Handle backend options that are encoded in the executable name. |
handleExecNameEncodedOptimizerOpts | Handle optimizer options which are encoded in the executable name. Same semantics as in 'handleExecNameEncodedBEOpts'. |
hardware_concurrency | Parse Num into a hardware_concurrency strategy. |
hash_value | Compute a hash_code for a StringRef. |
heavyweight_hardware_concurrency | Parse Num into a heavyweight_hardware_concurrency strategy. |
identify_magic | Identify the type of a binary file based on how magical it is. |
isASCII | Checks whether all characters in S are ASCII. |
isArm64ECMangledFunctionName | Check if an ARM64EC function name is mangled. |
isFunctionInPrintList | Returns true if IR for FunctionName should be printed. |
isPassInPrintList | Returns true if -filter-passes is empty or contains PassName. |
isReleaseModelValid | Check whether a release-mode ML advisor has a valid model to execute. |
isReleaseModelValid | Check whether a release-mode ML advisor has a valid model to execute. |
isSpecialPass | Return whether PassID names a special pass ending with a suffix in Specials. |
left_justify | left_justify - append spaces after string so total output is Width characters. If Str is larger that Width, full string is written with no padding. |
machineToStr | Return a user-readable string for a COFF machine type. |
mayBeOldLoopAttachmentTag | Check whether a string looks like an old loop attachment tag. |
operator!= | Return true if LHS and RHS differ in length or contents. |
operator+ | Concatenate a StringRef and a C string with simplified codegen. |
operator< | Return true if LHS is lexicographically less than RHS. |
operator<= | Return true if LHS is lexicographically less than or equal to RHS. |
operator== | Return true if LHS and RHS have equal length and contents. |
operator> | Return true if LHS is lexicographically greater than RHS. |
operator>= | Return true if LHS is lexicographically greater than or equal to RHS. |
parseAnalysisUtilityPasses | Add require<> or invalidate<> utility passes for an analysis. |
parseAssemblyFile | Parse LLVM Assembly from a file. |
parseAssemblyFileWithIndex | Parse LLVM Assembly and its module summary from a file. |
parseAssemblyFileWithIndexNoUpgradeDebugInfo | Parse an assembly file with index without upgrading debug info. |
parseAssemblyString | Parse LLVM Assembly from a string. |
parseCachePruningPolicy | Parse the given string as a cache pruning policy. |
parseConstantValue | Parse a type and a constant value in the given string. |
parseDIExpressionBodyAtBeginning | Parse a DIExpression body at the beginning of the given string. |
parseDenormalFPAttribute | Returns the denormal mode to use for inputs and outputs. |
parseDenormalFPAttributeComponent | Parse the expected names from the denormal-fp-math attribute. |
parseIRFile | If the given file holds a bitcode image, return a Module for it. Otherwise, attempt to parse it as LLVM Assembly and return a Module for it. |
parseInfoSectionUnitHeader | Parse the unit header at the start of a .debug_info(.dwo) section. |
parseKCFIHashAlgorithm | Parse a KCFI hash algorithm name. Returns xxHash64 if the name is not recognized. |
parseLongDoubleFormat | Parses an IR floating-point type name into a LongDoubleFormat, returning std::nullopt if it does not name a supported long double format. |
parseSummaryIndexAssemblyFile | Parse a module summary index from an LLVM Assembly file. |
parseSummaryIndexAssemblyString | Parse a module summary index from an LLVM Assembly string. |
parseType | Parse a type in the given string. |
parseTypeAtBeginning | Parse a type at the beginning of the given string. |
printEscapedString | Print each character of the specified string, escaping it if it is not printable or if it is an escape char. |
printHTMLEscaped | Print each character of the specified string, escaping HTML special characters. |
printLowerCase | Print each character as lowercase if it is uppercase. |
printPercentEncoded | Print String percent-encoded for a URL query component (RFC 3986). |
processImportsFiles | Call F passing each of the files module ModulePath will import from. |
pruneCache | Perform pruning using the supplied policy, returns true if pruning occurred, i.e. if Policy.Interval was expired. |
readAndDecodeStrings | Decode concatenated PGO name strings and invoke a callback for each name. |
reportChangedIR | Reports a -print-changed dump for one pass over one IR unit. |
reportFatalInternalError | Report a fatal internal error with message reason. |
reportFatalUsageError | Report a fatal usage error with message reason. |
report_fatal_error | Report a fatal error from a StringRef reason. |
right_justify | right_justify - add spaces before string so total output is Width characters. If Str is larger that Width, full string is written with no padding. |
shouldPrintAfterPass | Returns true if IR should be printed after the pass named PassID. |
shouldPrintBeforePass | Returns true if IR should be printed before the pass named PassID. |
spell | Returns text representation of the given rounding mode. |
split | Iterate over partitions of a string split on character Separator. |
split | Iterate over partitions of a string split on Separator. |
stable_hash_name | Hash Name after normalizing it with get_stable_name(). |
stringifyKCFIHashAlgorithm | Convert a KCFI hash algorithm enum to its string representation. |
timeTraceAddInstantEvent | Record an instant event with the given name and lazily computed detail. |
timeTraceAsyncProfilerBegin | Manually begin an asynchronous time section with the given name and detail. |
timeTraceProfilerBegin | Manually begin a time section with lazily computed metadata. |
timeTraceProfilerBegin | Manually begin a time section with the given name and detail. |
timeTraceProfilerBegin | Manually begin a time section with a lazily computed detail string. |
timeTraceProfilerWrite | Write profiling data to a file. |
toHex | Convert string bytes to a hexadecimal string. |
toStringRef | Construct a string ref from an array ref of unsigned chars. |
toStringRef | Construct a string ref from an array ref of chars. |
toStringRef | Construct a string ref from a boolean. |
toStringRefArray | Construct a vector of StringRefs from a null-terminated C-string array. |
to_integer | Convert string S to an integer of type N using radix Base. |
tryGetFromHex | Convert a hexadecimal string to binary bytes. |
writeArchive | Write an archive to the file named ArcName. |
writeToOutput | Create an output stream for OutputFileName and pass it to Write. |
xxh3_64bits | Compute the XXH3 64-bit hash of the bytes in data. |
AArch64::getArchExtFeature | Return the -target-feature enable/disable string for ArchExt. |
AArch64::getArchForCpu | Return the default architecture for CPU name CPU. |
AArch64::parseArch | Parse an architecture name as accepted by -march. |
AArch64::parseArchExtension | Parse a name as defined by the Extension class in tablegen. |
AArch64::parseCpu | Given the name of a CPU or alias, return the corresponding CpuInfo. |
AArch64::parseFMVExtension | Parse a name as defined by the FMVInfo class in tablegen. |
AArch64::resolveCPUAlias | Resolve a CPU alias to its canonical CPU name. |
AArch64::targetFeatureToExtension | Return the extension which has the given -target-feature name. |
AArch64BuildAttributes::getFeatureAndBitsTagsID | Return the feature-and-bits tag ID for the given tag name. |
AArch64BuildAttributes::getFeatureAndBitsTagsStr | Return the tag name for the given feature-and-bits tag ID. |
AArch64BuildAttributes::getOptionalID | Return the subsection optionality ID for the given spelling. |
AArch64BuildAttributes::getOptionalStr | Return the optionality spelling for the given subsection optionality ID. |
AArch64BuildAttributes::getPauthABITagsID | Return the PAuth ABI tag ID for the given tag name. |
AArch64BuildAttributes::getPauthABITagsStr | Return the tag name for the given PAuth ABI tag ID. |
AArch64BuildAttributes::getSubsectionOptionalUnknownError | Return the diagnostic text for an unrecognized subsection optionality. |
AArch64BuildAttributes::getSubsectionTypeUnknownError | Return the diagnostic text for an unrecognized subsection type. |
AArch64BuildAttributes::getTypeID | Return the subsection type ID for the given spelling. |
AArch64BuildAttributes::getTypeStr | Return the type spelling for the given subsection type ID. |
AArch64BuildAttributes::getVendorID | Return the vendor ID for the given subsection vendor name. |
AArch64BuildAttributes::getVendorName | Return the subsection vendor name for the given vendor ID. |
AMDGPU::fillAMDGPUFeatureMap | Fills Features with default values for the given target GPU. |
AMDGPU::getArchFamilyNameAMDGCN | Returns the architecture family name for AMDGCN GPU kind AK. |
AMDGPU::getArchNameAMDGCN | Returns the canonical AMDGCN architecture name for GPU kind AK. |
AMDGPU::getArchNameFromSubArch | Returns the canonical GPU name for an AMDGPU subarch. |
AMDGPU::getArchNameR600 | Returns the canonical R600 architecture name for GPU kind AK. |
AMDGPU::getBaseArchNameAMDGCN | The canonical GPU name for a variant name. |
AMDGPU::getCanonicalArchName | Returns the canonical architecture name for Arch under triple T. |
AMDGPU::getIsaVersion | Returns the ISA version for GPU name GPU. |
AMDGPU::getSubArchName | Returns the triple subarch name for an AMDGPU subarch, e.g. AMDGPUSubArch900 -> "amdgpu9.00". Returns "amdgpu" for NoSubArch. |
AMDGPU::isPseudoTarget | Return true if GPU name CPU is a pseudo target. |
AMDGPU::parseArchAMDGCN | Parses an AMDGCN GPU name CPU into a GPUKind. |
AMDGPU::parseArchR600 | Parses an R600 GPU name CPU into a GPUKind. |
ARM::appendArchExtFeatures | Append feature strings for architecture extension ArchExt. |
ARM::computeDefaultTargetABI | Return the default ABI name string for triple TT. |
ARM::getARMCPUForArch | Get the (LLVM) name of the minimum ARM CPU for the arch we are targeting. |
ARM::getArchExtFeature | Return the +feature or -feature string for extension name ArchExt. |
ARM::getArchExtName | Return the architecture-extension name for bitmask ArchExtKind. |
ARM::getArchName | Return the canonical architecture name for AK. |
ARM::getArchSynonym | Converts e.g. "armv8" -> "armv8-a" |
ARM::getCPUAttr | Return the build-attribute CPU class string for AK. |
ARM::getCanonicalArchName | Return the canonical architecture substring from an architecture name. |
ARM::getDefaultCPU | Return the default CPU name for architecture Arch. |
ARM::getDefaultExtensions | Return the default extension bitmask for CPU CPU under architecture AK. |
ARM::getDefaultFPU | Return the default FPU for CPU CPU under architecture AK. |
ARM::getFPUName | Return the canonical FPU name for identifier FPUKind. |
ARM::getFPUSynonym | Return the canonical FPU name for spelling FPU. |
ARM::getSubArch | Return the sub-architecture feature name for AK without a leading "+". |
ARM::parseArch | Parse architecture name Arch into an ArchKind. |
ARM::parseArchEndian | Parse the endianness from an architecture name. |
ARM::parseArchExt | Parse architecture-extension name ArchExt into its bitmask. |
ARM::parseArchISA | Parse the ISA kind from an architecture name prefix. |
ARM::parseArchProfile | Parse architecture name Arch into its ProfileKind. |
ARM::parseArchVersion | Parse architecture name Arch into its major ISA version number. |
ARM::parseBranchProtection | Parse a branch-protection specification into PBP. |
ARM::parseCPUArch | Parse CPU name CPU into its ArchKind. |
ARM::parseFPU | Parse FPU name FPU into an FPUKind. |
ARM::parseHWDiv | Parse hardware-divide name HWDiv into its extension bitmask. |
CSKY::getArchExtFeature | Return the +feature or -feature string for extension name ArchExt. |
CSKY::getArchExtName | Return the architecture-extension name for bitmask ArchExtKind. |
CSKY::getArchName | Return the canonical architecture name for AK. |
CSKY::getDefaultCPU | Return the default CPU name for architecture Arch. |
CSKY::getDefaultExtensions | Return the default extension bitmask for CPU name CPU. |
CSKY::getFPUName | Return the FPU name for identifier FPUKind. |
CSKY::parseArch | Parse architecture name Arch into an ArchKind. |
CSKY::parseArchExt | Parse architecture-extension name ArchExt into its bitmask. |
CSKY::parseCPUArch | Parse CPU name CPU into its ArchKind. |
ConverterEBCDIC::convertToEBCDIC | Converts a UTF-8 string to EBCDIC-1047. |
ConverterEBCDIC::convertToUTF8 | Converts an EBCDIC-1047 string to UTF-8. |
DOT::getColorString | Get a color string for this node number. |
DWARFYAML::emitDebugSections | Parse YAMLString and emit all non-empty DWARF sections it describes. |
DWARFYAML::getDWARFEmitterByName | Return the emitter for the DWARF section named SecName. |
ELF::convertArchNameToEMachine | Convert an architecture name into ELF's e_machine value. |
ELF::convertEMachineToArchName | Convert an ELF's e_machine value into an architecture name. |
ELF::convertNameToOSABI | Convert a lowercase string identifier into an OSABI value. |
ELF::convertOSABIToName | Convert an OSABI value into a string that identifies the OS- or ABI-specific ELF extension. |
ELFAttrs::attrTypeAsString | Return the display name for attr from tagNameMap. |
ELFAttrs::attrTypeFromString | Return the attribute tag number for tag from tagNameMap. |
ELFYAML::appendUniqueSuffix | Append a unique suffix derived from Msg to Name. |
ELFYAML::dropUniqueSuffix | Drop a unique suffix previously appended to an ELF symbol or section name. |
FloatABI::getABITypeName | Returns the string spelling used by the "float-abi" IR module flag for a Soft or Hard ABIType. Default has no spelling. |
FloatABI::parseABIType | Parse the string spelling used by the "float-abi" IR module flag into an ABIType. |
IndexedInstrProf::ComputeHash | Compute the indexed-profile name hash for string K. |
IntegerInclusiveIntervalUtils::parseIntervals | Parse a interval specification string like "1-10,20-30,45" or "1-10:20-30:45". Intervals must be in increasing order and non-overlapping. |
Intrinsic::getBaseName | Return the LLVM name for an intrinsic, without encoded types for overloading, such as "llvm.ssa.copy". |
Intrinsic::getIntrinsicForClangBuiltin | Map a Clang builtin name to an intrinsic ID. |
Intrinsic::getIntrinsicForMSBuiltin | Map a MS builtin name to an intrinsic ID. |
Intrinsic::getName | Return the LLVM name for an intrinsic, such as "llvm.ppc.altivec.lvx". |
Intrinsic::getRequiredTargetFeatures | Return the target feature expression required by an intrinsic. |
Intrinsic::lookupIntrinsicID | Look up an intrinsic ID by its name string. |
LoongArch::getArchFeatures | Append +feature strings enabled by architecture name Arch. |
LoongArch::getDefaultArch | Return the default LoongArch architecture name for the given bitness. |
LoongArch::isValidArchName | Return true if Arch is a recognized LoongArch architecture name. |
LoongArch::isValidCPUName | Return true if TuneCPU is a recognized LoongArch CPU name. |
LoongArch::isValidFeatureName | Return true if Feature is a recognized LoongArch feature name. |
MCParserUtils::parseAssignmentExpression | Parse a value expression and return whether it can be assigned to a symbol with the given name. |
MachO::createRegexFromGlob | Create a regex rule from provided glob string. |
MachO::getArchitectureFromName | Convert a name to an architecture slice. |
MachO::getArchitectureName | Convert an architecture slice to a string. |
MachO::getPlatformFromName | Convert a platform name to a platform type. |
MachO::getPlatformName | Convert a platform type to its marketing name. |
MachO::isPrivateLibrary | Determine if library is private by parsing file path. It does not touch the file system. |
MachO::make_relative | Turn absolute symlink into relative. |
MachO::parseSymbol | Get symbol classification by parsing the name of a symbol. |
NVPTX::getArchName | Return the canonical processor name (e.g. "sm_90") for Kind, or "" if Kind is GK_NONE. |
NVPTX::getVirtualArch | Return the virtual (compute_) arch name (e.g. "compute_90") for Kind, or "" if Kind is GK_NONE. |
NVPTX::parseArch | Parse CPU (e.g. "sm_90") into a GPUKind, or GK_NONE if unrecognized. |
PPC::getNormalizedPPCTargetCPU | Return the normalized PowerPC target CPU name for T. |
PPC::getNormalizedPPCTuneCPU | Return the normalized PowerPC tune CPU name for T. |
PPC::isValidCPU | Return true if CPU is a recognized PowerPC CPU name. |
PPC::isValidFeatureName | Return true if Name is a recognized PowerPC feature name. |
PPC::normalizeCPUName | Return a canonical PowerPC CPU name for aliases such as pwr10 and power10. |
RISCV::getCPUConfigurableTuneFeatures | Append the tune-feature directives configurable for CPU CPU. |
RISCV::getCPUModel | Return the hardware model IDs for CPU CPU. |
RISCV::getCPUNameFromCPUModel | Return the CPU name that matches hardware model Model. |
RISCV::getFeaturesForCPU | Append the target-feature strings enabled by CPU CPU. |
RISCV::getMArchFromMcpu | Return the default -march string for CPU CPU. |
RISCV::hasFastScalarUnalignedAccess | Return true if CPU CPU treats scalar unaligned access as fast. |
RISCV::hasFastVectorUnalignedAccess | Return true if CPU CPU treats vector unaligned access as fast. |
RISCV::hasValidCPUModel | Return true if CPU CPU has a valid non-zero hardware model. |
RISCV::parseCPU | Return true if CPU is a recognized RISC-V CPU for the given bitness. |
RISCV::parseTuneCPU | Return true if CPU is a recognized RISC-V tune CPU for the given bitness. |
RISCV::parseTuneFeatureString | Parse the tune feature string with the respective processor. If ProcName is empty, directives are not filtered by processor. |
RISCVCFI::getZicfilpLabelScheme | Map a CF branch-label scheme name to a ZicfilpLabelSchemeKind. |
VFABI::getVFParamKindFromString | Retrieve the VFParamKind from a string token. |
VFABI::tryDemangleForVFABI | Function to construct a VFInfo out of a mangled names in the following format: |
Win64EH::getRegisterNameV3 | Return the register name for a 5-bit AMD64 integer register number. Covers 0-15 (RAX-R15) and 16-31 (R16-R31 for APX). |
X86::getCPUDispatchMangling | Return the function-multiversion mangling character for CPU Name. |
X86::getFeaturesForCPU | Fill in the features that CPU supports into Features. |
X86::parseArchX86 | Parse CPU string into a CPUKind. Will only accept 64-bit capable CPUs if Only64Bit is true. |
X86::parseTuneCPU | Parse CPU string as an -mtune CPU name into a CPUKind. |
X86::updateImpliedFeatures | Set or clear entries in Features that are implied to be enabled/disabled by the provided Feature. |
X86::validateCPUSpecificCPUDispatch | Return true if Name is a valid cpu_specific / cpu_dispatch CPU name. |
XCOFF::getCpuID | Map a CPU name string to an XCOFF CFileCpuId value. |
XCOFF::getMappingClassString | Return the string name of a storage mapping class. |
XCOFF::getNameForTracebackTableLanguageId | Return the string name of a traceback-table language identifier. |
XCOFF::getRelocationTypeString | Return the string name of a relocation type. |
XCOFF::getTCPUString | Return the string name of a CFileCpuId value. |
Xtensa::getBaseName | Return the canonical CPU name for CPU, resolving aliases. |
Xtensa::getCPUFeatures | Append the +feature strings enabled by CPU name CPU to Features. |
Xtensa::parseCPUKind | Parse CPU into an Xtensa CPUKind. |
cas::createOnDiskActionCache | Create an action cache on disk. |
cas::createOnDiskUnifiedCASDatabases | Create on-disk ObjectStore and ActionCache instances based on ondisk::UnifiedOnDiskCache, with built-in hashing. |
cas::createPluginCASDatabases | Create ObjectStore and ActionCache instances backed by a plugin that implements the C API in "llvm-c/CAS/PluginAPI_functions.h". |
cas::validateOnDiskUnifiedCASDatabasesIfNeeded | Validate the data in Path, if needed to ensure correctness. |
cl::TokenizeGNUCommandLine | Tokenize a GNU-style command line that may contain escapes and quotes. |
cl::TokenizeWindowsCommandLine | Tokenizes a string of Windows command line arguments, which may contain quotes and escaped quotes. |
cl::TokenizeWindowsCommandLineFull | Tokenize a full Windows command line, including the leading command name. |
cl::TokenizeWindowsCommandLineNoCopy | Tokenize a Windows command line while avoiding copies when possible. |
cl::getCompilerBuildConfig | Return enabled LLVM build-configuration tags such as +assertions. |
cl::tokenizeConfigFile | Tokenizes content of configuration file. |
codegen::MaybeSaveStatistics | Conditionally save collected LLVM statistics based on --save-stats. |
codeview::consume | Decode a numeric leaf value from a string buffer into Num. |
codeview::consume | Decode an unsigned 32-bit integer from a string buffer. |
codeview::fmt_guid | Adapt a GUID string for use with formatv. |
codeview::getBytesAsCString | Reinterpret a byte array as a null-terminated C string. |
codeview::getBytesAsCharacters | Reinterpret a byte array as an array of characters. Does not interpret as a C string, as StringRef has several helpers (split) that make that easy. |
codeview::getSymbolName | Extract the name string embedded in a CodeView symbol record. |
directive::FindName | Find the first spelling in a range that applies to a language version. |
dwarf::AccessibilityString | Returns the name of the DW_ACCESS accessibility constant with the given value. |
dwarf::AddressSpaceString | Returns the name of address space AS for target triple TT. |
dwarf::ApplePropertyString | Returns the name of the Apple property attribute with the given value. |
dwarf::ArrayOrderString | Returns the name of the array order constant with the given value. |
dwarf::AtomTypeString | Returns the name of the accelerator-table atom type with the given value. |
dwarf::AtomValueString | Returns the symbolic string representing Val when used as a value for atom Atom. |
dwarf::AttributeEncodingString | Returns the name of the DW_ATE type-encoding constant with the given value. |
dwarf::AttributeString | Returns the name of the DW_AT attribute with the given value. |
dwarf::AttributeValueString | Returns the symbolic string representing Val when used as a value for attribute Attr. |
dwarf::CallFrameString | Returns the name of the call-frame instruction for Encoding on Arch. |
dwarf::CaseString | Returns the name of the DW_ID case-sensitivity constant with the given value. |
dwarf::ChildrenString | Returns the name of the DW_CHILDREN constant with the given value. |
dwarf::ConventionString | Returns the name of the DW_CC calling-convention constant with the given value. |
dwarf::DecimalSignString | Returns the name of the DW_DS decimal sign constant with the given value. |
dwarf::DefaultedMemberString | Returns the name of the DW_DEFAULTED constant with the given value. |
dwarf::EndianityString | Returns the name of the DW_END endianity constant with the given value. |
dwarf::EnumKindString | Returns the name of the Apple enum-kind constant with the given value. |
dwarf::FormEncodingString | Returns the name of the DW_FORM form encoding with the given value. |
dwarf::FormatString | Returns "DWARF32" or "DWARF64" depending on IsDWARF64. |
dwarf::FormatString | Returns "DWARF32" or "DWARF64" for the given DWARF format enum. |
dwarf::GDBIndexEntryKindString | Returns the name of the GDB index entry kind. |
dwarf::GDBIndexEntryLinkageString | Returns the name of the GDB index entry linkage. |
dwarf::GnuMacroString | Returns the name of the GNU .debug_macro entry type with the given value. |
dwarf::IndexString | Returns the name of the DW_IDX index attribute with the given value. |
dwarf::InlineCodeString | Returns the name of the DW_INL inline code constant with the given value. |
dwarf::LNExtendedString | Returns the name of the extended line-number opcode with the given value. |
dwarf::LNStandardString | Returns the name of the standard line-number opcode with the given value. |
dwarf::LanguageDescription | Returns a version-independent language name. |
dwarf::LanguageDescription | Return a version-specific display name for a DWARF 6 language. |
dwarf::LanguageDialectString | Returns the name of the language dialect constant with the given value. |
dwarf::LanguageString | Returns the name of the DW_LANG source language with the given value. |
dwarf::LocListEncodingString | Returns the name of the DW_LLE loclist entry encoding with the given value. |
dwarf::MacinfoString | Returns the name of the DW_MACINFO record type with the given value. |
dwarf::MacroString | Returns the name of the DW_MACRO entry type with the given value. |
dwarf::OperationEncodingString | Returns the name of the DW_OP operation encoding with the given value. |
dwarf::RLEString | Returns the name of the DWARF range-list entry encoding RLE. |
dwarf::RangeListEncodingString | Returns the name of the DW_RLE range list entry encoding with the given value. |
dwarf::SourceLanguageNameString | Returns the name of the DW_LNAME source language name. |
dwarf::SubOperationEncodingString | Returns the name of the DW_OP sub-operation encoding with the given values. |
dwarf::TagString | All these functions map their argument's value back to the corresponding enumerator name or return an empty StringRef if the value isn't known. |
dwarf::UnitTypeString | Returns the name of the DW_UT unit type with the given value. |
dwarf::VirtualityString | Returns the name of the DW_VIRTUALITY constant with the given value. |
dwarf::VisibilityString | Returns the name of the DW_VIS visibility constant with the given value. |
dwarf::getAttributeEncoding | Maps a DW_ATE type-encoding name string to its value, or 0 if unknown. |
dwarf::getCallingConvention | Maps a calling-convention name string to its encoding, or 0 if unknown. |
dwarf::getEnumKind | Maps an Apple enum kind name string to its encoding, or 0 if unknown. |
dwarf::getLanguage | Maps a DW_LANG name string to its encoding, or 0 if unknown. |
dwarf::getLanguageDialect | Maps a language dialect name string to its encoding, or 0 if unknown. |
dwarf::getMacinfo | Maps a DW_MACINFO name string to its encoding, or DW_MACINFO_invalid if unknown. |
dwarf::getMacro | Maps a DW_MACRO name string to its encoding, or 0 if unknown. |
dwarf::getOperationEncoding | Maps a DW_OP name string to its location-atom encoding, or 0 if unknown. |
dwarf::getSourceLanguageName | Maps a DW_LNAME name string to its encoding, or 0 if unknown. |
dwarf::getTag | These functions map their strings back to the corresponding enumeration value or return 0 if there is none, except for these exceptions: |
dwarf::getVirtuality | Maps a virtuality name string to its DW_VIRTUALITY encoding, or DW_VIRTUALITY_invalid if unknown. |
dwarf::toStringRef | Take an optional DWARFFormValue and try to extract a string value from it. |
dwarf_linker::guessDeveloperDir | Make a best effort to guess the Xcode.app/Contents/Developer path from an SDK path. |
dwarf_linker::isInToolchainDir | Make a best effort to determine whether Path is inside a toolchain. |
dwarf_linker::parseDebugTableName | Recognise the table name and match it with the DebugSectionKind. |
dxbc::isProgramPart | Return true if PartName is a program part name (DXIL or ILDB). |
dxbc::parsePartType | Parse a four-character part name into a PartType. |
dxil::getResourceClassName | Returns the name of a DXIL resource class. |
dxil::getResourceNameFromBindingCall | Return the resource name from a handle-from-binding call. |
gsym::getNameForGlobalInfoType | Return a human-readable name for a GlobalInfoType value. |
hlsl::getSemanticKind | Map a semantic name string to its corresponding PSV::SemanticKind. |
ifs::parseTriple | Parse llvm triple string into a IFSTarget struct. |
ifs::readIFSFromBuffer | Attempts to read an IFS interface file from a StringRef buffer. |
ifs::writeBinaryStub | Attempt to write a binary ELF stub. |
impl::strip_quotes | Return Str as a StringRef, stripping surrounding quotes if present. |
instrumentor::readConfigPathsFile | Read the configuration paths from the file with path InputFile into Configs. |
json::fixUTF8 | Replace invalid UTF-8 sequences in S with U+FFFD. |
json::isUTF8 | Returns true if S is valid UTF-8, which is required for use as JSON. |
json::parse | Parses the provided JSON source, or returns a ParseError. |
json::parse | Parse JSON and convert the result to type T. |
logicalview::emptyString | Return an empty string reference. |
logicalview::flattenedFilePath | Convert Path into a flattened, filesystem-safe lowercase name. |
logicalview::formatAttributes | Return a string with First and Others separated by spaces. |
logicalview::formattedKind | Return Kind wrapped in curly braces for display. |
logicalview::formattedName | Return Name wrapped in single quotes for display. |
logicalview::formattedNames | Return the concatenation of Name1 and Name2 wrapped in single quotes. |
logicalview::getAllLexicalComponents | Split Name into lexical components separated by ::. |
logicalview::getInnerComponent | Return the outermost and innermost lexical components of Name. |
logicalview::transformPath | Normalize Path to a unified, lowercase pathname. |
logicalview::typeInt | Return the string spelling for the int type. |
logicalview::typeNone | Return the placeholder string used when no type is available. |
logicalview::typeUnknown | Return the placeholder string used for an unknown type. |
logicalview::typeVoid | Return the string spelling for the void type. |
lto::getThinLTOOutputFile | Rewrite an output path by replacing a matching prefix. |
lto::setupStatsFile | Setups the output file for saving statistics. |
mc::getABIName | Return the value of the -target-abi command-line option. |
mc::getAsSecureLogFile | Return the value of the -as-secure-log-file command-line option. |
memprof::getGUID | Return the memprof GUID for FunctionName after LTO suffix canonicalization. |
memprof::getMemprofOptionsSymbolDarwinLinkageName | Return the Darwin linkage name of the memprof default-options string. |
memprof::getMemprofOptionsSymbolName | Return the IR-level name of the memprof default-options string symbol. |
nvvm::getEvictPolicyName | Return the PTX name for an L2 eviction policy. |
nvvm::getTMATensorReductionOpName | Return the PTX name for a TMA tensor reduction operation. |
objcopy::getObjectFormatName | Returns the format name of B if it is an ObjectFile, or "" otherwise. |
objcopy::printCopyMessage | Prints information about the input and output files involved in a copy operation to stdout. |
object::createBinary | Create a Binary by reading the file at Path, autodetecting its type. |
object::extractOffloadBundleByURI | Extracts an Offload Bundle Entry given by URI. |
object::getELFRelocationTypeName | Return the relocation type name for Machine and Type. |
object::getELFSectionTypeName | Return the section type name for Machine and Type. |
object::getElfArchType | Return the ELF class and data encoding from an object buffer's ident. |
object::getImageKind | Convert a string Name to an image kind. |
object::getImageKindName | Convert an image kind to its string representation. |
object::getOffloadKind | Convert a string Name to an offload kind. |
object::getOffloadKindName | Convert an offload kind to its string representation. |
object::getRISCVVendorRelocationTypeName | Return the RISC-V vendor relocation type name for Type and Vendor. |
object::hashGnu | Compute the GNU hash of a dynamic symbol name. |
object::hashSysV | Compute the SysV ELF hash of a dynamic symbol name. |
object::parseBuildID | Parses a build ID from a hex string. |
object::writeImportLibrary | Writes a COFF import library containing entries described by the Exports array. |
offloading::getOffloadEntrySection | Returns the section name for offloading entries based on the target triple. |
omp::deconstructOpenMPKernelName | Deconstruct an OpenMP kernel name into the parent function name and the line number. |
omp::getOpenMPContextTraitPropertyFullName | Return a textual representation of the trait property Kind with selector and set name included. |
omp::getOpenMPContextTraitPropertyName | Return a textual representation of the trait property Kind. |
omp::getOpenMPContextTraitSelectorKind | Parse Str and return the trait set it matches or TraitSelector::invalid. |
omp::getOpenMPContextTraitSelectorName | Return a textual representation of the trait selector Kind. |
omp::getOpenMPContextTraitSetKind | Parse Str and return the trait set it matches or TraitSet::invalid. |
omp::getOpenMPContextTraitSetName | Return a textual representation of the trait set Kind. |
omp::getReservedLocatorNames | Return the reserved OpenMP locator names (lowercase). |
omp::prettifyFunctionName | Create a nicer version of a function name for humans to look at. |
orc::isCOFFInitializerSection | Returns true if Name is a COFF initializer section. |
orc::isELFFinalizerSection | Returns true if SecName is an ELF finalizer section. |
orc::isELFInitializerSection | Returns true if SecName is an ELF initializer section. |
orc::isMachOInitializerSection | Returns true if the given segment and section form a MachO initializer section. |
orc::isMachOInitializerSection | Returns true if QualifiedName is a MachO initializer section. |
orc::loadLinkableFile | Create a MemoryBuffer covering the "linkable" part of the given path. |
orc::loadMachOLinkableFile | Load a relocatable object compatible with TT from Path. |
orc::recordAddr | Records the address of the symbol with the given name. |
pdb::hashStringV1 | Compute the PDB V1 string hash used by name tables and TPI/IPI. |
pdb::hashStringV2 | Compute the PDB V2 string hash used by the name hash table. |
remarks::magicToFormat | Parse and validate a magic number to a remark format. |
remarks::parseFormat | Parse and validate a string for the remark format. |
remarks::parseHotnessThresholdOption | Parse a remarks hotness threshold option value. |
remarks::typeToStr | Return the string spelling of remark type Ty. |
sys::DontRemoveFileOnSignal | This function removes a file from the list of files to be removed on signal delivery. |
sys::ExecuteAndWait | Execute a program and wait for it to finish. |
sys::ExecuteNoWait | Similar to ExecuteAndWait, but returns immediately. |
sys::PrintStackTraceOnErrorSignal | When an error signal (such as SIGABRT or SIGSEGV) is delivered to the process, print a stack trace and then exit. Print a stack trace if a fatal signal occurs. |
sys::RemoveFileOnSignal | This function registers signal handlers to ensure that if a signal gets delivered that the named file is removed. Remove a file if a fatal signal occurs. |
sys::commandLineFitsWithinSystemLimits | Return true if the given arguments fit within system-specific argument length limits. |
sys::commandLineFitsWithinSystemLimits | Return true if the given arguments fit within system-specific argument length limits. |
sys::findProgramByName | Find the first executable file Name in Paths. |
sys::getHostCPUName | getHostCPUName - Get the LLVM name for the host CPU. |
sys::writeFileWithEncoding | Saves the UTF8-encoded contents string into the file FileName using a specific encoding. |
wasm::relocTypetoString | Return the name of a Wasm relocation type value. |
wasm::sectionTypeToString | Return the name of a Wasm section type value. |
wasm::toString | Return the name of a Wasm symbol type enumerator. |
xray::loadInstrumentationMap | Loads the instrumentation map from |Filename|. This auto-deduces the type of the instrumentation map. |
xray::loadProfile | This function will attempt to load an XRay Profiling Mode profile from the provided Filename. |
xray::loadTraceFile | This function will attempt to load XRay trace records from the provided |Filename|. |
yaml::dumpTokens | Dump all the tokens in this stream to OS. |
yaml::escape | Escape Input for use inside a double-quoted YAML scalar. |
yaml::isBool | Return true if S is a YAML boolean scalar token. |
yaml::isNull | Return true if S is a YAML null scalar token. |
yaml::isNumeric | Return true if S looks like a YAML numeric scalar. |
yaml::needsQuotes | Determine the quoting style required for scalar S. |
yaml::parseBool | Parse S as a bool according to https://yaml.org/type/bool.html. |
yaml::scanTokens | Scans all tokens in input without outputting anything. This is used for benchmarking the tokenizer. |
AMDGPU::HSAMD::fromString | Converts String to HSAMetadata. |
MachO::DylibReader::accumulateSourceLocFromDSYM | Get the source location for each symbol from dylib. |
coverage::accessors::getCoverageMappingOutOfLine | Read coverage mapping out-of-line, from MappingBuf. |
dxbc::SourceInfo::getSectionName | Return the name of Type, or an empty StringRef if it is invalid. |
offloading::amdgpu::isImageCompatibleWithEnv | Check if an image is compatible with current system's environment. The system environment is given as a 'target-id' which has the form: |
offloading::sycl::forEachSymbol | Invoke Callback with a StringRef for each symbol in Symbols, the raw serialized symbol-table blob. |
sys::locale::columnWidth | Returns the display column width of the UTF-8 string s. |
sys::path::begin | Get begin iterator over path. |
sys::path::convert_to_slash | Replaces backslashes with slashes if Windows. |
sys::path::end | Get end iterator over path. |
sys::path::extension | Get extension. |
sys::path::filename | Get filename. |
sys::path::get_separator | Return the preferred separator for this platform. |
sys::path::parent_path | Get parent path. |
sys::path::rbegin | Get reverse begin iterator over path. |
sys::path::relative_path | Get relative path. |
sys::path::remove_leading_dotslash | Remove redundant leading "./" pieces and consecutive separators. |
sys::path::rend | Get reverse end iterator over path. |
sys::path::root_directory | Get root directory. |
sys::path::root_name | Get root name. |
sys::path::root_path | Get root path. |
sys::path::stem | Get stem. |
sys::unicode::columnWidthUTF8 | Returns the terminal column width of UTF-8 string Text. |
sys::unicode::nameToCodepointLooseMatching | Maps a Unicode character name or alias to its code point with loose match. |
sys::unicode::nameToCodepointStrict | Maps a Unicode character name or alias to its code point with exact match. |
sys::unicode::nearestMatchesForCodepointName | Finds Unicode character names nearest to Pattern by edit distance. |