name string | code string | asm string | file string |
|---|---|---|---|
void llvm::SmallVectorImpl<clang::CustomizableOptional<clang::FileEntryRef>>::resizeImpl<false>(unsigned long) | void resizeImpl(size_type N) {
if (N == this->size())
return;
if (N < this->size()) {
this->truncate(N);
return;
}
this->reserve(N);
for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
if (ForOverwrite)
new (&*I) T;
else
new (&*I) T();
t... | subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq 0x40(%rsp), %rdi
movq %rdi, 0x18(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x20(%rsp)
callq 0x87dfe0
movq %rax, %rcx
movq 0x20(%rsp), %rax
cmpq %rcx, %rax
jne 0x99ccd9
jmp 0x99cd92
movq 0x18(%rsp), %rdi
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x87... | /llvm/ADT/SmallVector.h |
llvm::DenseMapIterator<void const*, llvm::StringRef, llvm::DenseMapInfo<void const*, void>, llvm::detail::DenseMapPair<void const*, llvm::StringRef>, false>::RetreatPastEmptyBuckets() | void RetreatPastEmptyBuckets() {
assert(Ptr >= End);
const KeyT Empty = KeyInfoT::getEmptyKey();
const KeyT Tombstone = KeyInfoT::getTombstoneKey();
while (Ptr != End && (KeyInfoT::isEqual(Ptr[-1].getFirst(), Empty) ||
KeyInfoT::isEqual(Ptr[-1].getFirst(), Tombstone)))
-... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0x999610
movq %rax, 0x18(%rsp)
callq 0x99a0f0
movq %rax, 0x10(%rsp)
movq 0x8(%rsp), %rdx
movq (%rdx), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, 0x7(%rsp)
je 0x99d420
movq 0x8(%rsp), %rax
movq (%rax), %rdi
addq $-0x18, %rdi... | /llvm/ADT/DenseMap.h |
clang::FileSystemStatCache::get(llvm::StringRef, llvm::vfs::Status&, bool, std::unique_ptr<llvm::vfs::File, std::default_delete<llvm::vfs::File>>*, clang::FileSystemStatCache*, llvm::vfs::FileSystem&) | std::error_code
FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status,
bool isFile, std::unique_ptr<llvm::vfs::File> *F,
FileSystemStatCache *Cache,
llvm::vfs::FileSystem &FS) {
bool isForDir = !isFile;
std::error_code RetCode;
... | subq $0x1e8, %rsp # imm = 0x1E8
movb %cl, %al
movq 0x1f0(%rsp), %rcx
movq %rdi, 0x1c8(%rsp)
movq %rsi, 0x1d0(%rsp)
movq %rdx, 0x1c0(%rsp)
andb $0x1, %al
movb %al, 0x1bf(%rsp)
movq %r8, 0x1b0(%rsp)
movq %r9, 0x1a8(%rsp)
movb 0x1bf(%rsp), %al
xorb $-0x1, %al
andb $0x1, %al
movb %al, 0x1a7(%rsp)
leaq 0x190(%rsp... | /Basic/FileSystemStatCache.cpp |
clang::tooling::dependencies::DependencyScanningTool::getTranslationUnitDependencies(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, llvm::StringRef, llvm::DenseSet<clang::... | llvm::Expected<TranslationUnitDeps>
DependencyScanningTool::getTranslationUnitDependencies(
const std::vector<std::string> &CommandLine, StringRef CWD,
const llvm::DenseSet<ModuleID> &AlreadySeen,
LookupModuleOutputCallback LookupModuleOutput) {
FullDependencyConsumer Consumer(AlreadySeen);
CallbackActi... | subq $0x278, %rsp # imm = 0x278
movq %rdi, 0x20(%rsp)
movq %rdi, %rax
movq %rax, 0x28(%rsp)
leaq 0x280(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %rdi, 0x270(%rsp)
movq %rcx, 0x260(%rsp)
movq %r8, 0x268(%rsp)
movq %rsi, 0x258(%rsp)
movq %rdx, 0x250(%rsp)
movq %r9, 0x248(%rsp)
movq 0x258(%rsp), %rax
movq %rax, 0x... | /Tooling/DependencyScanning/DependencyScanningTool.cpp |
llvm::DenseMapBase<llvm::DenseMap<llvm::CachedHashString, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::CachedHashString, void>, llvm::detail::DenseSetPair<llvm::CachedHashString>>, llvm::CachedHashString, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::CachedHashString, void>, llvm::detail::DenseSetPair<... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0x9b334e
movl $0x0, 0x14(%rsp)
jmp 0x9b336e
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x7f65b0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseSetPair<clang::FileEntry const*>>, clang::FileEntry const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseSet... | const_iterator find(const_arg_type_t<KeyT> Val) const {
const BucketT *TheBucket;
if (LookupBucketFor(Val, TheBucket))
return makeConstIterator(TheBucket,
shouldReverseIterate<KeyT>() ? getBuckets()
: getBucketsEnd(... | subq $0x48, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x18(%rsp)
leaq 0x28(%rsp), %rsi
leaq 0x20(%rsp), %rdx
callq 0x98b070
testb $0x1, %al
jne 0x9b4bdd
jmp 0x9b4c3b
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x982ae0
testb $0x1, %al
jne 0x9b4bf2
jmp 0x9b4c03
movq 0x18(%rs... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::Module const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::Module const*, void>, llvm::detail::DenseSetPair<clang::Module const*>>, clang::Module const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::Module const*, void>, llvm::detail::DenseSetPair<clang::Mod... | const_iterator find(const_arg_type_t<KeyT> Val) const {
const BucketT *TheBucket;
if (LookupBucketFor(Val, TheBucket))
return makeConstIterator(TheBucket,
shouldReverseIterate<KeyT>() ? getBuckets()
: getBucketsEnd(... | subq $0x48, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x18(%rsp)
leaq 0x28(%rsp), %rsi
leaq 0x20(%rsp), %rdx
callq 0x9b6aa0
testb $0x1, %al
jne 0x9b69ed
jmp 0x9b6a4b
movq 0x20(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x9b6d20
testb $0x1, %al
jne 0x9b6a02
jmp 0x9b6a13
movq 0x18(%rs... | /llvm/ADT/DenseMap.h |
llvm::DenseMapIterator<clang::tooling::dependencies::ModuleID, clang::tooling::dependencies::ModuleDeps*, llvm::DenseMapInfo<clang::tooling::dependencies::ModuleID, void>, llvm::detail::DenseMapPair<clang::tooling::dependencies::ModuleID, clang::tooling::dependencies::ModuleDeps*>, false>::DenseMapIterator(llvm::detail... | DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch,
bool NoAdvance = false)
: DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
assert(isHandleInSync() && "invalid construction!");
if (NoAdvance) return;
if (shouldReverseIterate<KeyT>()) {
RetreatPastEm... | subq $0x38, %rsp
movb %r8b, %al
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
andb $0x1, %al
movb %al, 0x17(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x18(%rsp), %rsi
callq 0x8148c0
movq 0x8(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rcx, (%rax)
movq 0x20(%rsp), %rcx
m... | /llvm/ADT/DenseMap.h |
std::pair<clang::Module const*, std::unique_ptr<clang::tooling::dependencies::ModuleDeps, std::default_delete<clang::tooling::dependencies::ModuleDeps>>> const* llvm::SmallVectorTemplateCommon<std::pair<clang::Module const*, std::unique_ptr<clang::tooling::dependencies::ModuleDeps, std::default_delete<clang::tooling::d... | static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt,
size_t N) {
size_t NewSize = This->size() + N;
if (LLVM_LIKELY(NewSize <= This->capacity()))
return &Elt;
bool ReferencesStorage = false;
int64_t Index = -1;
if (!U::Take... | subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq 0x48(%rsp), %rdi
callq 0x87dfe0
addq 0x38(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rdi
callq 0x87ddf0
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
ja 0x9ba917
movq 0x40... | /llvm/ADT/SmallVector.h |
clang::tooling::dependencies::DependencyScanningWorkerFilesystem::findEntryByFilenameWithWriteThrough(llvm::StringRef) | const CachedFileSystemEntry *
DependencyScanningWorkerFilesystem::findEntryByFilenameWithWriteThrough(
StringRef Filename) {
if (const auto *Entry = LocalCache.findEntryByFilename(Filename))
return Entry;
auto &Shard = SharedCache.getShardForFilename(Filename);
if (const auto *Entry = Shard.findEntryByFil... | subq $0x88, %rsp
movq %rsi, 0x70(%rsp)
movq %rdx, 0x78(%rsp)
movq %rdi, 0x68(%rsp)
movq 0x68(%rsp), %rdi
movq %rdi, 0x8(%rsp)
addq $0x20, %rdi
movq 0x70(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x78(%rsp), %rax
movq %rax, 0x58(%rsp)
movq 0x50(%rsp), %rsi
movq 0x58(%rsp), %rdx
callq 0x9c3490
movq %rax, 0x60(%rsp)
cmpq $0x... | /Tooling/DependencyScanning/DependencyScanningFilesystem.cpp |
parseLTOMode(clang::driver::Driver&, llvm::opt::ArgList const&, llvm::opt::OptSpecifier, llvm::opt::OptSpecifier) | static driver::LTOKind parseLTOMode(Driver &D, const llvm::opt::ArgList &Args,
OptSpecifier OptEq, OptSpecifier OptNeg) {
if (!Args.hasFlag(OptEq, OptNeg, false))
return LTOK_None;
const Arg *A = Args.getLastArg(OptEq);
StringRef LTOName = A->getValue();
driver::LTOKind... | subq $0xe8, %rsp
movl %edx, 0xe0(%rsp)
movl %ecx, 0xdc(%rsp)
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq 0xc8(%rsp), %rdi
movl 0xe0(%rsp), %eax
movl %eax, 0xc4(%rsp)
movl 0xdc(%rsp), %eax
movl %eax, 0xc0(%rsp)
movl 0xc4(%rsp), %esi
movl 0xc0(%rsp), %edx
xorl %ecx, %ecx
callq 0x828060
testb $0x1, %al
jne 0x9e6462
m... | /Driver/Driver.cpp |
clang::driver::Driver::BuildCompilation(llvm::ArrayRef<char const*>) | Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) {
llvm::PrettyStackTraceString CrashInfo("Compilation construction");
// FIXME: Handle environment options which affect driver behavior, somewhere
// (client?). GCC_EXEC_PREFIX, LPATH, CC_PRINT_OPTIONS.
// We look for the driver mode option... | subq $0x1378, %rsp # imm = 0x1378
movq %rsi, 0x1360(%rsp)
movq %rdx, 0x1368(%rsp)
movq %rdi, 0x1358(%rsp)
movq 0x1358(%rsp), %rax
movq %rax, 0x170(%rsp)
leaq 0x1340(%rsp), %rdi
leaq 0x74cdd40(%rip), %rsi # 0x7ebc6ee
callq 0x9e4b30
movq 0x170(%rsp), %rsi
addq $0x70, %rsi
leaq 0x1320(%rsp), %rdi
callq 0x7eaca... | /Driver/Driver.cpp |
clang::driver::Driver::BuildJobs(clang::driver::Compilation&) const | void Driver::BuildJobs(Compilation &C) const {
llvm::PrettyStackTraceString CrashInfo("Building compilation jobs");
Arg *FinalOutput = C.getArgs().getLastArg(options::OPT_o);
// It is an error to provide a -o option if we are making multiple output
// files. There are exceptions:
//
// IfsMergeJob: when g... | subq $0x4d8, %rsp # imm = 0x4D8
movq %rdi, 0x4d0(%rsp)
movq %rsi, 0x4c8(%rsp)
movq 0x4d0(%rsp), %rax
movq %rax, 0x78(%rsp)
leaq 0x4b0(%rsp), %rdi
leaq 0x74c6c00(%rip), %rsi # 0x7ebcb63
callq 0x9e4b30
movq 0x4c8(%rsp), %rdi
callq 0x9e9cd0
movq %rax, %rdi
movl $0xb9e, %esi # imm = 0xB9E
callq 0x9e... | /Driver/Driver.cpp |
clang::driver::Driver::DiagnoseInputExistence(llvm::opt::DerivedArgList const&, llvm::StringRef, clang::driver::types::ID, bool) const | bool Driver::DiagnoseInputExistence(const DerivedArgList &Args, StringRef Value,
types::ID Ty, bool TypoCorrect) const {
if (!getCheckInputsExist())
return true;
// stdin always exists.
if (Value == "-")
return true;
// If it's a header to be found in the system or ... | subq $0x128, %rsp # imm = 0x128
movb %r9b, %al
movq %rdx, 0x110(%rsp)
movq %rcx, 0x118(%rsp)
movq %rdi, 0x108(%rsp)
movq %rsi, 0x100(%rsp)
movl %r8d, 0xfc(%rsp)
andb $0x1, %al
movb %al, 0xfb(%rsp)
movq 0x108(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x9fae40
testb $0x1, %al
jne 0x9fab9e
movb $0x1, 0x127(%rsp)
... | /Driver/Driver.cpp |
(anonymous namespace)::OffloadingActionBuilder::makeHostLinkAction() | Action *makeHostLinkAction() {
// Build a list of device linking actions.
ActionList DeviceAL;
appendDeviceLinkActions(DeviceAL);
if (DeviceAL.empty())
return nullptr;
// Let builders add host linking actions.
Action* HA = nullptr;
for (DeviceActionBuilder *SB : SpecializedBuilders) {... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x9de440
movq 0x8(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0x9fec00
leaq 0x40(%rsp), %rdi
callq 0x87e020
testb $0x1, %al
jne 0x9feccc
jmp 0x9fece2
movq $0x0, 0x70(%rsp)
movl $0x1, 0x3c(%rsp)
jmp 0x9feda3
movq 0x... | /Driver/Driver.cpp |
clang::driver::ToolChain const* clang::driver::Compilation::getSingleOffloadToolChain<(clang::driver::Action::OffloadKind)2>() const | const ToolChain *getSingleOffloadToolChain() const {
auto TCs = getOffloadToolChains<Kind>();
assert(TCs.first != TCs.second &&
"No tool chains of the selected kind exist!");
assert(std::next(TCs.first) == TCs.second &&
"More than one tool chain of the this kind exist.");
return T... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
callq 0xa23460
movq %rax, (%rsp)
movq %rdx, 0x8(%rsp)
movq %rsp, %rdi
callq 0x9e2290
movq 0x8(%rax), %rax
addq $0x18, %rsp
retq
nopl (%rax)
| /clang/Driver/Compilation.h |
(anonymous namespace)::ToolSelector::combineBackendCompile(llvm::ArrayRef<(anonymous namespace)::ToolSelector::JobActionInfo>, llvm::SmallVector<clang::driver::Action*, 3u>&, llvm::SmallVector<clang::driver::Action*, 3u>&) | const Tool *combineBackendCompile(ArrayRef<JobActionInfo> ActionInfo,
ActionList &Inputs,
ActionList &CollapsedOffloadAction) {
if (ActionInfo.size() < 2)
return nullptr;
auto *BJ = dyn_cast<BackendJobAction>(ActionInfo[0].JA);
au... | subq $0x78, %rsp
movq %rsi, 0x60(%rsp)
movq %rdx, 0x68(%rsp)
movq %rdi, 0x58(%rsp)
movq %rcx, 0x50(%rsp)
movq %r8, 0x48(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x60(%rsp), %rdi
callq 0xa1a5d0
cmpq $0x2, %rax
jae 0xa19235
movq $0x0, 0x70(%rsp)
jmp 0xa1941c
leaq 0x60(%rsp), %rdi
xorl %eax, %eax
movl %eax, ... | /Driver/Driver.cpp |
char const** llvm::SmallVectorImpl<char const*>::insert_one_impl<char const*>(char const**, char const*&&) | iterator insert_one_impl(iterator I, ArgType &&Elt) {
// Callers ensure that ArgType is derived from T.
static_assert(
std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>,
T>::value,
"ArgType must be derived from T!");
if (I == this->end()) { // Importan... | subq $0x68, %rsp
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq %rdx, 0x48(%rsp)
movq 0x58(%rsp), %rdi
movq %rdi, 0x28(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rsp)
callq 0x7f0420
movq %rax, %rcx
movq 0x30(%rsp), %rax
cmpq %rcx, %rax
jne 0xa1c693
movq 0x28(%rsp), %rdi
movq 0x48(%rsp), %rax
movq (%rax), %rsi
callq... | /llvm/ADT/SmallVector.h |
llvm::SmallVectorImpl<char const*>::operator=(llvm::SmallVectorImpl<char const*>&&) | SmallVectorImpl<T> &SmallVectorImpl<T>::operator=(SmallVectorImpl<T> &&RHS) {
// Avoid self-assignment.
if (this == &RHS) return *this;
// If the RHS isn't small, clear this vector and then steal its buffer.
if (!RHS.isSmall()) {
this->assignRemote(std::move(RHS));
return *this;
}
// If we already... | subq $0x68, %rsp
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x30(%rsp)
cmpq 0x50(%rsp), %rax
jne 0xa1c7ee
movq 0x30(%rsp), %rax
movq %rax, 0x60(%rsp)
jmp 0xa1c9d0
movq 0x50(%rsp), %rdi
callq 0x7f04a0
testb $0x1, %al
jne 0xa1c81a
movq 0x30(%rsp), %rdi
movq 0x50(%rsp), %rsi
callq 0xa1c9e... | /llvm/ADT/SmallVector.h |
clang::driver::toolchains::AMDGPUOpenMPToolChain::~AMDGPUOpenMPToolChain() | class LLVM_LIBRARY_VISIBILITY AMDGPUOpenMPToolChain final
: public ROCMToolChain {
public:
AMDGPUOpenMPToolChain(const Driver &D, const llvm::Triple &Triple,
const ToolChain &HostTC,
const llvm::opt::ArgList &Args);
const llvm::Triple *getAuxTriple() const overri... | pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rdi
callq 0xa1ec40
popq %rax
retq
| /Driver/ToolChains/AMDGPUOpenMP.h |
clang::driver::ToolChain::GetLinkerPath[abi:cxx11](bool*) const | std::string ToolChain::GetLinkerPath(bool *LinkerIsLLD) const {
if (LinkerIsLLD)
*LinkerIsLLD = false;
// Get -fuse-ld= first to prevent -Wunused-command-line-argument. -fuse-ld= is
// considered as the linker flavor, e.g. "bfd", "gold", or "lld".
const Arg* A = Args.getLastArg(options::OPT_fuse_ld_EQ);
... | subq $0x318, %rsp # imm = 0x318
movq %rdi, 0x20(%rsp)
movq %rdi, %rax
movq %rax, 0x28(%rsp)
movq %rdi, 0x310(%rsp)
movq %rsi, 0x308(%rsp)
movq %rdx, 0x300(%rsp)
movq 0x308(%rsp), %rax
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x300(%rsp)
je 0xa4d9bf
movq 0x300(%rsp), %rax
movb $0x0, (%rax)
movq 0x30(%rsp), %rax
movq ... | /Driver/ToolChain.cpp |
llvm::opt::Arg* llvm::opt::ArgList::getLastArg<clang::driver::options::ID, clang::driver::options::ID, clang::driver::options::ID, clang::driver::options::ID, clang::driver::options::ID>(clang::driver::options::ID, clang::driver::options::ID, clang::driver::options::ID, clang::driver::options::ID, clang::driver::option... | Arg *getLastArg(OptSpecifiers ...Ids) const {
Arg *Res = nullptr;
for (Arg *A : filtered(Ids...)) {
Res = A;
Res->claim();
}
return Res;
} | subq $0x178, %rsp # imm = 0x178
movq %rdi, 0x170(%rsp)
movl %esi, 0x16c(%rsp)
movl %edx, 0x168(%rsp)
movl %ecx, 0x164(%rsp)
movl %r8d, 0x160(%rsp)
movl %r9d, 0x15c(%rsp)
movq 0x170(%rsp), %rsi
movq $0x0, 0x150(%rsp)
movl 0x16c(%rsp), %edx
movl 0x168(%rsp), %ecx
movl 0x164(%rsp), %r8d
movl 0x160(%rsp), %r9d
m... | /llvm/Option/ArgList.h |
llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::assignRemote(llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&&) | void assignRemote(SmallVectorImpl &&RHS) {
this->destroy_range(this->begin(), this->end());
if (!this->isSmall())
free(this->begin());
this->BeginX = RHS.BeginX;
this->Size = RHS.Size;
this->Capacity = RHS.Capacity;
RHS.resetToSmall();
} | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x7f4b10
movq 0x10(%rsp), %rdi
movq %rax, 0x8(%rsp)
callq 0x7f4b20
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x7f4ad0
movq 0x10(%rsp), %rdi
callq 0x7f4ba0
testb $0x1, %al
jne 0xa55a49
movq 0x10(%rsp), %rdi
ca... | /llvm/ADT/SmallVector.h |
getArchFeatures(clang::driver::Driver const&, llvm::StringRef, std::vector<llvm::StringRef, std::allocator<llvm::StringRef>>&, llvm::opt::ArgList const&) | static bool getArchFeatures(const Driver &D, StringRef Arch,
std::vector<StringRef> &Features,
const ArgList &Args) {
bool EnableExperimentalExtensions =
Args.hasArg(options::OPT_menable_experimental_extensions);
auto ISAInfo =
llvm::RISCVISAInfo::... | subq $0x148, %rsp # imm = 0x148
movq %rsi, 0x130(%rsp)
movq %rdx, 0x138(%rsp)
movq %rdi, 0x128(%rsp)
movq %rcx, 0x120(%rsp)
movq %r8, 0x118(%rsp)
movq 0x118(%rsp), %rdi
movl $0x8b8, %esi # imm = 0x8B8
callq 0x9df320
andb $0x1, %al
movb %al, 0x117(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0xf0(%rsp)
... | /Driver/ToolChains/Arch/RISCV.cpp |
clang::driver::tools::aix::Linker::~Linker() | class LLVM_LIBRARY_VISIBILITY Linker final : public Tool {
public:
Linker(const ToolChain &TC) : Tool("aix::Linker", "linker", TC) {}
bool hasIntegratedCPP() const override { return false; }
bool isLinkJob() const override { return true; }
void ConstructJob(Compilation &C, const JobAction &JA,
... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xa6a0f0
movq 0x8(%rsp), %rdi
movl $0x20, %esi
callq 0x73afc0
addq $0x18, %rsp
retq
nopl (%rax)
| /Driver/ToolChains/AIX.h |
clang::driver::tools::baremetal::StaticLibTool::~StaticLibTool() | class LLVM_LIBRARY_VISIBILITY StaticLibTool : public Tool {
public:
StaticLibTool(const ToolChain &TC)
: Tool("baremetal::StaticLibTool", "llvm-ar", TC) {}
bool hasIntegratedCPP() const override { return false; }
bool isLinkJob() const override { return true; }
void ConstructJob(Compilation &C, const Jo... | pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rdi
callq 0xbafd70
popq %rax
retq
| /Driver/ToolChains/BareMetal.h |
llvm::SmallVectorImpl<clang::driver::Multilib>::operator=(llvm::SmallVectorImpl<clang::driver::Multilib> const&) | SmallVectorImpl<T> &SmallVectorImpl<T>::
operator=(const SmallVectorImpl<T> &RHS) {
// Avoid self-assignment.
if (this == &RHS) return *this;
// If we already have sufficient space, assign the common elements, then
// destroy any excess.
size_t RHSSize = RHS.size();
size_t CurSize = this->size();
if (C... | subq $0x78, %rsp
movq %rdi, 0x68(%rsp)
movq %rsi, 0x60(%rsp)
movq 0x68(%rsp), %rax
movq %rax, 0x40(%rsp)
cmpq 0x60(%rsp), %rax
jne 0xa8625e
movq 0x40(%rsp), %rax
movq %rax, 0x70(%rsp)
jmp 0xa8641f
movq 0x60(%rsp), %rdi
callq 0x87dfe0
movq 0x40(%rsp), %rdi
movq %rax, 0x58(%rsp)
callq 0x87dfe0
movq %rax, 0x50(%rsp)
movq ... | /llvm/ADT/SmallVector.h |
addCoveragePrefixMapArg(clang::driver::Driver const&, llvm::opt::ArgList const&, llvm::SmallVector<char const*, 16u>&) | static void addCoveragePrefixMapArg(const Driver &D, const ArgList &Args,
ArgStringList &CmdArgs) {
for (const Arg *A : Args.filtered(options::OPT_ffile_prefix_map_EQ,
options::OPT_fcoverage_prefix_map_EQ)) {
StringRef Map = A->getValue();
... | subq $0x168, %rsp # imm = 0x168
movq %rdi, 0x160(%rsp)
movq %rsi, 0x158(%rsp)
movq %rdx, 0x150(%rsp)
movq 0x158(%rsp), %rsi
leaq 0x118(%rsp), %rdi
movl $0x2aa, %edx # imm = 0x2AA
movl $0x209, %ecx # imm = 0x209
callq 0x9faf40
leaq 0x118(%rsp), %rax
movq %rax, 0x148(%rsp)
movq 0x148(%rsp... | /Driver/ToolChains/Clang.cpp |
clang::driver::tools::Clang::AddAArch64TargetArgs(llvm::opt::ArgList const&, llvm::SmallVector<char const*, 16u>&) const | void Clang::AddAArch64TargetArgs(const ArgList &Args,
ArgStringList &CmdArgs) const {
const llvm::Triple &Triple = getToolChain().getEffectiveTriple();
if (!Args.hasFlag(options::OPT_mred_zone, options::OPT_mno_red_zone, true) ||
Args.hasArg(options::OPT_mkernel) ||
Arg... | subq $0x498, %rsp # imm = 0x498
movq %rdi, 0x490(%rsp)
movq %rsi, 0x488(%rsp)
movq %rdx, 0x480(%rsp)
movq 0x490(%rsp), %rdi
movq %rdi, 0xf0(%rsp)
callq 0xa04350
movq %rax, %rdi
callq 0xa5b4f0
movq %rax, 0x478(%rsp)
movq 0x488(%rsp), %rax
movq %rax, 0xf8(%rsp)
leaq 0x474(%rsp), %rdi
movl $0xa81, %esi ... | /Driver/ToolChains/Clang.cpp |
addPGOAndCoverageFlags(clang::driver::ToolChain const&, clang::driver::Compilation&, clang::driver::JobAction const&, clang::driver::InputInfo const&, llvm::opt::ArgList const&, clang::driver::SanitizerArgs&, llvm::SmallVector<char const*, 16u>&) | static void addPGOAndCoverageFlags(const ToolChain &TC, Compilation &C,
const JobAction &JA, const InputInfo &Output,
const ArgList &Args, SanitizerArgs &SanArgs,
ArgStringList &CmdArgs) {
const Driver &D = TC.get... | subq $0x10e8, %rsp # imm = 0x10E8
movq 0x10f0(%rsp), %rax
movq %rdi, 0x10e0(%rsp)
movq %rsi, 0x10d8(%rsp)
movq %rdx, 0x10d0(%rsp)
movq %rcx, 0x10c8(%rsp)
movq %r8, 0x10c0(%rsp)
movq %r9, 0x10b8(%rsp)
movq 0x10e0(%rsp), %rdi
callq 0x9ffc60
movq %rax, 0x10b0(%rsp)
movq 0x10c0(%rsp), %rdi
movl $0x625, %esi ... | /Driver/ToolChains/Clang.cpp |
parseClangCLEHFlags(clang::driver::Driver const&, llvm::opt::ArgList const&, bool) | static EHFlags parseClangCLEHFlags(const Driver &D, const ArgList &Args,
bool isWindowsMSVC) {
EHFlags EH;
std::vector<std::string> EHArgs =
Args.getAllArgValues(options::OPT__SLASH_EH);
for (const auto &EHVal : EHArgs) {
for (size_t I = 0, E = EHVal.size(); I != E; +... | subq $0xd8, %rsp
movb %dl, %al
movq %rdi, 0xc8(%rsp)
movq %rsi, 0xc0(%rsp)
andb $0x1, %al
movb %al, 0xbf(%rsp)
leaq 0xd5(%rsp), %rdi
callq 0xac29a0
movq 0xc0(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x9c(%rsp), %rdi
movl $0x14b, %esi # imm = 0x14B
callq 0x7eba60
movq 0x10(%rsp), %rsi
movl 0x9c(%rsp), %edx
leaq... | /Driver/ToolChains/Clang.cpp |
clang::driver::tools::OffloadBundler::~OffloadBundler() | class LLVM_LIBRARY_VISIBILITY OffloadBundler final : public Tool {
public:
OffloadBundler(const ToolChain &TC)
: Tool("offload bundler", "clang-offload-bundler", TC) {}
bool hasIntegratedCPP() const override { return false; }
void ConstructJob(Compilation &C, const JobAction &JA,
const ... | pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rdi
callq 0xbafd70
popq %rax
retq
| /Driver/ToolChains/Clang.h |
llvm::parseDenormalFPAttributeComponent(llvm::StringRef) | inline DenormalMode::DenormalModeKind
parseDenormalFPAttributeComponent(StringRef Str) {
// Assume ieee on unspecified attribute.
return StringSwitch<DenormalMode::DenormalModeKind>(Str)
.Cases("", "ieee", DenormalMode::IEEE)
.Case("preserve-sign", DenormalMode::PreserveSign)
.Case("positive-zero"... | subq $0xa8, %rsp
movq %rdi, 0x98(%rsp)
movq %rsi, 0xa0(%rsp)
movq 0x98(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0xa0(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
leaq 0x80(%rsp), %rdi
callq 0xac0450
leaq 0x60(%rsp), %rdi
leaq 0x74528c5(%rip), %rsi # 0x7f12c39
callq 0x96d580
leaq 0x50(%r... | /llvm/ADT/FloatingPointMode.h |
hasMultipleInvocations(llvm::Triple const&, llvm::opt::ArgList const&) | static bool hasMultipleInvocations(const llvm::Triple &Triple,
const ArgList &Args) {
// Supported only on Darwin where we invoke the compiler multiple times
// followed by an invocation to lipo.
if (!Triple.isOSDarwin())
return false;
// If more than one "-arch <arch>" is... | subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movq 0x38(%rsp), %rdi
callq 0x93d1d0
testb $0x1, %al
jne 0xac28e3
movb $0x0, 0x47(%rsp)
jmp 0xac2930
movq 0x30(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x14(%rsp), %rdi
movl $0x81, %esi
callq 0x7eba60
movq 0x8(%rsp), %rsi
movl 0x14(%rsp), %edx
leaq 0x18(%rsp), %... | /Driver/ToolChains/Clang.cpp |
clang::driver::tools::getStatsFileName(llvm::opt::ArgList const&, clang::driver::InputInfo const&, clang::driver::InputInfo const&, clang::driver::Driver const&) | SmallString<128> tools::getStatsFileName(const llvm::opt::ArgList &Args,
const InputInfo &Output,
const InputInfo &Input,
const Driver &D) {
const Arg *A = Args.getLastArg(options::OPT_save_stats... | subq $0x2a8, %rsp # imm = 0x2A8
movq %rdi, 0x8(%rsp)
movq %rdi, %rax
movq %rax, 0x10(%rsp)
movq %rdi, 0x2a0(%rsp)
movq %rsi, 0x298(%rsp)
movq %rdx, 0x290(%rsp)
movq %rcx, 0x288(%rsp)
movq %r8, 0x280(%rsp)
movq 0x298(%rsp), %rdi
movl $0xc16, %esi # imm = 0xC16
callq 0x9e26c0
movq %rax, 0x278(%rsp)
... | /Driver/ToolChains/CommonArgs.cpp |
clang::driver::tools::addOffloadCompressArgs(llvm::opt::ArgList const&, llvm::SmallVector<char const*, 16u>&) | void tools::addOffloadCompressArgs(const llvm::opt::ArgList &TCArgs,
llvm::opt::ArgStringList &CmdArgs) {
if (TCArgs.hasFlag(options::OPT_offload_compress,
options::OPT_no_offload_compress, false))
CmdArgs.push_back("-compress");
if (TCArgs.hasArg(options:... | subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq %rsi, 0xa8(%rsp)
movq 0xb0(%rsp), %rax
movq %rax, 0x18(%rsp)
leaq 0xa4(%rsp), %rdi
movl $0xb7f, %esi # imm = 0xB7F
callq 0x7eba60
leaq 0xa0(%rsp), %rdi
movl $0xb2f, %esi # imm = 0xB2F
callq 0x7eba60
movq 0x18(%rsp), %rdi
movl 0xa4(%rsp), %esi
movl 0xa0(%... | /Driver/ToolChains/CommonArgs.cpp |
findOHOSMuslMultilibs(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, clang::driver::DetectedMultilibs&) | static bool findOHOSMuslMultilibs(const Multilib::flags_list &Flags,
DetectedMultilibs &Result) {
MultilibSet Multilibs;
Multilibs.push_back(Multilib());
// -mcpu=cortex-a7
// -mfloat-abi=soft -mfloat-abi=softfp -mfloat-abi=hard
// -mfpu=neon-vfpv4
Multilibs.push_back(
... | subq $0x628, %rsp # imm = 0x628
movq %rdi, 0x618(%rsp)
movq %rsi, 0x610(%rsp)
leaq 0x5a0(%rsp), %rdi
callq 0xa47b00
leaq 0x4f8(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x73aa90
leaq 0x4f8(%rsp), %rdi
callq 0x80d290
leaq 0x4e8(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x73aa90
leaq 0x4e8(%r... | /Driver/ToolChains/OHOS.cpp |
clang::driver::toolchains::OpenBSD::AddCXXStdlibLibArgs(llvm::opt::ArgList const&, llvm::SmallVector<char const*, 16u>&) const | void OpenBSD::AddCXXStdlibLibArgs(const ArgList &Args,
ArgStringList &CmdArgs) const {
bool Profiling = Args.hasArg(options::OPT_pg);
CmdArgs.push_back(Profiling ? "-lc++_p" : "-lc++");
if (Args.hasArg(options::OPT_fexperimental_library))
CmdArgs.push_back("-lc++experimental... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movl $0xbab, %esi # imm = 0xBAB
callq 0x9df320
andb $0x1, %al
movb %al, 0xf(%rsp)
movq 0x10(%rsp), %rdi
movb 0xf(%rsp), %cl
leaq 0x73667b2(%rip), %rsi # 0x7ee7bda
leaq 0x736e8b8(%rip), %rax # 0x7eefce... | /Driver/ToolChains/OpenBSD.cpp |
clang::driver::tools::openbsd::Assembler::~Assembler() | class LLVM_LIBRARY_VISIBILITY Assembler final : public Tool {
public:
Assembler(const ToolChain &TC)
: Tool("openbsd::Assembler", "assembler", TC) {}
bool hasIntegratedCPP() const override { return false; }
void ConstructJob(Compilation &C, const JobAction &JA,
const InputInfo &Output,... | pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rdi
callq 0xbafd70
popq %rax
retq
| /Driver/ToolChains/OpenBSD.h |
clang::driver::tools::openbsd::Linker::~Linker() | class LLVM_LIBRARY_VISIBILITY Linker final : public Tool {
public:
Linker(const ToolChain &TC) : Tool("openbsd::Linker", "linker", TC) {}
bool hasIntegratedCPP() const override { return false; }
bool isLinkJob() const override { return true; }
void ConstructJob(Compilation &C, const JobAction &JA,
... | pushq %rax
movq %rdi, (%rsp)
movq (%rsp), %rdi
callq 0xbafd70
popq %rax
retq
| /Driver/ToolChains/OpenBSD.h |
llvm::DenseMap<clang::FileEntryRef, llvm::SmallVector<clang::FileEntryRef, 2u>, llvm::DenseMapInfo<clang::FileEntryRef, void>, llvm::detail::DenseMapPair<clang::FileEntryRef, llvm::SmallVector<clang::FileEntryRef, 2u>>>::init(unsigned int) | void init(unsigned InitNumEntries) {
auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries);
if (allocateBuckets(InitBuckets)) {
this->BaseT::initEmpty();
} else {
NumEntries = 0;
NumTombstones = 0;
}
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
movl 0xc(%rsp), %esi
callq 0xcb6050
movq (%rsp), %rdi
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %esi
callq 0xcb60a0
testb $0x1, %al
jne 0xcb6026
jmp 0xcb6031
movq (%rsp), %rdi
callq 0xcb6110
jmp 0xcb6043
movq (%rsp), %rax
mov... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::FileEntryRef, llvm::SmallVector<clang::FileEntryRef, 2u>, llvm::DenseMapInfo<clang::FileEntryRef, void>, llvm::detail::DenseMapPair<clang::FileEntryRef, llvm::SmallVector<clang::FileEntryRef, 2u>>>, clang::FileEntryRef, llvm::SmallVector<clang::FileEntryRef, 2u>, llvm::DenseMapI... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0xcb606e
movl $0x0, 0x14(%rsp)
jmp 0xcb608e
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x7f65b0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $... | /llvm/ADT/DenseMap.h |
clang::LogDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&) | void LogDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level,
const Diagnostic &Info) {
// Default implementation (Warnings/errors count).
DiagnosticConsumer::HandleDiagnostic(Level, Info);
// Initialize the main file name, if we haven't already fetched i... | subq $0x258, %rsp # imm = 0x258
movq %rdi, 0x250(%rsp)
movl %esi, 0x24c(%rsp)
movq %rdx, 0x240(%rsp)
movq 0x250(%rsp), %rdi
movq %rdi, 0x18(%rsp)
movl 0x24c(%rsp), %esi
movq 0x240(%rsp), %rdx
callq 0x94b5e0
movq 0x18(%rsp), %rdi
addq $0x418, %rdi # imm = 0x418
callq 0x73b030
testb $0x1, %al
jne 0x... | /Frontend/LogDiagnosticPrinter.cpp |
clang::LogDiagnosticPrinter::DiagEntry const* llvm::SmallVectorTemplateCommon<clang::LogDiagnosticPrinter::DiagEntry, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::LogDiagnosticPrinter::DiagEntry, false>>(llvm::SmallVectorTemplateBase<clang::LogDiagnosticPrinter::DiagEntry, false>*, clang... | static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt,
size_t N) {
size_t NewSize = This->size() + N;
if (LLVM_LIKELY(NewSize <= This->capacity()))
return &Elt;
bool ReferencesStorage = false;
int64_t Index = -1;
if (!U::Take... | subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq 0x48(%rsp), %rdi
callq 0x87dfe0
addq 0x38(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rdi
callq 0x87ddf0
movq %rax, %rcx
movq 0x18(%rsp), %rax
cmpq %rcx, %rax
ja 0xcec8f7
movq 0x40... | /llvm/ADT/SmallVector.h |
(anonymous namespace)::ModuleDependencyListener::visitInputFile(llvm::StringRef, bool, bool, bool) | bool visitInputFile(StringRef Filename, bool IsSystem, bool IsOverridden,
bool IsExplicitModule) override {
// Run this through the FileManager in order to respect 'use-external-name'
// in case we have a VFS overlay.
if (auto FE = FileMgr.getOptionalFileRef(Filename))
Filename =... | subq $0x88, %rsp
movl %r8d, 0x8(%rsp)
movl %ecx, %eax
movl 0x8(%rsp), %ecx
movl %eax, 0xc(%rsp)
movq %rdx, %rax
movl 0xc(%rsp), %edx
movq %rax, 0x10(%rsp)
movq %rsi, %r8
movq 0x10(%rsp), %rsi
movb %r9b, %al
movq %r8, 0x78(%rsp)
movq %rsi, 0x80(%rsp)
movq %rdi, 0x70(%rsp)
andb $0x1, %dl
movb %dl, 0x6f(%rsp)
andb $0x1, %... | /Frontend/ModuleDependencyCollector.cpp |
llvm::DenseMap<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>::init(unsigned int) | void init(unsigned InitNumEntries) {
auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries);
if (allocateBuckets(InitBuckets)) {
this->BaseT::initEmpty();
} else {
NumEntries = 0;
NumTombstones = 0;
}
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
movl 0xc(%rsp), %esi
callq 0xcf7940
movq (%rsp), %rdi
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %esi
callq 0xcf7990
testb $0x1, %al
jne 0xcf7916
jmp 0xcf7921
movq (%rsp), %rdi
callq 0xcf7a00
jmp 0xcf7933
movq (%rsp), %rax
mov... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>, unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>::getMinBucketToReserveForEntries(unsi... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0xcf795e
movl $0x0, 0x14(%rsp)
jmp 0xcf797e
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x7f65b0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $... | /llvm/ADT/DenseMap.h |
llvm::DenseMap<unsigned int, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair<unsigned int>>::init(unsigned int) | void init(unsigned InitNumEntries) {
auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries);
if (allocateBuckets(InitBuckets)) {
this->BaseT::initEmpty();
} else {
NumEntries = 0;
NumTombstones = 0;
}
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
movl 0xc(%rsp), %esi
callq 0xcf7c40
movq (%rsp), %rdi
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %esi
callq 0xcf7c90
testb $0x1, %al
jne 0xcf7c16
jmp 0xcf7c21
movq (%rsp), %rdi
callq 0xcf7d00
jmp 0xcf7c33
movq (%rsp), %rax
mov... | /llvm/ADT/DenseMap.h |
llvm::BitstreamWriter::ExitBlock() | void ExitBlock() {
assert(!BlockScope.empty() && "Block scope imbalance!");
const Block &B = BlockScope.back();
// Block tail:
// [END_BLOCK, <align4bytes>]
EmitCode(bitc::END_BLOCK);
FlushToWord();
// Compute the size of the block, in words, not counting the size field.
size_t Size... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
addq $0x68, %rdi
callq 0xcfaed0
movq (%rsp), %rdi
movq %rax, 0x18(%rsp)
xorl %esi, %esi
callq 0xcfad40
movq (%rsp), %rdi
callq 0xcf8b50
movq (%rsp), %rdi
callq 0xcfae10
movq (%rsp), %rdi
movq 0x18(%rsp), %rcx
subq 0x8(%rcx), %rax
subq $0x1, ... | /llvm/Bitstream/BitstreamWriter.h |
llvm::DenseMapIterator<unsigned int, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair<unsigned int>, false>::DenseMapIterator(llvm::detail::DenseSetPair<unsigned int>*, llvm::detail::DenseSetPair<unsigned int>*, llvm::DebugEpochBase const&, bool) | DenseMapIterator(pointer Pos, pointer E, const DebugEpochBase &Epoch,
bool NoAdvance = false)
: DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
assert(isHandleInSync() && "invalid construction!");
if (NoAdvance) return;
if (shouldReverseIterate<KeyT>()) {
RetreatPastEm... | subq $0x38, %rsp
movb %r8b, %al
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq %rcx, 0x18(%rsp)
andb $0x1, %al
movb %al, 0x17(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movq 0x18(%rsp), %rsi
callq 0x8148c0
movq 0x8(%rsp), %rax
movq 0x28(%rsp), %rcx
movq %rcx, (%rax)
movq 0x20(%rsp), %rcx
m... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::SDiagsWriter::getEmitDiagnosticFlag(llvm::StringRef) | unsigned SDiagsWriter::getEmitDiagnosticFlag(StringRef FlagName) {
if (FlagName.empty())
return 0;
// Here we assume that FlagName points to static data whose pointer
// value is fixed. This allows us to unique by diagnostic groups.
const void *data = FlagName.data();
std::pair<unsigned, StringRef> &ent... | subq $0x68, %rsp
movq %rsi, 0x50(%rsp)
movq %rdx, 0x58(%rsp)
movq %rdi, 0x48(%rsp)
movq 0x48(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x50(%rsp), %rdi
callq 0x7ed530
testb $0x1, %al
jne 0xd03fcd
jmp 0xd03fda
movl $0x0, 0x64(%rsp)
jmp 0xd040f2
leaq 0x50(%rsp), %rdi
callq 0x7ed2e0
movq 0x8(%rsp), %rdi
movq %rax, 0x40(%rsp)
... | /Frontend/SerializedDiagnosticPrinter.cpp |
(anonymous namespace)::SDiagsWriter::AddLocToRecord(clang::FullSourceLoc, clang::PresumedLoc, llvm::SmallVectorImpl<unsigned long>&, unsigned int) | void SDiagsWriter::AddLocToRecord(FullSourceLoc Loc, PresumedLoc PLoc,
RecordDataImpl &Record, unsigned TokSize) {
if (PLoc.isInvalid()) {
// Emit a "sentinel" location.
Record.push_back((unsigned)0); // File.
Record.push_back((unsigned)0); // Line.
Record.push_back((... | subq $0x58, %rsp
movq %rdi, %rax
leaq 0x60(%rsp), %rdi
movq %rdi, 0x20(%rsp)
movl %esi, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %rax, 0x40(%rsp)
movq %rcx, 0x38(%rsp)
movl %r8d, 0x34(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x28(%rsp)
callq 0x95b2e0
testb $0x1, %al
jne 0xd057ce
jmp 0xd0580b
movq 0x38(%rsp), %rdi
xorl %eax,... | /Frontend/SerializedDiagnosticPrinter.cpp |
clang::serialized_diags::SerializedDiagnosticReader::skipUntilRecordOrBlock(llvm::BitstreamCursor&, unsigned int&) | llvm::ErrorOr<SerializedDiagnosticReader::Cursor>
SerializedDiagnosticReader::skipUntilRecordOrBlock(
llvm::BitstreamCursor &Stream, unsigned &BlockOrRecordID) {
BlockOrRecordID = 0;
while (!Stream.AtEndOfStream()) {
unsigned Code;
if (Expected<unsigned> Res = Stream.ReadCode())
Code = Res.get();... | subq $0xc8, %rsp
movq %rdi, 0x10(%rsp)
movq %rdi, %rax
movq %rax, 0x18(%rsp)
movq %rdi, 0xc0(%rsp)
movq %rsi, 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
movq %rcx, 0xa8(%rsp)
movq 0xa8(%rsp), %rax
movl $0x0, (%rax)
movq 0xb0(%rsp), %rdi
callq 0xd07430
xorb $-0x1, %al
testb $0x1, %al
jne 0xd08efa
jmp 0xd091d3
movq 0xb0(%rsp), %rs... | /Frontend/SerializedDiagnosticReader.cpp |
clang::TextDiagnosticPrinter::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&) | void TextDiagnosticPrinter::HandleDiagnostic(DiagnosticsEngine::Level Level,
const Diagnostic &Info) {
// Default implementation (Warnings/errors count).
DiagnosticConsumer::HandleDiagnostic(Level, Info);
// Render the diagnostic message into a temporary buffer eagerl... | pushq %rbx
subq $0x1b0, %rsp # imm = 0x1B0
movq %rdi, 0x1a8(%rsp)
movl %esi, 0x1a4(%rsp)
movq %rdx, 0x198(%rsp)
movq 0x1a8(%rsp), %rdi
movq %rdi, 0x68(%rsp)
movl 0x1a4(%rsp), %esi
movq 0x198(%rsp), %rdx
callq 0x94b5e0
leaq 0x118(%rsp), %rdi
callq 0xcec370
movq 0x198(%rsp), %rdi
leaq 0x118(%rsp), %rsi
callq 0... | /Frontend/TextDiagnosticPrinter.cpp |
clang::VerifyDiagnosticConsumer::HandleDiagnostic(clang::DiagnosticsEngine::Level, clang::Diagnostic const&) | void VerifyDiagnosticConsumer::HandleDiagnostic(
DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) {
if (Info.hasSourceManager()) {
// If this diagnostic is for a different source manager, ignore it.
if (SrcManager && &Info.getSourceManager() != SrcManager)
return;
setSourceManager(... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movl %esi, 0x1c(%rsp)
movq %rdx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
callq 0xcec310
testb $0x1, %al
jne 0xd1146c
jmp 0xd114a6
movq 0x8(%rsp), %rax
cmpq $0x0, 0x50(%rax)
je 0xd1148f
movq 0x10(%rsp), %rdi
callq 0x94e120
movq 0x8(%rsp), %rcx
cm... | /Frontend/VerifyDiagnosticConsumer.cpp |
llvm::DenseMap<clang::FileID, clang::VerifyDiagnosticConsumer::UnparsedFileStatus, llvm::DenseMapInfo<clang::FileID, void>, llvm::detail::DenseMapPair<clang::FileID, clang::VerifyDiagnosticConsumer::UnparsedFileStatus>>::init(unsigned int) | void init(unsigned InitNumEntries) {
auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries);
if (allocateBuckets(InitBuckets)) {
this->BaseT::initEmpty();
} else {
NumEntries = 0;
NumTombstones = 0;
}
} | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movl %esi, 0xc(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
movl 0xc(%rsp), %esi
callq 0xd1b300
movq (%rsp), %rdi
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %esi
callq 0xd1b350
testb $0x1, %al
jne 0xd1b2d6
jmp 0xd1b2e1
movq (%rsp), %rdi
callq 0xd1b3c0
jmp 0xd1b2f3
movq (%rsp), %rax
mov... | /llvm/ADT/DenseMap.h |
llvm::StringMap<llvm::SmallVector<(anonymous namespace)::UnattachedDirective, 2u>, llvm::MallocAllocator>::~StringMap() | ~StringMap() {
// Delete all the elements in the map, but don't reset the elements
// to default values. This is a copy of clear(), but avoids unnecessary
// work not required in the destructor.
if (!empty()) {
for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
StringMapEntryBase *Bucket... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x7f3a10
testb $0x1, %al
jne 0xd1b769
movq 0x18(%rsp), %rax
movl $0x0, 0x2c(%rsp)
movl 0x8(%rax), %eax
movl %eax, 0x28(%rsp)
movl 0x2c(%rsp), %eax
cmpl 0x28(%rsp), %eax
je 0xd1b767
movq 0x18(%rsp), %rax
movq (%rax), %rax
movl 0x2c(... | /llvm/ADT/StringMap.h |
clang::AttributedTypeLoc clang::TypeLoc::getAs<clang::AttributedTypeLoc>() const | T getAs() const {
if (!T::isKind(*this))
return {};
T t;
TypeLoc& tl = t;
tl = *this;
return t;
} | subq $0x28, %rsp
movq %rdi, 0x10(%rsp)
movq 0x10(%rsp), %rdi
movq %rdi, (%rsp)
callq 0xd290e0
testb $0x1, %al
jne 0xd28d68
leaq 0x18(%rsp), %rdi
xorl %esi, %esi
movl $0x10, %edx
callq 0x73aa90
leaq 0x18(%rsp), %rdi
callq 0xd1e780
jmp 0xd28d93
leaq 0x18(%rsp), %rdi
callq 0xd1f340
movq (%rsp), %rcx
leaq 0x18(%rsp), %rax
... | /clang/AST/TypeLoc.h |
llvm::trailing_objects_internal::TrailingObjectsImpl<8, clang::OMPMapClause, llvm::TrailingObjects<clang::OMPMapClause, clang::Expr*, clang::ValueDecl*, unsigned int, clang::OMPClauseMappableExprCommon::MappableComponent>, clang::OMPMapClause, clang::Expr*, clang::ValueDecl*, unsigned int, clang::OMPClauseMappableExprC... | static NextTy *
getTrailingObjectsImpl(BaseTy *Obj,
TrailingObjectsBase::OverloadToken<NextTy>) {
auto *Ptr = TopTrailingObj::getTrailingObjectsImpl(
Obj, TrailingObjectsBase::OverloadToken<PrevTy>()) +
TopTrailingObj::callNumTrailingObjects(
... | subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rdi
callq 0xd2f340
movq %rax, (%rsp)
movq 0x18(%rsp), %rdi
callq 0xd2f350
movq %rax, %rcx
movq (%rsp), %rax
imulq $0x90, %rcx, %rcx
addq %rcx, %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)
| /llvm/Support/TrailingObjects.h |
clang::operator==(clang::specific_attr_iterator<clang::WeakRefAttr, llvm::SmallVector<clang::Attr*, 4u>>, clang::specific_attr_iterator<clang::WeakRefAttr, llvm::SmallVector<clang::Attr*, 4u>>) | bool operator==(specific_attr_iterator Left,
specific_attr_iterator Right) {
assert((Left.Current == nullptr) == (Right.Current == nullptr));
if (Left.Current < Right.Current)
Left.AdvanceToNext(Right.Current);
else
Right.AdvanceToNext(Left.Current);
return Left.Curr... | subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
jae 0xd4c12b
movq 0x8(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0xd4c150
jmp 0xd4c13a
movq 0x10(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0xd4c150
movq 0x10(%rsp), %rax
cmpq 0x8(%rsp), %rax
sete %al
andb $0x1, %al
addq $0x... | /clang/AST/AttrIterator.h |
llvm::DenseMapBase<llvm::DenseMap<clang::DeclContext const*, llvm::StringRef, llvm::DenseMapInfo<clang::DeclContext const*, void>, llvm::detail::DenseMapPair<clang::DeclContext const*, llvm::StringRef>>, clang::DeclContext const*, llvm::StringRef, llvm::DenseMapInfo<clang::DeclContext const*, void>, llvm::detail::Dense... | void destroyAll() {
if (getNumBuckets() == 0) // Nothing to do.
return;
const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
!KeyInfoT::isEqual(P->... | subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0xbdf2f0
cmpl $0x0, %eax
jne 0xd51d22
jmp 0xd51dba
callq 0xbdf210
movq %rax, 0x28(%rsp)
callq 0xd51dc0
movq 0x8(%rsp), %rdi
movq %rax, 0x20(%rsp)
callq 0xbdf220
movq 0x8(%rsp), %rdi
movq %rax, 0x18(%rsp)
callq 0xbdf230
movq %rax, 0x... | /llvm/ADT/DenseMap.h |
checkRangesForMacroArgExpansion(clang::FullSourceLoc, llvm::ArrayRef<clang::CharSourceRange>) | static bool checkRangesForMacroArgExpansion(FullSourceLoc Loc,
ArrayRef<CharSourceRange> Ranges) {
assert(Loc.isMacroID() && "Must be a macro expansion!");
SmallVector<CharSourceRange, 4> SpellingRanges;
mapDiagnosticRanges(Loc, Ranges, SpellingRanges);
// Count all... | subq $0xf8, %rsp
movl %edi, 0xe0(%rsp)
movq %rsi, 0xe8(%rsp)
movq %rdx, 0xd0(%rsp)
movq %rcx, 0xd8(%rsp)
leaq 0x90(%rsp), %rdi
callq 0xd4fee0
movq 0xe0(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0xe8(%rsp), %rax
movq %rax, 0x88(%rsp)
movq 0xd0(%rsp), %rax
movq %rax, 0x70(%rsp)
movq 0xd8(%rsp), %rax
movq %rax, 0x78(%rsp)
mo... | /Frontend/DiagnosticRenderer.cpp |
void llvm::SmallVectorTemplateBase<clang::CharSourceRange, true>::uninitialized_copy<clang::CharSourceRange const, clang::CharSourceRange>(clang::CharSourceRange const*, clang::CharSourceRange const*, clang::CharSourceRange*, std::enable_if<std::is_same<std::remove_const<clang::CharSourceRange const>::type, clang::Char... | static void uninitialized_copy(
T1 *I, T1 *E, T2 *Dest,
std::enable_if_t<std::is_same<std::remove_const_t<T1>, T2>::value> * =
nullptr) {
// Use memcpy for PODs iterated by pointers (which includes SmallVector
// iterators): std::uninitialized_copy optimizes to memmove, but we can
// u... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq %rdx, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq 0x20(%rsp), %rax
cmpq 0x18(%rsp), %rax
je 0xd67d4e
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
subq %rcx, %rax
movl $0xc, %ecx
cqto
idivq %rcx
imulq $0xc, %rax, %rdx
c... | /llvm/ADT/SmallVector.h |
llvm::SmallVectorImpl<clang::CharSourceRange>::assignRemote(llvm::SmallVectorImpl<clang::CharSourceRange>&&) | void assignRemote(SmallVectorImpl &&RHS) {
this->destroy_range(this->begin(), this->end());
if (!this->isSmall())
free(this->begin());
this->BeginX = RHS.BeginX;
this->Size = RHS.Size;
this->Capacity = RHS.Capacity;
RHS.resetToSmall();
} | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x94ec80
movq 0x10(%rsp), %rdi
movq %rax, 0x8(%rsp)
callq 0x94ec90
movq 0x8(%rsp), %rdi
movq %rax, %rsi
callq 0x94ec70
movq 0x10(%rsp), %rdi
callq 0x94ed10
testb $0x1, %al
jne 0xd6c569
movq 0x10(%rsp), %rdi
ca... | /llvm/ADT/SmallVector.h |
getTopFrameworkDir(clang::FileManager&, llvm::StringRef, llvm::SmallVectorImpl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&) | static OptionalDirectoryEntryRef
getTopFrameworkDir(FileManager &FileMgr, StringRef DirName,
SmallVectorImpl<std::string> &SubmodulePath) {
assert(llvm::sys::path::extension(DirName) == ".framework" &&
"Not a framework directory");
// Note: as an egregious but useful hack we use the rea... | subq $0x118, %rsp # imm = 0x118
movq %rsi, 0x100(%rsp)
movq %rdx, 0x108(%rsp)
movq %rdi, 0xf8(%rsp)
movq %rcx, 0xf0(%rsp)
movq 0xf8(%rsp), %rdi
movq 0x100(%rsp), %rax
movq %rax, 0xe0(%rsp)
movq 0x108(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movl $0x1, %ecx
callq 0xbdc5f0
... | /Lex/HeaderSearch.cpp |
llvm::DenseMapBase<llvm::DenseMap<clang::DirectoryEntry const*, bool, llvm::DenseMapInfo<clang::DirectoryEntry const*, void>, llvm::detail::DenseMapPair<clang::DirectoryEntry const*, bool>>, clang::DirectoryEntry const*, bool, llvm::DenseMapInfo<clang::DirectoryEntry const*, void>, llvm::detail::DenseMapPair<clang::Dir... | void initEmpty() {
setNumEntries(0);
setNumTombstones(0);
assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
"# initial buckets must be a power of two!");
const KeyT EmptyKey = getEmptyKey();
for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
::new (&B->getFirst... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rdi
movq %rdi, (%rsp)
xorl %esi, %esi
callq 0xd8a6f0
movq (%rsp), %rdi
xorl %esi, %esi
callq 0xd8a710
callq 0xd59170
movq (%rsp), %rdi
movq %rax, 0x18(%rsp)
callq 0xd59190
movq (%rsp), %rdi
movq %rax, 0x10(%rsp)
callq 0xd591a0
movq %rax, 0x8(%rsp)
movq 0x10(%rsp)... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::DirectoryEntry const*, bool, llvm::DenseMapInfo<clang::DirectoryEntry const*, void>, llvm::detail::DenseMapPair<clang::DirectoryEntry const*, bool>>, clang::DirectoryEntry const*, bool, llvm::DenseMapInfo<clang::DirectoryEntry const*, void>, llvm::detail::DenseMapPair<clang::Dir... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0xd8a7fe
movl $0x0, 0x14(%rsp)
jmp 0xd8a81e
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x7f65b0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, bool, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, bool>>, clang::FileEntry const*, bool, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, bool>>::ge... | unsigned getMinBucketToReserveForEntries(unsigned NumEntries) {
// Ensure that "NumEntries * 4 < NumBuckets * 3"
if (NumEntries == 0)
return 0;
// +1 is required because of the strict equality.
// For example if NumEntries is 48, we need to return 401.
return NextPowerOf2(NumEntries * 4 / 3 + ... | subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movl %esi, 0x4(%rsp)
cmpl $0x0, 0x4(%rsp)
jne 0xd8a8ae
movl $0x0, 0x14(%rsp)
jmp 0xd8a8ce
movl 0x4(%rsp), %eax
shll $0x2, %eax
movl $0x3, %ecx
xorl %edx, %edx
divl %ecx
addl $0x1, %eax
movl %eax, %eax
movl %eax, %edi
callq 0x7f65b0
movl %eax, 0x14(%rsp)
movl 0x14(%rsp), %eax
addq $... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>, unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>::makeIterator(llvm::detail::DenseMapP... | iterator makeIterator(BucketT *P, BucketT *E,
DebugEpochBase &Epoch,
bool NoAdvance=false) {
if (shouldReverseIterate<KeyT>()) {
BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1;
return iterator(B, E, Epoch, NoAdvance);
}
return iterator(P,... | subq $0x58, %rsp
movb %r8b, %al
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
andb $0x1, %al
movb %al, 0x27(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
callq 0x82c200
testb $0x1, %al
jne 0xd90046
jmp 0xd900b2
movq 0x10(%rsp), %rdi
movq 0x38(%rsp), %rax
movq %rax, 0x8(%rsp... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, llvm::SmallString<64u>, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, llvm::SmallString<64u>>>, clang::FileEntry const*, llvm::SmallString<64u>, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::de... | void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) {
initEmpty();
// Insert all the old elements.
const KeyT EmptyKey = getEmptyKey();
const KeyT TombstoneKey = getTombstoneKey();
for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) {
if (!KeyInfoT::isEqu... | subq $0x68, %rsp
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq 0x60(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0xd8ab70
callq 0xd58e70
movq %rax, 0x48(%rsp)
callq 0xd58e80
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x38(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x38(%rsp),... | /llvm/ADT/DenseMap.h |
RemoveDuplicates(std::vector<(anonymous namespace)::DirectoryLookupInfo, std::allocator<(anonymous namespace)::DirectoryLookupInfo>>&, unsigned int, bool) | static unsigned RemoveDuplicates(std::vector<DirectoryLookupInfo> &SearchList,
unsigned First, bool Verbose) {
llvm::SmallPtrSet<const DirectoryEntry *, 8> SeenDirs;
llvm::SmallPtrSet<const DirectoryEntry *, 8> SeenFrameworkDirs;
llvm::SmallPtrSet<const HeaderMap *, 8> SeenHeaderM... | subq $0x218, %rsp # imm = 0x218
movb %dl, %al
movq %rdi, 0x210(%rsp)
movl %esi, 0x20c(%rsp)
andb $0x1, %al
movb %al, 0x20b(%rsp)
leaq 0x1a8(%rsp), %rdi
callq 0xd96b10
leaq 0x148(%rsp), %rdi
callq 0xd96b10
leaq 0xe8(%rsp), %rdi
callq 0xd96b30
movl $0x0, 0xe4(%rsp)
movl 0x20c(%rsp), %eax
movl %eax, 0xe0(%rsp)
... | /Lex/InitHeaderSearch.cpp |
clang::Lexer::Create_PragmaLexer(clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, unsigned int, clang::Preprocessor&) | Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc,
SourceLocation ExpansionLocStart,
SourceLocation ExpansionLocEnd,
unsigned TokLen, Preprocessor &PP) {
SourceManager &SM = PP.getSourceManager();
// Create... | subq $0xa8, %rsp
movl %edi, 0xa4(%rsp)
movl %esi, 0xa0(%rsp)
movl %edx, 0x9c(%rsp)
movl %ecx, 0x98(%rsp)
movq %r8, 0x90(%rsp)
movq 0x90(%rsp), %rdi
callq 0xbcea10
movq %rax, 0x88(%rsp)
movq 0x88(%rsp), %rdi
movl 0xa4(%rsp), %eax
movl %eax, 0x80(%rsp)
movl 0x80(%rsp), %esi
callq 0x94f740
movl %eax, 0x84(%rsp)
movq 0x88(... | /Lex/Lexer.cpp |
isAllowedIDChar(unsigned int, clang::LangOptions const&, bool&) | static bool isAllowedIDChar(uint32_t C, const LangOptions &LangOpts,
bool &IsExtension) {
if (LangOpts.AsmPreprocessor) {
return false;
} else if (LangOpts.DollarIdents && '$' == C) {
return true;
} else if (LangOpts.CPlusPlus || LangOpts.C23) {
// A non-leading codepoint m... | subq $0x18, %rsp
movl %edi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq %rdx, (%rsp)
movq 0x8(%rsp), %rax
movq (%rax), %rax
shrq $0x20, %rax
andq $0x1, %rax
cmpl $0x0, %eax
je 0xd9d690
movb $0x0, 0x17(%rsp)
jmp 0xd9d77a
movq 0x8(%rsp), %rax
movq (%rax), %rax
shrq $0x1f, %rax
andq $0x1, %rax
cmpl $0x0, %eax
je 0xd9d6ba
movl $0... | /Lex/Lexer.cpp |
clang::Lexer::Lex(clang::Token&) | bool Lexer::Lex(Token &Result) {
assert(!isDependencyDirectivesLexer());
// Start a new token.
Result.startToken();
// Set up misc whitespace flags for LexTokenInternal.
if (IsAtStartOfLine) {
Result.setFlag(Token::StartOfLine);
IsAtStartOfLine = false;
}
if (HasLeadingSpace) {
Result.setFl... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rdi
callq 0xcf44d0
movq 0x8(%rsp), %rax
testb $0x1, 0xa0(%rax)
je 0xda2b9b
movq 0x18(%rsp), %rdi
movl $0x1, %esi
callq 0xd9cb90
movq 0x8(%rsp), %rax
movb $0x0, 0xa0(%rax)
movq 0x8(%rsp), %rax
testb ... | /Lex/Lexer.cpp |
FindConflictEnd(char const*, char const*, clang::ConflictMarkerKind) | static const char *FindConflictEnd(const char *CurPtr, const char *BufferEnd,
ConflictMarkerKind CMK) {
const char *Terminator = CMK == CMK_Perforce ? "<<<<\n" : ">>>>>>>";
size_t TermLen = CMK == CMK_Perforce ? 5 : 7;
auto RestOfBuffer = StringRef(CurPtr, BufferEnd - CurPtr).su... | subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movl %edx, 0x6c(%rsp)
movl 0x6c(%rsp), %edx
leaq 0x715f544(%rip), %rax # 0x7f02b34
leaq 0x715f537(%rip), %rcx # 0x7f02b2e
cmpl $0x2, %edx
cmoveq %rcx, %rax
movq %rax, 0x60(%rsp)
movl 0x6c(%rsp), %edx
movl $0x7, %eax
movl $0x5, %ecx
cmpl $0x2, %edx
cmovel ... | /Lex/Lexer.cpp |
llvm::detail::TrailingZerosCounter<unsigned int, 4ul>::count(unsigned int) | static unsigned count(T Val) {
if (Val == 0)
return 32;
#if __has_builtin(__builtin_ctz) || defined(__GNUC__)
return __builtin_ctz(Val);
#elif defined(_MSC_VER)
unsigned long Index;
_BitScanForward(&Index, Val);
return Index;
#endif
} | movl %edi, -0x8(%rsp)
cmpl $0x0, -0x8(%rsp)
jne 0xda96a5
movl $0x20, -0x4(%rsp)
jmp 0xda96b1
movl -0x8(%rsp), %eax
tzcntl %eax, %eax
movl %eax, -0x4(%rsp)
movl -0x4(%rsp), %eax
retq
nopw %cs:(%rax,%rax)
| /llvm/ADT/bit.h |
clang::StringLiteralParser::getOffsetOfStringByte(clang::Token const&, unsigned int) const | unsigned StringLiteralParser::getOffsetOfStringByte(const Token &Tok,
unsigned ByteNo) const {
// Get the spelling of the token.
SmallString<32> SpellingBuffer;
SpellingBuffer.resize(Tok.getLength());
bool StringInvalid = false;
const char *SpellingPtr = &S... | pushq %rbx
subq $0xf0, %rsp
movq %rdi, 0xe0(%rsp)
movq %rsi, 0xd8(%rsp)
movl %edx, 0xd4(%rsp)
movq 0xe0(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x98(%rsp), %rdi
callq 0x84b210
movq 0xd8(%rsp), %rdi
callq 0xcf5250
movl %eax, %eax
movl %eax, %esi
leaq 0x98(%rsp), %rdi
callq 0x87a880
movb $0x0, 0x97(%rsp)
leaq 0x98(%rsp), ... | /Lex/LiteralSupport.cpp |
MeasureUCNEscape(char const*, char const*&, char const*, unsigned int, clang::LangOptions const&, bool&) | static int MeasureUCNEscape(const char *ThisTokBegin, const char *&ThisTokBuf,
const char *ThisTokEnd, unsigned CharByteWidth,
const LangOptions &Features, bool &HadError) {
// UTF-32: 4 bytes per escape.
if (CharByteWidth == 4)
return 4;
uint32_t UcnVa... | subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq %rdx, 0x68(%rsp)
movl %ecx, 0x64(%rsp)
movq %r8, 0x58(%rsp)
movq %r9, 0x50(%rsp)
cmpl $0x4, 0x64(%rsp)
jne 0xdb250b
movl $0x4, 0x84(%rsp)
jmp 0xdb2610
movl $0x0, 0x4c(%rsp)
movw $0x0, 0x4a(%rsp)
leaq 0x38(%rsp), %rdi
callq 0x94de70
movq 0x78(%rsp), %rdi
... | /Lex/LiteralSupport.cpp |
clang::MacroInfo::getDefinitionLengthSlow(clang::SourceManager const&) const | unsigned MacroInfo::getDefinitionLengthSlow(const SourceManager &SM) const {
assert(!IsDefinitionLengthCached);
IsDefinitionLengthCached = true;
ArrayRef<Token> ReplacementTokens = tokens();
if (ReplacementTokens.empty())
return (DefinitionLength = 0);
const Token &firstToken = ReplacementTokens.front()... | subq $0x68, %rsp
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq %rdi, 0x8(%rsp)
movw 0x24(%rdi), %ax
andw $-0x2, %ax
orw $0x1, %ax
movw %ax, 0x24(%rdi)
callq 0xcf43f0
movq %rax, 0x40(%rsp)
movq %rdx, 0x48(%rsp)
leaq 0x40(%rsp), %rdi
callq 0xdb13d0
testb $0x1, %al
jne 0xdb40e7
jmp 0xdb4100
movq 0... | /Lex/MacroInfo.cpp |
clang::ModuleMap::resolveLinkAsDependencies(clang::Module*) | void ModuleMap::resolveLinkAsDependencies(Module *Mod) {
auto PendingLinkAs = PendingLinkAsModule.find(Mod->Name);
if (PendingLinkAs != PendingLinkAsModule.end()) {
for (auto &Name : PendingLinkAs->second) {
auto *M = findModule(Name.getKey());
if (M)
M->UseExportAsModuleLinkName = true;
... | subq $0x88, %rsp
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x10(%rsp)
addq $0x428, %rax # imm = 0x428
movq %rax, 0x8(%rsp)
movq 0x78(%rsp), %rsi
leaq 0x60(%rsp), %rdi
callq 0x7eaca0
movq 0x8(%rsp), %rdi
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
callq 0xdb5a30
movq 0x10(%r... | /Lex/ModuleMap.cpp |
updateModuleTimestamp(clang::serialization::ModuleFile&) | static void updateModuleTimestamp(ModuleFile &MF) {
// Overwrite the timestamp file contents so that file's mtime changes.
std::string TimestampFilename = MF.getTimestampFilename();
std::error_code EC;
llvm::raw_fd_ostream OS(TimestampFilename, EC,
llvm::sys::fs::OF_TextWithCRLF);
if... | subq $0xb8, %rsp
movq %rdi, 0xb0(%rsp)
movq 0xb0(%rsp), %rsi
leaq 0x90(%rsp), %rdi
callq 0xed6510
leaq 0x80(%rsp), %rdi
callq 0x7f50e0
leaq 0x10(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x7eaca0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x20(%rsp), %rdi
leaq 0x80(%rsp), %rcx
movl $0x3, %r8d
callq 0x8d68a0
leaq 0x... | /Serialization/ASTReader.cpp |
non-virtual thunk to clang::ASTReader::ReadPreprocessedEntity(unsigned int) | PreprocessedEntity *ASTReader::ReadPreprocessedEntity(unsigned Index) {
PreprocessedEntityID PPID = Index+1;
std::pair<ModuleFile *, unsigned> PPInfo = getModulePreprocessedEntity(Index);
ModuleFile &M = *PPInfo.first;
unsigned LocalIndex = PPInfo.second;
const PPEntityOffset &PPOffs = M.PreprocessedEntityOff... | movq %rdi, -0x8(%rsp)
movl %esi, -0xc(%rsp)
movq -0x8(%rsp), %rdi
addq $-0x8, %rdi
movl -0xc(%rsp), %esi
jmp 0xe9d780
nopl (%rax,%rax)
| /Serialization/ASTReader.cpp |
clang::TypeLocReader::VisitObjCTypeParamTypeLoc(clang::ObjCTypeParamTypeLoc) | void TypeLocReader::VisitObjCTypeParamTypeLoc(ObjCTypeParamTypeLoc TL) {
if (TL.getNumProtocols()) {
TL.setProtocolLAngleLoc(readSourceLocation());
TL.setProtocolRAngleLoc(readSourceLocation());
}
for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i)
TL.setProtocolLoc(i, readSourceLocation());
} | subq $0x48, %rsp
movq %rsi, 0x38(%rsp)
movq %rdx, 0x40(%rsp)
movq %rdi, 0x30(%rsp)
movq 0x30(%rsp), %rax
movq %rax, 0x10(%rsp)
leaq 0x38(%rsp), %rdi
callq 0xd23b10
cmpl $0x0, %eax
je 0xea3314
movq 0x10(%rsp), %rdi
callq 0xea0650
movl %eax, 0x2c(%rsp)
movl 0x2c(%rsp), %esi
leaq 0x38(%rsp), %rdi
callq 0xea3370
movq 0x10(... | /Serialization/ASTReader.cpp |
clang::TypeLocReader::VisitObjCObjectTypeLoc(clang::ObjCObjectTypeLoc) | void TypeLocReader::VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) {
TL.setHasBaseTypeAsWritten(Reader.readBool());
TL.setTypeArgsLAngleLoc(readSourceLocation());
TL.setTypeArgsRAngleLoc(readSourceLocation());
for (unsigned i = 0, e = TL.getNumTypeArgs(); i != e; ++i)
TL.setTypeArgTInfo(i, GetTypeSourceInfo()... | subq $0x58, %rsp
movq %rsi, 0x48(%rsp)
movq %rdx, 0x50(%rsp)
movq %rdi, 0x40(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x10(%rsp)
movq (%rax), %rdi
callq 0xea0d40
movzbl %al, %esi
andl $0x1, %esi
leaq 0x48(%rsp), %rdi
callq 0xea3550
movq 0x10(%rsp), %rdi
callq 0xea0650
movl %eax, 0x3c(%rsp)
movl 0x3c(%rsp), %esi
leaq 0x48... | /Serialization/ASTReader.cpp |
clang::ASTReader::PrintStats() | void ASTReader::PrintStats() {
std::fprintf(stderr, "*** AST File Statistics:\n");
unsigned NumTypesLoaded =
TypesLoaded.size() - llvm::count(TypesLoaded.materialized(), QualType());
unsigned NumDeclsLoaded =
DeclsLoaded.size() -
llvm::count(DeclsLoaded.materialized(), (Decl *)nullptr);
unsig... | subq $0x1a8, %rsp # imm = 0x1A8
movq %rdi, 0x1a0(%rsp)
movq 0x1a0(%rsp), %rax
movq %rax, 0xf8(%rsp)
movq 0xb1b4972(%rip), %rax # 0xc05def8
movq (%rax), %rdi
leaq 0x7061c5d(%rip), %rsi # 0x7f0b1ed
movb $0x0, %al
callq 0x73a2c0
movq 0xf8(%rsp), %rdi
addq $0xa78, %rdi # imm = 0xA78
callq 0xe8b2f0... | /Serialization/ASTReader.cpp |
llvm::DenseMapIterator<clang::DeclContext const*, clang::serialization::reader::DeclContextLookupTable, llvm::DenseMapInfo<clang::DeclContext const*, void>, llvm::detail::DenseMapPair<clang::DeclContext const*, clang::serialization::reader::DeclContextLookupTable>, false>::RetreatPastEmptyBuckets() | void RetreatPastEmptyBuckets() {
assert(Ptr >= End);
const KeyT Empty = KeyInfoT::getEmptyKey();
const KeyT Tombstone = KeyInfoT::getTombstoneKey();
while (Ptr != End && (KeyInfoT::isEqual(Ptr[-1].getFirst(), Empty) ||
KeyInfoT::isEqual(Ptr[-1].getFirst(), Tombstone)))
-... | subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
callq 0xbdf2c0
movq %rax, 0x18(%rsp)
callq 0xd51e00
movq %rax, 0x10(%rsp)
movq 0x8(%rsp), %rdx
movq (%rdx), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, 0x7(%rsp)
je 0xf16090
movq 0x8(%rsp), %rax
movq (%rax), %rdi
addq $-0x18, %rdi... | /llvm/ADT/DenseMap.h |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.