LLVM 22.0.0git
|
#include "llvm/Demangle/Demangle.h"
#include "llvm/Demangle/StringViewExtras.h"
#include "llvm/Demangle/Utility.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <limits>
#include <string_view>
Go to the source code of this file.
Functions | |
static bool | isDigit (const char C) |
static bool | isHexDigit (const char C) |
static bool | isLower (const char C) |
static bool | isUpper (const char C) |
static bool | isValid (const char C) |
Returns true if C is a valid mangled character: <0-9a-zA-Z_>. | |
static bool | parseBasicType (char C, BasicType &Type) |
static bool | isAsciiPrintable (uint64_t CodePoint) |
Returns true if CodePoint represents a printable ASCII character. | |
static bool | decodePunycodeDigit (char C, size_t &Value) |
static void | removeNullBytes (OutputBuffer &Output, size_t StartIdx) |
static bool | encodeUTF8 (size_t CodePoint, char *Output) |
static bool | decodePunycode (std::string_view Input, OutputBuffer &Output) |
|
static |
Definition at line 1105 of file RustDemangle.cpp.
References llvm::sampleprof::Base, llvm::CallingConv::C, decodePunycodeDigit(), encodeUTF8(), OutputBuffer::getCurrentPosition(), I, OutputBuffer::insert(), isValid(), N, removeNullBytes(), and T.
Definition at line 1047 of file RustDemangle.cpp.
References llvm::CallingConv::C, llvm::isDigit(), and llvm::isLower().
Referenced by decodePunycode().
Definition at line 1070 of file RustDemangle.cpp.
Referenced by decodePunycode(), and llvm::yaml::escape().
Returns true if CodePoint represents a printable ASCII character.
Definition at line 799 of file RustDemangle.cpp.
Definition at line 170 of file RustDemangle.cpp.
References llvm::CallingConv::C.
Definition at line 172 of file RustDemangle.cpp.
References llvm::CallingConv::C.
Definition at line 176 of file RustDemangle.cpp.
References llvm::CallingConv::C.
Definition at line 178 of file RustDemangle.cpp.
References llvm::CallingConv::C.
Returns true if C is a valid mangled character: <0-9a-zA-Z_>.
Definition at line 181 of file RustDemangle.cpp.
References llvm::CallingConv::C, llvm::isDigit(), llvm::isLower(), and llvm::isUpper().
Referenced by llvm::dwarf_linker::parallel::CompileUnit::assignTypeNames(), llvm::MachineIRBuilder::buildConstDbgValue(), llvm::MachineIRBuilder::buildDirectDbgValue(), llvm::MachineIRBuilder::buildFIDbgValue(), llvm::MachineIRBuilder::buildIndirectDbgValue(), llvm::MachineIRBuilder::buildLoadInstr(), llvm::BuildMI(), llvm::BuildMI(), llvm::MachineIRBuilder::buildStore(), collectVirtRegShapes(), decodePunycode(), llvm::DiagnosticInfoRegAllocFailure::DiagnosticInfoRegAllocFailure(), llvm::SparseMultiSet< PhysRegSUOper, identity< unsigned >, uint16_t >::findIndex(), LowerINTRINSIC_W_CHAIN(), llvm::CombinerHelper::matchCombineInsertVecElts(), llvm::MachineMemOperand::print(), llvm::LoopVectorizationCostModel::setVectorizedCallDecision(), and llvm::RegisterBankInfo::InstructionMapping::verify().
Definition at line 386 of file RustDemangle.cpp.
References llvm::CallingConv::C.
|
static |
Definition at line 1061 of file RustDemangle.cpp.
References OutputBuffer::getBuffer(), OutputBuffer::getCurrentPosition(), and OutputBuffer::setCurrentPosition().
Referenced by decodePunycode().