name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
llvm::sys::fs::createUniqueFile(llvm::Twine const&, llvm::SmallVectorImpl<char>&, unsigned int) | std::error_code createUniqueFile(const Twine &Model,
SmallVectorImpl<char> &ResultPath,
unsigned Mode) {
int FD;
auto EC = createUniqueFile(Model, FD, ResultPath, OF_None, Mode);
if (EC)
return EC;
// FD is only needed to avoid race condition... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rax
movl %edx, (%rsp)
leaq 0x14(%rsp), %rsi
movq %rax, %rdx
xorl %ecx, %ecx
movl $0x1, %r8d
xorl %r9d, %r9d
callq 0x1b7837e
movl %eax, %ebx
movq %rdx, %r14
testl %eax, %eax
jne 0x1b7856c
movl 0x14(%rsp), %edi
callq 0x73aa80
movl %ebx, %eax
movq %r14, %rdx
addq $0x18, %... | /Support/Path.cpp |
llvm::sys::fs::is_other(llvm::Twine const&, bool&) | std::error_code is_other(const Twine &Path, bool &Result) {
file_status FileStatus;
if (std::error_code EC = status(Path, FileStatus))
return EC;
Result = is_other(FileStatus);
return std::error_code();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rsi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r14
movups %xmm0, 0x1c(%r14)
movaps %xmm0, 0x10(%r14)
movaps %xmm0, (%r14)
movl $0xffff, 0x2c(%r14) # imm = 0xFFFF
movaps %xmm0, 0x30(%r14)
xorl %eax, %eax
movq... | /Support/Path.cpp |
llvm::sys::fs::TempFile::operator=(llvm::sys::fs::TempFile&&) | TempFile &TempFile::operator=(TempFile &&Other) {
TmpName = std::move(Other.TmpName);
FD = Other.FD;
Other.Done = true;
Other.FD = -1;
#ifdef _WIN32
RemoveOnClose = Other.RemoveOnClose;
Other.RemoveOnClose = false;
#endif
return *this;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
addq $0x8, %rsi
addq $0x8, %rdi
callq 0x73ac60
movl 0x28(%rbx), %eax
movl %eax, 0x28(%r14)
movb $0x1, (%rbx)
movl $0xffffffff, 0x28(%rbx) # imm = 0xFFFFFFFF
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
| /Support/Path.cpp |
llvm::ConvertUTF16toUTF8(unsigned short const**, unsigned short const*, unsigned char**, unsigned char*, llvm::ConversionFlags) | ConversionResult ConvertUTF16toUTF8 (
const UTF16** sourceStart, const UTF16* sourceEnd,
UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) {
ConversionResult result = conversionOK;
const UTF16* source = *sourceStart;
UTF8* target = *targetStart;
while (source < sourceEnd) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq (%rdi), %r15
movq (%rdx), %r14
xorl %eax, %eax
cmpq %rsi, %r15
jae 0x1b81821
leaq 0x3381709(%rip), %r9 # 0x4f02e0c
leaq 0x3381762(%rip), %r10 # 0x4f02e6c
leaq 0x2(%r15), %r11
movzwl (%r15), %ebx
movl %ebx, %ebp
andl $0xfc00, %ebp # im... | /Support/ConvertUTF.cpp |
llvm::CrashRecoveryContext::GetCurrent() | CrashRecoveryContext *CrashRecoveryContext::GetCurrent() {
if (!gCrashRecoveryEnabled)
return nullptr;
const CrashRecoveryContextImpl *CRCI = CurrentContext;
if (!CRCI)
return nullptr;
return CRCI->CRC;
} | cmpb $0x1, 0x3c6a9ff(%rip) # 0x57ec9f8
jne 0x1b8201a
pushq %rax
movq %fs:0x0, %rax
movq -0x8(%rax), %rax
testq %rax, %rax
je 0x1b8201d
movq 0x8(%rax), %rax
jmp 0x1b8201f
xorl %eax, %eax
retq
xorl %eax, %eax
addq $0x8, %rsp
retq
| /Support/CrashRecoveryContext.cpp |
llvm::CrashRecoveryContext::throwIfCrash(int) | bool CrashRecoveryContext::throwIfCrash(int RetCode) {
if (!isCrash(RetCode))
return false;
#if defined(_WIN32)
::RaiseException(RetCode, 0, 0, NULL);
#else
llvm::sys::unregisterHandlers();
raise(RetCode - 128);
#endif
return true;
} | pushq %rbx
movl %edi, %ebx
cmpl $0x81, %edi
jl 0x1b822b4
callq 0x1b7f7be
leal -0x80(%rbx), %edi
callq 0x73af70
cmpl $0x81, %ebx
setge %al
popq %rbx
retq
nop
| /Support/CrashRecoveryContext.cpp |
expand(llvm::StringRef, llvm::StringRef) | static Expected<BitVector> expand(StringRef S, StringRef Original) {
BitVector BV(256, false);
// Expand X-Y.
for (;;) {
if (S.size() < 3)
break;
uint8_t Start = S[0];
uint8_t End = S[2];
// If it doesn't start with something like X-Y,
// consume the first character and proceed.
i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r8, (%rsp)
movq %rcx, %r13
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movabsq $0x600000000, %rax # imm = 0x600000000
movq %rax, -0x8(%r12)
leaq 0x8(%rsp), %rbp
movl $0x4, %esi
... | /Support/GlobPattern.cpp |
llvm::json::Object::getNumber(llvm::StringRef) const | std::optional<double> Object::getNumber(StringRef K) const {
if (auto *V = get(K))
return V->getAsNumber();
return std::nullopt;
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq %rsp, %rax
movq %rsi, (%rax)
movq %rdx, 0x8(%rax)
movq %rax, %rsi
callq 0x1b863f4
movl 0x10(%rbx), %ecx
shlq $0x6, %rcx
addq (%rbx), %rcx
cmpq %rcx, %rax
je 0x1b83c51
movzwl 0x18(%rax), %ecx
cmpl $0x2, %ecx
jne 0x1b83c1d
movsd 0x20(%rax), %xmm0
movb $0x1, %al
jmp 0x1b83c... | /Support/JSON.cpp |
llvm::json::Value::Value(std::initializer_list<llvm::json::Value>) | Value::Value(std::initializer_list<Value> Elements)
: Value(json::Array(Elements)) {} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
callq 0x1b83f8e
movw $0x8, (%rbx)
movaps (%r14), %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x10(%r14), %rax
movq %rax, 0x18(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%r14)
movq $0x0, 0x10(%r14)
movq %r14, %rdi
callq 0x1b864d4
addq $0x18, %rsp... | /Support/JSON.cpp |
llvm::json::OStream::attributeBegin(llvm::StringRef) | void llvm::json::OStream::attributeBegin(llvm::StringRef Key) {
assert(Stack.back().Ctx == Object);
if (Stack.back().HasValue)
OS << ',';
newline();
flushComment();
Stack.back().HasValue = true;
Stack.emplace_back();
Stack.back().Ctx = Singleton;
if (LLVM_LIKELY(isUTF8(Key))) {
quote(OS, Key);
... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %rax
movl 0x8(%rdi), %ecx
cmpb $0x1, -0x4(%rax,%rcx,8)
jne 0x1b85f57
movq 0xa0(%rbx), %rdi
movq 0x20(%rdi), %rax
cmpq 0x18(%rdi), %rax
jae 0x1b85f4d
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%rdi)
movb $0x2c, (%rax)
jmp 0x1b85f57
m... | /Support/JSON.cpp |
llvm::RISCVISAInfo::hasExtension(llvm::StringRef) const | bool RISCVISAInfo::hasExtension(StringRef Ext) const {
stripExperimentalPrefix(Ext);
if (!isSupportedExtension(Ext))
return false;
return Exts.count(Ext.str()) != 0;
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpq $0xd, %rdx
jb 0x1b9a0da
movabsq $0x656d697265707865, %rax # imm = 0x656D697265707865
xorq (%r15), %rax
movabsq $0x2d6c61746e656d69, %rcx # imm = 0x2D6C61746E656D69
xorq 0x5(%r15), %rcx
orq %rax, ... | /TargetParser/RISCVISAInfo.cpp |
llvm::RISCVISAInfo::parseNormalizedArchString(llvm::StringRef) | llvm::Expected<std::unique_ptr<RISCVISAInfo>>
RISCVISAInfo::parseNormalizedArchString(StringRef Arch) {
// RISC-V ISA strings must be [a-z0-9_]
if (!llvm::all_of(
Arch, [](char C) { return isDigit(C) || isLower(C) || C == '_'; }))
return getError("string may only contain [a-z0-9_]");
// Must start ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq (%rsi,%rdx), %rax
sarq $0x2, %rdx
movq %rsi, %rcx
testq %rdx, %rdx
jle 0x1b9a857
movq %r14, %rcx
andq $-0x4, %rcx
addq %r15, %rcx
incq %rdx
leaq 0x3(%r15), %r... | /TargetParser/RISCVISAInfo.cpp |
llvm::RISCVISAInfo::parseArchString(llvm::StringRef, bool, bool) | llvm::Expected<std::unique_ptr<RISCVISAInfo>>
RISCVISAInfo::parseArchString(StringRef Arch, bool EnableExperimentalExtension,
bool ExperimentalExtensionVersionCheck) {
// RISC-V ISA strings must be [a-z0-9_]
if (!llvm::all_of(
Arch, [](char C) { return isDigit(C) || isLower(C... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdx, %r14
movq %rdi, %r12
leaq (%rsi,%rdx), %r11
movq %rdx, %r10
sarq $0x2, %r10
movq %rsi, %rax
testq %r10, %r10
jle 0x1b9b13b
movq %r14, %rax
andq $-0x4, %rax
addq %rsi, %rax
incq %r10
leaq 0x3(%rsi), %r... | /TargetParser/RISCVISAInfo.cpp |
llvm::RISCVISAInfo::updateCombination() | void RISCVISAInfo::updateCombination() {
bool MadeChange = false;
do {
MadeChange = false;
for (StringRef CombineExt : CombineIntoExts) {
if (Exts.count(CombineExt.str()))
continue;
// Look up the extension in the ImpliesExt table to find everything it
// depends on.
auto Ra... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq 0x18(%rdi), %r14
leaq 0x20(%rsp), %r13
leaq 0x20(%rdi), %rax
movq %rax, 0x50(%rsp)
leaq 0x10(%rsp), %r12
xorl %ebp, %ebp
xorl %r15d, %r15d
movq %r14, 0x8(%rsp)
leaq 0x3bbd1cd(%rip), %rax # 0x575ad20
movups (%r15,%r... | /TargetParser/RISCVISAInfo.cpp |
llvm::RISCV::parseCPU(llvm::StringRef, bool) | bool parseCPU(StringRef CPU, bool IsRV64) {
const CPUInfo *Info = getCPUInfoByName(CPU);
if (!Info)
return false;
return Info->is64Bit() == IsRV64;
} | pushq %rbx
movl %edx, %ebx
callq 0x1b9ed9a
testq %rax, %rax
je 0x1b9ee1f
cmpq $0x4, 0x18(%rax)
jae 0x1b9ee23
xorl %eax, %eax
jmp 0x1b9ee30
xorl %eax, %eax
jmp 0x1b9ee34
movq 0x10(%rax), %rax
cmpl $0x34367672, (%rax) # imm = 0x34367672
sete %al
xorb %bl, %al
xorb $0x1, %al
popq %rbx
retq
| /TargetParser/RISCVTargetParser.cpp |
llvm::RISCVVType::getSEWLMULRatio(unsigned int, llvm::RISCVII::VLMUL) | unsigned getSEWLMULRatio(unsigned SEW, RISCVII::VLMUL VLMul) {
unsigned LMul;
bool Fractional;
std::tie(LMul, Fractional) = decodeVLMUL(VLMul);
// Convert LMul to a fixed point value with 3 fractional bits.
LMul = Fractional ? (8 / LMul) : (LMul * 8);
assert(SEW >= 8 && "Unexpected SEW value");
return (... | movb $0x8, %cl
subb %sil, %cl
movl $0x8, %r8d
movl $0x8, %eax
shrl %cl, %eax
movl %esi, %ecx
shll %cl, %r8d
cmpb $0x4, %sil
cmovael %eax, %r8d
leal (,%rdi,8), %eax
xorl %edx, %edx
divl %r8d
retq
| /TargetParser/RISCVTargetParser.cpp |
llvm::SubtargetFeatures::print(llvm::raw_ostream&) const | void SubtargetFeatures::print(raw_ostream &OS) const {
for (const auto &F : Features)
OS << F << " ";
OS << "\n";
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rdi), %r15
movq 0x8(%rdi), %r12
cmpq %r12, %r15
je 0x1b9f7f4
leaq 0x2675376(%rip), %r14 # 0x4214b42
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x1b6d83a
movl $0x1, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x7ba9ee
addq $... | /TargetParser/SubtargetFeature.cpp |
llvm::SubtargetFeatures::getDefaultSubtargetFeatures(llvm::Triple const&) | void SubtargetFeatures::getDefaultSubtargetFeatures(const Triple& Triple) {
// FIXME: This is an inelegant way of specifying the features of a
// subtarget. It would be better if we could encode this information
// into the IR.
if (Triple.getVendor() == Triple::Apple) {
if (Triple.getArch() == Triple::ppc) ... | pushq %rbx
cmpl $0x1, 0x28(%rsi)
jne 0x1b9f85e
movq %rdi, %rbx
movl 0x20(%rsi), %eax
cmpl $0x15, %eax
je 0x1b9f844
cmpl $0x17, %eax
jne 0x1b9f85e
leaq 0x25f9973(%rip), %rsi # 0x41991a5
movl $0x5, %edx
movq %rbx, %rdi
movl $0x1, %ecx
callq 0x1b9f5c0
leaq 0x283f478(%rip), %rsi # 0x43decc3
movl $0x7, %edx
movq %rbx, %... | /TargetParser/SubtargetFeature.cpp |
llvm::Triple::getMacOSXVersion(llvm::VersionTuple&) const | bool Triple::getMacOSXVersion(VersionTuple &Version) const {
Version = getOSVersion();
switch (getOS()) {
default: llvm_unreachable("unexpected OS for Darwin triple");
case Darwin:
// Default to darwin8, i.e., MacOSX 10.4.
if (Version.getMajor() == 0)
Version = VersionTuple(8);
// Darwin vers... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movabsq $-0x7ffffffbfffffff6, %r15 # imm = 0x800000040000000A
callq 0x1ba66c6
movq %rax, (%rbx)
movq %rdx, 0x8(%rbx)
movl 0x2c(%r14), %ecx
cmpl $0x19, %ecx
jg 0x1ba681e
cmpl $0x1, %ecx
je 0x1ba67e7
cmpl $0x5, %ecx
je 0x1ba681e
testl %eax, %eax
je 0x1ba681... | /TargetParser/Triple.cpp |
llvm::Triple::getArchPointerBitWidth(llvm::Triple::ArchType) | unsigned Triple::getArchPointerBitWidth(llvm::Triple::ArchType Arch) {
switch (Arch) {
case llvm::Triple::UnknownArch:
return 0;
case llvm::Triple::avr:
case llvm::Triple::msp430:
return 16;
case llvm::Triple::aarch64_32:
case llvm::Triple::amdil:
case llvm::Triple::arc:
case llvm::Triple::arm... | movslq %edi, %rax
leaq 0x3361506(%rip), %rcx # 0x4f08668
movl (%rcx,%rax,4), %eax
retq
| /TargetParser/Triple.cpp |
llvm::Triple::getMinimumSupportedOSVersion() const | VersionTuple Triple::getMinimumSupportedOSVersion() const {
if (getVendor() != Triple::Apple || getArch() != Triple::aarch64)
return VersionTuple();
switch (getOS()) {
case Triple::MacOSX:
// ARM64 slice is supported starting from macOS 11.0+.
return VersionTuple(11, 0, 0);
case Triple::IOS:
// ... | xorl %eax, %eax
cmpl $0x1, 0x28(%rdi)
jne 0x1ba7896
cmpl $0x3, 0x20(%rdi)
movl $0x0, %edx
jne 0x1ba7877
movabsq $-0x7ffffffffffffff2, %rax # imm = 0x800000000000000E
movl $0x80000000, %edx # imm = 0x80000000
movl 0x2c(%rdi), %ecx
cmpl $0x19, %ecx
jle 0x1ba7862
cmpl $0x1a, %ecx
je 0x1ba7871
cmpl $0x1b, %ecx
je 0x1... | /TargetParser/Triple.cpp |
llvm::getEHScopeMembership(llvm::MachineFunction const&) | DenseMap<const MachineBasicBlock *, int>
llvm::getEHScopeMembership(const MachineFunction &MF) {
DenseMap<const MachineBasicBlock *, int> EHScopeMembership;
// We don't have anything to do if there aren't any EH pads.
if (!MF.hasEHScopes())
return EHScopeMembership;
int EntryBBNumber = MF.front().getNumbe... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp # imm = 0x2D8
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movl $0x0, 0x10(%rdi)
cmpb $0x1, 0x22b(%rsi)
jne 0x1ba9023
movq %rsi, %r13
movq (%rsi), %rdi
movq 0x148(%rsi), %rax
movl 0x18(%rax), %eax
movl %eax, 0xc(%r... | /CodeGen/Analysis.cpp |
void llvm::SmallVectorImpl<llvm::MachineBasicBlock const*>::append<std::move_iterator<llvm::MachineBasicBlock const**>, void>(std::move_iterator<llvm::MachineBasicBlock const**>, std::move_iterator<llvm::MachineBasicBlock const**>) | void append(ItTy in_start, ItTy in_end) {
this->assertSafeToAddRange(in_start, in_end);
size_type NumInputs = std::distance(in_start, in_end);
this->reserve(this->size() + NumInputs);
this->uninitialized_copy(in_start, in_end, this->end());
this->set_size(this->size() + NumInputs);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %r15
subq %rsi, %r15
movq %r15, %r13
sarq $0x3, %r13
movl 0x8(%rdi), %eax
movl 0xc(%rdi), %ecx
movq %rax, %rdx
addq %r13, %rdx
cmpq %rcx, %rdx
jbe 0x1ba994c
leaq 0x10(%rbx), %rsi
movl $0x8, %ecx
movq %rbx, ... | /llvm/ADT/SmallVector.h |
bool llvm::DenseMapBase<llvm::DenseMap<llvm::VariableID, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::VariableID, void>, llvm::detail::DenseSetPair<llvm::VariableID>>, llvm::VariableID, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::VariableID, void>, llvm::detail::DenseSetPair<llvm::VariableID>>::Looku... | unsigned getNumBuckets() const {
return NumBuckets;
} | movl 0x10(%rdi), %r8d
testl %r8d, %r8d
je 0x1bb5255
pushq %rbx
movq (%rdi), %rdi
movl (%rsi), %esi
leal (%rsi,%rsi,8), %eax
leal (%rsi,%rax,4), %r9d
decl %r8d
andl %r8d, %r9d
leaq (%rdi,%r9,4), %rcx
movl (%rcx), %ebx
movb $0x1, %al
cmpl %ebx, %esi
jne 0x1bb525d
popq %rbx
jmp 0x1bb5259
xorl %ecx, %ecx
xorl %eax, %eax
mo... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::VariableID, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::VariableID, void>, llvm::detail::DenseSetPair<llvm::VariableID>>, llvm::VariableID, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::VariableID, void>, llvm::detail::DenseSetPair<llvm::VariableID>>::moveFromOl... | 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 %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq $0x0, 0x8(%rdi)
movl 0x10(%rdi), %edx
testq %rdx, %rdx
je 0x1bb53ea
movq (%r15), %rdi
shlq $0x2, %rdx
movl $0xff, %esi
callq 0x73a260
cmpq %rbx, %r14
je 0x1bb541c
movq %rsp, %r12
cmpl $-0x3, (%r14)
ja 0x1bb5413
m... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::PointerUnion<llvm::Instruction const*, llvm::DbgRecord const*>, unsigned int, llvm::DenseMapInfo<llvm::PointerUnion<llvm::Instruction const*, llvm::DbgRecord const*>, void>, llvm::detail::DenseMapPair<llvm::PointerUnion<llvm::Instruction const*, llvm::DbgRecord const*>, unsigned ... | 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 0x1bb5abd
movq (%r15), %rax
movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF
addq %rdx, %rcx
andq %rcx, %rdx
andl $0x1, %ecx
ne... | /llvm/ADT/DenseMap.h |
llvm::IntervalMapImpl::Path::legalizeForInsert(unsigned int) | void legalizeForInsert(unsigned Level) {
if (valid())
return;
moveLeft(Level);
++path[Level].offset;
} | pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
je 0x1bb813f
movq (%rbx), %rax
movl 0xc(%rax), %ecx
cmpl 0x8(%rax), %ecx
jb 0x1bb8156
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2a8bf86
movl %ebp, %eax
movq (%rbx), %rcx
shlq $0x4, %rax
incl 0xc(%rcx,%rax)
addq $0x8, %rsp
popq %rbx
popq... | /llvm/ADT/IntervalMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<unsigned int, llvm::IntervalMap<unsigned int, unsigned int, 16u, llvm::IntervalMapHalfOpenInfo<unsigned int>>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::IntervalMap<unsigned int, unsigned int, 16u, llvm::IntervalMapHalfOpenInfo<unsigned... | unsigned getNumBuckets() const {
return NumBuckets;
} | movl 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x1bb92a7
pushq %rbx
movq (%rdi), %rdi
movl (%rsi), %r8d
leal (%r8,%r8,8), %eax
leal (%r8,%rax,4), %r9d
decl %ecx
andl %ecx, %r9d
imulq $0xd8, %r9, %rax
leaq (%rdi,%rax), %rsi
movl (%rdi,%rax), %ebx
movb $0x1, %al
cmpl %ebx, %r8d
jne 0x1bb92af
popq %rbx
jmp 0x1bb92ab
xorl %esi,... | /llvm/ADT/DenseMap.h |
llvm::SmallVectorImpl<(anonymous namespace)::MemLocFragmentFill::FragMemLoc>::operator=(llvm::SmallVectorImpl<(anonymous namespace)::MemLocFragmentFill::FragMemLoc>&&) | 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... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x1bba854
movq %rsi, %r14
movq (%rsi), %r12
leaq 0x10(%rsi), %r13
cmpq %r13, %r12
je 0x1bba722
movq (%rbx), %r15
movl 0x8(%rbx), %eax
testq %rax, %rax
je 0x1bba6f3
addq $-0x8, %r15
shlq $0x3, %rax
leaq ... | /llvm/ADT/SmallVector.h |
llvm::IntervalMap<unsigned int, unsigned int, 16u, llvm::IntervalMapHalfOpenInfo<unsigned int>>::iterator::setStop(unsigned int) | void IntervalMap<KeyT, ValT, N, Traits>::
iterator::setStop(KeyT b) {
assert(Traits::nonEmpty(this->start(), b) && "Cannot move stop beyond start");
if (Traits::startLess(b, this->stop()) ||
!canCoalesceRight(b, this->value())) {
setStopUnchecked(b);
return;
}
// Coalesce with interval to the righ... | pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movq 0x8(%rdi), %rcx
movl 0x10(%rdi), %edx
shlq $0x4, %rdx
movq -0x10(%rcx,%rdx), %rax
movl -0x4(%rcx,%rdx), %ecx
cmpl %esi, 0x4(%rax,%rcx,8)
ja 0x1bbae62
movl 0x80(%rax,%rcx,4), %edx
movq %rbx, %rdi
movl %ebp, %esi
callq 0x1bbbe3a
testb %al, %al
je 0x1bb... | /llvm/ADT/IntervalMap.h |
llvm::IntervalMap<unsigned int, unsigned int, 16u, llvm::IntervalMapHalfOpenInfo<unsigned int>>::iterator::canCoalesceRight(unsigned int, unsigned int) | bool IntervalMap<KeyT, ValT, N, Traits>::
iterator::canCoalesceRight(KeyT Stop, ValT Value) {
using namespace IntervalMapImpl;
Path &P = this->path;
unsigned i = P.leafOffset() + 1;
if (!this->branched()) {
if (i >= P.leafSize())
return false;
RootLeaf &Node = P.leaf<RootLeaf>();
return Node.v... | pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %ebx
movq (%rdi), %r8
movq 0x8(%rdi), %rcx
movl 0x10(%rdi), %esi
movq %rsi, %r9
shlq $0x4, %r9
leaq (%rcx,%r9), %rax
movl -0x8(%rcx,%r9), %edx
movl -0x4(%rcx,%r9), %ecx
incl %ecx
cmpl $0x0, 0xc0(%r8)
je 0x1bbbe8e
cmpl %edx, %ecx
jb 0x1bbbe92
addq $0x8, %rdi
de... | /llvm/ADT/IntervalMap.h |
llvm::SmallDenseMap<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::BitVector, 4u, llvm::DenseMapInfo<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, void>, llvm::detail::DenseMapPair<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::BitVector>>::shrink_an... | void shrink_and_clear() {
unsigned OldSize = this->size();
this->destroyAll();
// Reduce the number of buckets.
unsigned NewNumBuckets = 0;
if (OldSize) {
NewNumBuckets = 1 << (Log2_32_Ceil(OldSize) + 1);
if (NewNumBuckets > InlineBuckets && NewNumBuckets < 64u)
NewNumBuckets = ... | pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %r14d
callq 0x1bbc20e
xorl %ebp, %ebp
cmpl $0x2, %r14d
jb 0x1bbc190
shrl %r14d
decl %r14d
je 0x1bbc172
bsrl %r14d, %eax
xorl $0x1f, %eax
jmp 0x1bbc177
movl $0x20, %eax
movb $0x21, %cl
subb %al, %cl
movl $0x1, %edx
shll %cl, %edx
addl $-0x1c, %eax
cmpl $0x3, ... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::SmallDenseMap<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::BitVector, 4u, llvm::DenseMapInfo<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, void>, llvm::detail::DenseMapPair<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::Bit... | 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->... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %ecx
movl $0x4, %eax
testb $0x1, %cl
jne 0x1bbc228
movl 0x10(%rbx), %eax
testl %eax, %eax
je 0x1bbc299
testb $0x1, %cl
jne 0x1bbc237
movq 0x8(%rbx), %rbx
jmp 0x1bbc23b
addq $0x8, %rbx
movl %eax, %eax
imulq $0x58, %rax, %r14
addq %rbx, %... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::SmallDenseMap<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::BitVector, 4u, llvm::DenseMapInfo<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, void>, llvm::detail::DenseMapPair<std::pair<llvm::DILocalVariable const*, llvm::DILocation const*>, llvm::Bit... | 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 %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rdi), %rax
andl $0x1, (%rdi)
movl $0x0, 0x4(%rdi)
cmoveq 0x8(%rdi), %rax
movl $0x4, %ecx
cmovel 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x1bbc72e
imulq $0x58, %rcx, %rcx
addq %rax, %rcx
mo... | /llvm/ADT/DenseMap.h |
llvm::SmallDenseMap<llvm::DbgVariableFragmentInfo, llvm::detail::DenseSetEmpty, 4u, llvm::DenseMapInfo<llvm::DbgVariableFragmentInfo, void>, llvm::detail::DenseSetPair<llvm::DbgVariableFragmentInfo>>::swap(llvm::SmallDenseMap<llvm::DbgVariableFragmentInfo, llvm::detail::DenseSetEmpty, 4u, llvm::DenseMapInfo<llvm::DbgVa... | void swap(SmallDenseMap& RHS) {
unsigned TmpNumEntries = RHS.NumEntries;
RHS.NumEntries = NumEntries;
NumEntries = TmpNumEntries;
std::swap(NumTombstones, RHS.NumTombstones);
const KeyT EmptyKey = this->getEmptyKey();
const KeyT TombstoneKey = this->getTombstoneKey();
if (Small && RHS.Small... | pushq %rbx
movl (%rsi), %eax
movl %eax, %ecx
andl $-0x2, %ecx
movl (%rdi), %edx
andl $-0x2, %edx
andl $0x1, %eax
orl %edx, %eax
movl %eax, (%rsi)
movl (%rdi), %eax
movl 0x4(%rdi), %edx
andl $0x1, %eax
orl %ecx, %eax
movl %eax, (%rdi)
movl 0x4(%rsi), %eax
movl %eax, 0x4(%rdi)
movl %edx, 0x4(%rsi)
movl (%rdi), %eax
movl ... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::ReplacementIRBuilder::ReplacementIRBuilder(llvm::Instruction*, llvm::DataLayout const&) | explicit ReplacementIRBuilder(Instruction *I, const DataLayout &DL)
: IRBuilder(I->getContext(), DL,
IRBuilderCallbackInserter(
[this](Instruction *I) { addMMRAMD(I); })) {
SetInsertPoint(I);
this->CollectMetadataToCopy(I, {LLVMContext::MD_pcsections});
if (BB->... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x17645dc
leaq 0x3b7f269(%rip), %rcx # 0x573fb00
addq $0x10, %rcx
leaq 0x68(%rsp), %r15
movq %rcx, -0x8(%r15)
leaq 0x3b7ebbd(%rip), %rcx # 0x573f468
addq $0x10, %r... | /CodeGen/AtomicExpandPass.cpp |
llvm::SmallVectorTemplateBase<std::pair<llvm::AssertingVH<llvm::Value>, llvm::SmallVector<std::pair<llvm::AssertingVH<llvm::GetElementPtrInst>, long>, 32u>>, false>::push_back(std::pair<llvm::AssertingVH<llvm::Value>, llvm::SmallVector<std::pair<llvm::AssertingVH<llvm::GetElementPtrInst>, long>, 32u>>&&) | void push_back(T &&Elt) {
T *EltPtr = reserveForParamAndGetAddress(Elt);
::new ((void *)this->end()) T(::std::move(*EltPtr));
this->set_size(this->size() + 1);
} | pushq %rbx
movq %rdi, %rbx
movl $0x1, %edx
callq 0x1be3f44
movq (%rbx), %rcx
movl 0x8(%rbx), %edx
imulq $0x218, %rdx, %rdx # imm = 0x218
movq (%rax), %rsi
leaq (%rcx,%rdx), %rdi
addq $0x18, %rdi
movq %rsi, -0x18(%rdi)
movq %rdi, -0x10(%rdi)
movabsq $0x2000000000, %rsi # imm = 0x2000000000
movq %rsi, -0x8(%rdi)... | /llvm/ADT/SmallVector.h |
bool llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::PHINode*, llvm::PHINode*>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<std::pair<llvm::PHINode*, llvm::PHINode*>, void>, llvm::detail::DenseSetPair<std::pair<llvm::PHINode*, llvm::PHINode*>>>, std::pair<llvm::PHINode*, llvm::PHINode*>, llvm::detail::DenseSetEmp... | unsigned getNumBuckets() const {
return NumBuckets;
} | movl 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x1be56de
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq (%rdi), %rdi
movq (%rsi), %r8
movq 0x8(%rsi), %rsi
movl %r8d, %eax
shrl $0x4, %eax
movl %r8d, %r9d
shrl $0x9, %r9d
xorl %eax, %r9d
movl %esi, %eax
shrl $0x4, %eax
movl %esi, %r10d
shrl $0x9, %r10d
xorl %eax, %r10d
shlq ... | /llvm/ADT/DenseMap.h |
llvm::detail::DenseMapPair<llvm::Instruction const*, unsigned long>* llvm::DenseMapBase<llvm::DenseMap<llvm::Instruction const*, unsigned long, llvm::DenseMapInfo<llvm::Instruction const*, void>, llvm::detail::DenseMapPair<llvm::Instruction const*, unsigned long>>, llvm::Instruction const*, unsigned long, llvm::DenseMa... | 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 0x1be6911
notl %ecx
addl %esi, %ecx
subl 0xc(%rbx), %ecx
movl %esi, %edx
shrl $0x3, %edx
cmpl %edx, %ecx
jbe 0... | /llvm/ADT/DenseMap.h |
llvm::cl::opt<llvm::DebuggerKind, false, llvm::cl::parser<llvm::DebuggerKind>>::opt<char [14], llvm::cl::desc, llvm::cl::initializer<llvm::DebuggerKind>, llvm::cl::ValuesClass>(char const (&) [14], llvm::cl::desc const&, llvm::cl::initializer<llvm::DebuggerKind> const&, llvm::cl::ValuesClass const&) | explicit opt(const Mods &... Ms)
: Option(llvm::cl::Optional, NotHidden), Parser(*this) {
apply(this, Ms...);
done();
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r8, %rbx
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
xorl %esi, %esi
xorl %edx, %edx
callq 0x7bfb0c
movl $0x0, 0x80(%r14)
movq $0x0, 0x90(%r14)
leaq 0x3b70782(%rip), %rax # 0x575d640
addq $0x10, %rax
movq %rax, 0x88(%r14)
leaq 0x3b706b8(... | /llvm/Support/CommandLine.h |
llvm::SmallVectorTemplateBase<llvm::LandingPadInst*, true>::push_back(llvm::LandingPadInst*) | 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 0x1bfe18c
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 0x1b41f9e
movl... | /llvm/ADT/SmallVector.h |
llvm::LiveIntervals::getSpillWeight(bool, bool, llvm::MachineBlockFrequencyInfo const*, llvm::MachineInstr const&) | float LiveIntervals::getSpillWeight(bool isDef, bool isUse,
const MachineBlockFrequencyInfo *MBFI,
const MachineInstr &MI) {
return getSpillWeight(isDef, isUse, MBFI, MI.getParent());
} | pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq 0x18(%rcx), %rax
addl %esi, %edi
cvtsi2sd %edi, %xmm0
movsd %xmm0, 0x8(%rsp)
movq %rdx, %rdi
movq %rax, %rsi
callq 0x1c596b8
movq %rax, %xmm0
punpckldq 0x121c72e(%rip), %xmm0 # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
subpd 0x121c736(%rip), %xmm0 # 0x2e52fa0
movapd %xmm0, %... | /CodeGen/LiveIntervals.cpp |
llvm::LoopBase<llvm::MachineBasicBlock, llvm::MachineLoop>::verifyLoop() const | void LoopBase<BlockT, LoopT>::verifyLoop() const {
assert(!isInvalid() && "Loop not in a valid state!");
#ifndef NDEBUG
assert(!Blocks.empty() && "Loop header is missing");
// Setup for using a depth-first iterator to visit every block in the loop.
SmallVector<BlockT *, 8> ExitBBs;
getExitBlocks(ExitBBs);
... | retq
nop
| /llvm/Support/GenericLoopInfoImpl.h |
llvm::iterator_range<llvm::po_iterator<llvm::DomTreeNodeBase<llvm::MachineBasicBlock> const*, llvm::SmallPtrSet<llvm::DomTreeNodeBase<llvm::MachineBasicBlock> const*, 8u>, false, llvm::GraphTraits<llvm::DomTreeNodeBase<llvm::MachineBasicBlock> const*>>> llvm::make_range<llvm::po_iterator<llvm::DomTreeNodeBase<llvm::Mac... | iterator_range<T> make_range(T x, T y) {
return iterator_range<T>(std::move(x), std::move(y));
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x260, %rsp # imm = 0x260
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x20(%rsp), %rsi
movq %rsp, %rdi
movl $0x8, %edx
movq %r15, %rcx
callq 0x1b41b54
leaq 0x70(%rsp), %r12
movq %r12, -0x10(%r12)
movabsq $0x800000000, %r13 # imm = 0x8... | /llvm/ADT/iterator_range.h |
(anonymous namespace)::FreeMachineFunction::runOnFunction(llvm::Function&) | bool runOnFunction(Function &F) override {
MachineModuleInfo &MMI =
getAnalysis<MachineModuleInfoWrapperPass>().getMMI();
MMI.deleteMachineFunctionFor(F);
return true;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x8(%rdi), %rax
movq (%rax), %rax
movq (%rax), %rcx
cmpq 0x3af370a(%rip), %rcx # 0x5799a78
je 0x1ca638b
addq $0x10, %rax
leaq 0x3b50b15(%rip), %rcx # 0x57f6e90
movq %rax, %rdx
addq $0x10, %rax
cmpq %rcx, (%rdx)
jne 0x1ca637b
addq $-0x10, %rax
movq 0x8(%rax), %rd... | /CodeGen/MachineModuleInfo.cpp |
llvm::DenseMap<llvm::MachineFunction*, std::__cxx11::list<std::pair<llvm::AnalysisKey*, std::unique_ptr<llvm::detail::AnalysisResultConcept<llvm::MachineFunction, llvm::AnalysisManager<llvm::MachineFunction>::Invalidator>, std::default_delete<llvm::detail::AnalysisResultConcept<llvm::MachineFunction, llvm::AnalysisMana... | DenseMap& operator=(DenseMap &&other) {
this->destroyAll();
deallocate_buffer(Buckets, sizeof(BucketT) * NumBuckets, alignof(BucketT));
init(0);
swap(other);
return *this;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x1cadec8
movq (%rbx), %rdi
movl 0x10(%rbx), %esi
shlq $0x5, %rsi
movl $0x8, %edx
callq 0x1b3283e
xorl %eax, %eax
movl %eax, 0x10(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq (%r14), %rcx
movq %rcx, (%rbx)
movq $0x0, (%r14)
movl 0x8(%r14), %ec... | /llvm/ADT/DenseMap.h |
llvm::AnalysisManager<llvm::MachineFunction>::invalidate(llvm::MachineFunction&, llvm::PreservedAnalyses const&) | inline void AnalysisManager<IRUnitT, ExtraArgTs...>::invalidate(
IRUnitT &IR, const PreservedAnalyses &PA) {
// We're done if all analyses on this IR unit are preserved.
if (PA.allAnalysesInSetPreserved<AllAnalysesOn<IRUnitT>>())
return;
// Track whether each analysis's result is invalidated in
// IsRe... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x3b3c51c(%rip), %rsi # 0x57e8df8
movq %rdx, 0x48(%rsp)
movq %rdx, %rdi
callq 0x1754e24
testb %al, %al
jne 0x1cacb0c
leaq 0x68(%rsp), %rax
movq $0x1, -0x8(%rax)
movl $0x8, %eax
movq $-0x1000, 0x60(%... | /llvm/IR/PassManagerImpl.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::SUnit*, unsigned int, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseMapPair<llvm::SUnit*, unsigned int>>, llvm::SUnit*, unsigned int, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseMapPair<llvm::SUnit*, unsigned int>>::moveFromOldBuckets(llvm::detail::Den... | 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 0x1cbdfe7
movq (%r15), %rax
movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF
addq %rdx, %rcx
andq %rcx, %rdx
andl $0x1, %ecx
ne... | /llvm/ADT/DenseMap.h |
llvm::SmallVectorImpl<llvm::SmallPtrSet<llvm::SUnit*, 4u>>::truncate(unsigned long) | void truncate(size_type N) {
assert(this->size() >= N && "Cannot increase size with truncate");
this->destroy_range(this->begin() + N, this->end());
this->set_size(N);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl 0x8(%rdi), %r15d
cmpq %rsi, %r15
je 0x1cbe174
movq (%r14), %r12
shlq $0x6, %r15
movq %rbx, %r13
shlq $0x6, %r13
movq -0x38(%r12,%r15), %rdi
cmpq -0x40(%r12,%r15), %rdi
je 0x1cbe16b
callq 0x73a9c0
addq $-0x40, %r15
cmpq %r15, %r1... | /llvm/ADT/SmallVector.h |
void llvm::SmallVectorImpl<llvm::SmallVector<int, 4u>>::resizeImpl<false>(unsigned long) | size_t size() const { return Size; } | pushq %r14
pushq %rbx
pushq %rax
movl 0x8(%rdi), %eax
cmpq %rsi, %rax
je 0x1cbe2c9
movq %rsi, %rbx
movq %rdi, %r14
jbe 0x1cbe274
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1cbe2d2
movl 0xc(%r14), %ecx
cmpq %rbx, %rcx
jae 0x1cbe28c
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1cbe32a
movl 0x8(%... | /llvm/ADT/SmallVector.h |
std::pair<llvm::DenseMapIterator<llvm::Register, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::Register, void>, llvm::detail::DenseSetPair<llvm::Register>, false>, bool> llvm::DenseMapBase<llvm::SmallDenseMap<llvm::Register, llvm::detail::DenseSetEmpty, 8u, llvm::DenseMapInfo<llvm::Register, void>, llvm::detail... | std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return std::make_pair(makeIterator(TheBucket,
shouldReverseIterate<KeyT>()
? getBuckets()
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %rsi, %rdi
movq %rdx, %rsi
movq %r12, %rdx
callq 0x1cbee74
movl %eax, %ecx
movq (%r12), %rax
testb %cl, %cl
je 0x1cbee28
xorl %ecx, %ecx
jmp 0x1cbee40
movq %r14, %rdi
movq %r15, %rsi
movq %r15, %r... | /llvm/ADT/DenseMap.h |
void llvm::SmallVectorImpl<llvm::SmallDenseSet<llvm::Register, 16u, llvm::DenseMapInfo<llvm::Register, void>>>::resizeImpl<false>(unsigned long) | size_t size() const { return Size; } | movl 0x8(%rdi), %eax
cmpq %rsi, %rax
je 0x1cbf473
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
jbe 0x1cbf410
movq (%r14), %rcx
leaq (%rbx,%rbx,8), %rdx
leaq (%rcx,%rdx,8), %rdi
leaq (%rax,%rax,8), %rax
leaq (%rcx,%rax,8), %rsi
callq 0x1cbf474
jmp 0x1cbf468
movl 0xc(%r14), %ecx
cmpq %rbx, %rcx
jae 0x... | /llvm/ADT/SmallVector.h |
llvm::DenseMap<llvm::Register, llvm::MachineInstr*, llvm::DenseMapInfo<llvm::Register, void>, llvm::detail::DenseMapPair<llvm::Register, llvm::MachineInstr*>>::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<llvm::DenseMapIterator<llvm::SUnit*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseSetPair<llvm::SUnit*>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<llvm::SUnit*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseSetPair<llvm... | std::pair<iterator, bool> try_emplace(const KeyT &Key, Ts &&... Args) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return std::make_pair(makeIterator(TheBucket,
shouldReverseIterate<KeyT>()
? getBuckets()
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rsp, %r12
movq %rsi, %rdi
movq %rdx, %rsi
movq %r12, %rdx
callq 0x1cc07a0
movl %eax, %ecx
movq (%r12), %rax
testb %cl, %cl
je 0x1cc0762
xorl %ecx, %ecx
jmp 0x1cc077b
movq %r14, %rdi
movq %r15, %rsi
movq %r15, %r... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<llvm::SUnit*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseSetPair<llvm::SUnit*>>, llvm::SUnit*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseSetPair<llvm::SUnit*>>::LookupBucketFor<llvm::SUnit*>... | unsigned getNumBuckets() const {
return NumBuckets;
} | movl 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x1cc07d4
pushq %rbx
movq (%rdi), %rdi
movq (%rsi), %r8
movl %r8d, %eax
shrl $0x4, %eax
movl %r8d, %r9d
shrl $0x9, %r9d
xorl %eax, %r9d
decl %ecx
andl %ecx, %r9d
leaq (%rdi,%r9,8), %rsi
movq (%rsi), %rbx
movb $0x1, %al
cmpq %rbx, %r8
jne 0x1cc07dc
popq %rbx
jmp 0x1cc07d8
xorl %... | /llvm/ADT/DenseMap.h |
llvm::DenseMap<llvm::SUnit*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseSetPair<llvm::SUnit*>>::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 |
void llvm::cl::apply<llvm::cl::opt<bool, false, llvm::cl::parser<bool>>, char [20], llvm::cl::OptionHidden, llvm::cl::initializer<bool>>(llvm::cl::opt<bool, false, llvm::cl::parser<bool>>*, char const (&) [20], llvm::cl::OptionHidden const&, llvm::cl::initializer<bool> const&) | void apply(Opt *O, const Mod &M, const Mods &... Ms) {
applicator<Mod>::opt(M, *O);
apply(O, Ms...);
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq %rsi, %rdi
callq 0x73a2e0
movq %r12, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x1b16ffe
movl (%r14), %eax
movzwl 0xa(%r12), %ecx
shll $0x5, %eax
andl $0x60, %eax
andl $-0x61, %ecx
orl %eax, %ecx... | /llvm/Support/CommandLine.h |
void llvm::cl::ValuesClass::apply<llvm::cl::opt<llvm::WindowSchedulingFlag, false, llvm::cl::parser<llvm::WindowSchedulingFlag>>>(llvm::cl::opt<llvm::WindowSchedulingFlag, false, llvm::cl::parser<llvm::WindowSchedulingFlag>>&) const | size_t size() const { return Size; } | movl 0x8(%rdi), %eax
testq %rax, %rax
je 0x1cc0feb
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq (%rdi), %r14
leaq (%rax,%rax,4), %rax
leaq (%r14,%rax,8), %r15
addq $0x98, %rbx
movq (%r14), %rsi
movq 0x8(%r14), %rdx
leaq 0x10(%r14), %rcx
movq 0x18(%r14), %r8
movq 0x20(%r14), %r9
movq %rbx, %rdi
callq 0x1cc0fec
... | /llvm/ADT/SmallVector.h |
llvm::SmallVectorImpl<llvm::NodeSet>::operator=(llvm::SmallVectorImpl<llvm::NodeSet> 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... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpq %rsi, %rdi
je 0x1cc12de
movq %rsi, %r15
movl 0x8(%rsi), %r14d
movl 0x8(%rbx), %r12d
cmpl %r14d, %r12d
jae 0x1cc1255
cmpl %r14d, 0xc(%rbx)
jae 0x1cc127c
movq (%rbx), %rdi
leaq (%r12,%r12,4), %rsi
shlq $0x4, %rsi
addq %rdi, %rsi
callq 0x1cc11ba
m... | /llvm/ADT/SmallVector.h |
llvm::detail::DenseMapPair<llvm::SUnit*, std::pair<unsigned int, long>>* llvm::DenseMapBase<llvm::DenseMap<llvm::SUnit*, std::pair<unsigned int, long>, llvm::DenseMapInfo<llvm::SUnit*, void>, llvm::detail::DenseMapPair<llvm::SUnit*, std::pair<unsigned int, long>>>, llvm::SUnit*, std::pair<unsigned int, long>, llvm::Den... | 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 0x1cc31b3
notl %ecx
addl %esi, %ecx
subl 0xc(%rbx), %ecx
movl %esi, %edx
shrl $0x3, %edx
cmpl %edx, %ecx
jbe 0... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::SmallDenseMap<llvm::MCRegister, llvm::SmallVector<unsigned int, 2u>, 4u, llvm::DenseMapInfo<llvm::MCRegister, void>, llvm::detail::DenseMapPair<llvm::MCRegister, llvm::SmallVector<unsigned int, 2u>>>, llvm::MCRegister, llvm::SmallVector<unsigned int, 2u>, llvm::DenseMapInfo<llvm::MCRegister, vo... | 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
leaq 0x8(%rdi), %rax
andl $0x1, (%rdi)
movl $0x0, 0x4(%rdi)
cmoveq 0x8(%rdi), %rax
movl $0x4, %ecx
cmovel 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x1ceceed
movl %ecx, %ecx
movabsq $0x7ffffffffffffff, %rd... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::KernelOperandInfo::KernelOperandInfo(llvm::MachineOperand*, llvm::MachineRegisterInfo&, llvm::SmallPtrSetImpl<llvm::MachineInstr*> const&) | KernelOperandInfo(MachineOperand *MO, MachineRegisterInfo &MRI,
const SmallPtrSetImpl<MachineInstr *> &IllegalPhis)
: MRI(MRI) {
Source = MO;
BB = MO->getParent()->getParent();
while (isRegInLoop(MO)) {
MachineInstr *MI = MRI.getVRegDef(MO->getReg());
if (MI->isFullCopy... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r13
movq %rdi, %rbx
movq %rdx, 0x8(%rdi)
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
movabsq $0x400000000, %rax # imm = 0x400000000
movq %rax, 0x18(%rdi)
movq %rsi, 0x30(%rdi)
movq 0x8(%rsi), %rax
movq 0x18(%rax), %rax
movq %r... | /CodeGen/ModuloSchedule.cpp |
llvm::ModuloScheduleExpanderMVE::updateInstrUse(llvm::MachineInstr*, int, int, llvm::SmallVectorImpl<llvm::DenseMap<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>>&, llvm::SmallVectorImpl<llvm::DenseMap<unsigned int, unsigned int, llvm::DenseM... | void ModuloScheduleExpanderMVE::updateInstrUse(
MachineInstr *MI, int StageNum, int PhaseNum,
SmallVectorImpl<ValueMapTy> &CurVRMap,
SmallVectorImpl<ValueMapTy> *PrevVRMap) {
// If MI is in the prolog/kernel/epilog block, CurVRMap is
// PrologVRMap/KernelVRMap/EpilogVRMap respectively.
// PrevVRMap is... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r9, 0x30(%rsp)
movq %r8, 0x28(%rsp)
movl %ecx, %r13d
movl %edx, 0x1c(%rsp)
movq %rsi, %r12
movq %rdi, %r15
movq 0x20(%rsi), %rbx
movq %rsi, %rdi
callq 0x1c92ce2
movl %eax, %r14d
shlq $0x5, %r14
addq %rbx, %r14
movzbl 0x2a(%r12), %e... | /CodeGen/ModuloSchedule.cpp |
void llvm::yaml::IO::processKeyWithDefault<std::vector<llvm::yaml::FlowStringValue, std::allocator<llvm::yaml::FlowStringValue>>, llvm::yaml::EmptyContext>(char const*, std::optional<std::vector<llvm::yaml::FlowStringValue, std::allocator<llvm::yaml::FlowStringValue>>>&, std::optional<std::vector<llvm::yaml::FlowString... | void IO::processKeyWithDefault(const char *Key, std::optional<T> &Val,
const std::optional<T> &DefaultValue,
bool Required, Context &Ctx) {
assert(!DefaultValue && "std::optional<T> shouldn't have a value!");
void *SaveInfo;
bool UseDefault = true;
c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, 0x18(%rsp)
movl %r8d, %ebp
movq %rcx, %r15
movq %rdx, %r14
movq %rsi, 0x20(%rsp)
movq %rdi, %rbx
movb $0x1, 0xf(%rsp)
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %r12d
movb 0x18(%r14), %r13b
movq (%rbx), %rax
movq %rbx, %rdi... | /llvm/Support/YAMLTraits.h |
(anonymous namespace)::MacroFusion::shouldScheduleAdjacent(llvm::TargetInstrInfo const&, llvm::TargetSubtargetInfo const&, llvm::MachineInstr const*, llvm::MachineInstr const&) | bool MacroFusion::shouldScheduleAdjacent(const TargetInstrInfo &TII,
const TargetSubtargetInfo &STI,
const MachineInstr *FirstMI,
const MachineInstr &SecondMI) {
return llvm::any_of(Predicates, [... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %r14
movq %rdi, %rbp
movq %rsi, %rax
subq %rdi, %rax
movq %rax, %rcx
sarq $0x5, %rcx
testq %rcx, %rcx
jle 0x1d25729
movq %rsi, (%rsp)
incq %rcx
addq $0x10, %rbp
movq %rcx, 0x8(%rsp)
movq %rax, 0x... | /CodeGen/MacroFusion.cpp |
void llvm::SmallVectorImpl<llvm::MachineOperand*>::append<llvm::MachineOperand**, void>(llvm::MachineOperand**, llvm::MachineOperand**) | void append(ItTy in_start, ItTy in_end) {
this->assertSafeToAddRange(in_start, in_end);
size_type NumInputs = std::distance(in_start, in_end);
this->reserve(this->size() + NumInputs);
this->uninitialized_copy(in_start, in_end, this->end());
this->set_size(this->size() + NumInputs);
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %r15
subq %rsi, %r15
movq %r15, %r13
sarq $0x3, %r13
movl 0x8(%rdi), %eax
movl 0xc(%rdi), %ecx
movq %rax, %rdx
addq %r13, %rdx
cmpq %rcx, %rdx
jbe 0x1d2a70a
leaq 0x10(%rbx), %rsi
movl $0x8, %ecx
movq %rbx, ... | /llvm/ADT/SmallVector.h |
llvm::SmallVectorTemplateBase<std::unique_ptr<llvm::FixedStackPseudoSourceValue, std::default_delete<llvm::FixedStackPseudoSourceValue>>, 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 $0x8, %ecx
movq %r15, %rsi
movq %r12, %r8
callq 0x1b41e54
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1d36a6a
movq (%r12), %r12
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x1d36a56
cal... | /llvm/ADT/SmallVector.h |
llvm::DenseMapBase<llvm::DenseMap<unsigned int, std::unordered_map<unsigned int, std::unordered_set<std::pair<unsigned int, llvm::LaneBitmask>, std::hash<std::pair<unsigned int, llvm::LaneBitmask>>, std::equal_to<std::pair<unsigned int, llvm::LaneBitmask>>, std::allocator<std::pair<unsigned int, llvm::LaneBitmask>>>, s... | value_type& FindAndConstruct(const KeyT &Key) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return *TheBucket;
return *InsertIntoBucket(TheBucket, Key);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdx
callq 0xf5cdae
movl %eax, %ecx
movq (%r15), %rax
testb %cl, %cl
jne 0x1d4674c
movq %r14, %rdi
movq %rbx, %rsi
movq %rbx, %rdx
movq %rax, %rcx
callq 0x1d46756
movl (%rbx), %ecx
movl %ecx, (%rax)
movq $0... | /llvm/ADT/DenseMap.h |
llvm::RegAllocBase::RegAllocBase(std::function<bool (llvm::TargetRegisterInfo const&, llvm::MachineRegisterInfo const&, llvm::Register)>) | RegAllocBase(const RegAllocFilterFunc F = nullptr)
: shouldAllocateRegisterImpl(F) {} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3a1964d(%rip), %rax # 0x57685c8
addq $0x10, %rax
movq %rax, (%rdi)
addq $0x30, %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movups %xmm0, 0x18(%rbx)
movq $0x0, 0x28(%rbx)
callq 0x1d69d80
xorps %xmm0, %xmm0
movups %xmm0, 0x180(%rbx)
movups %xmm... | /CodeGen/RegAllocBase.h |
llvm::RegAllocBase::~RegAllocBase() | virtual ~RegAllocBase() = default; | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x3a187e6(%rip), %rax # 0x57685c8
addq $0x10, %rax
movq %rax, (%rdi)
movq 0x198(%rdi), %rdi
cmpq 0x190(%rbx), %rdi
je 0x1d4fdfe
callq 0x73a9c0
movq 0x180(%rbx), %rax
testq %rax, %rax
je 0x1d4fe1b
leaq 0x170(%rbx), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
m... | /CodeGen/RegAllocBase.h |
llvm::DenseMap<llvm::Register, unsigned short, llvm::DenseMapInfo<llvm::Register, void>, llvm::detail::DenseMapPair<llvm::Register, unsigned short>>::init(unsigned int) | void init(unsigned InitNumEntries) {
auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries);
if (allocateBuckets(InitBuckets)) {
this->BaseT::initEmpty();
} else {
NumEntries = 0;
NumTombstones = 0;
}
} | pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
je 0x1d52c6d
shll $0x2, %esi
movl $0xaaaaaaab, %eax # imm = 0xAAAAAAAB
imulq %rsi, %rax
shrq $0x21, %rax
incl %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... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<unsigned int, llvm::SmallVector<llvm::MachineOperand*, 2u>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::SmallVector<llvm::MachineOperand*, 2u>>>, unsigned int, llvm::SmallVector<llvm::MachineOperand*, 2u>, llvm::DenseMapInfo<unsigned int, void... | 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), %eax
testq %rax, %rax
je 0x1d53ba0
movq (%r15), %rcx
leaq (%rax,%rax,4), %rax
leaq -0x28(,%rax,8), %rax
movabsq $-0x3333333333333333, %rdx # imm = 0xCCCCCCCCCCCCC... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::RegAllocFastImpl::isClobberedByRegMasks(unsigned short) const | size_t size() const { return Size; } | movl %esi, %r9d
leaq (%rdi,%r9,8), %rax
cmpl $0x4, %esi
jae 0x1d5459b
movq %rdi, %r8
movl %esi, %ecx
leaq 0x31c1e08(%rip), %rsi # 0x4f16384
movslq (%rsi,%rcx,4), %rcx
addq %rsi, %rcx
jmpq *%rcx
movzwl %dx, %esi
shrl $0x5, %esi
movl $0x1, %r9d
movl %edx, %ecx
shll %cl, %r9d
jmp 0x1d54650
leaq (,%r9,8), %r8
shrl $0x2, ... | /llvm/ADT/SmallVector.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::MachineInstr const*, unsigned long, llvm::DenseMapInfo<llvm::MachineInstr const*, void>, llvm::detail::DenseMapPair<llvm::MachineInstr const*, unsigned long>>, llvm::MachineInstr const*, unsigned long, llvm::DenseMapInfo<llvm::MachineInstr const*, void>, llvm::detail::DenseMapPai... | const_iterator find(const_arg_type_t<KeyT> Val) const {
const BucketT *TheBucket;
if (LookupBucketFor(Val, TheBucket))
return makeConstIterator(TheBucket,
shouldReverseIterate<KeyT>() ? getBuckets()
: getBucketsEnd(... | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rax
movq %rsi, (%rax)
movq %rsp, %rdx
movq %rax, %rsi
callq 0x1d563d0
testb %al, %al
je 0x1d563bd
movq (%rsp), %rax
movl 0x10(%rbx), %edx
shlq $0x4, %rdx
addq (%rbx), %rdx
jmp 0x1d563ca
movl 0x10(%rbx), %eax
shlq $0x4, %rax
addq (%rbx), %rax
movq %rax, %rdx
a... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::RegAllocFastImpl::reload(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::Register, unsigned short) | void RegAllocFastImpl::reload(MachineBasicBlock::iterator Before,
Register VirtReg, MCPhysReg PhysReg) {
LLVM_DEBUG(dbgs() << "Reloading " << printReg(VirtReg, TRI) << " into "
<< printReg(PhysReg, TRI) << '\n');
int FI = getStackSpaceFor(VirtReg);
const TargetReg... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %r12
movl %edx, %esi
callq 0x1d5679c
movl %r14d, %ecx
andl $0x7fffffff, %ecx # imm = 0x7FFFFFFF
movq 0x8(%r12), %rdx
movq 0x38(%rdx), %rdx
shlq $0x4, %rcx
movq (%rdx,%rcx), %r9
andq $-0x8, %r9
movq 0... | /CodeGen/RegAllocFast.cpp |
llvm::createGreedyRegisterAllocator() | FunctionPass* llvm::createGreedyRegisterAllocator() {
return new RAGreedy();
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movl $0x7170, %edi # imm = 0x7170
callq 0x73a980
movq %rax, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, (%r14)
movaps %xmm0, 0x10(%r14)
movq %rax, %rdi
movq %r14, %rsi
callq 0x1d57fba
movq 0x10(%r14), %rax
testq %rax, %rax
je 0x1d57e1f
movq %rsp, %rdi
movq %rdi... | /CodeGen/RegAllocGreedy.cpp |
llvm::SetVector<llvm::LiveInterval const*, llvm::SmallVector<llvm::LiveInterval const*, 8u>, llvm::DenseSet<llvm::LiveInterval const*, llvm::DenseMapInfo<llvm::LiveInterval const*, void>>, 8u>::insert(llvm::LiveInterval const* const&) | bool insert(const value_type &X) {
if constexpr (canBeSmall())
if (isSmall()) {
if (!llvm::is_contained(vector_, X)) {
vector_.push_back(X);
if (vector_.size() > N)
makeBig();
return true;
}
return false;
}
bool result = set_.insert(... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
je 0x1d58e49
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1d61480
cmpb $0x1, 0x10(%r15)
jne 0x1d58e6c
addq $0x18, %rbx
movq (%r14), %rsi
movq %rbx, %rdi... | /llvm/ADT/SetVector.h |
llvm::RegAllocEvictionAdvisor::canReassign(llvm::LiveInterval const&, llvm::MCRegister) const | bool RegAllocEvictionAdvisor::canReassign(const LiveInterval &VirtReg,
MCRegister FromReg) const {
auto HasRegUnitInterference = [&](MCRegUnit Unit) {
// Instantiate a "subquery", not to be confused with the Queries array.
LiveIntervalUnion::Query SubQ(VirtReg, Matrix... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movl %edx, 0xc(%rsp)
movq %rdi, %r15
movq %rsi, 0x20(%rsp)
movl 0x70(%rsi), %esi
movq 0x18(%rdi), %r8
movq 0x28(%rdi), %rdx
movq 0x40(%rdi), %rcx
leaq 0xd8(%rsp), %r12
movq %r12, %rdi
callq 0x1e10448
xorl %eax, ... | /CodeGen/RegAllocGreedy.cpp |
llvm::RegAllocEvictionAdvisor::getOrderLimit(llvm::LiveInterval const&, llvm::AllocationOrder const&, unsigned int) const | std::optional<unsigned>
RegAllocEvictionAdvisor::getOrderLimit(const LiveInterval &VirtReg,
const AllocationOrder &Order,
unsigned CostPerUseLimit) const {
unsigned OrderLimit = Order.getOrder().size();
if (CostPerUseLimit < uint8_t(~0u)... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movabsq $0x100000000, %rdx # imm = 0x100000000
movl 0x40(%r12), %ebx
cmpl $0xfe, %ecx
ja 0x1d59360
movl %ecx, %ebp
movq %rdi, %r14
movl 0x70(%rsi), %eax
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
movq 0x30(%rdi), %rcx... | /CodeGen/RegAllocGreedy.cpp |
llvm::RAGreedy::trySplit(llvm::LiveInterval const&, llvm::AllocationOrder&, llvm::SmallVectorImpl<llvm::Register>&, llvm::SmallSet<llvm::Register, 16u, std::less<llvm::Register>> const&) | unsigned RAGreedy::trySplit(const LiveInterval &VirtReg, AllocationOrder &Order,
SmallVectorImpl<Register> &NewVRegs,
const SmallVirtRegSet &FixedRegisters) {
// Ranges must be Split2 or less.
if (ExtraInfo->getStage(VirtReg) >= RS_Spill)
return 0;
// L... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rcx, %rbx
movl 0x70(%rsi), %eax
andl $0x7fffffff, %eax # imm = 0x7FFFFFFF
movq 0x370(%rdi), %rcx
xorl %ebp, %ebp
cmpl $0x3, (%rcx,%rax,8)
jg 0x1d5c5f2
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
movq 0x58(%rdi), %rdi
callq 0x1c3671c... | /CodeGen/RegAllocGreedy.cpp |
llvm::IntervalMap<llvm::SlotIndex, llvm::LiveInterval const*, 8u, llvm::IntervalMapInfo<llvm::SlotIndex>>::const_iterator::treeFind(llvm::SlotIndex) | void IntervalMap<KeyT, ValT, N, Traits>::
const_iterator::treeFind(KeyT x) {
setRoot(map->rootBranch().findFrom(0, map->rootSize, x));
if (valid())
pathFillFind(x);
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rcx
movl 0xc4(%rcx), %eax
testq %rax, %rax
je 0x1d60376
movq %rbx, %rdx
andq $-0x8, %rdx
movl %ebx, %esi
shrl %esi
andl $0x3, %esi
orl 0x18(%rdx), %esi
xorl %edx, %edx
movq 0x60(%rcx,%rdx,8), %rdi
movq %rdi, %r8
andq $-0x8, %r8
shrl %edi
and... | /llvm/ADT/IntervalMap.h |
void llvm::SmallVectorImpl<llvm::SpillPlacement::BlockConstraint>::resizeImpl<false>(unsigned long) | size_t size() const { return Size; } | movl 0x8(%rdi), %eax
cmpq %rsi, %rax
je 0x1d618a9
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
ja 0x1d6189e
movl 0xc(%r14), %ecx
cmpq %rbx, %rcx
jae 0x1d6187d
leaq 0x10(%r14), %rsi
movl $0x8, %ecx
movq %r14, %rdi
movq %rbx, %rdx
callq 0x1b41f9e
movl 0x8(%r14), %eax
cmpq %rbx, %rax
je 0x1d6189e
shlq ... | /llvm/ADT/SmallVector.h |
(anonymous namespace)::SpillCosts::~SpillCosts() | void apply(PBQPRAGraph &G) override {
LiveIntervals &LIS = G.getMetadata().LIS;
// A minimum spill costs, so that register constraints can be set
// without normalization in the [0.0:MinSpillCost( interval.
const PBQP::PBQPNum MinSpillCost = 10.0;
for (auto NId : G.nodeIds()) {
PBQP::PBQPNum... | movl $0x8, %esi
jmp 0x73a0e0
| /CodeGen/RegAllocPBQP.cpp |
(anonymous namespace)::SpillCosts::apply(llvm::PBQP::RegAlloc::PBQPRAGraph&) | void apply(PBQPRAGraph &G) override {
LiveIntervals &LIS = G.getMetadata().LIS;
// A minimum spill costs, so that register constraints can be set
// without normalization in the [0.0:MinSpillCost( interval.
const PBQP::PBQPNum MinSpillCost = 10.0;
for (auto NId : G.nodeIds()) {
PBQP::PBQPNum... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %rbx
movq 0x8(%rsi), %rax
movq %rax, 0x28(%rsp)
leaq 0x58(%rsp), %r12
movl $0x0, (%r12)
movq 0x88(%rsi), %rax
subq 0x80(%rsi), %rax
shrq $0x3, %rax
imull $0xba2e8ba3, %eax, %eax # imm = 0xBA2E8BA3
movl %eax, 0x4(%r12)
leaq 0x9... | /CodeGen/RegAllocPBQP.cpp |
void llvm::PBQP::Graph<llvm::PBQP::RegAlloc::RegAllocSolverImpl>::setNodeCosts<llvm::PBQP::Vector>(unsigned int, llvm::PBQP::Vector) | void setNodeCosts(NodeId NId, OtherVectorT Costs) {
VectorPtr AllocatedCosts = CostAlloc.getVector(std::move(Costs));
if (Solver)
Solver->handleSetNodeCosts(NId, *AllocatedCosts);
getNode(NId).Costs = AllocatedCosts;
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x48(%rdi), %rsi
movl (%rdx), %eax
movq %rsp, %r14
movl %eax, (%r14)
movq 0x8(%rdx), %rax
movq %rax, 0x8(%r14)
movq $0x0, 0x8(%rdx)
movl $0x0, (%rdx)
leaq 0x10(%rsp), %rdi
movq %r14, %rdx
callq 0x1d64082
movq 0x8(%r14), %rdi
testq %r... | /llvm/CodeGen/PBQP/Graph.h |
unsigned int llvm::PBQP::ValuePool<llvm::PBQP::Vector>::PoolEntryDSInfo::getHashValue<llvm::PBQP::Vector>(llvm::PBQP::Vector const&) | static unsigned getHashValue(const ValueKeyT &C) {
return hash_value(C);
} | pushq %rbx
subq $0x90, %rsp
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movl (%rbx), %eax
leaq (%rdi,%rax,4), %rsi
callq 0x946472
leaq 0x8(%rsp), %r9
movq %rax, (%r9)
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, 0x20(%rcx)
movaps %xmm0, 0x10(%rcx)
movaps %xmm0, (%rcx)
movaps %xmm0, -0x10(%rcx)
movaps %xmm0, -0x20(%r... | /llvm/CodeGen/PBQP/CostAllocator.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::PBQP::ValuePool<llvm::PBQP::Vector>::PoolEntry*, llvm::detail::DenseSetEmpty, llvm::PBQP::ValuePool<llvm::PBQP::Vector>::PoolEntryDSInfo, llvm::detail::DenseSetPair<llvm::PBQP::ValuePool<llvm::PBQP::Vector>::PoolEntry*>>, llvm::PBQP::ValuePool<llvm::PBQP::Vector>::PoolEntry*, llv... | 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 %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq $0x0, 0x8(%rdi)
movl 0x10(%rdi), %edx
testq %rdx, %rdx
je 0x1d6476d
movq (%r15), %rdi
shlq $0x3, %rdx
xorl %esi, %esi
callq 0x73a260
cmpq %rbx, %r14
je 0x1d647a0
movq %rsp, %r12
cmpq $0x2, (%r14)
jb 0x1d64797
mov... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::Interference::apply(llvm::PBQP::RegAlloc::PBQPRAGraph&) | void apply(PBQPRAGraph &G) override {
// The following is loosely based on the linear scan algorithm introduced in
// "Linear Scan Register Allocation" by Poletto and Sarkar. This version
// isn't linear, because the size of the active set isn't bound by the
// number of registers, but rather the size o... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rsi, %r13
movq 0x8(%rsi), %r14
xorl %r15d, %r15d
movl %r15d, 0x120(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x110(%rsp)
movl %r15d, 0x100(%rsp)
movaps %xmm0, 0xf0(%rsp)
movl %r15d, 0x80(%rsp)
movaps %xmm0, 0... | /CodeGen/RegAllocPBQP.cpp |
(anonymous namespace)::Coalescing::apply(llvm::PBQP::RegAlloc::PBQPRAGraph&) | void apply(PBQPRAGraph &G) override {
MachineFunction &MF = G.getMetadata().MF;
MachineBlockFrequencyInfo &MBFI = G.getMetadata().MBFI;
CoalescerPair CP(*MF.getSubtarget().getRegisterInfo());
// Scan the machine function and add a coalescing cost whenever CoalescerPair
// gives the Ok.
for (con... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %r13
movq (%rsi), %rbx
movq 0x10(%rsi), %rax
movq %rax, 0xa0(%rsp)
movq 0x10(%rbx), %rdi
movq (%rdi), %rax
callq *0xc8(%rax)
movq %rax, 0xb0(%rsp)
movq $0x0, 0xd0(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0xb8(%rsp)
movl $0x0, 0x... | /CodeGen/RegAllocPBQP.cpp |
void llvm::PBQP::applyR2<llvm::PBQP::Graph<llvm::PBQP::RegAlloc::RegAllocSolverImpl>>(llvm::PBQP::Graph<llvm::PBQP::RegAlloc::RegAllocSolverImpl>&, llvm::PBQP::Graph<llvm::PBQP::RegAlloc::RegAllocSolverImpl>::NodeId) | void applyR2(GraphT &G, typename GraphT::NodeId NId) {
using NodeId = typename GraphT::NodeId;
using EdgeId = typename GraphT::EdgeId;
using Vector = typename GraphT::Vector;
using Matrix = typename GraphT::Matrix;
using RawMatrix = typename GraphT::RawMatrix;
assert(G.getNodeDegree(NId) == 2 &... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdi, %r15
movl %esi, %eax
imulq $0x58, %rax, %rax
movq 0x80(%rdi), %rcx
movq 0xb0(%rdi), %rdx
movq 0x40(%rcx,%rax), %rdi
movl (%rdi), %r8d
movl 0x4(%rdi), %edi
movq %r8, 0x70(%rsp)
leaq (%r8,%r8,2), %r8
shlq $0x4, %r8
leaq (%rdx,%r... | /llvm/CodeGen/PBQP/ReductionRules.h |
llvm::cl::opt<llvm::RegAllocPriorityAdvisorAnalysis::AdvisorMode, false, llvm::cl::parser<llvm::RegAllocPriorityAdvisorAnalysis::AdvisorMode>>::opt<char [33], llvm::cl::OptionHidden, llvm::cl::initializer<llvm::RegAllocPriorityAdvisorAnalysis::AdvisorMode>, llvm::cl::desc, llvm::cl::ValuesClass>(char const (&) [33], ll... | explicit opt(const Mods &... Ms)
: Option(llvm::cl::Optional, NotHidden), Parser(*this) {
apply(this, Ms...);
done();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rbx
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r14
xorl %esi, %esi
xorl %edx, %edx
callq 0x7bfb0c
movl $0x0, 0x80(%r14)
movq $0x0, 0x90(%r14)
leaq 0x39fa6bb(%rip), %rax # 0x57639d8
addq $0x10, %rax
... | /llvm/Support/CommandLine.h |
llvm::RegisterClassInfo::RegisterClassInfo() | RegisterClassInfo::RegisterClassInfo() = default; | xorl %eax, %eax
movq %rax, (%rdi)
movl %eax, 0x8(%rdi)
leaq 0x38(%rdi), %rcx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movq %rcx, 0x20(%rdi)
movq %rax, 0x28(%rdi)
movq $0x10, 0x30(%rdi)
leaq 0x70(%rdi), %rcx
movq %rcx, 0x58(%rdi)
movq %rax, 0x60(%rdi)
movq $0x14, 0x68(%rdi)
leaq 0xa8(%rdi), %rcx
movq %rcx, 0x98(%rdi)... | /CodeGen/RegisterClassInfo.cpp |
(anonymous namespace)::RegisterCoalescer::removeCopyByCommutingDef(llvm::CoalescerPair const&, llvm::MachineInstr*) | std::pair<bool,bool>
RegisterCoalescer::removeCopyByCommutingDef(const CoalescerPair &CP,
MachineInstr *CopyMI) {
assert(!CP.isPhys());
LiveInterval &IntA =
LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg());
LiveInterval &IntB =
LIS->getInt... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rdx, %rbp
movq %rsi, %rbx
movq %rdi, %r13
movq %rdi, 0x10(%rsp)
movq 0x60(%rdi), %rdi
leaq 0x8(%rsi), %r15
leaq 0xc(%rsi), %r12
cmpb $0x0, 0x1a(%rsi)
movq %r12, %rax
cmovneq %r15, %rax
movl (%rax), %esi
callq 0x944b70
movq %rax, %r... | /CodeGen/RegisterCoalescer.cpp |
(anonymous namespace)::JoinVals::eraseInstrs(llvm::SmallPtrSetImpl<llvm::MachineInstr*>&, llvm::SmallVectorImpl<llvm::Register>&, llvm::LiveInterval*) | void JoinVals::eraseInstrs(SmallPtrSetImpl<MachineInstr*> &ErasedInstrs,
SmallVectorImpl<Register> &ShrinkRegs,
LiveInterval *LI) {
for (unsigned i = 0, e = LR.getNumValNums(); i != e; ++i) {
// Get the def location before markUnused() below invalidates it.
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, 0x28(%rsp)
movq (%rdi), %rax
movl 0x48(%rax), %eax
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x1d72ce9
movq %rcx, %rbx
movq %rdx, %r15
movq %rdi, %r12
xorl %r13d, %r13d
movq %rcx, 0x8(%rsp)
movq %rdx, 0x20(%rsp)
movq (%r12), %... | /CodeGen/RegisterCoalescer.cpp |
llvm::IntervalMap<llvm::SlotIndex, unsigned int, 9u, llvm::IntervalMapInfo<llvm::SlotIndex>>::const_iterator::find(llvm::SlotIndex) | void find(KeyT x) {
if (branched())
treeFind(x);
else
setRoot(map->rootLeaf().findFrom(0, map->rootSize, x));
} | movq %rsi, %rax
movq (%rdi), %rsi
cmpl $0x0, 0xb8(%rsi)
je 0x1d9b5d7
movq %rax, %rsi
jmp 0x1d9ffec
movl 0xbc(%rsi), %ecx
xorl %edx, %edx
testq %rcx, %rcx
je 0x1d9b622
movq %rax, %r8
andq $-0x8, %r8
shrl %eax
andl $0x3, %eax
orl 0x18(%r8), %eax
leaq 0x8(%rsi), %r8
movq (%r8), %r9
movq %r9, %r10
andq $-0x8, %r10
shrl %r9... | /llvm/ADT/IntervalMap.h |
llvm::IntervalMapImpl::LeafNode<llvm::SlotIndex, unsigned int, 9u, llvm::IntervalMapInfo<llvm::SlotIndex>>::safeLookup(llvm::SlotIndex, unsigned int) const | ValT safeLookup(KeyT x, ValT NotFound) const {
unsigned i = safeFind(0, x);
return Traits::startLess(x, start(i)) ? NotFound : value(i);
} | movl %edx, %eax
movq %rsi, %rcx
andq $-0x8, %rcx
shrl %esi
andl $0x3, %esi
orl 0x18(%rcx), %esi
xorl %edx, %edx
movl %edx, %ecx
movq %rcx, %r8
shlq $0x4, %r8
movq 0x8(%rdi,%r8), %r9
movq %r9, %r10
andq $-0x8, %r10
shrl %r9d
andl $0x3, %r9d
orl 0x18(%r10), %r9d
incl %edx
cmpl %esi, %r9d
jbe 0x1da0a7b
movq (%rdi,%r8), %r... | /llvm/ADT/IntervalMap.h |
(anonymous namespace)::TwoAddressInstructionImpl::tryInstructionTransform(llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&, unsigned int, unsigned int, unsigned int&, bool) | bool TwoAddressInstructionImpl::tryInstructionTransform(
MachineBasicBlock::iterator &mi, MachineBasicBlock::iterator &nmi,
unsigned SrcIdx, unsigned DstIdx, unsigned &Dist, bool shouldOnlyCommute) {
if (OptLevel == CodeGenOptLevel::None)
return false;
MachineInstr &MI = *mi;
Register regA = MI.getOp... | cmpl $0x0, 0x40(%rdi)
je 0x1dccaaf
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movl %ecx, %ebp
movq %rdx, 0x100(%rsp)
movq %r9, 0xe0(%rsp)
movq %rsi, %r12
movq (%rsi), %r14
movq 0x20(%r14), %rax
movl %r8d, %ebx
shlq $0x5, %rbx
movl 0x4(%rax,%rbx), %r15d
m... | /CodeGen/TwoAddressInstructionPass.cpp |
llvm::DenseMapBase<llvm::SmallDenseMap<unsigned int, llvm::SmallVector<std::pair<unsigned int, unsigned int>, 4u>, 4u, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::SmallVector<std::pair<unsigned int, unsigned int>, 4u>>>, unsigned int, llvm::SmallVector<std::pair<unsigned int, ... | 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
leaq 0x8(%rdi), %rcx
andl $0x1, (%rdi)
movl $0x0, 0x4(%rdi)
cmoveq 0x8(%rdi), %rcx
movl $0x4, %eax
cmovel 0x10(%rdi), %eax
testl %eax, %eax
je 0x1dceebb
movl %eax, %eax
imulq $0x38, %rax, %rax
addq $-... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::TwoAddressInstructionImpl::regsAreCompatible(llvm::Register, llvm::Register) const | bool TwoAddressInstructionImpl::regsAreCompatible(Register RegA,
Register RegB) const {
if (RegA == RegB)
return true;
if (!RegA || !RegB)
return false;
return TRI->regsOverlap(RegA, RegB);
} | movb $0x1, %al
cmpl %edx, %esi
je 0x1dcef74
testl %esi, %esi
sete %al
testl %edx, %edx
sete %cl
orb %al, %cl
jne 0x1dcef72
leal -0x1(%rsi), %eax
movl $0x3fffffff, %ecx # imm = 0x3FFFFFFF
cmpl %ecx, %eax
setae %al
leal -0x1(%rdx), %r8d
cmpl %ecx, %r8d
setae %cl
orb %al, %cl
jne 0x1dcef72
addq $0x8, %rdi
jmp 0x17d1... | /CodeGen/TwoAddressInstructionPass.cpp |
llvm::SmallVectorTemplateBase<TransferTracker::Transfer, 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 $0x60, %ecx
movq %r15, %rsi
movq %r12, %r8
callq 0x1b41e54
movq %rax, %r14
movq %rbx, %rdi
movq %rax, %rsi
callq 0x1e00560
movq (%r12), %r12
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x1e0054c
ca... | /llvm/ADT/SmallVector.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.