name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
bool llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, clang::FileEntryRef, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, clang::FileEntryRef>>, clang::FileEntry const*, clang::FileEntryRef, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0xac9ef2 pushq %rbx movq (%rdi), %rdi movq (%rsi), %rsi movl %esi, %eax shrl $0x4, %eax movl %esi, %r9d shrl $0x9, %r9d xorl %eax, %r9d decl %ecx andl %ecx, %r9d movl %r9d, %eax shll $0x4, %eax leaq (%rdi,%rax), %r8 movq (%rdi,%rax), %rbx movb $0x1, %al cmpq %rbx, %rsi jne 0xac...
/llvm/ADT/DenseMap.h
llvm::DenseMap<clang::FileEntry const*, unsigned int, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, unsigned int>>::shrink_and_clear()
void shrink_and_clear() { unsigned OldNumBuckets = NumBuckets; unsigned OldNumEntries = NumEntries; this->destroyAll(); // Reduce the number of buckets. unsigned NewNumBuckets = 0; if (OldNumEntries) NewNumBuckets = std::max(64, 1 << (Log2_32_Ceil(OldNumEntries) + 1)); if (NewNumBucke...
pushq %rbp pushq %rbx pushq %rax movq %rdi, %rbx movl 0x8(%rdi), %eax movl 0x10(%rdi), %esi testl %eax, %eax je 0xacb4a8 decl %eax je 0xacb4ac bsrl %eax, %eax xorl $0x1f, %eax jmp 0xacb4b1 xorl %ebp, %ebp jmp 0xacb4c7 movl $0x20, %eax movb $0x21, %cl subb %al, %cl movl $0x1, %eax shll %cl, %eax cmpl $0x41, %eax movl $0...
/llvm/ADT/DenseMap.h
clang::targets::NetBSDTargetInfo<clang::targets::AArch64beTargetInfo>::~NetBSDTargetInfo()
class LLVM_LIBRARY_VISIBILITY NetBSDTargetInfo : public OSTargetInfo<Target> { protected: void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { // NetBSD defines; list based off of gcc output Builder.defineMacro("__NetBSD__"); Bu...
pushq %rbx movq %rdi, %rbx leaq 0x2b7b631(%rip), %rax # 0x36503f0 movq %rax, (%rdi) movq 0x238(%rdi), %rdi leaq 0x248(%rbx), %rax cmpq %rax, %rdi je 0xad4de0 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 movq %rbx, %rdi callq 0xacbf7c movl $0x258, %esi # imm = 0x258 movq %rbx, %rdi popq %rbx jmp 0x4ba0c0
/Basic/Targets/OSTargets.h
clang::targets::NetBSDTargetInfo<clang::targets::PPC32TargetInfo>::~NetBSDTargetInfo()
class LLVM_LIBRARY_VISIBILITY NetBSDTargetInfo : public OSTargetInfo<Target> { protected: void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { // NetBSD defines; list based off of gcc output Builder.defineMacro("__NetBSD__"); Bu...
pushq %rbx movq %rdi, %rbx leaq 0x2c72151(%rip), %rax # 0x374bb70 movq %rax, (%rdi) movq 0x230(%rdi), %rdi leaq 0x240(%rbx), %rax cmpq %rax, %rdi je 0xad9a40 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 movq 0x1f0(%rbx), %rdi leaq 0x200(%rbx), %rax cmpq %rax, %rdi je 0xad9a5e movq (%rax), %rsi incq %rsi callq 0x4ba0c0 ...
/Basic/Targets/OSTargets.h
clang::targets::FreeBSDTargetInfo<clang::targets::PPC64TargetInfo>::~FreeBSDTargetInfo()
class LLVM_LIBRARY_VISIBILITY FreeBSDTargetInfo : public OSTargetInfo<Target> { protected: void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { // FreeBSD defines; list based off of gcc output unsigned Release = Triple.getOSMajorVe...
pushq %rbx movq %rdi, %rbx leaq 0x2c70f0f(%rip), %rax # 0x374bb70 movq %rax, (%rdi) movq 0x230(%rdi), %rdi leaq 0x240(%rbx), %rax cmpq %rax, %rdi je 0xadac82 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 movq 0x1f0(%rbx), %rdi leaq 0x200(%rbx), %rax cmpq %rax, %rdi je 0xadaca0 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 ...
/Basic/Targets/OSTargets.h
clang::targets::AIXTargetInfo<clang::targets::PPC64TargetInfo>::getOSDefines(clang::LangOptions const&, llvm::Triple const&, clang::MacroBuilder&) const
void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { DefineStd(Builder, "unix", Opts); Builder.defineMacro("_IBMR2"); Builder.defineMacro("_POWER"); Builder.defineMacro("__THW_BIG_ENDIAN__"); Builder.defineMacro("_AIX"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rcx, %rbx movq %rdx, 0x68(%rsp) movq %rsi, %r12 movq %rdi, 0x70(%rsp) leaq 0x252aaec(%rip), %rsi # 0x3005d25 movl $0x4, %edx movq %rcx, %rdi movq %r12, %rcx callq 0xace1f2 leaq 0x24529b2(%rip), %rax # 0x2f2dc02 leaq 0x8(%rsp), ...
/Basic/Targets/OSTargets.h
clang::targets::NetBSDTargetInfo<clang::targets::SparcV9TargetInfo>::~NetBSDTargetInfo()
class LLVM_LIBRARY_VISIBILITY NetBSDTargetInfo : public OSTargetInfo<Target> { protected: void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { // NetBSD defines; list based off of gcc output Builder.defineMacro("__NetBSD__"); Bu...
pushq %rbx movq %rdi, %rbx callq 0xacbf7c movl $0x1f0, %esi # imm = 0x1F0 movq %rbx, %rdi popq %rbx jmp 0x4ba0c0 nop
/Basic/Targets/OSTargets.h
clang::targets::OpenBSDTargetInfo<clang::targets::SparcV9TargetInfo>::~OpenBSDTargetInfo()
class LLVM_LIBRARY_VISIBILITY OpenBSDTargetInfo : public OSTargetInfo<Target> { protected: void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { // OpenBSD defines; list based off of gcc output Builder.defineMacro("__OpenBSD__"); ...
pushq %rbx movq %rdi, %rbx callq 0xacbf7c movl $0x1f0, %esi # imm = 0x1F0 movq %rbx, %rdi popq %rbx jmp 0x4ba0c0 nop
/Basic/Targets/OSTargets.h
clang::targets::LinuxTargetInfo<clang::targets::SystemZTargetInfo>::~LinuxTargetInfo()
class LLVM_LIBRARY_VISIBILITY LinuxTargetInfo : public OSTargetInfo<Target> { protected: void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, MacroBuilder &Builder) const override { // Linux defines; list based off of gcc output DefineStd(Builder, "unix", Opts); Defin...
pushq %rbx movq %rdi, %rbx leaq 0x2ca1877(%rip), %rax # 0x3780400 movq %rax, (%rdi) movq 0x1f0(%rdi), %rdi leaq 0x200(%rbx), %rax cmpq %rax, %rdi je 0xadebaa movq (%rax), %rsi incq %rsi callq 0x4ba0c0 movq %rbx, %rdi callq 0xacbf7c movl $0x218, %esi # imm = 0x218 movq %rbx, %rdi popq %rbx jmp 0x4ba0c0
/Basic/Targets/OSTargets.h
clang::targets::X86TargetInfo::getConstraintRegister(llvm::StringRef, llvm::StringRef) const
StringRef getConstraintRegister(StringRef Constraint, StringRef Expression) const override { StringRef::iterator I, E; for (I = Constraint.begin(), E = Constraint.end(); I != E; ++I) { if (isalpha(*I) || *I == '@') break; } if (I == E) return ""; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax leaq 0x25f7b1e(%rip), %rax # 0x30d766e testq %rdx, %rdx je 0xadfb8c movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r12 movq %rsi, %r15 xorl %r13d, %r13d movsbl (%r15,%r13), %ebp movl %ebp, %edi callq 0x4ba100 cmpl $0x40, %ebp je 0xadfba6 testl %...
/Basic/Targets/X86.h
clang::targets::AndroidX86_32TargetInfo::~AndroidX86_32TargetInfo()
class LLVM_LIBRARY_VISIBILITY AndroidX86_32TargetInfo : public LinuxTargetInfo<X86_32TargetInfo> { public: AndroidX86_32TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts) : LinuxTargetInfo<X86_32TargetInfo>(Triple, Opts) { SuitableAlign = 32; LongDoubleWidth = 64; LongDoubleFormat...
pushq %rbx movq %rdi, %rbx callq 0xacbf7c movl $0x268, %esi # imm = 0x268 movq %rbx, %rdi popq %rbx jmp 0x4ba0c0 nop
/Basic/Targets/X86.h
clang::targets::AArch64TargetInfo::parseTargetAttr(llvm::StringRef) const
ParsedTargetAttr AArch64TargetInfo::parseTargetAttr(StringRef Features) const { ParsedTargetAttr Ret; if (Features == "default") return Ret; SmallVector<StringRef, 1> AttrFeatures; Features.split(AttrFeatures, ","); bool FoundArch = false; auto SplitAndAddFeatures = [](StringRef FeatString, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rdx, 0x70(%rsp) movq %rcx, 0x78(%rsp) pxor %xmm0, %xmm0 movdqu %xmm0, 0x40(%rdi) movdqu %xmm0, 0x30(%rdi) movdqu %xmm0, 0x20(%rdi) movdqu %xmm0, 0x10(%rdi) movdqu %xmm0, (%rdi) movq $0x0, 0x50(%rdi) ...
/Basic/Targets/AArch64.cpp
clang::targets::MicrosoftARM64TargetInfo::getMinGlobalAlign(unsigned long, bool) const
virtual unsigned getMinGlobalAlign(uint64_t Size, bool HasNonWeakDef) const { return MinGlobalAlign; }
movzbl 0x3d(%rdi), %eax cmpq $0x200, %rsi # imm = 0x200 jb 0xaeb303 cmpl $0x81, %eax movl $0x80, %ecx jmp 0xaeb321 cmpq $0x40, %rsi jb 0xaeb313 cmpl $0x41, %eax movl $0x40, %ecx jmp 0xaeb321 cmpq $0x10, %rsi jb 0xaeb326 cmpl $0x21, %eax movl $0x20, %ecx cmovael %eax, %ecx movl %ecx, %eax retq nop
/clang/Basic/TargetInfo.h
clang::targets::WindowsARM64TargetInfo::~WindowsARM64TargetInfo()
class LLVM_LIBRARY_VISIBILITY WindowsARM64TargetInfo : public WindowsTargetInfo<AArch64leTargetInfo> { const llvm::Triple Triple; public: WindowsARM64TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts); void setDataLayout() override; BuiltinVaListKind getBuiltinVaLi...
pushq %rbx movq %rdi, %rbx leaq 0x2b664eb(%rip), %rax # 0x3651d60 movq %rax, (%rdi) movq 0x258(%rdi), %rdi leaq 0x268(%rbx), %rax cmpq %rax, %rdi je 0xaeb896 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 leaq 0x2b64b53(%rip), %rax # 0x36503f0 movq %rax, (%rbx) movq 0x238(%rbx), %rdi leaq 0x248(%rbx), %rax cmpq %rax, %...
/Basic/Targets/AArch64.h
clang::targets::AMDGPUTargetInfo::AMDGPUTargetInfo(llvm::Triple const&, clang::TargetOptions const&)
AMDGPUTargetInfo::AMDGPUTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts) : TargetInfo(Triple), GPUKind(isAMDGCN(Triple) ? llvm::AMDGPU::parseArchAMDGCN(Opts.CPU) : llvm::AMDGPU::parseArchR600(Opts.CPU)), GPUFeatures(isAMDGCN...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq 0xacbc66 leaq 0x2be02f6(%rip), %rax # 0x36cc018 movq %rax, (%rbx) cmpl $0x1a, 0x20(%r15) movq 0x40(%r14), %rdi movq 0x48(%r14), %rsi jne 0xaebd3b callq 0x17332de jmp 0xaebd40 callq 0x1733337 m...
/Basic/Targets/AMDGPU.cpp
clang::targets::AMDGPUTargetInfo::~AMDGPUTargetInfo()
class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : public TargetInfo { static const char *const GCCRegNames[]; static const LangASMap AMDGPUDefIsGenMap; static const LangASMap AMDGPUDefIsPrivMap; llvm::AMDGPU::GPUKind GPUKind; unsigned GPUFeatures; unsigned WavefrontSize; /// Whether to use cumode...
pushq %rbx movq %rdi, %rbx movq 0x218(%rdi), %rdi leaq 0x228(%rbx), %rax cmpq %rax, %rdi je 0xaec9f0 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 leaq 0x200(%rbx), %rdi callq 0x8f4f0a movq %rbx, %rdi popq %rbx jmp 0xacbf7c nop
/Basic/Targets/AMDGPU.h
clang::targets::ARMTargetInfo::validateConstraintModifier(llvm::StringRef, char, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) const
bool ARMTargetInfo::validateConstraintModifier( StringRef Constraint, char Modifier, unsigned Size, std::string &SuggestedModifier) const { bool isOutput = (Constraint[0] == '='); bool isInOut = (Constraint[0] == '+'); // Strip off constraint modifiers. Constraint = Constraint.ltrim("=+&"); switch (...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x18, %rsp movl %r8d, %ebx movl %ecx, %ebp leaq 0x8(%rsp), %r14 movq %rsi, (%r14) movq %rdx, 0x8(%r14) movb (%rsi), %r15b leaq 0x243eb67(%rip), %rsi # 0x2f2f8e0 movl $0x3, %edx movq %r14, %rdi xorl %ecx, %ecx callq 0x7704d2 movq %rax, %rcx movq 0x8(%r14), %rax cmpq %r...
/Basic/Targets/ARM.cpp
clang::targets::LoongArchTargetInfo::getGCCRegNames() const
ArrayRef<const char *> LoongArchTargetInfo::getGCCRegNames() const { static const char *const GCCRegNames[] = { // General purpose registers. "$r0", "$r1", "$r2", "$r3", "$r4", "$r5", "$r6", "$r7", "$r8", "$r9", "$r10", "$r11", "$r12", "$r13", "$r14", "$r15", "$r16", "$r17", "$r18", "$r19", "$...
leaq 0x2c2f61f(%rip), %rax # 0x3725500 movl $0x88, %edx retq nop
/Basic/Targets/LoongArch.cpp
clang::targets::WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool, llvm::MallocAllocator>&, llvm::StringRef, bool) const
void WebAssemblyTargetInfo::setFeatureEnabled(llvm::StringMap<bool> &Features, StringRef Name, bool Enabled) const { if (Name == "simd128") setSIMDLevel(Features, SIMD128, Enabled); else if (Name == "relaxed-simd") s...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movl %r8d, %ebx movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 cmpq $0xc, %rcx je 0xb05f9a cmpq $0x7, %r15 jne 0xb05fb9 movl $0x646d6973, %eax # imm = 0x646D6973 xorl (%r12), %eax movl $0x38323164, %ecx # imm = 0x38323164 xorl 0x3(%r12), %ecx orl %eax,...
/Basic/Targets/WebAssembly.cpp
clang::targets::X86TargetInfo::getCPUCacheLineSize() const
std::optional<unsigned> X86TargetInfo::getCPUCacheLineSize() const { using namespace llvm::X86; switch (CPU) { // i386 case CK_i386: // i486 case CK_i486: case CK_WinChipC6: case CK_WinChip2: case CK_C3: // Lakemont case CK_Lakemont: return 16; // i586 case CK_i586...
movslq 0x25c(%rdi), %rcx leaq 0x24efd62(%rip), %rdx # 0x2ffee20 leaq 0x24efff3(%rip), %rax # 0x2fff0b8 movq (%rax,%rcx,8), %rax orq (%rdx,%rcx,8), %rax retq
/Basic/Targets/X86.cpp
clang::getTraitSpelling(clang::TypeTrait)
const char *clang::getTraitSpelling(TypeTrait T) { assert(T <= TT_Last && "invalid enum value!"); if (T == BTT_IsDeducible) { // The __is_deducible is an internal-only type trait. To hide it from // external users, we define it with an empty spelling name, preventing the // clang parser from recognizing...
cmpl $0x48, %edi jne 0xb0fc7a leaq 0x24f0367(%rip), %rax # 0x2ffffe0 retq movl %edi, %eax leaq 0x24f08dd(%rip), %rcx # 0x3000560 movslq (%rcx,%rax,4), %rax addq %rcx, %rax retq
/Basic/TypeTraits.cpp
clang::OpenCLOptions::OpenCLOptions()
OpenCLOptions::OpenCLOptions() { #define OPENCL_GENERIC_EXTENSION(Ext, ...) \ OptMap.insert_or_assign(#Ext, OpenCLOptionInfo{__VA_ARGS__}); #include "clang/Basic/OpenCLExtensions.def" }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movabsq $0x2000000000, %rax # imm = 0x2000000000 movq %rax, 0x10(%rdi) movb $0x1, %r12b leaq 0x4(%rsp), %r14 movb %r12b, (%r14) movabsq $0x1e00000064, %r13 # imm = 0x1E00000...
/Basic/OpenCLOptions.cpp
void 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::DenseSet...
unsigned getNumEntries() const { return NumEntries; }
movq 0x8(%rsi), %rax movq %rax, 0x8(%rdi) cmpl $0x0, 0x10(%rdi) je 0xb18643 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 xorl %r13d, %r13d leaq 0x18(%rsp), %r15 movq $-0x2000, %rbp # imm = 0xE000 xorl %r12d, %r12d movq (%r14), %rdi addq %r13...
/llvm/ADT/DenseMap.h
std::pair<llvm::StringMapIterator<clang::SourceLocation>, bool> llvm::StringMap<clang::SourceLocation, llvm::MallocAllocator>::try_emplace_with_hash<>(llvm::StringRef, unsigned int)
std::pair<iterator, bool> try_emplace_with_hash(StringRef Key, uint32_t FullHashValue, ArgsTy &&...Args) { unsigned BucketNo = LookupBucketFor(Key, FullHashValue); StringMapEntryBase *&Bucket = TheTable[BucketNo]...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 callq 0x76fc8e movl %eax, %ebp movq (%r14), %rax movl %ebp, %ecx leaq (%rax,%rcx,8), %rbx movq (%rbx), %rax cmpq $-0x8, %rax je 0xb197d9 testq %rax, %rax je 0xb197dd jmp 0xb197ca movq 0x8(%rbx), ...
/llvm/ADT/StringMap.h
EnableCodeCompletion(clang::Preprocessor&, llvm::StringRef, unsigned int, unsigned int)
static bool EnableCodeCompletion(Preprocessor &PP, StringRef Filename, unsigned Line, unsigned Column) { // Tell the source manager to chop off the given file at a specific // line and column. auto Entry = PP.getFil...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %r8d, %ebp movl %ecx, %r12d movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r13 movq 0x50(%rdi), %rdi xorl %ecx, %ecx movl $0x1, %r8d callq 0xabdf8a movq %rax, %rbx testq %rax, %rax je 0xb1c005 movq %r13, %rdi movq %rbx, %rsi movl %r12d...
/Frontend/CompilerInstance.cpp
void llvm::function_ref<void (clang::CompilerInstance&)>::callback_fn<clang::CompilerInstance::createModuleFromSource(clang::SourceLocation, llvm::StringRef, llvm::StringRef)::$_0>(long, clang::CompilerInstance&)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r15 movq 0x10(%rdi), %r14 movq 0x38(%rsi), %rdi movq (%r15), %rax movq 0x8(%r15), %rcx movq (%rax), %rsi movq 0x8(%rax), %rdx movq 0x8(%rcx), %rcx xorl %r8d, %r8d callq 0xaaffc2 movq %rax, %r12 movq 0x40(%rbx), %r13 movq...
/llvm/ADT/STLFunctionalExtras.h
clang::CompilerInvocationBase::CompilerInvocationBase()
CompilerInvocationBase::CompilerInvocationBase() : LangOpts(std::make_shared<LangOptions>()), TargetOpts(std::make_shared<TargetOptions>()), DiagnosticOpts(llvm::makeIntrusiveRefCnt<DiagnosticOptions>()), HSOpts(std::make_shared<HeaderSearchOptions>()), PPOpts(std::make_shared<PreprocessorOp...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movl $0x340, %edi # imm = 0x340 callq 0x4ba720 movq %rax, %r14 movabsq $0x100000001, %r12 # imm = 0x100000001 movq %r12, 0x8(%rax) leaq 0x2c8b0e6(%rip), %rax # 0x37b05e0 addq $0x10, %rax movq %rax, (%r14) leaq 0x10...
/Frontend/CompilerInvocation.cpp
RoundTrip(llvm::function_ref<bool (clang::CompilerInvocation&, llvm::ArrayRef<char const*>, clang::DiagnosticsEngine&, char const*)>, llvm::function_ref<void (clang::CompilerInvocation&, llvm::SmallVectorImpl<char const*>&, llvm::function_ref<char const* (llvm::Twine const&)>)>, clang::CompilerInvocation&, clang::Compi...
static bool RoundTrip(ParseFn Parse, GenerateFn Generate, CompilerInvocation &RealInvocation, CompilerInvocation &DummyInvocation, ArrayRef<const char *> CommandLineArgs, DiagnosticsEngine &Diags, const char *Argv0, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x748, %rsp # imm = 0x748 movq %r9, 0x100(%rsp) movq %rcx, 0xf0(%rsp) movq %rdx, 0xf8(%rsp) movq %rsi, 0xa0(%rsp) movq %rdi, 0x10(%rsp) movb 0x7a0(%rsp), %al movb %al, 0xf(%rsp) movq 0x798(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x790(%rs...
/Frontend/CompilerInvocation.cpp
llvm::opt::Arg* llvm::opt::ArgList::getLastArg<clang::driver::options::ID>(clang::driver::options::ID) const
Arg *getLastArg(OptSpecifiers ...Ids) const { Arg *Res = nullptr; for (Arg *A : filtered(Ids...)) { Res = A; Res->claim(); } return Res; }
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movl %esi, %edx movq %rdi, %rsi leaq 0x20(%rsp), %rbx movq %rbx, %rdi callq 0xb55768 movups (%rbx), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%rbx), %rax movq %rax, 0x10(%rsp) movq 0x18(%rbx), %r15 movq (%rsp), %rax cmpq %r15, %rax je 0xb39e5e movq %rsp, %r14 movq (%rax), %r...
/llvm/Option/ArgList.h
llvm::StringSwitch<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::Case(llvm::StringLiteral, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
StringSwitch &Case(StringLiteral S, T Value) { if (!Result && Str == S) { Result = std::move(Value); } return *this; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpb $0x0, 0x30(%rdi) jne 0xb3a505 cmpq %rdx, 0x8(%rbx) jne 0xb3a505 movq %rcx, %r14 testq %rdx, %rdx je 0xb3a4f9 movq (%rbx), %rdi callq 0x4baa50 testl %eax, %eax jne 0xb3a505 leaq 0x10(%rbx), %rdi movq %r14, %rsi callq 0x778bee movq %rbx, %rax addq $0x8, %rsp popq %rbx...
/llvm/ADT/StringSwitch.h
clang::ParseDiagnosticArgs(clang::DiagnosticOptions&, llvm::opt::ArgList&, clang::DiagnosticsEngine*, bool)
bool clang::ParseDiagnosticArgs(DiagnosticOptions &Opts, ArgList &Args, DiagnosticsEngine *Diags, bool DefaultDiagColor) { std::optional<DiagnosticsEngine> IgnoringDiags; if (!Diags) { IgnoringDiags.emplace(new DiagnosticIDs(), new DiagnosticOption...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x738, %rsp # imm = 0x738 movl %ecx, 0x88(%rsp) movq %rsi, 0x8(%rsp) movq %rdi, %r12 movabsq $0x3200000000, %r13 # imm = 0x3200000000 movabsq $0xa00000000, %rbp # imm = 0xA00000000 movabsq $0x100000000, %r15 # imm = 0x10000...
/Frontend/CompilerInvocation.cpp
llvm::opt::InputArgList::~InputArgList()
~InputArgList() { releaseMemory(); }
pushq %rbx movq %rdi, %rbx callq 0x158d850 leaq 0x140(%rbx), %rdi callq 0xb64d52 movq 0xb0(%rbx), %rdi leaq 0xc0(%rbx), %rax cmpq %rax, %rdi je 0xb3d21b callq 0x4ba740 movq %rbx, %rdi popq %rbx jmp 0xb64d0c
/llvm/Option/ArgList.h
clang::ParsedSourceLocation::ToString[abi:cxx11]() const
std::string ToString() const { return (llvm::Twine(FileName == "<stdin>" ? "-" : FileName) + ":" + Twine(Line) + ":" + Twine(Column)) .str(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x22e2b32(%rip), %rsi # 0x2e4d869 movq %r14, %rdi callq 0x4bac70 leaq 0x18(%rsp), %r15 movq %r15, -0x10(%r15) testl %eax, %eax je 0xb6ad62 movq (%r14), %rsi movq 0x8(%r14), %rdx addq %rsi, %rdx leaq 0x8(%rsp), %rdi callq...
/clang/Frontend/CommandLineSourceLoc.h
llvm::SmallVectorTemplateBase<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, false>::destroy_range(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__...
static void destroy_range(T *S, T *E) { while (S != E) { --E; E->~T(); } }
cmpq %rdi, %rsi je 0xb6b83a pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx addq $-0x10, %r14 movq -0x10(%r14), %rdi cmpq %rdi, %r14 je 0xb6b80b movq (%r14), %rsi incq %rsi callq 0x4ba0c0 movq -0x30(%r14), %rdi leaq -0x20(%r14), %rax cmpq %rdi, %rax je 0xb6b823 movq (%rax), %rsi incq %rsi callq 0x4ba0c...
/llvm/ADT/SmallVector.h
ReadOriginalFileName(clang::CompilerInstance&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, bool)
static SourceLocation ReadOriginalFileName(CompilerInstance &CI, std::string &InputFile, bool IsModuleMap = false) { auto &SourceMgr = CI.getSourceManager(); auto MainFileID = SourceMgr.getMainFileID(); auto MainFileBuf = Sourc...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x318, %rsp # imm = 0x318 movl %edx, 0xc(%rsp) movq %rsi, %rbp movq %rdi, %r12 movq 0x40(%rdi), %r14 movl 0x1c0(%r14), %r15d leaq 0x58(%rsp), %rbx xorl %r13d, %r13d movq %rbx, %rdi movq %r14, %rsi movl %r15d, %edx xorl %ecx, %ecx callq 0...
/Frontend/FrontendAction.cpp
llvm::StringMap<clang::LayoutOverrideSource::Layout, 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...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx cmpl $0x0, 0xc(%rdi) je 0xb83ee4 movl 0x8(%rbx), %r14d testq %r14, %r14 je 0xb83ee4 xorl %r15d, %r15d movq (%rbx), %rax movq (%rax,%r15,8), %rdi cmpq $-0x8, %rdi je 0xb83edc testq %rdi, %rdi je 0xb83edc movq %rbx, %rsi callq 0xb83ef2 incq %r15 cmpq %r15, %r14 jne 0xb83ec...
/llvm/ADT/StringMap.h
llvm::DenseMapBase<llvm::DenseMap<clang::FieldDecl const*, unsigned long, llvm::DenseMapInfo<clang::FieldDecl const*, void>, llvm::detail::DenseMapPair<clang::FieldDecl const*, unsigned long>>, clang::FieldDecl const*, unsigned long, llvm::DenseMapInfo<clang::FieldDecl const*, void>, llvm::detail::DenseMapPair<clang::F...
value_type& FindAndConstruct(KeyT &&Key) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return *TheBucket; return *InsertIntoBucket(TheBucket, std::move(Key)); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %r15, %rdx callq 0x8fde34 movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0xb840be movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0x8fdec2 movq (%rbx), %rcx movq %rcx, (%rax) movq $0x0...
/llvm/ADT/DenseMap.h
clang::SARIFDiagnosticPrinter::BeginSourceFile(clang::LangOptions const&, clang::Preprocessor const*)
void SARIFDiagnosticPrinter::BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) { // Build the SARIFDiagnostic utility. assert(hasSarifWriter() && "Writer not set!"); assert(!SARIFDiag && "SARIFDiagnostic already set."); SARIFDiag = std::make_unique<SARIF...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x10(%rdi), %r15 movq 0x18(%rdi), %r12 movq 0x48(%rdi), %r13 movl $0x30, %edi callq 0x4ba720 movq %rax, %rbp movq %rax, %rdi movq %r15, %rsi movq %r14, %rdx movq %r12, %rcx movq %r13, %r8 callq 0xb970...
/Frontend/SARIFDiagnosticPrinter.cpp
(anonymous namespace)::SDiagsMerger::visitFilenameRecord(unsigned int, unsigned int, unsigned int, llvm::StringRef)
std::error_code SDiagsMerger::visitFilenameRecord(unsigned ID, unsigned Size, unsigned Timestamp, StringRef Name) { FileLookup[ID] = Writer.getEmitFile(Name.str().c_str()); return std::error_code(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx movl %esi, 0xc(%rsp) movq 0x8(%rdi), %r14 leaq 0x20(%rsp), %r12 movq %r12, -0x10(%r12) testq %r8, %r8 je 0xb8aacb addq %r8, %r9 leaq 0x10(%rsp), %r15 movq %r15, %rdi movq %r8, %rsi movq %r9, %rdx callq 0x4de7d8 movq (%r15), %rsi jmp...
/Frontend/SerializedDiagnosticPrinter.cpp
llvm::DenseMapBase<llvm::DenseMap<void const*, std::pair<unsigned int, llvm::StringRef>, llvm::DenseMapInfo<void const*, void>, llvm::detail::DenseMapPair<void const*, std::pair<unsigned int, llvm::StringRef>>>, void const*, std::pair<unsigned int, llvm::StringRef>, llvm::DenseMapInfo<void const*, void>, llvm::detail::...
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...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq $0x0, 0x8(%rdi) movl 0x10(%rdi), %ecx testq %rcx, %rcx je 0xb8b459 movq (%r15), %rax movabsq $0x7ffffffffffffff, %rdx # imm = 0x7FFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx neg...
/llvm/ADT/DenseMap.h
clang::VerifyDiagnosticConsumer::VerifyDiagnosticConsumer(clang::DiagnosticsEngine&)
VerifyDiagnosticConsumer::VerifyDiagnosticConsumer(DiagnosticsEngine &Diags_) : Diags(Diags_), PrimaryClient(Diags.getClient()), PrimaryClientOwner(Diags.takeClient()), Buffer(new TextDiagnosticBuffer()), Markers(new MarkerTracker(Diags)), Status(HasNoDirectives) { if (Diags.hasSourceManager()) ...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx xorl %r14d, %r14d movq %r14, 0x8(%rdi) leaq 0x2c24e4b(%rip), %rax # 0x37b45b0 leaq 0x10(%rax), %rcx movq %rcx, (%rdi) addq $0x68, %rax movq %rax, 0x10(%rdi) movq %rsi, 0x18(%rdi) movq 0x30(%rsi), %rax movq %rax, 0x20(%rdi) movq 0x38(%rsi), %rax movq %rax, 0x28(%rdi) mo...
/Frontend/VerifyDiagnosticConsumer.cpp
DetailedErrorString[abi:cxx11](clang::DiagnosticsEngine const&)
static std::string DetailedErrorString(const DiagnosticsEngine &Diags) { if (Diags.getDiagnosticOptions().VerifyPrefixes.empty()) return "expected"; return *Diags.getDiagnosticOptions().VerifyPrefixes.begin(); }
leaq 0x10(%rdi), %rax movq %rax, (%rdi) cmpq %rdx, %rsi je 0xb91b36 movq (%rsi), %rax movq 0x8(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi jmp 0x51a7cc leaq 0x195160b(%rip), %rsi # 0x24e3148 leaq 0x195160c(%rip), %rdx # 0x24e3150 jmp 0x4de7d8
/Frontend/VerifyDiagnosticConsumer.cpp
(anonymous namespace)::attachDirective(clang::DiagnosticsEngine&, (anonymous namespace)::UnattachedDirective const&, clang::SourceLocation, bool, bool)
void attachDirective(DiagnosticsEngine &Diags, const UnattachedDirective &UD, SourceLocation ExpectedLoc, bool MatchAnyFileAndLine = false, bool MatchAnyLine = false) { // Construct new directive. std::unique_ptr<Directive> D = Directive::create( ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movl %r8d, %r9d movl %ecx, %r8d movl %edx, %ecx movq %rsi, %rbx movq %rdi, %r14 movzbl 0x8(%rsi), %esi movl 0xc(%rbx), %edx movq 0x18(%rbx), %rax movq %rax, 0x50(%rsp) movq 0x20(%rbx), %rax movq %rax, 0x58(%rsp) movl 0x38(%rbx), %eax movl 0x3c(%rbx...
/Frontend/VerifyDiagnosticConsumer.cpp
clang::FrontendInputFile const* llvm::SmallVectorTemplateCommon<clang::FrontendInputFile, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::FrontendInputFile, false>>(llvm::SmallVectorTemplateBase<clang::FrontendInputFile, false>*, clang::FrontendInputFile const&, unsigned long)
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...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movl 0x8(%rdi), %ecx movl 0xc(%rdi), %eax addq %rcx, %rdx cmpq %rax, %rdx ja 0xb94c6c movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movq (%rdi), %rax leaq (%rcx,%rcx,4), %rcx shlq $0x4, %rcx addq %rax, %rcx cmpq %rbx, %rax setbe %sil cmpq %rbx,...
/llvm/ADT/SmallVector.h
llvm::SmallVectorTemplateBase<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>, false>::moveElementsForGrow(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer>>*)
size_t size() const { return Size; }
movl 0x8(%rdi), %eax testq %rax, %rax je 0xb94dc4 pushq %r14 pushq %rbx pushq %rax movq (%rdi), %rcx leaq (,%rax,8), %rbx xorl %edx, %edx movq (%rcx,%rdx), %r8 movq %r8, (%rsi,%rdx) movq $0x0, (%rcx,%rdx) addq $0x8, %rdx cmpq %rdx, %rbx jne 0xb94d7d testq %rax, %rax je 0xb94dbd movq (%rdi), %r14 movq -0x8(%r14,%rbx), %...
/llvm/ADT/SmallVector.h
clang::DiagnosticRenderer::emitModuleBuildStack(clang::SourceManager const&)
size_t size() const { return Size; }
movl 0x250(%rsi), %eax testq %rax, %rax je 0xb95d66 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movq 0x248(%rsi), %r14 addq $0x20, %r14 shlq $0x4, %rax leaq (%rax,%rax,2), %r13 leaq 0x20(%rsp), %r15 movl (%r14), %ebp movq 0x8(%r14), %r12 movq 0x10(%rbx), %rax movl ...
/llvm/ADT/SmallVector.h
clang::DiagnosticRenderer::emitSingleMacroExpansion(clang::FullSourceLoc, clang::DiagnosticsEngine::Level, llvm::ArrayRef<clang::CharSourceRange>)
void DiagnosticRenderer::emitSingleMacroExpansion( FullSourceLoc Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges) { // Find the spelling location for the macro definition. We must use the // spelling location here to avoid emitting a macro backtrace for the note. FullSourceLoc Spelli...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x158, %rsp # imm = 0x158 movq %r9, %r12 movq %r8, %r13 movq %rdi, %rbx leaq 0xc8(%rsp), %r15 movl %esi, (%r15) movq %rdx, 0x8(%r15) movq %r15, %rdi callq 0xac3ea6 movl %eax, %ebp movq %rdx, %r14 leaq 0x48(%rsp), %rcx movq %rcx, -0x10(%r...
/Frontend/DiagnosticRenderer.cpp
clang::DiagnosticNoteRenderer::emitIncludeLocation(clang::FullSourceLoc, clang::PresumedLoc)
void DiagnosticNoteRenderer::emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) { // Generate a note indicating the include location. SmallString<200> MessageStorage; llvm::raw_svector_ostream Message(MessageStorage); Message << "in file included from " << ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %rdx, %rbx movl %esi, %ebp movq %rdi, %r14 leaq 0x150(%rsp), %r13 leaq 0x50(%rsp), %r12 movq %r12, -0x18(%r12) xorl %eax, %eax movq %rax, -0x10(%r12) movq $0xc8, -0x8(%r12) movq %rsp, %r15 movl $0x2, 0x8(%r...
/Frontend/DiagnosticRenderer.cpp
clang::SarifResult::setLocations(llvm::ArrayRef<clang::CharSourceRange>)
SarifResult setLocations(llvm::ArrayRef<CharSourceRange> DiagLocs) { #ifndef NDEBUG for (const auto &Loc : DiagLocs) { assert(Loc.isCharRange() && "SARIF Results require character granular source ranges!"); } #endif Locations.assign(DiagLocs.begin(), DiagLocs.end()); return *this; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx leaq 0x48(%rsi), %r15 leaq (%rcx,%rcx,2), %rax leaq (%rdx,%rax,4), %rax movl $0x0, 0x50(%rsi) movq %r15, %rdi movq %rdx, %rsi movq %rax, %rdx callq 0xb97066 movl (%r14), %eax movl %eax, (%rbx) leaq 0x8(%rbx), %rdi leaq 0x18(%rbx), %r...
/clang/Basic/Sarif.h
applyTemplateHighlighting(llvm::raw_ostream&, llvm::StringRef, bool&, bool)
static void applyTemplateHighlighting(raw_ostream &OS, StringRef Str, bool &Normal, bool Bold) { while (true) { size_t Pos = Str.find(ToggleHighlight); OS << Str.slice(0, Pos); if (Pos == StringRef::npos) break; Str = Str.substr(Pos + 1); if (Normal) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r8d, %ebx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 testq %r15, %r15 je 0xb98f12 movq %r12, %rdi movl $0x7f, %esi movq %r15, %rdx callq 0x4ba890 movq %rax, %rcx subq %r12, %rcx cmpq $0x1, %rax movl $0x0, %ebp sbbq %...
/Frontend/TextDiagnostic.cpp
char* llvm::SmallVectorImpl<char>::insert_one_impl<char>(char*, char&&)
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...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r15 movq %rdi, %r14 movq (%rdi), %rax movq 0x8(%rdi), %rcx leaq (%rax,%rcx), %rdx cmpq %rsi, %rdx je 0xb9bfea movq %rsi, %rbx subq %rax, %rbx leaq 0x1(%rcx), %rdx cmpq 0x10(%r14), %rdx ja 0xb9c00d addq %rax, %rbx movb -0x1(%rax,%rcx), %dl movb %dl, (%rax,%rcx) movq (%r14), %...
/llvm/ADT/SmallVector.h
clang::PCHValidator::ReadDiagnosticOptions(llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>, bool)
bool PCHValidator::ReadDiagnosticOptions( IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, bool Complain) { DiagnosticsEngine &ExistingDiags = PP.getDiagnostics(); IntrusiveRefCntPtr<DiagnosticIDs> DiagIDs(ExistingDiags.getDiagnosticIDs()); IntrusiveRefCntPtr<DiagnosticsEngine> Diags( new DiagnosticsEngi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movl %edx, 0x4(%rsp) movq %rsi, %r12 movq %rdi, %r13 movq 0x8(%rdi), %rax movq 0x30(%rax), %r15 movq 0x20(%r15), %rbx testq %rbx, %rbx je 0xbaa620 movl (%rbx), %ebp movl $0x518, %edi # imm = 0x518 callq 0x4ba720 movq %rax, %r1...
/Serialization/ASTReader.cpp
clang::serialization::reader::ASTSelectorLookupTrait::ReadKey(unsigned char const*, unsigned int)
ASTSelectorLookupTrait::internal_key_type ASTSelectorLookupTrait::ReadKey(const unsigned char* d, unsigned) { using namespace llvm::support; SelectorTable &SelTable = Reader.getContext().Selectors; unsigned N = endian::readNext<uint16_t, llvm::endianness::little>(d); const IdentifierInfo *FirstII = Reader.getL...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %r13 movq 0x8(%rdi), %rsi movq 0x88(%r13), %rax movq 0x4388(%rax), %r15 movzwl (%rbx), %r12d movq 0x2(%rbx), %rdx movq %r13, %rdi callq 0xbabc12 movq %r13, %rdi movq %rax, %rsi callq 0xbc930c ...
/Serialization/ASTReader.cpp
clang::serialization::reader::ASTSelectorLookupTrait::ReadData(clang::Selector, unsigned char const*, unsigned int)
ASTSelectorLookupTrait::data_type ASTSelectorLookupTrait::ReadData(Selector, const unsigned char* d, unsigned DataLen) { using namespace llvm::support; data_type Result; Result.ID = Reader.getGlobalSelectorID( F, endian::readNext<uint32_t, llvm::endianness::little>(d)); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq %rsi, %r15 movq %rdi, %r12 leaq 0x20(%rdi), %rax movq %rax, 0x10(%rdi) movabsq $0x200000000, %rax # imm = 0x200000000 movq %rax, 0x18(%rdi) leaq 0x40(%rdi), %rcx movq %rcx, 0x30(%rdi) movq %rax, 0x38(%rdi) movq (%rsi)...
/Serialization/ASTReader.cpp
clang::ASTReader::SetIdentifierInfo(unsigned long, clang::IdentifierInfo*)
std::pair<ModuleFile *, unsigned> ASTReader::translateIdentifierIDToIndex(IdentifierID ID) const { if (ID == 0) return {nullptr, 0}; unsigned ModuleFileIndex = ID >> 32; unsigned LocalID = ID & llvm::maskTrailingOnes<IdentifierID>(32); assert(ModuleFileIndex && "not translating loaded IdentifierID?"); a...
testq %rsi, %rsi je 0xbac061 movq %rsi, %rax shrq $0x20, %rax decl %eax movq 0x98(%rdi), %rcx movq (%rcx,%rax,8), %rax movl 0x698(%rax), %eax addl %esi, %eax jmp 0xbac063 xorl %eax, %eax movq 0xfc8(%rdi), %rcx movq %rdx, (%rcx,%rax,8) movq 0x40(%rdi), %rdi testq %rdi, %rdi je 0xbac080 movq (%rdi), %rax movq 0x18(%rax),...
/Serialization/ASTReader.cpp
clang::ASTReader::SetGloballyVisibleDecls(clang::IdentifierInfo*, llvm::SmallVectorImpl<clang::GlobalDeclID> const&, llvm::SmallVectorImpl<clang::Decl*>*)
void ASTReader::SetGloballyVisibleDecls( IdentifierInfo *II, const SmallVectorImpl<GlobalDeclID> &DeclIDs, SmallVectorImpl<Decl *> *Decls) { if (NumCurrentElementsDeserializing && !Decls) { PendingIdentifierInfos[II].append(DeclIDs.begin(), DeclIDs.end()); return; } for (unsigned I = 0, N = DeclI...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %r15 movq %rdx, %rbx movq %rdi, %r14 movq %rsi, 0x8(%rsp) movq %rsi, 0x10(%rsp) testq %rcx, %rcx jne 0xbac192 cmpl $0x0, 0x2358(%r14) je 0xbac192 addq $0x2360, %r14 # imm = 0x2360 leaq 0x10(%rsp), %rsi movq %r14, %rd...
/Serialization/ASTReader.cpp
clang::serialization::reader::ASTDeclContextNameLookupTrait::ReadKey(unsigned char const*, unsigned int)
ASTDeclContextNameLookupTrait::internal_key_type ASTDeclContextNameLookupTrait::ReadKey(const unsigned char *d, unsigned) { using namespace llvm::support; auto Kind = (DeclarationName::NameKind)*d++; uint64_t Data; switch (Kind) { case DeclarationName::Identifier: case DeclarationName::CXXLiteralOperatorNa...
pushq %r14 pushq %rbx pushq %rax movzbl (%rsi), %ebx xorl %edx, %edx cmpl $0xb, %ebx ja 0xbac44d movl $0x301, %eax # imm = 0x301 btl %ebx, %eax jb 0xbac429 movl $0x806, %eax # imm = 0x806 btl %ebx, %eax jae 0xbac457 movq (%rdi), %r14 movq 0x8(%rdi), %rax movl 0x1(%rsi), %edx movq %r14, %rdi movq %...
/Serialization/ASTReader.cpp
clang::ASTReader::Error(llvm::StringRef) const
void ASTReader::Error(StringRef Msg) const { Error(diag::err_fe_pch_malformed, Msg); if (PP.getLangOpts().Modules && !Diags.isDiagnosticInFlight() && !PP.getHeaderSearchInfo().getModuleCachePath().empty()) { Diag(diag::note_module_cache_path) << PP.getHeaderSearchInfo().getModuleCachePath(); } }
pushq %r14 pushq %rbx subq $0x48, %rsp movq %rdx, %rcx movq %rsi, %rdx movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rsp) movups %xmm0, (%rsp) movl $0x38c, %esi # imm = 0x38C xorl %r8d, %r8d xorl %r9d, %r9d callq 0xbacc66 movq 0x80(%rbx), %rax movq 0x38(%rax), %rcx testb $0x10, 0x12(%rcx) je 0xbac9c...
/Serialization/ASTReader.cpp
clang::ASTReader::ReadBlockAbbrevs(llvm::BitstreamCursor&, unsigned int, unsigned long*)
llvm::Error ASTReader::ReadBlockAbbrevs(BitstreamCursor &Cursor, unsigned BlockID, uint64_t *StartOfBlockOffset) { if (llvm::Error Err = Cursor.EnterSubBlock(BlockID)) return Err; if (StartOfBlockOffset) *StartOfBlockOffset = C...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %r15 movq %rsi, %r14 movq %rdi, %rbx xorl %ecx, %ecx callq 0x1718d7c cmpq $0x0, (%rbx) je 0xbaedd0 movq %rbx, %rax addq $0x10, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 retq testq %r15, %r15 je 0xbaede7 movq 0x10(%r14), %rax...
/Serialization/ASTReader.cpp
llvm::SmallVectorTemplateBase<clang::IdentifierInfo*, true>::push_back(clang::IdentifierInfo*)
void push_back(ValueParamT Elt) { const T *EltPtr = reserveForParamAndGetAddress(Elt); memcpy(reinterpret_cast<void *>(this->end()), EltPtr, sizeof(T)); this->set_size(this->size() + 1); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xbaf860 movq (%rbx), %rax movl %edx, %ecx movq %r14, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq incq %rdx leaq 0x10(%rbx), %rsi movl $0x8, %ecx movq %rbx, %rdi callq 0x76b2c4 movl 0...
/llvm/ADT/SmallVector.h
clang::ASTReader::getGlobalPreprocessedEntityID(clang::serialization::ModuleFile&, unsigned int) const
PreprocessedEntityID ASTReader::getGlobalPreprocessedEntityID(ModuleFile &M, unsigned LocalID) const { if (!M.ModuleOffsetMap.empty()) ReadModuleOffsetMap(M); ContinuousRangeMap<uint32_t, int, 2>::const_iterator I = M.PreprocessedEntityRemap.find(LocalID - NUM_PREDE...
pushq %r14 pushq %rbx pushq %rax movl %edx, %ebx movq %rsi, %r14 cmpq $0x0, 0x358(%rsi) je 0xbaf895 movq %r14, %rsi callq 0xbaf8fc movq 0x9d0(%r14), %rax movl 0x9d8(%r14), %ecx testq %rcx, %rcx je 0xbaf8e9 leal -0x1(%rbx), %esi movq %rax, %rdx movq %rcx, %rdi movq %rdx, %r8 movq %rdi, %r9 shrq %r9 movq %r9, %r10 notq %...
/Serialization/ASTReader.cpp
clang::ASTReader::ReadModuleOffsetMap(clang::serialization::ModuleFile&) const
void ASTReader::ReadModuleOffsetMap(ModuleFile &F) const { assert(!F.ModuleOffsetMap.empty() && "no module offset map to read"); // Additional remapping information. const unsigned char *Data = (const unsigned char*)F.ModuleOffsetMap.data(); const unsigned char *DataEnd = Data + F.ModuleOffsetMap.size(); F.M...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, (%rsp) movq 0x350(%rsi), %r14 movq 0x358(%rsi), %rax xorps %xmm0, %xmm0 movups %xmm0, 0x350(%rsi) leaq 0x840(%rsi), %rcx movq %rcx, 0x30(%rsp) movq %rcx, 0x50(%rsp) leaq 0x9d0(%rsi), %rcx movq %rcx, 0x28(%rsp) movq %rcx, 0x48(...
/Serialization/ASTReader.cpp
clang::ASTReader::getMacro(unsigned int)
MacroInfo *ASTReader::getMacro(MacroID ID) { if (ID == 0) return nullptr; if (MacrosLoaded.empty()) { Error("no macro table in AST file"); return nullptr; } ID -= NUM_PREDEF_MACRO_IDS; if (!MacrosLoaded[ID]) { GlobalMacroMapType::iterator I = GlobalMacroMap.find(ID + NUM_PREDEF_MACRO_I...
testl %esi, %esi je 0xbb115a pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movq 0xfe0(%rdi), %rax cmpq 0xfe8(%rdi), %rax je 0xbb115d movl %esi, %r14d leal -0x1(%r14), %r15d cmpq $0x0, (%rax,%r15,8) jne 0xbb1154 leaq 0x1010(%rbx), %rdi movl %r14d, %esi callq 0xbc2e5c movq 0x8(%rax), %rsi movl 0x838(%rsi), %eax movl %...
/Serialization/ASTReader.cpp
clang::ASTReader::getGlobalMacroID(clang::serialization::ModuleFile&, unsigned int)
MacroID ASTReader::getGlobalMacroID(ModuleFile &M, unsigned LocalID) { if (LocalID < NUM_PREDEF_MACRO_IDS) return LocalID; if (!M.ModuleOffsetMap.empty()) ReadModuleOffsetMap(M); ContinuousRangeMap<uint32_t, int, 2>::iterator I = M.MacroRemap.find(LocalID - NUM_PREDEF_MACRO_IDS); assert(I != M.Mac...
pushq %r14 pushq %rbx pushq %rax testl %edx, %edx je 0xbb11ed movl %edx, %ebx movq %rsi, %r14 cmpq $0x0, 0x358(%rsi) je 0xbb1199 movq %r14, %rsi callq 0xbaf8fc movq 0x840(%r14), %rax movl 0x848(%r14), %ecx testq %rcx, %rcx je 0xbb11f1 leal -0x1(%rbx), %esi movq %rax, %rdx movq %rcx, %rdi movq %rdx, %r8 movq %rdi, %r9 s...
/Serialization/ASTReader.cpp
clang::ASTReader::ParseLanguageOptions(llvm::SmallVector<unsigned long, 64u> const&, bool, clang::ASTReaderListener&, bool)
bool ASTReader::ParseLanguageOptions(const RecordData &Record, bool Complain, ASTReaderListener &Listener, bool AllowCompatibleDifferences) { LangOptions LangOpts; unsigned Idx = 0; #define LANGOPT(Name, B...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x508, %rsp # imm = 0x508 movl %ecx, 0x14(%rsp) movq %rdx, 0x188(%rsp) movl %esi, 0x10(%rsp) movq %rdi, %rbx leaq 0x1d8(%rsp), %r14 movq %r14, %rdi callq 0xabafd2 movq (%rbx), %rsi movq (%rsi), %rax andl $0x1, %eax movabsq $-0x800000000,...
/Serialization/ASTReader.cpp
clang::ASTReader::ParsePreprocessorOptions(llvm::SmallVector<unsigned long, 64u> const&, bool, clang::ASTReaderListener&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool ASTReader::ParsePreprocessorOptions(const RecordData &Record, bool Complain, ASTReaderListener &Listener, std::string &SuggestedPredefines) { PreprocessorOptions PPOpts; unsigned Idx = 0; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1e8, %rsp # imm = 0x1E8 movq %rcx, 0x40(%rsp) movq %rdx, 0x38(%rsp) movl %esi, 0x4(%rsp) movq %rdi, %r15 xorps %xmm0, %xmm0 leaq 0xd0(%rsp), %rcx movaps %xmm0, -0x30(%rcx) movaps %xmm0, -0x40(%rcx) movaps %xmm0, -0x50(%rcx) movaps %xmm...
/Serialization/ASTReader.cpp
clang::ASTReader::ReadModuleMapFileBlock(llvm::SmallVector<unsigned long, 64u>&, clang::serialization::ModuleFile&, clang::serialization::ModuleFile const*, unsigned int)
ASTReader::ASTReadResult ASTReader::ReadModuleMapFileBlock(RecordData &Record, ModuleFile &F, const ModuleFile *ImportedBy, unsigned ClientLoadCapabilities) { unsigned Idx = 0; F.ModuleMapPath = ReadPath(F, Record, Idx); // Try to resolve Module...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movl %r8d, 0x4(%rsp) movq %rcx, %r15 movq %rdx, %rbx movq %rsi, %r12 movq %rdi, %r14 leaq 0x2c(%rsp), %r8 movl $0x0, (%r8) leaq 0x8(%rsp), %r13 movq %r13, %rdi movq %rsi, %rcx callq 0xbad034 leaq 0xb0(%rbx), %rdi movq %r13, %rsi callq 0x...
/Serialization/ASTReader.cpp
clang::ASTReader::ReadSubmoduleBlock(clang::serialization::ModuleFile&, unsigned int)
llvm::Error ASTReader::ReadSubmoduleBlock(ModuleFile &F, unsigned ClientLoadCapabilities) { // Enter the submodule block. if (llvm::Error Err = F.Stream.EnterSubBlock(SUBMODULE_BLOCK_ID)) return Err; ModuleMap &ModMap = PP.getHeaderSearchInfo().getModuleMap(); bool...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3f8, %rsp # imm = 0x3F8 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x1d0(%rdx), %r12 movq %r12, %rsi movl $0xd, %edx xorl %ecx, %ecx callq 0x1718d7c cmpq $0x0, (%rbx) jne 0xbbba72 movq 0x80(%r15), %rax movl $0x280, %ecx ...
/Serialization/ASTReader.cpp
llvm::PagedVector<clang::QualType, 128ul>::resize(unsigned long)
void resize(size_t NewSize) { if (NewSize == 0) { clear(); return; } // Handle shrink case: destroy the elements in the pages that are not // needed any more and deallocate the pages. // // On the other hand, we do not destroy the extra elements in the last page, // because we mi...
pushq %rbx movq %rdi, %rbx testq %rsi, %rsi je 0xbbbad7 leaq -0x1(%rsi), %rax shrq $0x7, %rax movq %rsi, (%rbx) addq $0x8, %rbx incq %rax movq %rbx, %rdi movq %rax, %rsi popq %rbx jmp 0xbdde96 movq $0x0, (%rbx) movq 0x18(%rbx), %rdi testb $0x4, %dil je 0xbbbaf1 andq $-0x8, %rdi callq 0x788d48 movl $0x0, 0x10(%rbx) popq...
/llvm/ADT/PagedVector.h
llvm::PagedVector<clang::Decl*, 128ul>::resize(unsigned long)
void resize(size_t NewSize) { if (NewSize == 0) { clear(); return; } // Handle shrink case: destroy the elements in the pages that are not // needed any more and deallocate the pages. // // On the other hand, we do not destroy the extra elements in the last page, // because we mi...
pushq %rbx movq %rdi, %rbx testq %rsi, %rsi je 0xbbbb21 leaq -0x1(%rsi), %rax shrq $0x7, %rax movq %rsi, (%rbx) addq $0x8, %rbx incq %rax movq %rbx, %rdi movq %rax, %rsi popq %rbx jmp 0xbddef8 movq $0x0, (%rbx) movq 0x18(%rbx), %rdi testb $0x4, %dil je 0xbbbb3b andq $-0x8, %rdi callq 0x788d48 movl $0x0, 0x10(%rbx) popq...
/llvm/ADT/PagedVector.h
llvm::detail::DenseSetImpl<clang::FileEntryRef, llvm::DenseMap<clang::FileEntryRef, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::FileEntryRef, void>, llvm::detail::DenseSetPair<clang::FileEntryRef>>, llvm::DenseMapInfo<clang::FileEntryRef, void>>::begin()
[[nodiscard]] bool empty() const { return getNumEntries() == 0; }
cmpl $0x0, 0x8(%rdi) movq (%rdi), %rcx movl 0x10(%rdi), %esi leaq (%rcx,%rsi,8), %rdx movq %rdx, %rax je 0xbbc3cb testq %rsi, %rsi je 0xbbc3c8 shlq $0x3, %rsi movl $0x1000, %eax # imm = 0x1000 movq (%rcx), %rdi orq %rax, %rdi cmpq $-0x1000, %rdi # imm = 0xF000 jne 0xbbc3c8 addq $0x8, %rcx addq $-0x8,...
/llvm/ADT/DenseMap.h
clang::ContinuousRangeMap<unsigned long, clang::serialization::ModuleFile*, 4u>::insert(std::pair<unsigned long, clang::serialization::ModuleFile*> const&)
void insert(const value_type &Val) { if (!Rep.empty() && Rep.back() == Val) return; assert((Rep.empty() || Rep.back().first < Val.first) && "Must insert keys in order."); Rep.push_back(Val); }
movq %rsi, %rax movl 0x8(%rdi), %ecx movq (%rsi), %rsi testq %rcx, %rcx je 0xbbda5c movq (%rdi), %r8 shlq $0x4, %rcx movq 0x8(%rax), %rdx cmpq %rsi, -0x10(%r8,%rcx) jne 0xbdfc92 cmpq %rdx, -0x8(%r8,%rcx) jne 0xbdfc92 retq movq 0x8(%rax), %rdx jmp 0xbdfc92 nop
/clang/Serialization/ContinuousRangeMap.h
clang::ASTReader::ReadBitVector(llvm::SmallVector<unsigned long, 64u> const&, llvm::StringRef)
llvm::BitVector ASTReader::ReadBitVector(const RecordData &Record, const StringRef Blob) { unsigned Count = Record[0]; const char *Byte = Blob.data(); llvm::BitVector Ret = llvm::BitVector(Count, false); for (unsigned I = 0; I < Count; ++Byte) for (unsigned Bit = 0; ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rdi, %r14 movq (%rsi), %rax movl (%rax), %r15d leal 0x3f(%r15), %esi shrl $0x6, %esi leaq 0x10(%rdi), %rax movq %rax, (%rdi) movabsq $0x600000000, %rax # imm = 0x600000000 movq %rax, 0x8(%rdi) xorl %r12d, %r12d xorl %edx, %edx callq 0x7f9...
/Serialization/ASTReader.cpp
clang::ASTReader::GetType(unsigned long)
QualType ASTReader::GetType(TypeID ID) { assert(ContextObj && "reading type with no AST context"); ASTContext &Context = *ContextObj; unsigned FastQuals = ID & Qualifiers::FastMask; if (isPredefinedType(ID)) { QualType T; unsigned Index = getIndexForTypeID(ID); switch ((PredefinedTypeIDs)Index) { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r12 cmpq $0xfbf, %rsi # imm = 0xFBF ja 0xbbf726 movl %ebx, %eax shrl $0x3, %eax cmpl $0x1f6, %eax # imm = 0x1F6 ja 0xbc0ded movq 0x88(%r12), %rdi leaq 0x24501df(%rip), %rcx # 0x300f8f0 movslq...
/Serialization/ASTReader.cpp
clang::ASTReader::isAcceptableASTFile(llvm::StringRef, clang::FileManager&, clang::InMemoryModuleCache const&, clang::PCHContainerReader const&, clang::LangOptions const&, clang::TargetOptions const&, clang::PreprocessorOptions const&, llvm::StringRef, bool)
bool ASTReader::isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const InMemoryModuleCache &ModuleCache, const PCHContainerReader &PCHContainerRdr, const LangOptions &LangOpts, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %r8, (%rsp) movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 movb 0xb0(%rsp), %r14b movaps 0x90(%rsp), %xmm0 movq 0xa0(%rsp), %rsi leaq 0x2bf25b5(%rip), %rax # 0x37b5078 leaq 0x28(%rsp), %rdi movq %rax, -0x20(%rdi) ...
/Serialization/ASTReader.cpp
llvm::SmallVectorImpl<clang::Module::Requirement>::clear()
void clear() { this->destroy_range(this->begin(), this->end()); this->Size = 0; }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movl 0x8(%rdi), %eax testq %rax, %rax je 0xbc2c08 movq (%rbx), %r14 addq $-0x18, %r14 shlq $0x3, %rax leaq (%rax,%rax,4), %r15 leaq (%r14,%r15), %rax movq -0x10(%r14,%r15), %rdi cmpq %rdi, %rax je 0xbc2c02 movq (%rax), %rsi incq %rsi callq 0x4ba0c0 addq $-0x28, %r15 jne ...
/llvm/ADT/SmallVector.h
clang::ASTReader::ReadSkippedRange(unsigned int)
SourceRange ASTReader::ReadSkippedRange(unsigned GlobalIndex) { auto I = GlobalSkippedRangeMap.find(GlobalIndex); assert(I != GlobalSkippedRangeMap.end() && "Corrupted global skipped range map"); ModuleFile *M = I->second; unsigned LocalIndex = GlobalIndex - M->BasePreprocessedSkippedRangeID; assert(Local...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx movq %rdi, %r14 addq $0x12e0, %rdi # imm = 0x12E0 callq 0xbc2e5c movq 0x8(%rax), %r15 subl 0x9fc(%r15), %ebx movq 0xa00(%r15), %rax shlq $0x4, %rbx movq (%rax,%rbx), %rdx movq 0x8(%rax,%rbx), %rbx movq %r14, %rdi movq %r15, %rsi xorl %ecx,...
/Serialization/ASTReader.cpp
clang::TypeLocReader::VisitUnresolvedUsingTypeLoc(clang::UnresolvedUsingTypeLoc)
void TypeLocReader::VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) { TL.setNameLoc(readSourceLocation()); }
pushq %rbx movq %rdx, %rbx movq (%rdi), %rax movq 0x8(%rdi), %rcx movq 0x8(%rax), %rdi movq 0x10(%rax), %rsi movl 0x18(%rax), %edx leal 0x1(%rdx), %r8d movl %r8d, 0x18(%rax) movq 0x20(%rax), %rax movq (%rax,%rdx,8), %rdx callq 0xbae922 movl %eax, (%rbx) popq %rbx retq nop
/Serialization/ASTReader.cpp
clang::TypeLocReader::VisitSubstTemplateTypeParmPackTypeLoc(clang::SubstTemplateTypeParmPackTypeLoc)
void TypeLocReader::VisitSubstTemplateTypeParmPackTypeLoc( SubstTemplateTypeParmPackTypeLoc TL) { TL.setNameLoc(readSourceLocation()); }
pushq %rbx movq %rdx, %rbx movq (%rdi), %rax movq 0x8(%rdi), %rcx movq 0x8(%rax), %rdi movq 0x10(%rax), %rsi movl 0x18(%rax), %edx leal 0x1(%rdx), %r8d movl %r8d, 0x18(%rax) movq 0x20(%rax), %rax movq (%rax,%rdx,8), %rdx callq 0xbae922 movl %eax, (%rbx) popq %rbx retq nop
/Serialization/ASTReader.cpp
clang::TypeLocReader::VisitTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)
void TypeLocReader::VisitTemplateSpecializationTypeLoc( TemplateSpecializationTypeLoc TL) { TL.setTemplateKeywordLoc(readSourceLocation()); TL.setTemplateNameLoc(readSourceLocation()); TL.setLAngleLoc(readSourceLocation()); TL.setRAngleLoc(readSourceLocation()); for ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq (%rdi), %rax movq 0x8(%rdi), %rcx movq 0x8(%rax), %rdi movq 0x10(%rax), %rsi movl 0x18(%rax), %edx leal 0x1(%rdx), %r8d movl %r8d, 0x18(%rax) movq 0x20(%rax), %rax movq (%rax,%rdx,8), %rdx c...
/Serialization/ASTReader.cpp
clang::ASTReader::GetExternalCXXCtorInitializers(unsigned long)
CXXCtorInitializer ** ASTReader::GetExternalCXXCtorInitializers(uint64_t Offset) { RecordLocation Loc = getLocalBitOffset(Offset); BitstreamCursor &Cursor = Loc.F->DeclsCursor; SavedStreamPosition SavedPosition(Cursor); if (llvm::Error Err = Cursor.JumpToBit(Loc.Offset)) { Error(std::move(Err)); return ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x258, %rsp # imm = 0x258 movq %rdi, %rbx callq 0xc059f6 movq %rax, %r12 leaq 0xa90(%rax), %r15 movq %r15, 0x10(%rsp) movq 0xaa0(%rax), %rax shlq $0x3, %rax movl 0xab0(%r12), %ecx subq %rcx, %rax movq %rax, 0x18(%rsp) leaq 0x28(%rsp), %r...
/Serialization/ASTReader.cpp
clang::ASTReader::FindExternalVisibleDeclsByName(clang::DeclContext const*, clang::DeclarationName)
bool ASTReader::FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name) { assert(DC->hasExternalVisibleStorage() && DC == DC->getPrimaryContext() && "DeclContext has no visible decls in storage"); if (!Name) return false; auto It = Lookup...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2d8, %rsp # imm = 0x2D8 movq %rdx, 0x8(%rsp) testq %rdx, %rdx je 0xbc7416 movq %rsi, %r13 movq %rdi, %r15 addq $0xe98, %rdi # imm = 0xE98 leaq 0x68(%rsp), %rsi movq %r13, (%rsi) leaq 0xc8(%rsp), %rdx callq 0xbe3774 xorl %ebp...
/Serialization/ASTReader.cpp
non-virtual thunk to clang::ASTReader::getMemoryBufferSizes(clang::ExternalASTSource::MemoryBufferSizes&) const
void ASTReader::getMemoryBufferSizes(MemoryBufferSizes &sizes) const { for (ModuleFile &I : ModuleMgr) { if (llvm::MemoryBuffer *buf = I.Buffer) { size_t bytes = buf->getBufferSize(); switch (buf->getBufferKind()) { case llvm::MemoryBuffer::MemoryBuffer_Malloc: sizes.malloc_bytes += ...
addq $-0x18, %rdi jmp 0xbc7e44 nop
/Serialization/ASTReader.cpp
clang::ASTReader::InitializeSema(clang::Sema&)
void ASTReader::InitializeSema(Sema &S) { SemaObj = &S; S.addExternalSource(this); // Makes sure any declarations that were deserialized "too early" // still get added to the identifier's declaration chains. for (GlobalDeclID ID : PreloadedDeclIDs) { NamedDecl *D = cast<NamedDecl>(GetDecl(ID)); pushE...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rsi, %rax movq %rdi, %rbx movq %rsi, 0x78(%rdi) leaq 0x18(%rdi), %rsi movq %rax, %rdi callq 0xd4823c movl 0x3288(%rbx), %r14d testq %r14, %r14 je 0xbc7f23 movq 0x3280(%rbx), %r15 shlq $0x3, %r14 xorl %r12d, %r12d movq (%r15,%r12), %rsi movq %...
/Serialization/ASTReader.cpp
clang::ASTReader::get(llvm::StringRef)
IdentifierInfo *ASTReader::get(StringRef Name) { // Note that we are loading an identifier. Deserializing AnIdentifier(this); IdentifierLookupVisitor Visitor(Name, /*PriorGeneration=*/0, NumIdentifierLookups, NumIdentifierLookupHits); // We d...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 leaq 0x18(%rdi), %rbx movq 0x18(%rdi), %rax movq %rbx, %rdi callq *0xa0(%rax) leaq 0x2318(%r14), %rax leaq 0x231c(%r14), %rcx movq %r12, 0x8(%rsp) movq %r15, 0x10(%rsp) testq %r15, %r15 je ...
/Serialization/ASTReader.cpp
clang::ASTRecordReader::readAPFloat(llvm::fltSemantics const&)
llvm::APFloat ASTRecordReader::readAPFloat(const llvm::fltSemantics &Sem) { return llvm::APFloat(Sem, readAPInt()); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %r14 movq %rdi, %rbx movq %rsp, %r15 movq %r15, %rdi callq 0xbca33c movq %rbx, %rdi addq $0x8, %rdi movq %r14, %rsi movq %r15, %rdx callq 0x4eb478 cmpl $0x41, 0x8(%r15) jb 0xbca32f movq (%rsp), %rdi testq %rdi, %rdi je 0xbca32f callq 0x4ba260 movq %rbx, %rax ...
/Serialization/ASTReader.cpp
clang::serialization::DataStreamBasicReader<clang::ASTRecordReader>::readAPInt()
llvm::APInt readAPInt() { unsigned bitWidth = asImpl().readUInt32(); unsigned numWords = llvm::APInt::getNumWords(bitWidth); llvm::SmallVector<uint64_t, 4> data; for (uint32_t i = 0; i != numWords; ++i) data.push_back(asImpl().readUInt64()); return llvm::APInt(bitWidth, numWords, &data[0]); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movl 0x18(%rsi), %eax leal 0x1(%rax), %ecx movl %ecx, 0x18(%rsi) movq 0x20(%rsi), %rcx movq (%rcx,%rax,8), %r15 movl %r15d, %eax leaq 0x3f(%rax), %r12 shrq $0x6, %r12 leaq 0x18(%rsp), %rbp movq %rbp, -0x10(%rbp) movabsq $...
/clang/AST/AbstractBasicReader.h
llvm::SmallVectorTemplateBase<clang::FunctionDecl*, true>::push_back(clang::FunctionDecl*)
void push_back(ValueParamT Elt) { const T *EltPtr = reserveForParamAndGetAddress(Elt); memcpy(reinterpret_cast<void *>(this->end()), EltPtr, sizeof(T)); this->set_size(this->size() + 1); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xbcba52 movq (%rbx), %rax movl %edx, %ecx movq %r14, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq incq %rdx leaq 0x10(%rbx), %rsi movl $0x8, %ecx movq %rbx, %rdi callq 0x76b2c4 movl 0...
/llvm/ADT/SmallVector.h
llvm::PagedVector<clang::QualType, 128ul>::~PagedVector()
~PagedVector() { clear(); // If we own the allocator, delete it. if (Allocator.getInt()) delete Allocator.getPointer(); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movq $0x0, (%rdi) leaq 0x18(%rdi), %r15 movq 0x18(%rdi), %rdi testb $0x4, %dil jne 0xbcf908 movl $0x0, 0x10(%rbx) jmp 0xbcf93d andq $-0x8, %rdi callq 0x788d48 movq 0x18(%rbx), %r14 movl $0x0, 0x10(%rbx) testb $0x4, %r14b je 0xbcf93d andq $-0x8, %r14 je 0xbcf930 movq %r14...
/llvm/ADT/PagedVector.h
clang::OMPClauseReader::VisitOMPNumThreadsClause(clang::OMPNumThreadsClause*)
void OMPClauseReader::VisitOMPNumThreadsClause(OMPNumThreadsClause *C) { VisitOMPClauseWithPreInit(C); C->setNumThreads(Record.readSubExpr()); C->setLParenLoc(Record.readSourceLocation()); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 leaq 0x18(%rsi), %rax testq %rsi, %rsi cmoveq %rsi, %rax movq (%rdi), %rcx movq 0x8(%rcx), %rdi movq 0x31b0(%rdi), %rdx movl 0x31b8(%rdi), %esi movq -0x8(%rdx,%rsi,8), %rdx decl %esi movl %esi, 0x31b8(%rdi) movl 0x18(%rcx), %esi leal 0x1(%rsi), %r8d movl ...
/Serialization/ASTReader.cpp
clang::OMPClauseReader::VisitOMPXDynCGroupMemClause(clang::OMPXDynCGroupMemClause*)
void OMPClauseReader::VisitOMPXDynCGroupMemClause(OMPXDynCGroupMemClause *C) { VisitOMPClauseWithPreInit(C); C->setSize(Record.readSubExpr()); C->setLParenLoc(Record.readSourceLocation()); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 leaq 0x18(%rsi), %rax testq %rsi, %rsi cmoveq %rsi, %rax movq (%rdi), %rcx movq 0x8(%rcx), %rdi movq 0x31b0(%rdi), %rdx movl 0x31b8(%rdi), %esi movq -0x8(%rdx,%rsi,8), %rdx decl %esi movl %esi, 0x31b8(%rdi) movl 0x18(%rcx), %esi leal 0x1(%rsi), %r8d movl ...
/Serialization/ASTReader.cpp
llvm::detail::DenseMapPair<clang::Decl*, clang::Decl*>* llvm::DenseMapBase<llvm::DenseMap<clang::Decl*, clang::Decl*, llvm::DenseMapInfo<clang::Decl*, void>, llvm::detail::DenseMapPair<clang::Decl*, clang::Decl*>>, clang::Decl*, clang::Decl*, llvm::DenseMapInfo<clang::Decl*, void>, llvm::detail::DenseMapPair<clang::Dec...
BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, BucketT *TheBucket) { incrementEpoch(); // If the load of the hash table is more than 3/4, or if fewer than 1/8 of // the buckets are empty (meaning that many are filled with tombstones), // grow th...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rcx, %rax movq %rdx, %r14 movq %rdi, %rbx movl 0x8(%rdi), %ecx movl 0x10(%rdi), %esi leal 0x4(,%rcx,4), %edx leal (%rsi,%rsi,2), %edi cmpl %edi, %edx jae 0xbd9459 notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0x...
/llvm/ADT/DenseMap.h
llvm::detail::DenseMapPair<clang::DeclContext const*, std::pair<clang::serialization::ModuleFile*, llvm::ArrayRef<llvm::support::detail::packed_endian_specific_integral<unsigned long, (llvm::endianness)1, 1ul, 1ul>>>>* llvm::DenseMapBase<llvm::DenseMap<clang::DeclContext const*, std::pair<clang::serialization::ModuleFi...
BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, BucketT *TheBucket) { incrementEpoch(); // If the load of the hash table is more than 3/4, or if fewer than 1/8 of // the buckets are empty (meaning that many are filled with tombstones), // grow th...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rcx, %rax movq %rdx, %r14 movq %rdi, %rbx movl 0x8(%rdi), %ecx movl 0x10(%rdi), %esi leal 0x4(,%rcx,4), %edx leal (%rsi,%rsi,2), %edi cmpl %edi, %edx jae 0xbdbdd5 notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0x...
/llvm/ADT/DenseMap.h
std::pair<clang::IdentifierInfo*, llvm::SmallVector<clang::ASTReader::PendingMacroInfo, 2u>> const* llvm::SmallVectorTemplateCommon<std::pair<clang::IdentifierInfo*, llvm::SmallVector<clang::ASTReader::PendingMacroInfo, 2u>>, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<std::pair<clang::Identif...
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...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movl 0x8(%rdi), %ecx movl 0xc(%rdi), %eax addq %rcx, %rdx cmpq %rax, %rdx ja 0xbdd25a movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movq (%rdi), %rax imulq $0x38, %rcx, %rcx addq %rax, %rcx cmpq %rbx, %rax setbe %sil cmpq %rbx, %rcx seta %cl te...
/llvm/ADT/SmallVector.h
bool llvm::DenseMapBase<llvm::DenseMap<clang::GlobalDeclID, llvm::SmallVector<std::pair<clang::serialization::ModuleFile*, unsigned long>, 2u>, llvm::DenseMapInfo<clang::GlobalDeclID, void>, llvm::detail::DenseMapPair<clang::GlobalDeclID, llvm::SmallVector<std::pair<clang::serialization::ModuleFile*, unsigned long>, 2u...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0xbde625 pushq %rbx movq (%rdi), %rdi movq (%rsi), %rsi movabsq $-0x40a7b892e31b1a47, %rax # imm = 0xBF58476D1CE4E5B9 imulq %rsi, %rax movq %rax, %r9 shrq $0x1f, %r9 xorl %eax, %r9d decl %ecx andl %ecx, %r9d imulq $0x38, %r9, %rax leaq (%rdi,%rax), %r8 movq (%rdi,%rax), %rbx mo...
/llvm/ADT/DenseMap.h
llvm::detail::DenseMapPair<clang::GlobalDeclID, llvm::SmallVector<std::pair<clang::serialization::ModuleFile*, unsigned long>, 2u>>* llvm::DenseMapBase<llvm::DenseMap<clang::GlobalDeclID, llvm::SmallVector<std::pair<clang::serialization::ModuleFile*, unsigned long>, 2u>, llvm::DenseMapInfo<clang::GlobalDeclID, void>, l...
BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, BucketT *TheBucket) { incrementEpoch(); // If the load of the hash table is more than 3/4, or if fewer than 1/8 of // the buckets are empty (meaning that many are filled with tombstones), // grow th...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rcx, %rax movq %rdx, %r14 movq %rdi, %rbx movl 0x8(%rdi), %ecx movl 0x10(%rdi), %esi leal 0x4(,%rcx,4), %edx leal (%rsi,%rsi,2), %edi cmpl %edi, %edx jae 0xbde6bc notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0x...
/llvm/ADT/DenseMap.h
llvm::SmallVectorTemplateBase<clang::Module::LinkLibrary, false>::grow(unsigned long)
void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { size_t NewCapacity; T *NewElts = mallocForGrow(MinSize, NewCapacity); moveElementsForGrow(NewElts); takeAllocationForGrow(NewElts, NewCapacity); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rdx movq %rdi, %rbx leaq 0x10(%rdi), %r15 movq %rsp, %r12 movl $0x28, %ecx movq %r15, %rsi movq %r12, %r8 callq 0x76b17e movq %rax, %r14 movq %rbx, %rdi movq %rax, %rsi callq 0xbe0786 movq (%r12), %r12 movq (%rbx), %rdi cmpq %r15, %rdi je 0xbe0772 callq...
/llvm/ADT/SmallVector.h
clang::Sema::PragmaStack<clang::FPOptionsOverride>::Slot& llvm::SmallVectorTemplateBase<clang::Sema::PragmaStack<clang::FPOptionsOverride>::Slot, true>::growAndEmplaceBack<llvm::StringRef&, clang::FPOptionsOverride&, clang::SourceLocation&, clang::SourceLocation&>(llvm::StringRef&, clang::FPOptionsOverride&, clang::Sou...
T &growAndEmplaceBack(ArgTypes &&... Args) { // Use push_back with a copy in case Args has an internal reference, // side-stepping reference invalidation problems without losing the realloc // optimization. push_back(T(std::forward<ArgTypes>(Args)...)); return this->back(); }
pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movups (%rsi), %xmm0 movq (%rdx), %rax movl (%rcx), %ecx movl (%r8), %edx movq %rsp, %rsi movups %xmm0, (%rsi) movq %rax, 0x10(%rsi) movl %ecx, 0x18(%rsi) movl %edx, 0x1c(%rsi) movl $0x1, %edx callq 0xbe50a0 movq (%rbx), %rcx movl 0x8(%rbx), %edx shlq $0x5, %rdx movups (%rax)...
/llvm/ADT/SmallVector.h
llvm::DenseMap<clang::Selector, unsigned int, llvm::DenseMapInfo<clang::Selector, void>, llvm::detail::DenseMapPair<clang::Selector, unsigned int>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBu...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r15 movl 0x10(%rdi), %ebx movq (%rdi), %r14 leal -0x1(%rsi), %eax movl %eax, %ecx shrl %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x2, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x4, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x8, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x10,...
/llvm/ADT/DenseMap.h
std::pair<clang::NamedDecl*, clang::SourceLocation>& llvm::SmallVectorImpl<std::pair<clang::NamedDecl*, clang::SourceLocation>>::emplace_back<std::piecewise_construct_t const&, std::tuple<clang::NamedDecl*&&>, std::tuple<clang::SourceLocation&&>>(std::piecewise_construct_t const&, std::tuple<clang::NamedDecl*&&>&&, std...
reference emplace_back(ArgTypes &&... Args) { if (LLVM_UNLIKELY(this->size() >= this->capacity())) return this->growAndEmplaceBack(std::forward<ArgTypes>(Args)...); ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); this->set_size(this->size() + 1); return this->back(); }
pushq %rbx movq %rdi, %rbx movl 0x8(%rdi), %esi cmpl 0xc(%rdi), %esi jae 0xbe5997 movq (%rbx), %rax shlq $0x4, %rsi movq (%rdx), %rdx movq (%rcx), %rcx movq (%rdx), %rdx movq %rdx, (%rax,%rsi) movl (%rcx), %ecx movl %ecx, 0x8(%rax,%rsi) movl 0x8(%rbx), %ecx incl %ecx movl %ecx, 0x8(%rbx) movl %ecx, %ecx shlq $0x4, %rcx...
/llvm/ADT/SmallVector.h