name
string
code
string
asm
string
file
string
llvm::AArch64InstPrinter::printAddSubImm(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&)
void AArch64InstPrinter::printAddSubImm(const MCInst *MI, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) { const MCOperand &MO = MI->getOperand(OpNum); if (MO.isImm()) { unsigned Val = (MO.getImm() & 0xfff); assert(...
subq $0x98, %rsp movq %rdi, 0x90(%rsp) movq %rsi, 0x88(%rsp) movl %edx, 0x84(%rsp) movq %rcx, 0x78(%rsp) movq %r8, 0x70(%rsp) movq 0x90(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x88(%rsp), %rdi movl 0x84(%rsp), %esi callq 0x47b650 movq %rax, 0x68(%rsp) movq 0x68(%rsp), %rdi callq 0x47b5d0 testb $0x1, %al jne 0x252a221 jm...
/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
bool llvm::DenseMapBase<llvm::DenseMap<llvm::MCSymbol*, unsigned int, llvm::DenseMapInfo<llvm::MCSymbol*, void>, llvm::detail::DenseMapPair<llvm::MCSymbol*, unsigned int>>, llvm::MCSymbol*, unsigned int, llvm::DenseMapInfo<llvm::MCSymbol*, void>, llvm::detail::DenseMapPair<llvm::MCSymbol*, unsigned int>>::LookupBucketF...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movq 0x68(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x255cf40 movq 0x18(%rsp), %rdi movq %rax, 0x50(%rsp) callq 0x255cf50 movl %eax, 0x4c(%rsp) cmpl $0x0, 0x4c(%rsp) jne 0x255cdf2 movq 0x58(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x77(%rs...
/llvm/ADT/DenseMap.h
llvm::AMDGPUInstPrinter::printImmediate32(unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&)
void AMDGPUInstPrinter::printImmediate32(uint32_t Imm, const MCSubtargetInfo &STI, raw_ostream &O) { int32_t SImm = static_cast<int32_t>(Imm); if (isInlinableIntLiteral(SImm)) { O << SImm; return; } if (printImmediateFloa...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movl %esi, 0x4c(%rsp) movq %rdx, 0x40(%rsp) movq %rcx, 0x38(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x10(%rsp) movl 0x4c(%rsp), %eax movl %eax, 0x34(%rsp) movslq 0x34(%rsp), %rdi callq 0x53ee00 testb $0x1, %al jne 0x25c28f9 jmp 0x25c2909 movq 0x38(%rsp), %rdi movl 0x34(%rsp), %esi ...
/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
llvm::ARMInstPrinter::printOperand(llvm::MCInst const*, unsigned long, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&)
void ARMInstPrinter::printOperand(const MCInst *MI, uint64_t Address, unsigned OpNum, const MCSubtargetInfo &STI, raw_ostream &O) { const MCOperand &Op = MI->getOperand(OpNum); if (!Op.isImm() || !PrintBranchImmAsAddress || getUseMarkup()) retu...
subq $0xa8, %rsp movq %rdi, 0xa0(%rsp) movq %rsi, 0x98(%rsp) movq %rdx, 0x90(%rsp) movl %ecx, 0x8c(%rsp) movq %r8, 0x80(%rsp) movq %r9, 0x78(%rsp) movq 0xa0(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x98(%rsp), %rdi movl 0x8c(%rsp), %esi callq 0x47b650 movq %rax, 0x70(%rsp) movq 0x70(%rsp), %rdi callq 0x47b5d0 testb $0x1,...
/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
llvm::ARMInstPrinter::applyTargetSpecificCLOption(llvm::StringRef)
bool ARMInstPrinter::applyTargetSpecificCLOption(StringRef Opt) { if (Opt == "reg-names-std") { DefaultAltIdx = ARM::NoRegAltName; return true; } if (Opt == "reg-names-raw") { DefaultAltIdx = ARM::RegNamesRaw; return true; } return false; }
subq $0x68, %rsp movq %rsi, 0x50(%rsp) movq %rdx, 0x58(%rsp) movq %rdi, 0x48(%rsp) movq 0x48(%rsp), %rax movq %rax, (%rsp) movq 0x50(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x58(%rsp), %rax movq %rax, 0x40(%rsp) leaq 0x28(%rsp), %rdi leaq 0x50cf8dc(%rip), %rsi # 0x7761f68 callq 0x3ee9c0 movq 0x38(%rsp), %rdi movq 0x40...
/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
llvm::ARMInstPrinter::printInst(llvm::MCInst const*, unsigned long, llvm::StringRef, llvm::MCSubtargetInfo const&, llvm::raw_ostream&)
void ARMInstPrinter::printInst(const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &O) { unsigned Opcode = MI->getOpcode(); switch (Opcode) { case ARM::VLLDM: { const MCOperand &Reg = MI->getOperand(0); ...
subq $0x398, %rsp # imm = 0x398 movq 0x3a0(%rsp), %rax movq %rcx, 0x388(%rsp) movq %r8, 0x390(%rsp) movq %rdi, 0x380(%rsp) movq %rsi, 0x378(%rsp) movq %rdx, 0x370(%rsp) movq %r9, 0x368(%rsp) movq 0x380(%rsp), %rax movq %rax, 0xb0(%rsp) movq 0x378(%rsp), %rdi callq 0x47b1b0 movl %eax, 0x364(%rsp) movl 0x364(%...
/Target/ARM/MCTargetDesc/ARMInstPrinter.cpp
llvm::ARM_MB::MemBOptToString(unsigned int, bool)
inline static const char *MemBOptToString(unsigned val, bool HasV8) { switch (val) { default: llvm_unreachable("Unknown memory operation"); case SY: return "sy"; case ST: return "st"; case LD: return HasV8 ? "ld" : "#0xd"; case RESERVED_12: return "#0xc"; case ISH: return "ish"; ...
movb %sil, %al movl %edi, -0xc(%rsp) andb $0x1, %al movb %al, -0xd(%rsp) movl -0xc(%rsp), %eax movq %rax, -0x18(%rsp) movq -0x18(%rsp), %rax leaq 0x50c326a(%rip), %rcx # 0x775793c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x5c531c0(%rip), %rax # 0x82e78a2 movq %rax, -0x8(%rsp) jmp 0x269481c leaq 0x...
/Target/ARM/MCTargetDesc/ARMBaseInfo.h
llvm::DenseMap<llvm::MCSection const*, std::unique_ptr<(anonymous namespace)::ARMELFStreamer::ElfMappingSymbolInfo, std::default_delete<(anonymous namespace)::ARMELFStreamer::ElfMappingSymbolInfo>>, llvm::DenseMapInfo<llvm::MCSection const*, void>, llvm::detail::DenseMapPair<llvm::MCSection const*, std::unique_ptr<(ano...
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...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movl 0x10(%rax), %ecx movl %ecx, 0x18(%rsp) movq (%rax), %rax movq %rax, 0x10(%rsp) movl $0x40, 0xc(%rsp) movl 0x1c(%rsp), %eax subl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x8(%rsp) leaq 0x...
/llvm/ADT/DenseMap.h
llvm::ARMELFMCAsmInfo::ARMELFMCAsmInfo(llvm::Triple const&)
ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) { if ((TheTriple.getArch() == Triple::armeb) || (TheTriple.getArch() == Triple::thumbeb)) IsLittleEndian = false; // ".comm align is in bytes but .align is pow-2." AlignmentIsInBytes = false; Data64bitsDirective = nullptr; CommentString = "...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq 0x20(%rsp), %rdi movq %rdi, (%rsp) callq 0x392a020 movq (%rsp), %rax leaq 0x6fb9ba1(%rip), %rcx # 0x966d988 addq $0x10, %rcx movq %rcx, (%rax) movq 0x18(%rsp), %rdi callq 0x4093d0 cmpl $0x2, %eax je 0x26b3e0c movq 0x18(%rsp), %rdi callq 0x4093d0 cmpl $...
/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
unsigned int (anonymous namespace)::ARMMCCodeEmitter::getT2ScaledImmOpValue<7u, 1u>(llvm::MCInst const&, unsigned int, llvm::SmallVectorImpl<llvm::MCFixup>&, llvm::MCSubtargetInfo const&) const
uint32_t ARMMCCodeEmitter:: getT2ScaledImmOpValue(const MCInst &MI, unsigned OpIdx, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const { // FIXME: The immediate operand should have already been encoded like this // before ever getting here. The encoder me...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movl %edx, 0x24(%rsp) movq %rcx, 0x18(%rsp) movq %r8, 0x10(%rsp) movq 0x28(%rsp), %rdi movl 0x24(%rsp), %esi callq 0x47b650 movq %rax, %rdi callq 0x47b5f0 movl %eax, 0xc(%rsp) cmpl $0x0, 0xc(%rsp) setge %al andb $0x1, %al movb %al, 0xb(%rsp) cmpl $0x0, 0xc(%r...
/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
(anonymous namespace)::ARMMCCodeEmitter::getShiftOp(llvm::ARM_AM::ShiftOpc) const
unsigned getShiftOp(ARM_AM::ShiftOpc ShOpc) const { switch (ShOpc) { case ARM_AM::no_shift: case ARM_AM::lsl: return 0; case ARM_AM::lsr: return 1; case ARM_AM::asr: return 2; case ARM_AM::ror: case ARM_AM::rrx: return 3; default: llvm_unreachable("Invalid ShiftOpc!"); } }
movq %rdi, -0x10(%rsp) movl %esi, -0x14(%rsp) movl -0x14(%rsp), %eax movq %rax, -0x20(%rsp) movq -0x20(%rsp), %rax leaq 0x510866e(%rip), %rcx # 0x77fd7ec movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movl $0x0, -0x4(%rsp) jmp 0x26f51af movl $0x1, -0x4(%rsp) jmp 0x26f51af movl $0x2, -0x4(%rsp) jmp 0x26f51af mo...
/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
llvm::AVRMCCodeEmitter::getExprOpValue(llvm::MCExpr const*, llvm::SmallVectorImpl<llvm::MCFixup>&, llvm::MCSubtargetInfo const&) const
unsigned AVRMCCodeEmitter::getExprOpValue(const MCExpr *Expr, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const { MCExpr::ExprKind Kind = Expr->getKind(); if (Kind == MCExpr::Binary) { Expr = static_cast<cons...
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movq %rsi, 0x80(%rsp) movq %rdx, 0x78(%rsp) movq %rcx, 0x70(%rsp) movq 0x80(%rsp), %rdi callq 0x41dbe0 movb %al, 0x6f(%rsp) movzbl 0x6f(%rsp), %eax cmpl $0x0, %eax jne 0x26fc362 movq 0x80(%rsp), %rdi callq 0x601dd0 movq %rax, 0x80(%rsp) movq 0x80(%rsp), %rdi callq 0x41dbe0 movb %a...
/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
unsigned int llvm::AVRMCCodeEmitter::encodeImm<(llvm::AVR::Fixups)160, 0u>(llvm::MCInst const&, unsigned int, llvm::SmallVectorImpl<llvm::MCFixup>&, llvm::MCSubtargetInfo const&) const
unsigned AVRMCCodeEmitter::encodeImm(const MCInst &MI, unsigned OpNo, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const { auto MO = MI.getOperand(OpNo); if (MO.isExpr()) { if (isa<AVRMCExpr>(MO.getExpr())) { // If...
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movq %rsi, 0x80(%rsp) movl %edx, 0x7c(%rsp) movq %rcx, 0x70(%rsp) movq %r8, 0x68(%rsp) movq 0x88(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x80(%rsp), %rdi movl 0x7c(%rsp), %esi callq 0x47b650 movq (%rax), %rcx movq %rcx, 0x58(%rsp) movq 0x8(%rax), %rax movq %rax, 0x60(%rsp) leaq 0x5...
/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
llvm::HexagonMCInstrInfo::hasTmpDst(llvm::MCInstrInfo const&, llvm::MCInst const&)
bool HexagonMCInstrInfo::hasTmpDst(MCInstrInfo const &MCII, MCInst const &MCI) { switch (MCI.getOpcode()) { default: return false; case Hexagon::V6_vgathermh: case Hexagon::V6_vgathermhq: case Hexagon::V6_vgathermhw: case Hexagon::V6_vgathermhwq: case Hexagon::V6_vgathermw: case Hexagon::V6_vgatherm...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq %rsi, (%rsp) movq (%rsp), %rdi callq 0x47b1b0 addl $0xfffff489, %eax # imm = 0xFFFFF489 subl $0x6, %eax jb 0x2723079 jmp 0x2723072 movb $0x0, 0x17(%rsp) jmp 0x272307e movb $0x1, 0x17(%rsp) movb 0x17(%rsp), %al andb $0x1, %al addq $0x18, %rsp retq nopl (%rax)
/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
void llvm::SmallVectorTemplateBase<llvm::DuplexCandidate, true>::uninitialized_copy<llvm::DuplexCandidate const, llvm::DuplexCandidate>(llvm::DuplexCandidate const*, llvm::DuplexCandidate const*, llvm::DuplexCandidate*, std::enable_if<std::is_same<std::remove_const<llvm::DuplexCandidate const>::type, llvm::DuplexCandid...
static void uninitialized_copy( T1 *I, T1 *E, T2 *Dest, std::enable_if_t<std::is_same<std::remove_const_t<T1>, T2>::value> * = nullptr) { // Use memcpy for PODs iterated by pointers (which includes SmallVector // iterators): std::uninitialized_copy optimizes to memmove, but we can // u...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq 0x20(%rsp), %rax cmpq 0x18(%rsp), %rax je 0x2724e2e movq 0x10(%rsp), %rdi movq 0x20(%rsp), %rsi movq 0x18(%rsp), %rax movq 0x20(%rsp), %rcx subq %rcx, %rax movl $0xc, %ecx cqto idivq %rcx imulq $0xc, %rax, %rdx ...
/llvm/ADT/SmallVector.h
(anonymous namespace)::HexagonAsmBackend::relaxInstruction(llvm::MCInst&, llvm::MCSubtargetInfo const&) const
void relaxInstruction(MCInst &Inst, const MCSubtargetInfo &STI) const override { assert(HexagonMCInstrInfo::isBundle(Inst) && "Hexagon relaxInstruction only works on bundles"); MCInst Res; Res.setOpcode(Hexagon::BUNDLE); Res.addOperand(MCOperand::createImm(Inst.getOpe...
subq $0x1a8, %rsp # imm = 0x1A8 movq %rdi, 0x1a0(%rsp) movq %rsi, 0x198(%rsp) movq %rdx, 0x190(%rsp) movq 0x1a0(%rsp), %rax movq %rax, 0x10(%rsp) leaq 0x110(%rsp), %rdi callq 0x43f950 leaq 0x110(%rsp), %rdi movl $0x14, %esi callq 0x43f990 movq 0x198(%rsp), %rdi xorl %esi, %esi callq 0x4776d0 movq %rax, %rdi ...
/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
llvm::DenseMapBase<llvm::DenseMap<llvm::MCSection*, llvm::MCSymbolRefExpr const*, llvm::DenseMapInfo<llvm::MCSection*, void>, llvm::detail::DenseMapPair<llvm::MCSection*, llvm::MCSymbolRefExpr const*>>, llvm::MCSection*, llvm::MCSymbolRefExpr const*, llvm::DenseMapInfo<llvm::MCSection*, void>, llvm::detail::DenseMapPai...
unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { // Ensure that "NumEntries * 4 < NumBuckets * 3" if (NumEntries == 0) return 0; // +1 is required because of the strict equality. // For example if NumEntries is 48, we need to return 401. return NextPowerOf2(NumEntries * 4 / 3 + ...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movl %esi, 0x4(%rsp) cmpl $0x0, 0x4(%rsp) jne 0x277d78e movl $0x0, 0x14(%rsp) jmp 0x277d7ae movl 0x4(%rsp), %eax shll $0x2, %eax movl $0x3, %ecx xorl %edx, %edx divl %ecx addl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x14(%rsp) movl 0x14(%rsp), %eax addq...
/llvm/ADT/DenseMap.h
getMatchingLoType(llvm::ELFRelocationEntry const&)
static unsigned getMatchingLoType(const ELFRelocationEntry &Reloc) { unsigned Type = Reloc.Type; if (Type == ELF::R_MIPS_HI16) return ELF::R_MIPS_LO16; if (Type == ELF::R_MICROMIPS_HI16) return ELF::R_MICROMIPS_LO16; if (Type == ELF::R_MIPS16_HI16) return ELF::R_MIPS16_LO16; if (Reloc.OriginalSym...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq 0x8(%rsp), %rax movl 0x10(%rax), %eax movl %eax, 0x4(%rsp) cmpl $0x5, 0x4(%rsp) jne 0x279cb29 movl $0x6, 0x14(%rsp) jmp 0x279cbb5 cmpl $0x86, 0x4(%rsp) jne 0x279cb3d movl $0x87, 0x14(%rsp) jmp 0x279cbb5 cmpl $0x68, 0x4(%rsp) jne 0x279cb4e movl $0x69, 0x14(%rsp) jmp 0x279cbb5 m...
/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
llvm::RISCVAsmBackend::getRelaxedOpcode(unsigned int) const
unsigned RISCVAsmBackend::getRelaxedOpcode(unsigned Op) const { switch (Op) { default: return Op; case RISCV::C_BEQZ: return RISCV::BEQ; case RISCV::C_BNEZ: return RISCV::BNE; case RISCV::C_J: case RISCV::C_JAL: // fall through. return RISCV::JAL; case RISCV::BEQ: return RISCV::PseudoL...
movq %rdi, -0x10(%rsp) movl %esi, -0x14(%rsp) movl -0x14(%rsp), %eax movl %eax, -0x18(%rsp) subl $0x2f41, %eax # imm = 0x2F41 je 0x288a481 jmp 0x288a3de movl -0x18(%rsp), %eax subl $0x2f44, %eax # imm = 0x2F44 je 0x288a49f jmp 0x288a3ef movl -0x18(%rsp), %eax subl $0x2f45, %eax # imm = 0x2...
/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
void llvm::SystemZInstPrinter::printSImmOperand<32u>(llvm::MCInst const*, int, llvm::raw_ostream&)
void SystemZInstPrinter::printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) { const MCOperand &MO = MI->getOperand(OpNum); if (MO.isExpr()) { O << *MO.getExpr(); return; } int64_t Value = MI->getOperand(OpNum).getImm(); assert(isInt<N>(Value) && "In...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movl %edx, 0x44(%rsp) movq %rcx, 0x38(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x10(%rsp) movq 0x48(%rsp), %rdi movl 0x44(%rsp), %esi callq 0x47b650 movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rdi callq 0x47b600 testb $0x1, %al jne 0x28aceb4 jmp 0x28aced7 movq 0x38...
/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
(anonymous namespace)::VEMCCodeEmitter::getBranchTargetOpValue(llvm::MCInst const&, unsigned int, llvm::SmallVectorImpl<llvm::MCFixup>&, llvm::MCSubtargetInfo const&) const
uint64_t VEMCCodeEmitter::getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const { const MCOperand &MO = MI.getOperand(OpNo); if (MO.isReg() || MO.isImm()) return ...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movl %edx, 0x5c(%rsp) movq %rcx, 0x50(%rsp) movq %r8, 0x48(%rsp) movq 0x68(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x60(%rsp), %rdi movl 0x5c(%rsp), %esi callq 0x47b650 movq %rax, 0x40(%rsp) movq 0x40(%rsp), %rdi callq 0x47b370 testb $0x1, %al jne 0x28e27c7 mo...
/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
llvm::X86InstPrinterCommon::printSSEAVXCC(llvm::MCInst const*, unsigned int, llvm::raw_ostream&)
void X86InstPrinterCommon::printSSEAVXCC(const MCInst *MI, unsigned Op, raw_ostream &O) { int64_t Imm = MI->getOperand(Op).getImm(); switch (Imm) { default: llvm_unreachable("Invalid ssecc/avxcc argument!"); case 0: O << "eq"; break; case 1: O << "lt"; break; c...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movl %edx, 0x24(%rsp) movq %rcx, 0x18(%rsp) movq 0x28(%rsp), %rdi movl 0x24(%rsp), %esi callq 0x47b650 movq %rax, %rdi callq 0x47b5f0 movq %rax, 0x10(%rsp) movq 0x10(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x8(%rsp), %rax leaq 0x547c924(%rip), %rcx # 0x7d79b7...
/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
llvm::X86::optimizeINCDEC(llvm::MCInst&, bool)
bool X86::optimizeINCDEC(MCInst &MI, bool In64BitMode) { if (In64BitMode) return false; unsigned NewOpc; // If we aren't in 64-bit mode we can use the 1-byte inc/dec instructions. #define FROM_TO(FROM, TO) \ case X86::FROM: ...
subq $0x28, %rsp movb %sil, %al movq %rdi, 0x18(%rsp) andb $0x1, %al movb %al, 0x17(%rsp) testb $0x1, 0x17(%rsp) je 0x28ffab3 movb $0x0, 0x27(%rsp) jmp 0x28ffb33 movq 0x18(%rsp), %rdi callq 0x47b1b0 movl %eax, %ecx movl %ecx, 0xc(%rsp) subl $0x5b3, %eax # imm = 0x5B3 je 0x28ffafa jmp 0x28ffacc movl 0xc(%rsp)...
/Target/X86/MCTargetDesc/X86EncodingOptimization.cpp
llvm::X86::getSegmentOverridePrefixForReg(unsigned int)
inline EncodingOfSegmentOverridePrefix getSegmentOverridePrefixForReg(unsigned Reg) { switch (Reg) { default: llvm_unreachable("Unknown segment register!"); case X86::CS: return CS_Encoding; case X86::DS: return DS_Encoding; case X86::ES: return ES_Encoding; case X86::FS: return FS_Encod...
movl %edi, -0x8(%rsp) movl -0x8(%rsp), %eax addl $-0xc, %eax movq %rax, -0x10(%rsp) movq -0x10(%rsp), %rax leaq 0x560bacc(%rip), %rcx # 0x7f22ff8 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movb $0x2e, -0x1(%rsp) jmp 0x291755d movb $0x3e, -0x1(%rsp) jmp 0x291755d movb $0x26, -0x1(%rsp) jmp 0x291755d movb $0...
/Target/X86/MCTargetDesc/X86BaseInfo.h
(anonymous namespace)::DarwinX86AsmBackend::encodeCompactUnwindRegistersWithoutFrame(unsigned int) const
uint32_t encodeCompactUnwindRegistersWithoutFrame(unsigned RegCount) const { // The saved registers are numbered from 1 to 6. In order to encode the // order in which they were saved, we re-number them according to their // place in the register order. The re-numbering is relative to the last // re-numb...
subq $0x58, %rsp movq %rdi, 0x48(%rsp) movl %esi, 0x44(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x8(%rsp) movl $0x0, 0x40(%rsp) movl 0x40(%rsp), %eax cmpl 0x44(%rsp), %eax jae 0x29288d7 movq 0x8(%rsp), %rdi movl 0x40(%rsp), %eax movl 0xd8(%rdi,%rax,4), %esi callq 0x2928a90 movl %eax, 0x3c(%rsp) cmpl $-0x1, 0x3c(%rsp) jne...
/Target/X86/MCTargetDesc/X86AsmBackend.cpp
llvm::AArch64Disassembler::getInstruction(llvm::MCInst&, unsigned long&, llvm::ArrayRef<unsigned char>, unsigned long, llvm::raw_ostream&) const
DecodeStatus AArch64Disassembler::getInstruction(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CS) const { CommentStream = &CS; Si...
subq $0x188, %rsp # imm = 0x188 movq 0x190(%rsp), %rax movq %rcx, 0x170(%rsp) movq %r8, 0x178(%rsp) movq %rdi, 0x168(%rsp) movq %rsi, 0x160(%rsp) movq %rdx, 0x158(%rsp) movq %r9, 0x150(%rsp) movq 0x168(%rsp), %rax movq %rax, 0x68(%rsp) movq 0x190(%rsp), %rcx movq %rcx, 0x20(%rax) movq 0x158(%rsp), %rax movq ...
/Target/AArch64/Disassembler/AArch64Disassembler.cpp
DecodeModImmTiedInstruction(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeModImmTiedInstruction(MCInst &Inst, uint32_t insn, uint64_t Addr, const MCDisassembler *Decoder) { unsigned Rd = fieldFromInstruction(insn, 0, 5); unsigned cmode = fieldFromInstruction(insn, 12,...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movl %esi, 0x5c(%rsp) movq %rdx, 0x50(%rsp) movq %rcx, 0x48(%rsp) leaq 0x5c(%rsp), %rdi xorl %esi, %esi movl $0x5, %edx callq 0x2931a70 movl %eax, 0x44(%rsp) leaq 0x5c(%rsp), %rdi movl $0xc, %esi movl $0x4, %edx callq 0x2931a70 movl %eax, 0x40(%rsp) leaq 0x5c(%rsp), %rdi movl $0x1...
/Target/AArch64/Disassembler/AArch64Disassembler.cpp
llvm::AArch64_AM::isValidDecodeLogicalImmediate(unsigned long, unsigned int)
static inline bool isValidDecodeLogicalImmediate(uint64_t val, unsigned regSize) { // Extract the N and imms fields needed for checking. unsigned N = (val >> 12) & 1; unsigned imms = val & 0x3f; if (regSize == 32 && N != 0) // undefined logical immediate encodin...
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movl %esi, 0x14(%rsp) movq 0x18(%rsp), %rax shrq $0xc, %rax andq $0x1, %rax movl %eax, 0x10(%rsp) movq 0x18(%rsp), %rax andq $0x3f, %rax movl %eax, 0xc(%rsp) cmpl $0x20, 0x14(%rsp) jne 0x297e850 cmpl $0x0, 0x10(%rsp) je 0x297e850 movb $0x0, 0x27(%rsp) jmp 0x297e8bc movl 0x10(%rsp)...
/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
(anonymous namespace)::ARMDisassembler::getThumbInstruction(llvm::MCInst&, unsigned long&, llvm::ArrayRef<unsigned char>, unsigned long, llvm::raw_ostream&) const
DecodeStatus ARMDisassembler::getThumbInstruction(MCInst &MI, uint64_t &Size, ArrayRef<uint8_t> Bytes, uint64_t Address, raw_ostream &CS) const { CommentStream = &CS; ...
subq $0x88, %rsp movq 0x90(%rsp), %rax movq %rcx, 0x70(%rsp) movq %r8, 0x78(%rsp) movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movq %r9, 0x50(%rsp) movq 0x68(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x90(%rsp), %rcx movq %rcx, 0x20(%rax) leaq 0x70(%rsp), %rdi callq 0x78c1c0 cmpq $0x2, %rax jae 0x2c918...
/Target/ARM/Disassembler/ARMDisassembler.cpp
DecodeLDRPreReg(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeLDRPreReg(MCInst &Inst, unsigned Insn, uint64_t Address, const MCDisassembler *Decoder) { DecodeStatus S = MCDisassembler::Success; unsigned Rn = fieldFromInstruction(Insn, 16, 4); unsigned Rt = fieldFromInstruction...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movl %esi, 0x34(%rsp) movq %rdx, 0x28(%rsp) movq %rcx, 0x20(%rsp) movl $0x3, 0x1c(%rsp) leaq 0x34(%rsp), %rdi movl $0x10, %esi movl $0x4, %edx callq 0x2c943d0 movl %eax, 0x18(%rsp) leaq 0x34(%rsp), %rdi movl $0xc, %esi movl $0x4, %edx callq 0x2c943d0 movl %eax, 0x14(%rsp) leaq 0x3...
/Target/ARM/Disassembler/ARMDisassembler.cpp
DecodeRegListOperand(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeRegListOperand(MCInst &Inst, unsigned Val, uint64_t Address, const MCDisassembler *Decoder) { DecodeStatus S = MCDisassembler::Success; bool NeedDisjointWriteback = false; unsigned WritebackReg = 0; bool...
subq $0x48, %rsp movq %rdi, 0x38(%rsp) movl %esi, 0x34(%rsp) movq %rdx, 0x28(%rsp) movq %rcx, 0x20(%rsp) movl $0x3, 0x1c(%rsp) movb $0x0, 0x1b(%rsp) movl $0x0, 0x14(%rsp) movb $0x0, 0x13(%rsp) movq 0x38(%rsp), %rdi callq 0x47b1b0 movl %eax, %ecx movl %ecx, 0x8(%rsp) subl $0x393, %eax # imm = 0x393 je 0x2ccfb...
/Target/ARM/Disassembler/ARMDisassembler.cpp
DecodeForVMRSandVMSR(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeForVMRSandVMSR(MCInst &Inst, unsigned Val, uint64_t Address, const MCDisassembler *Decoder) { const FeatureBitset &featureBits = ((const MCDisassembler *)Decoder)->getSubtargetInfo().getFeatureBits(); D...
subq $0xe8, %rsp movq %rdi, 0xd8(%rsp) movl %esi, 0xd4(%rsp) movq %rdx, 0xc8(%rsp) movq %rcx, 0xc0(%rsp) movq 0xc0(%rsp), %rdi callq 0x297e9c0 movq %rax, %rdi callq 0x3fd5d0 movq %rax, 0xb8(%rsp) movl $0x3, 0xb4(%rsp) movq 0xd8(%rsp), %rdi callq 0x47b1b0 movl %eax, %ecx movl %ecx, 0x40(%rsp) subl $0xbe3, %eax ...
/Target/ARM/Disassembler/ARMDisassembler.cpp
DecodeVLDInstruction(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeVLDInstruction(MCInst &Inst, unsigned Insn, uint64_t Address, const MCDisassembler *Decoder) { DecodeStatus S = MCDisassembler::Success; unsigned Rd = fieldFromInstruction(Insn, 12, 4); Rd |= fieldFromInst...
subq $0xb8, %rsp movq %rdi, 0xa8(%rsp) movl %esi, 0xa4(%rsp) movq %rdx, 0x98(%rsp) movq %rcx, 0x90(%rsp) movl $0x3, 0x8c(%rsp) leaq 0xa4(%rsp), %rdi movq %rdi, 0x40(%rsp) movl $0xc, %esi movl $0x4, %edx movl %edx, 0x4c(%rsp) callq 0x2c943d0 movq 0x40(%rsp), %rdi movl %eax, 0x88(%rsp) movl $0x16, %esi movl $0x1, %edx ca...
/Target/ARM/Disassembler/ARMDisassembler.cpp
llvm::MCDisassembler::DecodeStatus DecodeBFLabelOperand<false, true, true, 11>(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeBFLabelOperand(MCInst &Inst, unsigned Val, uint64_t Address, const MCDisassembler *Decoder) { DecodeStatus S = MCDisassembler::Success; if (Val == 0 && !zeroPermitted) S = MCDisassembler::Fail; uint64_...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movl %esi, 0x3c(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movl $0x3, 0x24(%rsp) cmpl $0x0, 0x3c(%rsp) jne 0x2ce03f6 movb $0x1, %al testb $0x1, %al jne 0x2ce03f6 jmp 0x2ce03ee movl $0x0, 0x24(%rsp) movl 0x3c(%rsp), %eax shll %eax movl %eax, %eax movq %rax, 0x18(%rsp) movq 0...
/Target/ARM/Disassembler/ARMDisassembler.cpp
LLVMInitializeBPFDisassembler
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeBPFDisassembler() { // Register the disassembler. TargetRegistry::RegisterMCDisassembler(getTheBPFTarget(), createBPFDisassembler); TargetRegistry::RegisterMCDisassembler(getTheBPFleTarget(), ...
pushq %rax callq 0x2e09d50 movq %rax, %rdi leaq 0x30(%rip), %rsi # 0x2d1a880 callq 0x2931320 callq 0x2e09cd0 movq %rax, %rdi leaq 0x1c(%rip), %rsi # 0x2d1a880 callq 0x2931320 callq 0x2e09d10 movq %rax, %rdi leaq 0x8(%rip), %rsi # 0x2d1a880 callq 0x2931320 popq %rax retq nop
/Target/BPF/Disassembler/BPFDisassembler.cpp
DecodeDoubleRegsRegisterClass(llvm::MCInst&, unsigned int, unsigned long, llvm::MCDisassembler const*)
static DecodeStatus DecodeDoubleRegsRegisterClass(MCInst &Inst, unsigned RegNo, uint64_t /*Address*/, const MCDisassembler *Decoder) { static const MCPhysReg DoubleRegDecoderTable[] = { Hexagon::D0, Hexagon::D1, Hexagon::D2, Hexagon::D3, Hexag...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movl %esi, 0x3c(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x8(%rsp) movl 0x3c(%rsp), %eax shrl %eax movl %eax, 0x14(%rsp) leaq 0x18(%rsp), %rdi leaq 0x529dfe9(%rip), %rsi # 0x7fdaa10 callq 0x11cc8b0 movq 0x8(%rsp), %rdi movl 0x14(%rsp), %...
/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
(anonymous namespace)::fullValue((anonymous namespace)::HexagonDisassembler const&, llvm::MCInst&, long)
static uint64_t fullValue(HexagonDisassembler const &Disassembler, MCInst &MI, int64_t Value) { MCInstrInfo MCII = *Disassembler.MCII; if (!Disassembler.CurrentExtender || MI.size() != HexagonMCInstrInfo::getExtendableOp(MCII, MI)) return Value; unsigned Alignment = HexagonMCIn...
subq $0x88, %rsp movq %rdi, 0x78(%rsp) movq %rsi, 0x70(%rsp) movq %rdx, 0x68(%rsp) movq 0x78(%rsp), %rdi addq $0x28, %rdi callq 0x2929530 movq %rax, %rsi leaq 0x38(%rsp), %rdi movl $0x30, %edx callq 0x348690 movq 0x78(%rsp), %rax cmpq $0x0, 0x38(%rax) je 0x2d3d560 movq 0x70(%rsp), %rdi callq 0x53efa0 movq %rax, 0x8(%rs...
/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
decodeDispRIHashOperand(llvm::MCInst&, unsigned long, long, llvm::MCDisassembler const*)
static DecodeStatus decodeDispRIHashOperand(MCInst &Inst, uint64_t Imm, int64_t Address, const MCDisassembler *Decoder) { // Decode the disp field for a hash store or hash check operation. // The field is composed of an immediat...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movq 0x38(%rsp), %rdi andq $0x3f, %rdi addq $0x40, %rdi callq 0x2d3dcb0 shlq $0x3, %rax movq %rax, 0x20(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x20(%rsp), %rdi callq 0x4777d0 movq 0x8(%rsp), %rdi movb...
/Target/PowerPC/Disassembler/PPCDisassembler.cpp
(anonymous namespace)::BitcodeReader::parseBitcodeInto(llvm::Module*, bool, bool, llvm::ParserCallbacks)
Error BitcodeReader::parseBitcodeInto(Module *M, bool ShouldLazyLoadMetadata, bool IsImporting, ParserCallbacks Callbacks) { TheModule = M; MetadataLoaderCallbacks MDCallbacks; MDCallbacks.GetTypeByID = [&](unsigned ID) { return getTypeBy...
subq $0x1d8, %rsp # imm = 0x1D8 movq %r9, 0x28(%rsp) movq %rdi, 0x38(%rsp) movb %r8b, %al movq %rdi, %r8 movq %r8, 0x48(%rsp) movq %rdi, 0x1d0(%rsp) movq %rsi, 0x1c8(%rsp) movq %rdx, 0x1c0(%rsp) andb $0x1, %cl movb %cl, 0x1bf(%rsp) andb $0x1, %al movb %al, 0x1be(%rsp) movq %r9, 0x1b0(%rsp) movq 0x1c8(%rsp), ...
/Bitcode/Reader/BitcodeReader.cpp
llvm::DenseMapBase<llvm::DenseMap<llvm::Function*, unsigned int, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, unsigned int>>, llvm::Function*, unsigned int, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, unsigned int>>::moveFromOldBuckets...
void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) { initEmpty(); // Insert all the old elements. const KeyT EmptyKey = getEmptyKey(); const KeyT TombstoneKey = getTombstoneKey(); for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) { if (!KeyInfoT::isEqu...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq %rdx, 0x50(%rsp) movq 0x60(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x2e183d0 callq 0x2e18490 movq %rax, 0x48(%rsp) callq 0x2e22600 movq %rax, 0x40(%rsp) movq 0x58(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x38(%rs...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<unsigned int, llvm::SmallVector<unsigned int, 1u>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::SmallVector<unsigned int, 1u>>>, unsigned int, llvm::SmallVector<unsigned int, 1u>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPa...
iterator find(const_arg_type_t<KeyT> Val) { BucketT *TheBucket; if (LookupBucketFor(Val, TheBucket)) return makeIterator(TheBucket, shouldReverseIterate<KeyT>() ? getBuckets() : getBucketsEnd(), *thi...
subq $0x48, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x18(%rsp) movq 0x28(%rsp), %rsi leaq 0x20(%rsp), %rdx callq 0x2e3d910 testb $0x1, %al jne 0x2e3d7bd jmp 0x2e3d81b movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x547e50 testb $0x1, %al jne 0x2e3d7d2 jmp 0x2e3d7e3 movq 0x1...
/llvm/ADT/DenseMap.h
void llvm::Value::sortUseList<(anonymous namespace)::BitcodeReader::parseUseLists()::$_0>((anonymous namespace)::BitcodeReader::parseUseLists()::$_0)
void Value::sortUseList(Compare Cmp) { if (!UseList || !UseList->Next) // No need to sort 0 or 1 uses. return; // Note: this function completely ignores Prev pointers until the end when // they're fixed en masse. // Create a binomial vector of sorted lists, visiting uses one at a time and // merging...
subq $0x168, %rsp # imm = 0x168 movq %rsi, 0x160(%rsp) movq %rdi, 0x158(%rsp) movq 0x158(%rsp), %rax movq %rax, (%rsp) cmpq $0x0, 0x10(%rax) je 0x2e427b9 movq (%rsp), %rax movq 0x10(%rax), %rax cmpq $0x0, 0x8(%rax) jne 0x2e427be jmp 0x2e4296f movq (%rsp), %rax movl $0x20, 0x154(%rsp) movq 0x10(%rax), %rcx mo...
/llvm/IR/Value.h
bool llvm::DenseMapBase<llvm::SmallDenseMap<llvm::Use const*, unsigned int, 16u, llvm::DenseMapInfo<llvm::Use const*, void>, llvm::detail::DenseMapPair<llvm::Use const*, unsigned int>>, llvm::Use const*, unsigned int, llvm::DenseMapInfo<llvm::Use const*, void>, llvm::detail::DenseMapPair<llvm::Use const*, unsigned int>...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movq 0x68(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x2e42fb0 movq 0x18(%rsp), %rdi movq %rax, 0x50(%rsp) callq 0x2e42c90 movl %eax, 0x4c(%rsp) cmpl $0x0, 0x4c(%rsp) jne 0x2e42e62 movq 0x58(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x77(%rs...
/llvm/ADT/DenseMap.h
llvm::Use* llvm::Value::mergeUseLists<(anonymous namespace)::BitcodeReader::parseUseLists()::$_0>(llvm::Use*, llvm::Use*, (anonymous namespace)::BitcodeReader::parseUseLists()::$_0)
static Use *mergeUseLists(Use *L, Use *R, Compare Cmp) { Use *Merged; Use **Next = &Merged; while (true) { if (!L) { *Next = R; break; } if (!R) { *Next = L; break; } if (Cmp(*R, *L)) { *Next = R; Next = &R->Next; R = R->...
subq $0x28, %rsp movq %rdx, 0x20(%rsp) movq %rdi, 0x18(%rsp) movq %rsi, 0x10(%rsp) leaq 0x8(%rsp), %rax movq %rax, (%rsp) cmpq $0x0, 0x18(%rsp) jne 0x2e43675 movq 0x10(%rsp), %rcx movq (%rsp), %rax movq %rcx, (%rax) jmp 0x2e436fa cmpq $0x0, 0x10(%rsp) jne 0x2e4368b movq 0x18(%rsp), %rcx movq (%rsp), %rax movq %rcx, (%r...
/llvm/IR/Value.h
llvm::DenseMapBase<llvm::SmallDenseMap<std::pair<llvm::BasicBlock*, llvm::BasicBlock*>, unsigned int, 4u, llvm::DenseMapInfo<std::pair<llvm::BasicBlock*, llvm::BasicBlock*>, void>, llvm::detail::DenseMapPair<std::pair<llvm::BasicBlock*, llvm::BasicBlock*>, unsigned int>>, std::pair<llvm::BasicBlock*, llvm::BasicBlock*>...
void destroyAll() { if (getNumBuckets() == 0) // Nothing to do. return; const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) { if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && !KeyInfoT::isEqual(P->...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq 0x40(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x2e3eb20 cmpl $0x0, %eax jne 0x2e4bd92 jmp 0x2e4be34 callq 0x2e3e920 movq %rax, 0x30(%rsp) movq %rdx, 0x38(%rsp) callq 0x2e47ef0 movq 0x8(%rsp), %rdi movq %rax, 0x20(%rsp) movq %rdx, 0x28(%rsp) callq 0x2e3e950 movq 0x8(%rsp), %rdi ...
/llvm/ADT/DenseMap.h
llvm::detail::DenseMapPair<llvm::Function*, llvm::Function*>* llvm::DenseMapBase<llvm::DenseMap<llvm::Function*, llvm::Function*, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, llvm::Function*>>, llvm::Function*, llvm::Function*, llvm::DenseMapInfo<llvm::Function*, void>, llvm::d...
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...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movq 0x40(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x548460 movq 0x10(%rsp), %rdi callq 0x2e4c010 movq 0x10(%rsp), %rdi addl $0x1, %eax movl %eax, 0x24(%rsp) callq 0x2e1fb20 movl %eax, 0x20(%rsp) movl 0x24(%rsp), %ea...
/llvm/ADT/DenseMap.h
addRawAttributeValue(llvm::AttrBuilder&, unsigned long)
static void addRawAttributeValue(AttrBuilder &B, uint64_t Val) { if (!Val) return; for (Attribute::AttrKind I = Attribute::None; I != Attribute::EndAttrKinds; I = Attribute::AttrKind(I + 1)) { if (uint64_t A = (Val & getRawAttributeMask(I))) { if (I == Attribute::Alignment) B.addAlignmentA...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) cmpq $0x0, 0x18(%rsp) jne 0x2e57aab jmp 0x2e57b88 movl $0x0, 0x14(%rsp) cmpl $0x5d, 0x14(%rsp) je 0x2e57b88 movq 0x18(%rsp), %rax movq %rax, (%rsp) movl 0x14(%rsp), %edi callq 0x2e57bf0 movq %rax, %rcx movq (%rsp), %rax andq %rcx, %rax movq %rax, 0x8(%rsp) cm...
/Bitcode/Reader/BitcodeReader.cpp
llvm::DenseMap<llvm::DILocalScope*, llvm::DISubprogram*, llvm::DenseMapInfo<llvm::DILocalScope*, void>, llvm::detail::DenseMapPair<llvm::DILocalScope*, llvm::DISubprogram*>>::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...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movl 0x10(%rax), %ecx movl %ecx, 0x18(%rsp) movq (%rax), %rax movq %rax, 0x10(%rsp) movl $0x40, 0xc(%rsp) movl 0x1c(%rsp), %eax subl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x8(%rsp) leaq 0x...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::DILocalScope*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::DILocalScope*, void>, llvm::detail::DenseSetPair<llvm::DILocalScope*>>, llvm::DILocalScope*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::DILocalScope*, void>, llvm::detail::DenseSetPair<llvm::DILocalSc...
unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { // Ensure that "NumEntries * 4 < NumBuckets * 3" if (NumEntries == 0) return 0; // +1 is required because of the strict equality. // For example if NumEntries is 48, we need to return 401. return NextPowerOf2(NumEntries * 4 / 3 + ...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movl %esi, 0x4(%rsp) cmpl $0x0, 0x4(%rsp) jne 0x2e9f11e movl $0x0, 0x14(%rsp) jmp 0x2e9f13e movl 0x4(%rsp), %eax shll $0x2, %eax movl $0x3, %ecx xorl %edx, %edx divl %ecx addl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x14(%rsp) movl 0x14(%rsp), %eax addq...
/llvm/ADT/DenseMap.h
llvm::SmallDenseMap<llvm::MDString*, llvm::DICompositeType*, 1u, llvm::DenseMapInfo<llvm::MDString*, void>, llvm::detail::DenseMapPair<llvm::MDString*, llvm::DICompositeType*>>::shrink_and_clear()
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 = ...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x2ea62e0 movq 0x10(%rsp), %rdi movl %eax, 0x1c(%rsp) callq 0x2ea62f0 movl $0x0, 0x18(%rsp) cmpl $0x0, 0x1c(%rsp) je 0x2ea6266 movl 0x1c(%rsp), %edi callq 0x91b7e0 movl %eax, %ecx addl $0x1, %ecx movl $0x1, %eax shll %cl, %eax movl...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::SmallDenseMap<llvm::MDString*, llvm::DICompositeType*, 1u, llvm::DenseMapInfo<llvm::MDString*, void>, llvm::detail::DenseMapPair<llvm::MDString*, llvm::DICompositeType*>>, llvm::MDString*, llvm::DICompositeType*, llvm::DenseMapInfo<llvm::MDString*, void>, llvm::detail::DenseMapPair<llvm::MDStri...
void destroyAll() { if (getNumBuckets() == 0) // Nothing to do. return; const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey(); for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) { if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) && !KeyInfoT::isEqual(P->...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x2ea5510 cmpl $0x0, %eax jne 0x2ea6312 jmp 0x2ea63aa callq 0x2ea5a20 movq %rax, 0x28(%rsp) callq 0x2ea5a30 movq 0x8(%rsp), %rdi movq %rax, 0x20(%rsp) callq 0x2ea5280 movq 0x8(%rsp), %rdi movq %rax, 0x18(%rsp) callq 0x2ea5240 movq %...
/llvm/ADT/DenseMap.h
llvm::SlotTracker::SlotTracker(llvm::ModuleSummaryIndex const*)
SlotTracker::SlotTracker(const ModuleSummaryIndex *Index) : TheModule(nullptr), ShouldInitializeAllMetadata(false), TheIndex(Index) {}
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq %rsi, 0x8(%rsp) movq 0x10(%rsp), %rdi movq %rdi, (%rsp) callq 0x2eb3450 movq (%rsp), %rdi leaq 0x67fac41(%rip), %rax # 0x96ae2d8 addq $0x10, %rax movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movq $0x0, 0x10(%rdi) movb $0x0, 0x18(%rdi) movb $0x0, 0x19(%rdi) addq $0x20, %rdi callq ...
/IR/AsmWriter.cpp
llvm::ModuleSlotTracker::collectMDNodes(std::vector<std::pair<unsigned int, llvm::MDNode const*>, std::allocator<std::pair<unsigned int, llvm::MDNode const*>>>&, unsigned int, unsigned int) const
void ModuleSlotTracker::collectMDNodes(MachineMDNodeListType &L, unsigned LB, unsigned UB) const { SlotTracker *ST = MachineStorage.get(); if (!ST) return; for (auto &I : llvm::make_range(ST->mdn_begin(), ST->mdn_end())) if (I.second >= LB && I.second < UB) L....
subq $0xa8, %rsp movq %rdi, 0xa0(%rsp) movq %rsi, 0x98(%rsp) movl %edx, 0x94(%rsp) movl %ecx, 0x90(%rsp) movq 0xa0(%rsp), %rdi addq $0x8, %rdi callq 0x2eb2e70 movq %rax, 0x88(%rsp) cmpq $0x0, 0x88(%rsp) jne 0x2ec0a0e jmp 0x2ec0b22 movq 0x88(%rsp), %rdi callq 0x2ec0ba0 movq %rax, 0x50(%rsp) movq %rdx, 0x58(%rsp) movq 0x...
/IR/AsmWriter.cpp
llvm::DenseMap<llvm::Function const*, llvm::MapVector<llvm::Value const*, std::vector<unsigned int, std::allocator<unsigned int>>, llvm::DenseMap<llvm::Value const*, unsigned int, llvm::DenseMapInfo<llvm::Value const*, void>, llvm::detail::DenseMapPair<llvm::Value const*, unsigned int>>, llvm::SmallVector<std::pair<llv...
void init(unsigned InitNumEntries) { auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries); if (allocateBuckets(InitBuckets)) { this->BaseT::initEmpty(); } else { NumEntries = 0; NumTombstones = 0; } }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl %esi, 0xc(%rsp) movq 0x10(%rsp), %rdi movq %rdi, (%rsp) movl 0xc(%rsp), %esi callq 0x2ec2230 movq (%rsp), %rdi movl %eax, 0x8(%rsp) movl 0x8(%rsp), %esi callq 0x2ec2280 testb $0x1, %al jne 0x2ec2206 jmp 0x2ec2211 movq (%rsp), %rdi callq 0x2ec22f0 jmp 0x2ec2223 movq (%rsp), %r...
/llvm/ADT/DenseMap.h
writeDINamespace(llvm::raw_ostream&, llvm::DINamespace const*, (anonymous namespace)::AsmWriterContext&)
static void writeDINamespace(raw_ostream &Out, const DINamespace *N, AsmWriterContext &WriterCtx) { Out << "!DINamespace("; MDFieldPrinter Printer(Out, WriterCtx); Printer.printString("name", N->getName()); Printer.printMetadata("scope", N->getRawScope(), /* ShouldSkipNull */ false)...
subq $0x88, %rsp movq %rdi, 0x80(%rsp) movq %rsi, 0x78(%rsp) movq %rdx, 0x70(%rsp) movq 0x80(%rsp), %rdi leaq 0x53b19e1(%rip), %rsi # 0x8287549 callq 0x41be30 movq 0x80(%rsp), %rsi movq 0x70(%rsp), %rdx leaq 0x50(%rsp), %rdi callq 0x2ec5f50 leaq 0x40(%rsp), %rdi leaq 0x33f54ca(%rip), %rsi # 0x62cb05a callq 0x3ee9c0...
/IR/AsmWriter.cpp
llvm::DenseMap<llvm::StructType*, unsigned int, llvm::DenseMapInfo<llvm::StructType*, void>, llvm::detail::DenseMapPair<llvm::StructType*, unsigned int>>::init(unsigned int)
void init(unsigned InitNumEntries) { auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries); if (allocateBuckets(InitBuckets)) { this->BaseT::initEmpty(); } else { NumEntries = 0; NumTombstones = 0; } }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl %esi, 0xc(%rsp) movq 0x10(%rsp), %rdi movq %rdi, (%rsp) movl 0xc(%rsp), %esi callq 0x2edb8e0 movq (%rsp), %rdi movl %eax, 0x8(%rsp) movl 0x8(%rsp), %esi callq 0x2ecfcd0 testb $0x1, %al jne 0x2edb8b6 jmp 0x2edb8c1 movq (%rsp), %rdi callq 0x2ecfd40 jmp 0x2edb8d3 movq (%rsp), %r...
/llvm/ADT/DenseMap.h
(anonymous namespace)::AssemblyWriter::printSummaryInfo(unsigned int, llvm::ValueInfo const&)
void AssemblyWriter::printSummaryInfo(unsigned Slot, const ValueInfo &VI) { Out << "^" << Slot << " = gv: ("; if (!VI.name().empty()) Out << "name: \"" << VI.name() << "\""; else Out << "guid: " << VI.getGUID(); if (!VI.getSummaryList().empty()) { Out << ", summaries: ("; FieldSeparator FS; ...
subq $0xb8, %rsp movq %rdi, 0xb0(%rsp) movl %esi, 0xac(%rsp) movq %rdx, 0xa0(%rsp) movq 0xb0(%rsp), %rax movq %rax, 0x18(%rsp) movq (%rax), %rdi leaq 0x53a4a6b(%rip), %rsi # 0x8287de0 callq 0x41be30 movq %rax, %rdi movl 0xac(%rsp), %esi callq 0x41c0a0 movq %rax, %rdi leaq 0x53a4720(%rip), %rsi # 0x8287ab3 callq 0x4...
/IR/AsmWriter.cpp
getTTResKindName(llvm::TypeTestResolution::Kind)
static const char *getTTResKindName(TypeTestResolution::Kind K) { switch (K) { case TypeTestResolution::Unknown: return "unknown"; case TypeTestResolution::Unsat: return "unsat"; case TypeTestResolution::ByteArray: return "byteArray"; case TypeTestResolution::Inline: return "inline"; case Ty...
movl %edi, -0xc(%rsp) movl -0xc(%rsp), %eax movq %rax, -0x18(%rsp) movq -0x18(%rsp), %rax leaq 0x539e7bf(%rip), %rcx # 0x8286d08 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax leaq 0x559b600(%rip), %rax # 0x8483b59 movq %rax, -0x8(%rsp) jmp 0x2ee85a6 leaq 0x539f8f8(%rip), %rax # 0x8287e5f movq %rax, -0x8(%...
/IR/AsmWriter.cpp
llvm::SmallVectorImpl<llvm::Attribute>::erase(llvm::Attribute const*)
iterator erase(const_iterator CI) { // Just cast away constness because this is a non-const member function. iterator I = const_cast<iterator>(CI); assert(this->isReferenceToStorage(CI) && "Iterator to erase is out of bounds."); iterator N = I; // Shift all elts down one. std::move(I+1, this->...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x10(%rsp) movq 0x28(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x18(%rsp) movq 0x20(%rsp), %rax addq $0x8, %rax movq %rax, 0x8(%rsp) callq 0xb47bd0 movq 0x8(%rsp), %rdi movq %rax, %rsi movq 0x20(%rsp),...
/llvm/ADT/SmallVector.h
llvm::DenseMap<llvm::StringRef, llvm::Attribute, llvm::DenseMapInfo<llvm::StringRef, void>, llvm::detail::DenseMapPair<llvm::StringRef, llvm::Attribute>>::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...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movl 0x10(%rax), %ecx movl %ecx, 0x18(%rsp) movq (%rax), %rax movq %rax, 0x10(%rsp) movl $0x40, 0xc(%rsp) movl 0x1c(%rsp), %eax subl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x8(%rsp) leaq 0x...
/llvm/ADT/DenseMap.h
void llvm::SmallVectorTemplateBase<llvm::AttributeSet, true>::uninitialized_copy<llvm::AttributeSet const, llvm::AttributeSet>(llvm::AttributeSet const*, llvm::AttributeSet const*, llvm::AttributeSet*, std::enable_if<std::is_same<std::remove_const<llvm::AttributeSet const>::type, llvm::AttributeSet>::value, void>::type...
static void uninitialized_copy( T1 *I, T1 *E, T2 *Dest, std::enable_if_t<std::is_same<std::remove_const_t<T1>, T2>::value> * = nullptr) { // Use memcpy for PODs iterated by pointers (which includes SmallVector // iterators): std::uninitialized_copy optimizes to memmove, but we can // u...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq %rdx, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq 0x20(%rsp), %rax cmpq 0x18(%rsp), %rax je 0x2f00d78 movq 0x10(%rsp), %rdi movq 0x20(%rsp), %rsi movq 0x18(%rsp), %rdx movq 0x20(%rsp), %rax subq %rax, %rdx sarq $0x3, %rdx shlq $0x3, %rdx callq 0x348690 addq $0x...
/llvm/ADT/SmallVector.h
llvm::Constant::isManifestConstant() const
bool Constant::isManifestConstant() const { if (isa<ConstantData>(this)) return true; if (isa<ConstantAggregate>(this) || isa<ConstantExpr>(this)) { for (const Value *Op : operand_values()) if (!cast<Constant>(Op)->isManifestConstant()) return false; return true; } return false; }
subq $0x68, %rsp movq %rdi, 0x58(%rsp) movq 0x58(%rsp), %rax movq %rax, 0x8(%rsp) movq %rax, 0x50(%rsp) leaq 0x50(%rsp), %rdi callq 0xb32e20 testb $0x1, %al jne 0x2f5f188 jmp 0x2f5f192 movb $0x1, 0x67(%rsp) jmp 0x2f5f26f movq 0x8(%rsp), %rax movq %rax, 0x48(%rsp) leaq 0x48(%rsp), %rdi callq 0x1955ec0 movb %al, %cl movb...
/IR/Constants.cpp
llvm::DSOLocalEquivalent::get(llvm::GlobalValue*)
DSOLocalEquivalent *DSOLocalEquivalent::get(GlobalValue *GV) { DSOLocalEquivalent *&Equiv = GV->getContext().pImpl->DSOLocalEquivalents[GV]; if (!Equiv) Equiv = new DSOLocalEquivalent(GV); assert(Equiv->getGlobalValue() == GV && "DSOLocalFunction does not match the expected global value"); return ...
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movq 0x10(%rsp), %rdi callq 0x316d940 movq (%rax), %rdi addq $0x638, %rdi # imm = 0x638 leaq 0x10(%rsp), %rsi callq 0x2f64ec0 movq %rax, 0x8(%rsp) movq 0x8(%rsp), %rax cmpq $0x0, (%rax) jne 0x2f64eae movl $0x18, %edi callq 0x2f64ef0 movq %rax, %rdi movq %rdi, (%rsp) mov...
/IR/Constants.cpp
llvm::ConstantUniqueMap<llvm::ConstantVector>::replaceOperandsInPlace(llvm::ArrayRef<llvm::Constant*>, llvm::ConstantVector*, llvm::Value*, llvm::Constant*, unsigned int, unsigned int)
ConstantClass *replaceOperandsInPlace(ArrayRef<Constant *> Operands, ConstantClass *CP, Value *From, Constant *To, unsigned NumUpdated = 0, unsigned OperandNo = ~0u) { LookupKey Key(CP->getType(),...
subq $0xe8, %rsp movl 0xf8(%rsp), %eax movl 0xf0(%rsp), %eax movq %rsi, 0xd0(%rsp) movq %rdx, 0xd8(%rsp) movq %rdi, 0xc8(%rsp) movq %rcx, 0xc0(%rsp) movq %r8, 0xb8(%rsp) movq %r9, 0xb0(%rsp) movq 0xc8(%rsp), %rax movq %rax, (%rsp) movq 0xc0(%rsp), %rdi callq 0x106edf0 movq %rax, 0x90(%rsp) movq 0xd0(%rsp), %rax movq %r...
/IR/ConstantsContext.h
bool llvm::DenseMapBase<llvm::DenseMap<llvm::APInt, std::unique_ptr<llvm::ConstantInt, std::default_delete<llvm::ConstantInt>>, llvm::DenseMapInfo<llvm::APInt, void>, llvm::detail::DenseMapPair<llvm::APInt, std::unique_ptr<llvm::ConstantInt, std::default_delete<llvm::ConstantInt>>>>, llvm::APInt, std::unique_ptr<llvm::...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x88, %rsp movq %rdi, 0x78(%rsp) movq %rsi, 0x70(%rsp) movq %rdx, 0x68(%rsp) movq 0x78(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x2f6dd80 movq 0x10(%rsp), %rdi movq %rax, 0x60(%rsp) callq 0x2f6dd90 movl %eax, 0x5c(%rsp) cmpl $0x0, 0x5c(%rsp) jne 0x2f6dc08 movq 0x68(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x87(%rs...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::ElementCount, llvm::APInt>, std::unique_ptr<llvm::ConstantInt, std::default_delete<llvm::ConstantInt>>, llvm::DenseMapInfo<std::pair<llvm::ElementCount, llvm::APInt>, void>, llvm::detail::DenseMapPair<std::pair<llvm::ElementCount, llvm::APInt>, std::unique_ptr<llvm...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x98, %rsp movq %rdi, 0x88(%rsp) movq %rsi, 0x80(%rsp) movq %rdx, 0x78(%rsp) movq 0x88(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x2f6e940 movq 0x10(%rsp), %rdi movq %rax, 0x70(%rsp) callq 0x2f6e950 movl %eax, 0x6c(%rsp) cmpl $0x0, 0x6c(%rsp) jne 0x2f6e7c1 movq 0x78(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x97(%rs...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::ElementCount, llvm::APInt>, std::unique_ptr<llvm::ConstantInt, std::default_delete<llvm::ConstantInt>>, llvm::DenseMapInfo<std::pair<llvm::ElementCount, llvm::APInt>, void>, llvm::detail::DenseMapPair<std::pair<llvm::ElementCount, llvm::APInt>, std::unique_ptr<llvm::Con...
void initEmpty() { setNumEntries(0); setNumTombstones(0); assert((getNumBuckets() & (getNumBuckets()-1)) == 0 && "# initial buckets must be a power of two!"); const KeyT EmptyKey = getEmptyKey(); for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B) ::new (&B->getFirst...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rdi movq %rdi, (%rsp) xorl %esi, %esi callq 0x2f6f200 movq (%rsp), %rdi xorl %esi, %esi callq 0x2f6f220 leaq 0x18(%rsp), %rdi callq 0x2f6e960 movq (%rsp), %rdi callq 0x2f6f240 movq (%rsp), %rdi movq %rax, 0x10(%rsp) callq 0x2f6f250 movq %rax, 0x8(%rsp) movq 0x10(...
/llvm/ADT/DenseMap.h
llvm::DenseMap<llvm::APFloat, std::unique_ptr<llvm::ConstantFP, std::default_delete<llvm::ConstantFP>>, llvm::DenseMapInfo<llvm::APFloat, void>, llvm::detail::DenseMapPair<llvm::APFloat, std::unique_ptr<llvm::ConstantFP, std::default_delete<llvm::ConstantFP>>>>::allocateBuckets(unsigned int)
bool allocateBuckets(unsigned Num) { NumBuckets = Num; if (NumBuckets == 0) { Buckets = nullptr; return false; } Buckets = static_cast<BucketT *>( allocate_buffer(sizeof(BucketT) * NumBuckets, alignof(BucketT))); return true; }
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movl %esi, 0x14(%rsp) movq 0x18(%rsp), %rax movq %rax, 0x8(%rsp) movl 0x14(%rsp), %ecx movl %ecx, 0x10(%rax) cmpl $0x0, 0x10(%rax) jne 0x2f6fad7 movq 0x8(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x27(%rsp) jmp 0x2f6fafd movq 0x8(%rsp), %rax movl 0x10(%rax), %eax imulq $0x28, %rax,...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::ElementCount, llvm::APFloat>, std::unique_ptr<llvm::ConstantFP, std::default_delete<llvm::ConstantFP>>, llvm::DenseMapInfo<std::pair<llvm::ElementCount, llvm::APFloat>, void>, llvm::detail::DenseMapPair<std::pair<llvm::ElementCount, llvm::APFloat>, std::unique_ptr<...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0xb8, %rsp movq %rdi, 0xa8(%rsp) movq %rsi, 0xa0(%rsp) movq %rdx, 0x98(%rsp) movq 0xa8(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x2f70510 movq 0x10(%rsp), %rdi movq %rax, 0x90(%rsp) callq 0x2f70520 movl %eax, 0x8c(%rsp) cmpl $0x0, 0x8c(%rsp) jne 0x2f70370 movq 0x98(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0xb7(%rs...
/llvm/ADT/DenseMap.h
llvm::Constant* getIntSequenceIfElementsMatch<llvm::ConstantDataArray, unsigned char>(llvm::ArrayRef<llvm::Constant*>)
static Constant *getIntSequenceIfElementsMatch(ArrayRef<Constant *> V) { assert(!V.empty() && "Cannot get empty int sequence."); SmallVector<ElementTy, 16> Elts; for (Constant *C : V) if (auto *CI = dyn_cast<ConstantInt>(C)) Elts.push_back(CI->getZExtValue()); else return nullptr; return Se...
subq $0x78, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x68(%rsp) leaq 0x38(%rsp), %rdi callq 0x58a410 leaq 0x60(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x30(%rsp), %rdi callq 0x2f60900 movq %rax, 0x28(%rsp) movq 0x30(%rsp), %rdi callq 0x2f60910 movq %rax, 0x20(%rsp) movq 0x28(%rsp), %rax cmpq 0x20(%rsp), %rax je 0x2f72d5e m...
/IR/Constants.cpp
llvm::Constant* getIntSequenceIfElementsMatch<llvm::ConstantDataVector, unsigned short>(llvm::ArrayRef<llvm::Constant*>)
static Constant *getIntSequenceIfElementsMatch(ArrayRef<Constant *> V) { assert(!V.empty() && "Cannot get empty int sequence."); SmallVector<ElementTy, 16> Elts; for (Constant *C : V) if (auto *CI = dyn_cast<ConstantInt>(C)) Elts.push_back(CI->getZExtValue()); else return nullptr; return Se...
subq $0x98, %rsp movq %rdi, 0x80(%rsp) movq %rsi, 0x88(%rsp) leaq 0x48(%rsp), %rdi callq 0x2f73500 leaq 0x80(%rsp), %rax movq %rax, 0x40(%rsp) movq 0x40(%rsp), %rdi callq 0x2f60900 movq %rax, 0x38(%rsp) movq 0x40(%rsp), %rdi callq 0x2f60910 movq %rax, 0x30(%rsp) movq 0x38(%rsp), %rax cmpq 0x30(%rsp), %rax je 0x2f76e2d ...
/IR/Constants.cpp
llvm::Constant* getIntSequenceIfElementsMatch<llvm::ConstantDataVector, unsigned long>(llvm::ArrayRef<llvm::Constant*>)
static Constant *getIntSequenceIfElementsMatch(ArrayRef<Constant *> V) { assert(!V.empty() && "Cannot get empty int sequence."); SmallVector<ElementTy, 16> Elts; for (Constant *C : V) if (auto *CI = dyn_cast<ConstantInt>(C)) Elts.push_back(CI->getZExtValue()); else return nullptr; return Se...
subq $0xf8, %rsp movq %rdi, 0xe0(%rsp) movq %rsi, 0xe8(%rsp) leaq 0x50(%rsp), %rdi callq 0xfc3b70 leaq 0xe0(%rsp), %rax movq %rax, 0x48(%rsp) movq 0x48(%rsp), %rdi callq 0x2f60900 movq %rax, 0x40(%rsp) movq 0x48(%rsp), %rdi callq 0x2f60910 movq %rax, 0x38(%rsp) movq 0x40(%rsp), %rax cmpq 0x38(%rsp), %rax je 0x2f7708d m...
/IR/Constants.cpp
llvm::DenseMap<llvm::TargetExtType*, std::unique_ptr<llvm::ConstantTargetNone, std::default_delete<llvm::ConstantTargetNone>>, llvm::DenseMapInfo<llvm::TargetExtType*, void>, llvm::detail::DenseMapPair<llvm::TargetExtType*, std::unique_ptr<llvm::ConstantTargetNone, std::default_delete<llvm::ConstantTargetNone>>>>::grow...
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...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movl 0x10(%rax), %ecx movl %ecx, 0x18(%rsp) movq (%rax), %rax movq %rax, 0x10(%rsp) movl $0x40, 0xc(%rsp) movl 0x1c(%rsp), %eax subl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x8(%rsp) leaq 0x...
/llvm/ADT/DenseMap.h
llvm::detail::DenseSetPair<llvm::ConstantExpr*>* llvm::DenseMapBase<llvm::DenseMap<llvm::ConstantExpr*, llvm::detail::DenseSetEmpty, llvm::ConstantUniqueMap<llvm::ConstantExpr>::MapInfo, llvm::detail::DenseSetPair<llvm::ConstantExpr*>>, llvm::ConstantExpr*, llvm::detail::DenseSetEmpty, llvm::ConstantUniqueMap<llvm::Con...
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...
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) movq 0x40(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x548460 movq 0x10(%rsp), %rdi callq 0x2f83aa0 movq 0x10(%rsp), %rdi addl $0x1, %eax movl %eax, 0x24(%rsp) callq 0x2f82040 movl %eax, 0x20(%rsp) movl 0x24(%rsp), %ea...
/llvm/ADT/DenseMap.h
getAddrSpace(llvm::StringRef, unsigned int&)
static Error getAddrSpace(StringRef R, unsigned &AddrSpace) { if (Error Err = getInt(R, AddrSpace)) return Err; if (!isUInt<24>(AddrSpace)) return reportError("Invalid address space, must be a 24-bit integer"); return Error::success(); }
subq $0x88, %rsp movq %rdi, 0x10(%rsp) movq %rdi, %rax movq %rax, 0x8(%rsp) movq %rdi, 0x80(%rsp) movq %rsi, 0x70(%rsp) movq %rdx, 0x78(%rsp) movq %rcx, 0x68(%rsp) movb $0x0, 0x67(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x50(%rsp) movq 0x78(%rsp), %rax movq %rax, 0x58(%rsp) movq 0x68(%rsp), %rcx movq 0x50(%rsp), %rsi mo...
/IR/DataLayout.cpp
llvm::DataLayout::getIndexType(llvm::Type*) const
Type *DataLayout::getIndexType(Type *Ty) const { assert(Ty->isPtrOrPtrVectorTy() && "Expected a pointer or pointer vector type."); unsigned NumBits = getIndexTypeSizeInBits(Ty); IntegerType *IntTy = IntegerType::get(Ty->getContext(), NumBits); if (VectorType *VecTy = dyn_cast<VectorType>(Ty)) retur...
subq $0x38, %rsp movq %rdi, 0x28(%rsp) movq %rsi, 0x20(%rsp) movq 0x28(%rsp), %rdi movq 0x20(%rsp), %rsi callq 0x2f8a1a0 movl %eax, 0x1c(%rsp) movq 0x20(%rsp), %rdi callq 0x7914b0 movq %rax, %rdi movl 0x1c(%rsp), %esi callq 0x315d920 movq %rax, 0x10(%rsp) movq 0x20(%rsp), %rdi callq 0x7846a0 movq %rax, 0x8(%rsp) cmpq $...
/IR/DataLayout.cpp
llvm::trailing_objects_internal::TrailingObjectsImpl<8, llvm::StructLayout, llvm::TrailingObjects<llvm::StructLayout, llvm::TypeSize>, llvm::StructLayout, llvm::TypeSize>::getTrailingObjectsImpl(llvm::StructLayout*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<llvm::TypeSize>)
static NextTy * getTrailingObjectsImpl(BaseTy *Obj, TrailingObjectsBase::OverloadToken<NextTy>) { auto *Ptr = TopTrailingObj::getTrailingObjectsImpl( Obj, TrailingObjectsBase::OverloadToken<PrevTy>()) + TopTrailingObj::callNumTrailingObjects( ...
subq $0x28, %rsp movq %rdi, 0x18(%rsp) movq 0x18(%rsp), %rdi callq 0x2f8b540 movq %rax, (%rsp) movq 0x18(%rsp), %rdi callq 0x7838d0 movq %rax, %rcx movq (%rsp), %rax imulq $0x18, %rcx, %rcx addq %rcx, %rax movq %rax, 0x10(%rsp) movq 0x10(%rsp), %rax addq $0x28, %rsp retq nop
/llvm/Support/TrailingObjects.h
llvm::DenseMap<llvm::StructType*, llvm::StructLayout*, llvm::DenseMapInfo<llvm::StructType*, void>, llvm::detail::DenseMapPair<llvm::StructType*, llvm::StructLayout*>>::init(unsigned int)
void init(unsigned InitNumEntries) { auto InitBuckets = BaseT::getMinBucketToReserveForEntries(InitNumEntries); if (allocateBuckets(InitBuckets)) { this->BaseT::initEmpty(); } else { NumEntries = 0; NumTombstones = 0; } }
subq $0x18, %rsp movq %rdi, 0x10(%rsp) movl %esi, 0xc(%rsp) movq 0x10(%rsp), %rdi movq %rdi, (%rsp) movl 0xc(%rsp), %esi callq 0x2f8c790 movq (%rsp), %rdi movl %eax, 0x8(%rsp) movl 0x8(%rsp), %esi callq 0x2f8c7e0 testb $0x1, %al jne 0x2f8c766 jmp 0x2f8c771 movq (%rsp), %rdi callq 0x2f8c850 jmp 0x2f8c783 movq (%rsp), %r...
/llvm/ADT/DenseMap.h
llvm::LayoutAlignElem* llvm::SmallVectorImpl<llvm::LayoutAlignElem>::insert_one_impl<llvm::LayoutAlignElem>(llvm::LayoutAlignElem*, llvm::LayoutAlignElem&&)
iterator insert_one_impl(iterator I, ArgType &&Elt) { // Callers ensure that ArgType is derived from T. static_assert( std::is_same<std::remove_const_t<std::remove_reference_t<ArgType>>, T>::value, "ArgType must be derived from T!"); if (I == this->end()) { // Importan...
subq $0x68, %rsp movq %rdi, 0x58(%rsp) movq %rsi, 0x50(%rsp) movq %rdx, 0x48(%rsp) movq 0x58(%rsp), %rdi movq %rdi, 0x20(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x28(%rsp) callq 0x1126590 movq %rax, %rcx movq 0x28(%rsp), %rax cmpq %rcx, %rax jne 0x2f8d9cd movq 0x20(%rsp), %rdi movq 0x48(%rsp), %rax movq (%rax), %rax mov...
/llvm/ADT/SmallVector.h
getAssignmentInfoImpl(llvm::DataLayout const&, llvm::Value const*, llvm::TypeSize)
static std::optional<AssignmentInfo> getAssignmentInfoImpl(const DataLayout &DL, const Value *StoreDest, TypeSize SizeInBits) { if (SizeInBits.isScalable()) return std::nullopt; APInt GEPOffset(DL.getIndexTypeSizeInBits(StoreDest->getType()), 0); const Value *Base = StoreDest->stripAndAc...
subq $0xe8, %rsp movq %rdi, 0x40(%rsp) movb %r8b, %al movq %rdi, 0x48(%rsp) movq %rcx, 0xd8(%rsp) movb %al, 0xe0(%rsp) movq %rsi, 0xd0(%rsp) movq %rdx, 0xc8(%rsp) leaq 0xd8(%rsp), %rdi callq 0x783f30 testb $0x1, %al jne 0x2f94926 jmp 0x2f94935 movq 0x40(%rsp), %rdi callq 0x2f948c0 jmp 0x2f94af2 movq 0xd0(%rsp), %rax mo...
/IR/DebugInfo.cpp
llvm::DenseMapIterator<llvm::AllocaInst const*, llvm::SmallPtrSet<llvm::DbgDeclareInst*, 2u>, llvm::DenseMapInfo<llvm::AllocaInst const*, void>, llvm::detail::DenseMapPair<llvm::AllocaInst const*, llvm::SmallPtrSet<llvm::DbgDeclareInst*, 2u>>, false>::operator++()
inline DenseMapIterator& operator++() { // Preincrement assert(isHandleInSync() && "invalid iterator access!"); assert(Ptr != End && "incrementing end() iterator"); if (shouldReverseIterate<KeyT>()) { --Ptr; RetreatPastEmptyBuckets(); return *this; } ++Ptr; AdvancePastEmptyBuc...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movq 0x8(%rsp), %rax movq %rax, (%rsp) callq 0xb8ee90 testb $0x1, %al jne 0x2f9625d jmp 0x2f9627b movq (%rsp), %rdi movq (%rdi), %rax addq $-0x38, %rax movq %rax, (%rdi) callq 0x2fad640 movq (%rsp), %rax movq %rax, 0x10(%rsp) jmp 0x2f96297 movq (%rsp), %rdi movq (%rdi), %rax addq $...
/llvm/ADT/DenseMap.h
(anonymous namespace)::DebugTypeInfoRemoval::getReplacementSubprogram(llvm::DISubprogram*)
DISubprogram *getReplacementSubprogram(DISubprogram *MDS) { auto *FileAndScope = cast_or_null<DIFile>(map(MDS->getFile())); StringRef LinkageName = MDS->getName().empty() ? MDS->getLinkageName() : ""; DISubprogram *Declaration = nullptr; auto *Type = cast_or_null<DISubroutineType>(map(MDS->getType())); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x288, %rsp # imm = 0x288 movq %rdi, 0x278(%rsp) movq %rsi, 0x270(%rsp) movq 0x278(%rsp), %rax movq %rax, 0xe0(%rsp) movq 0x270(%rsp), %rdi callq 0x14ce350 movq 0xe0(%rsp), %rdi movq %rax, %rsi callq 0x2f9c210 movq %rax, %rdi callq 0x14d...
/IR/DebugInfo.cpp
(anonymous namespace)::DebugTypeInfoRemoval::getReplacementMDNode(llvm::MDNode*)
MDNode *getReplacementMDNode(MDNode *N) { SmallVector<Metadata *, 8> Ops; Ops.reserve(N->getNumOperands()); for (auto &I : N->operands()) if (I) Ops.push_back(map(I)); auto *Ret = MDNode::get(N->getContext(), Ops); return Ret; }
subq $0xc8, %rsp movq %rdi, 0xc0(%rsp) movq %rsi, 0xb8(%rsp) movq 0xc0(%rsp), %rax movq %rax, 0x18(%rsp) leaq 0x68(%rsp), %rdi callq 0xceda90 movq 0xb8(%rsp), %rdi callq 0xbe58d0 movl %eax, %eax movl %eax, %esi leaq 0x68(%rsp), %rdi callq 0x108f3c0 movq 0xb8(%rsp), %rdi callq 0xbe58f0 movq %rax, 0x50(%rsp) movq %rdx, 0...
/IR/DebugInfo.cpp
std::pair<llvm::DenseMapIterator<llvm::DISubprogram*, llvm::StringRef, llvm::DenseMapInfo<llvm::DISubprogram*, void>, llvm::detail::DenseMapPair<llvm::DISubprogram*, llvm::StringRef>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<llvm::DISubprogram*, llvm::StringRef, llvm::DenseMapInfo<llvm::DISubprogram*, void>, llv...
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() ...
subq $0x88, %rsp movq %rdi, 0x20(%rsp) movq %rdi, 0x28(%rsp) movq %rsi, 0x80(%rsp) movq %rdx, 0x78(%rsp) movq %rcx, 0x70(%rsp) movq 0x80(%rsp), %rdi movq %rdi, 0x30(%rsp) movq 0x78(%rsp), %rsi leaq 0x68(%rsp), %rdx callq 0x2f9de30 testb $0x1, %al jne 0x2f9dd15 jmp 0x2f9dd8f movq 0x68(%rsp), %rax movq %rax, 0x18(%rsp) c...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::Metadata*, llvm::Metadata*, llvm::DenseMapInfo<llvm::Metadata*, void>, llvm::detail::DenseMapPair<llvm::Metadata*, llvm::Metadata*>>, llvm::Metadata*, llvm::Metadata*, llvm::DenseMapInfo<llvm::Metadata*, void>, llvm::detail::DenseMapPair<llvm::Metadata*, llvm::Metadata*>>::moveFr...
void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) { initEmpty(); // Insert all the old elements. const KeyT EmptyKey = getEmptyKey(); const KeyT TombstoneKey = getTombstoneKey(); for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) { if (!KeyInfoT::isEqu...
subq $0x68, %rsp movq %rdi, 0x60(%rsp) movq %rsi, 0x58(%rsp) movq %rdx, 0x50(%rsp) movq 0x60(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x2f997d0 callq 0x2f99890 movq %rax, 0x48(%rsp) callq 0x2f9a2e0 movq %rax, 0x40(%rsp) movq 0x58(%rsp), %rax movq %rax, 0x38(%rsp) movq 0x50(%rsp), %rax movq %rax, 0x30(%rsp) movq 0x38(%rs...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<llvm::DIAssignID*, llvm::DIAssignID*, llvm::DenseMapInfo<llvm::DIAssignID*, void>, llvm::detail::DenseMapPair<llvm::DIAssignID*, llvm::DIAssignID*>>, llvm::DIAssignID*, llvm::DIAssignID*, llvm::DenseMapInfo<llvm::DIAssignID*, void>, llvm::detail::DenseMapPair<llvm::DIAssignID*, ll...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movq 0x68(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x2fa1680 movq 0x18(%rsp), %rdi movq %rax, 0x50(%rsp) callq 0x2fa1690 movl %eax, 0x4c(%rsp) cmpl $0x0, 0x4c(%rsp) jne 0x2fa1522 movq 0x58(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x77(%rs...
/llvm/ADT/DenseMap.h
llvm::SmallVectorImpl<llvm::at::VarRecord>::assignRemote(llvm::SmallVectorImpl<llvm::at::VarRecord>&&)
void assignRemote(SmallVectorImpl &&RHS) { this->destroy_range(this->begin(), this->end()); if (!this->isSmall()) free(this->begin()); this->BeginX = RHS.BeginX; this->Size = RHS.Size; this->Capacity = RHS.Capacity; RHS.resetToSmall(); }
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq %rsi, 0x18(%rsp) movq 0x20(%rsp), %rdi movq %rdi, 0x10(%rsp) callq 0x2fa4490 movq 0x10(%rsp), %rdi movq %rax, 0x8(%rsp) callq 0x2fa44f0 movq 0x8(%rsp), %rdi movq %rax, %rsi callq 0x2fa4530 movq 0x10(%rsp), %rdi callq 0x2fa43d0 testb $0x1, %al jne 0x2fa4459 movq 0x10(%rsp), %r...
/llvm/ADT/SmallVector.h
llvm::DenseMapBase<llvm::DenseMap<llvm::AllocaInst const*, llvm::SmallPtrSet<llvm::DbgVariableRecord*, 2u>, llvm::DenseMapInfo<llvm::AllocaInst const*, void>, llvm::detail::DenseMapPair<llvm::AllocaInst const*, llvm::SmallPtrSet<llvm::DbgVariableRecord*, 2u>>>, llvm::AllocaInst const*, llvm::SmallPtrSet<llvm::DbgVariab...
iterator makeIterator(BucketT *P, BucketT *E, DebugEpochBase &Epoch, bool NoAdvance=false) { if (shouldReverseIterate<KeyT>()) { BucketT *B = P == getBucketsEnd() ? getBuckets() : P + 1; return iterator(B, E, Epoch, NoAdvance); } return iterator(P,...
subq $0x58, %rsp movb %r8b, %al movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) andb $0x1, %al movb %al, 0x27(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x10(%rsp) callq 0xb8ee90 testb $0x1, %al jne 0x2fad826 jmp 0x2fad892 movq 0x10(%rsp), %rdi movq 0x38(%rsp), %rax movq %rax, 0x8(%r...
/llvm/ADT/DenseMap.h
llvm::DICompileUnit::getImpl(llvm::LLVMContext&, unsigned int, llvm::Metadata*, llvm::MDString*, bool, llvm::MDString*, unsigned int, llvm::MDString*, unsigned int, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, unsigned long, bool, bool, unsigned int, bool, llvm::MDString*, llvm::...
DICompileUnit *DICompileUnit::getImpl( LLVMContext &Context, unsigned SourceLanguage, Metadata *File, MDString *Producer, bool IsOptimized, MDString *Flags, unsigned RuntimeVersion, MDString *SplitDebugFilename, unsigned EmissionKind, Metadata *EnumTypes, Metadata *RetainedTypes, Metadata *GlobalVar...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %eax movq %rcx, %r8 movq %rdx, %r10 movl %esi, %r11d movq %rdi, %rbx movb %al, %dil movb 0x1c0(%rsp), %al movl 0x1b8(%rsp), %ecx movq 0x1b0(%rsp), %rcx movq 0x1a8(%rsp), %rcx movb 0x1a0(%rsp), %cl movl 0x198(%rsp), %edx mo...
/IR/DebugInfoMetadata.cpp
llvm::DenseMapBase<llvm::DenseMap<llvm::DILocation*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DILocation>, llvm::detail::DenseSetPair<llvm::DILocation*>>, llvm::DILocation*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DILocation>, llvm::detail::DenseSetPair<llvm::DILocation*>>::moveFromOldBuckets(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...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x2fc56e0 callq 0x2fc4120 movq %rax, 0x38(%rsp) callq 0x2fc4130 movq %rax, 0x30(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x28(%rsp...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::SmallDenseMap<std::pair<llvm::DISubprogram const*, llvm::DILocation const*>, unsigned int, 4u, llvm::DenseMapInfo<std::pair<llvm::DISubprogram const*, llvm::DILocation const*>, void>, llvm::detail::DenseMapPair<std::pair<llvm::DISubprogram const*, llvm::DILocation const*>, unsigned int>>, std::...
void initEmpty() { setNumEntries(0); setNumTombstones(0); assert((getNumBuckets() & (getNumBuckets()-1)) == 0 && "# initial buckets must be a power of two!"); const KeyT EmptyKey = getEmptyKey(); for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B) ::new (&B->getFirst...
subq $0x38, %rsp movq %rdi, 0x30(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x8(%rsp) xorl %esi, %esi callq 0x2fc5bf0 movq 0x8(%rsp), %rdi xorl %esi, %esi callq 0x2fc5c10 callq 0x2fc5c30 movq 0x8(%rsp), %rdi movq %rax, 0x20(%rsp) movq %rdx, 0x28(%rsp) callq 0x2fc5c60 movq 0x8(%rsp), %rdi movq %rax, 0x18(%rsp) callq 0x2fc5c...
/llvm/ADT/DenseMap.h
llvm::DenseMapIterator<llvm::GenericDINode*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::GenericDINode>, llvm::detail::DenseSetPair<llvm::GenericDINode*>, false> llvm::DenseMapBase<llvm::DenseMap<llvm::GenericDINode*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::GenericDINode>, llvm::detail::DenseSetPair...
iterator find_as(const LookupKeyT &Val) { BucketT *TheBucket; if (LookupBucketFor(Val, TheBucket)) return makeIterator(TheBucket, shouldReverseIterate<KeyT>() ? getBuckets() : getBucketsEnd(), *this,...
subq $0x48, %rsp movq %rdi, 0x30(%rsp) movq %rsi, 0x28(%rsp) movq 0x30(%rsp), %rdi movq %rdi, 0x18(%rsp) movq 0x28(%rsp), %rsi leaq 0x20(%rsp), %rdx callq 0x2fc7460 testb $0x1, %al jne 0x2fc73ad jmp 0x2fc740b movq 0x20(%rsp), %rax movq %rax, 0x10(%rsp) callq 0x2fc7590 testb $0x1, %al jne 0x2fc73c2 jmp 0x2fc73d3 movq 0x...
/llvm/ADT/DenseMap.h
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<long>(unsigned long&, char*, char*, long)
char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) { if (!store_and_advance(buffer_ptr, buffer_end, data)) { // Check for skew which prevents the buffer from being packed, and do // a partial store into the buffer to fill it. This is only a concern // with the variadic ...
subq $0x78, %rsp movq %rdi, 0x70(%rsp) movq %rsi, 0x68(%rsp) movq %rdx, 0x60(%rsp) movq %rcx, 0x58(%rsp) movq %r8, 0x50(%rsp) movq 0x70(%rsp), %rax movq %rax, 0x8(%rsp) movq 0x58(%rsp), %rsi leaq 0x60(%rsp), %rdi leaq 0x50(%rsp), %rdx xorl %eax, %eax movl %eax, %ecx callq 0x2fc9e20 testb $0x1, %al jne 0x2fc9d4a movq 0x...
/llvm/ADT/Hashing.h
llvm::MDNodeSubsetEqualImpl<llvm::DIDerivedType>::isODRMember(unsigned int, llvm::Metadata const*, llvm::MDString const*, llvm::DIDerivedType const*)
static bool isODRMember(unsigned Tag, const Metadata *Scope, const MDString *Name, const DIDerivedType *RHS) { // Check whether the LHS is eligible. if (Tag != dwarf::DW_TAG_member || !Name) return false; auto *CT = dyn_cast_or_null<DICompositeType>(Scope); if (!CT || !C...
subq $0x48, %rsp movl %edi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq %rdx, 0x30(%rsp) movq %rcx, 0x28(%rsp) cmpl $0xd, 0x40(%rsp) jne 0x2fd2306 cmpq $0x0, 0x30(%rsp) jne 0x2fd2310 movb $0x0, 0x47(%rsp) jmp 0x2fd23b8 movq 0x38(%rsp), %rdi callq 0x2fd23d0 movq %rax, 0x20(%rsp) cmpq $0x0, 0x20(%rsp) je 0x2fd2337 movq 0x20(%r...
/IR/LLVMContextImpl.h
llvm::DenseMap<llvm::DISubprogram*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DISubprogram>, llvm::detail::DenseSetPair<llvm::DISubprogram*>>::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...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movl %esi, 0x1c(%rsp) movq 0x20(%rsp), %rax movq %rax, (%rsp) movl 0x10(%rax), %ecx movl %ecx, 0x18(%rsp) movq (%rax), %rax movq %rax, 0x10(%rsp) movl $0x40, 0xc(%rsp) movl 0x1c(%rsp), %eax subl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x5487c0 movl %eax, 0x8(%rsp) leaq 0x...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::DILexicalBlockFile*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DILexicalBlockFile>, llvm::detail::DenseSetPair<llvm::DILexicalBlockFile*>>, llvm::DILexicalBlockFile*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DILexicalBlockFile>, llvm::detail::DenseSetPair<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...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x2fdf630 callq 0x2fde7d0 movq %rax, 0x38(%rsp) callq 0x2fde7e0 movq %rax, 0x30(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x28(%rsp...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<llvm::DINamespace*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DINamespace>, llvm::detail::DenseSetPair<llvm::DINamespace*>>, llvm::DINamespace*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DINamespace>, llvm::detail::DenseSetPair<llvm::DINamespace*>>::LookupBucke...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movq 0x68(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x2fdfdc0 movq 0x18(%rsp), %rdi movq %rax, 0x50(%rsp) callq 0x2fdfdd0 movl %eax, 0x4c(%rsp) cmpl $0x0, 0x4c(%rsp) jne 0x2fe0792 movq 0x58(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x77(%rs...
/llvm/ADT/DenseMap.h
llvm::MDNodeKeyImpl<llvm::DICommonBlock>::isKeyOf(llvm::DICommonBlock const*) const
bool isKeyOf(const DICommonBlock *RHS) const { return Scope == RHS->getRawScope() && Decl == RHS->getRawDecl() && Name == RHS->getRawName() && File == RHS->getRawFile() && LineNo == RHS->getLineNo(); }
subq $0x48, %rsp movq %rdi, 0x40(%rsp) movq %rsi, 0x38(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x20(%rsp) movq (%rax), %rax movq %rax, 0x28(%rsp) movq 0x38(%rsp), %rdi callq 0x2eda330 movq 0x28(%rsp), %rcx movq %rax, %rdx xorl %eax, %eax cmpq %rdx, %rcx movb %al, 0x37(%rsp) jne 0x2fe19f7 movq 0x20(%rsp), %rax movq 0x8(%...
/IR/LLVMContextImpl.h
llvm::DenseMapBase<llvm::DenseMap<llvm::DICommonBlock*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DICommonBlock>, llvm::detail::DenseSetPair<llvm::DICommonBlock*>>, llvm::DICommonBlock*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DICommonBlock>, llvm::detail::DenseSetPair<llvm::DICommonBlock*>>::move...
void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) { initEmpty(); // Insert all the old elements. const KeyT EmptyKey = getEmptyKey(); const KeyT TombstoneKey = getTombstoneKey(); for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) { if (!KeyInfoT::isEqu...
subq $0x58, %rsp movq %rdi, 0x50(%rsp) movq %rsi, 0x48(%rsp) movq %rdx, 0x40(%rsp) movq 0x50(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x2fe2560 callq 0x2fe1490 movq %rax, 0x38(%rsp) callq 0x2fe14a0 movq %rax, 0x30(%rsp) movq 0x48(%rsp), %rax movq %rax, 0x28(%rsp) movq 0x40(%rsp), %rax movq %rax, 0x20(%rsp) movq 0x28(%rsp...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<llvm::DILabel*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DILabel>, llvm::detail::DenseSetPair<llvm::DILabel*>>, llvm::DILabel*, llvm::detail::DenseSetEmpty, llvm::MDNodeInfo<llvm::DILabel>, llvm::detail::DenseSetPair<llvm::DILabel*>>::LookupBucketFor<llvm::DILabel*>(llv...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
subq $0x78, %rsp movq %rdi, 0x68(%rsp) movq %rsi, 0x60(%rsp) movq %rdx, 0x58(%rsp) movq 0x68(%rsp), %rdi movq %rdi, 0x18(%rsp) callq 0x2feb610 movq 0x18(%rsp), %rdi movq %rax, 0x50(%rsp) callq 0x2feb620 movl %eax, 0x4c(%rsp) cmpl $0x0, 0x4c(%rsp) jne 0x2fec0e2 movq 0x58(%rsp), %rax movq $0x0, (%rax) movb $0x0, 0x77(%rs...
/llvm/ADT/DenseMap.h