name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
void llvm::AArch64InstPrinter::printImmSVE<long>(long, llvm::raw_ostream&) | void AArch64InstPrinter::printImmSVE(T Value, raw_ostream &O) {
std::make_unsigned_t<T> HexValue = Value;
if (getPrintImmHex())
markup(O, Markup::Immediate) << '#' << formatHex((uint64_t)HexValue);
else
markup(O, Markup::Immediate) << '#' << formatDec(Value);
if (CommentStream) {
// Do the opposit... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x1, 0x33(%rdi)
jne 0x155f44
leaq 0x20(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x4d5094
movq (%r15), %rdi
pushq $0x23
popq %rsi
callq 0x130936
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq... | /Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp |
llvm::AArch64AuthMCExpr::evaluateAsRelocatableImpl(llvm::MCValue&, llvm::MCAssembler const*, llvm::MCFixup const*) const | bool AArch64AuthMCExpr::evaluateAsRelocatableImpl(MCValue &Res,
const MCAssembler *Asm,
const MCFixup *Fixup) const {
if (!getSubExpr()->evaluateAsRelocatable(Res, Asm, Fixup))
return false;
if (Res.getSymB())
... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x18(%rdi), %rdi
callq 0x4d426a
testb %al, %al
je 0x156a65
cmpq $0x0, 0x8(%rbx)
jne 0x156a6d
movl 0x20(%r14), %ecx
movl %ecx, 0x18(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x4ed5fe(%rip), %rdi # 0x644072
pushq $0x1
popq %rsi
callq 0x39c... | /Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp |
createAArch64MCAsmInfo(llvm::MCRegisterInfo const&, llvm::Triple const&, llvm::MCTargetOptions const&) | static MCAsmInfo *createAArch64MCAsmInfo(const MCRegisterInfo &MRI,
const Triple &TheTriple,
const MCTargetOptions &Options) {
MCAsmInfo *MAI;
if (TheTriple.isOSBinFormatMachO())
MAI = new AArch64MCAsmInfoDarwin(TheTriple.getArch(... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r15
movq %rdi, %rbx
cmpl $0x5, 0x34(%rsi)
jne 0x15a011
movl $0x1e8, %edi # imm = 0x1E8
callq 0x119140
movq %rax, %r14
xorl %esi, %esi
cmpl $0x5, 0x20(%r15)
sete %sil
movq %rax, %rdi
callq 0x16148a
jmp 0x15a05c
movq %r15, %rdi
callq 0x15... | /Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp |
(anonymous namespace)::AMDGPUAsmParser::ParseAMDGPURegister((anonymous namespace)::RegisterKind&, unsigned int&, unsigned int&, unsigned int&, llvm::SmallVectorImpl<llvm::AsmToken>&) | bool AMDGPUAsmParser::ParseAMDGPURegister(RegisterKind &RegKind, unsigned &Reg,
unsigned &RegNum, unsigned &RegWidth,
SmallVectorImpl<AsmToken> &Tokens) {
auto Loc = getLoc();
Reg = AMDGPU::NoRegister;
if (isToken(AsmToken::Ident... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %r9, %r12
movq %r8, 0x20(%rsp)
movq %rcx, %r13
movq %rdx, %r15
movq %rsi, 0x28(%rsp)
movq %rdi, %rbx
callq 0x176538
andl $0x0, (%r15)
movq %rax, %rbp
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
movq 0x8(%rax), %rax
cmpl... | /Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp |
(anonymous namespace)::AMDGPUAsmParser::parseSwizzleOperand(long&, unsigned int, unsigned int, llvm::StringRef, llvm::SMLoc&) | bool
AMDGPUAsmParser::parseSwizzleOperand(int64_t &Op,
const unsigned MinVal,
const unsigned MaxVal,
const StringRef ErrMsg,
SMLoc &Loc) {
if (!skipToken(AsmToken::Comma,... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %rbx
movq %r8, %r15
movl %ecx, %ebp
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %r14
leaq 0x5e4c74(%rip), %rdx # 0x773558
pushq $0x1a
popq %rsi
pushq $0x10
popq %rcx
callq 0x176bd4
testb %al, %al
je 0x18e96d
movq %rbx, 0x8(%... | /Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp |
llvm::AMDGPUInstPrinter::printOperandAndIntInputMods(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void AMDGPUInstPrinter::printOperandAndIntInputMods(const MCInst *MI,
unsigned OpNo,
const MCSubtargetInfo &STI,
raw_ostream &O) {
const MCInstrDesc &Desc = MII.g... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r8, %rbx
movq %rcx, (%rsp)
movl %edx, %r12d
movq %rsi, %r13
movq %rdi, %r15
movq 0x18(%rdi), %rax
movl (%rsi), %ecx
movq (%rax), %rsi
shlq $0x5, %rcx
subq %rcx, %rsi
callq 0x1b5a66
testb %al, %al
je 0x1b5d1c
pushq $0x1
popq %rsi
movq %r1... | /Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp |
llvm::AMDGPUInstPrinter::printDepCtr(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void AMDGPUInstPrinter::printDepCtr(const MCInst *MI, unsigned OpNo,
const MCSubtargetInfo &STI,
raw_ostream &O) {
using namespace llvm::AMDGPU::DepCtr;
uint64_t Imm16 = MI->getOperand(OpNo).getImm() & 0xffff;
bool HasNonDefaultVal = false;... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r12
movq %rcx, %r14
movq %rdi, %rbx
movl %edx, %eax
movq 0x10(%rsi), %rcx
shlq $0x4, %rax
movzwl 0x8(%rcx,%rax), %r15d
leaq 0x7(%rsp), %rsi
movb $0x0, (%rsi)
movl %r15d, %edi
movq %r14, %rdx
callq 0x201348
testb %al, %al
je 0x... | /Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp |
llvm::AMDGPUInstPrinter::printByteSel(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void AMDGPUInstPrinter::printTH(const MCInst *MI, int64_t TH, int64_t Scope,
raw_ostream &O) {
// For th = 0 do not print this field
if (TH == 0)
return;
const unsigned Opcode = MI->getOpcode();
const MCInstrDesc &TID = MII.get(Opcode);
bool IsStore = TID.mayStore();
boo... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %eax
movq 0x10(%rsi), %rcx
shlq $0x4, %rax
movzbl 0x8(%rcx,%rax), %r14d
testq %r14, %r14
je 0x1b75bb
movq %rdi, %rbx
leaq 0xf19039(%rip), %rsi # 0x10d05cd
movq %r8, %rdi
callq 0x120ed6
movq %rax, %r15
movq %rsp, %r12
movq %r12, %rdi
movq %rbx, %... | /Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp |
llvm::AMDGPU::SendMsg::decodeMsg(unsigned int, unsigned short&, unsigned short&, unsigned short&, llvm::MCSubtargetInfo const&) | bool isGFX11Plus(const MCSubtargetInfo &STI) {
return isGFX11(STI) || isGFX12Plus(STI);
} | movl 0xe0(%r8), %eax
movl %edi, %r8d
shrl $0x4, %r8d
movl %edi, %r9d
shrl $0x8, %r9d
andl $0x3, %r9d
xorl %r10d, %r10d
testl $0x280000, %eax # imm = 0x280000
cmovnel %r10d, %r9d
andl $0x7, %r8d
testl $0x280000, %eax # imm = 0x280000
pushq $0xf
popq %rax
movl $0xff, %r11d
cmovel %eax, %r11d
cmovnel %r10d... | /Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp |
llvm::AMDGPU::isInlinableLiteralFP16(short, bool) | bool isInlinableLiteralFP16(int16_t Literal, bool HasInv2Pi) {
if (!HasInv2Pi)
return false;
if (isInlinableIntLiteral(Literal))
return true;
uint16_t Val = static_cast<uint16_t>(Literal);
return Val == 0x3C00 || // 1.0
Val == 0xBC00 || // -1.0
Val == 0x3800 || // 0.5
Val == 0... | testl %esi, %esi
je 0x20270c
movswq %di, %rcx
addq $0x10, %rcx
movb $0x1, %al
cmpq $0x51, %rcx
jb 0x20270e
movswl %di, %ecx
cmpl $0xffffb800, %ecx # imm = 0xFFFFB800
je 0x20270e
cmpl $0xffffbc00, %ecx # imm = 0xFFFFBC00
je 0x20270e
cmpl $0xffffc000, %ecx # imm = 0xFFFFC000
je 0x20270e
cmpl $0xffffc400... | /Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp |
llvm::SmallVectorImpl<unsigned int>::assign(unsigned long, unsigned int) | void assign(size_type NumElts, ValueParamT Elt) {
// Note that Elt could be an internal reference.
if (NumElts > this->capacity()) {
this->growAndAssign(NumElts, Elt);
return;
}
// Assign over existing elements.
std::fill_n(this->begin(), std::min(NumElts, this->size()), Elt);
if (N... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, 0x4(%rsp)
movl 0xc(%rdi), %eax
cmpq %rsi, %rax
jae 0x202a9a
movq %r14, %rdi
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x202adc
movq (%r14), %rdi
movl 0x8(%r14), %esi
cmpq %rbx, %rsi
cmovaeq %rbx, %rsi
leaq 0x4(%rsp), %rdx
callq 0x... | /llvm/ADT/SmallVector.h |
bool parseBitField<unsigned int, &llvm::AMDGPU::AMDGPUMCKernelCodeT::code_properties, 7, 1>(llvm::AMDGPU::AMDGPUMCKernelCodeT&, llvm::MCAsmParser&, llvm::raw_ostream&) | static bool parseBitField(AMDGPUMCKernelCodeT &C, MCAsmParser &MCParser,
raw_ostream &Err) {
int64_t Value = 0;
if (!expectAbsExpression(MCParser, Value, Err))
return false;
const uint64_t Mask = ((UINT64_C(1) << width) - 1) << shift;
C.*ptr &= (T)~Mask;
C.*ptr |= (T)((Value << s... | pushq %rbx
subq $0x10, %rsp
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x8(%rsp), %rsi
andq $0x0, (%rsi)
movq %rax, %rdi
callq 0x2061cc
testb %al, %al
je 0x205c2b
movl $0xffffff7f, %ecx # imm = 0xFFFFFF7F
andl 0x38(%rbx), %ecx
movl 0x8(%rsp), %edx
shll $0x7, %edx
movzbl %dl, %edx
orl %ecx, %edx
movl %edx, 0x38(%rbx)
ad... | /Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp |
findCCOutInd(llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand, std::default_delete<llvm::MCParsedAsmOperand>>> const&, unsigned int) | unsigned findCCOutInd(const OperandVector &Operands,
unsigned MnemonicOpsEndInd) {
for (unsigned I = 1; I < MnemonicOpsEndInd; ++I) {
auto Op = static_cast<ARMOperand &>(*Operands[I]);
if (Op.isCCOut())
return I;
}
return 0;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xb0, %rsp
movq %rdi, %r14
movl %esi, %r12d
pushq $0x1
popq %rbx
movq %rsp, %r15
cmpq %r12, %rbx
jae 0x207bc5
movq (%r14), %rax
movq (%rax,%rbx,8), %rsi
movq %r15, %rdi
callq 0x207af2
movl 0x30(%rsp), %ebp
movq %r15, %rdi
callq 0x207b60
cmpl $0x2, %ebp
je 0x2... | /Target/ARM/AsmParser/ARMAsmParser.cpp |
llvm::ARMCondCodeToString(llvm::ARMCC::CondCodes) | inline static const char *ARMCondCodeToString(ARMCC::CondCodes CC) {
switch (CC) {
case ARMCC::EQ: return "eq";
case ARMCC::NE: return "ne";
case ARMCC::HS: return "hs";
case ARMCC::LO: return "lo";
case ARMCC::MI: return "mi";
case ARMCC::PL: return "pl";
case ARMCC::VS: return "vs";
case ARMC... | movslq %edi, %rax
leaq 0x10c37cb(%rip), %rcx # 0x12cc05c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
retq
nop
| /Target/ARM/Utils/ARMBaseInfo.h |
(anonymous namespace)::ARMOperand::addExpr(llvm::MCInst&, llvm::MCExpr const*) const | void addExpr(MCInst &Inst, const MCExpr *Expr) const {
// Add as immediates when possible. Null MCExpr = 0.
if (!Expr)
Inst.addOperand(MCOperand::createImm(0));
else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
Inst.addOperand(MCOperand::createImm(CE->getValue()));
else
... | testq %rsi, %rsi
je 0x2283ed
movq %rsi, %rdx
cmpb $0x1, (%rsi)
jne 0x2283fb
movq 0x10(%rdx), %rdx
addq $0x10, %rdi
pushq $0x2
jmp 0x228401
addq $0x10, %rdi
pushq $0x2
popq %rsi
xorl %edx, %edx
jmp 0x13900e
addq $0x10, %rdi
pushq $0x5
popq %rsi
jmp 0x13900e
nop
| /Target/ARM/AsmParser/ARMAsmParser.cpp |
checkLowRegisterList(llvm::MCInst const&, unsigned int, unsigned int, unsigned int, bool&) | static bool checkLowRegisterList(const MCInst &Inst, unsigned OpNo,
unsigned Reg, unsigned HiReg,
bool &containsReg) {
containsReg = false;
for (unsigned i = OpNo; i < Inst.getNumOperands(); ++i) {
unsigned OpReg = Inst.getOperand(i).getReg();
... | movb $0x0, (%r8)
movl 0x18(%rdi), %eax
movq 0x10(%rdi), %rdi
movl %esi, %esi
movq %rsi, %r9
shlq $0x4, %r9
addq %r9, %rdi
addq $0x8, %rdi
decq %rsi
incq %rsi
cmpq %rax, %rsi
jae 0x2288af
movl (%rdi), %r9d
cmpl %edx, %r9d
jne 0x22888f
movb $0x1, (%r8)
addq $0x10, %rdi
testl %ecx, %ecx
setne %r10b
leal -0x49(%r9), %r11d
... | /Target/ARM/AsmParser/ARMAsmParser.cpp |
void llvm::ARMInstPrinter::printAddrMode5Operand<false>(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void ARMInstPrinter::printAddrMode5Operand(const MCInst *MI, unsigned OpNum,
const MCSubtargetInfo &STI,
raw_ostream &O) {
const MCOperand &MO1 = MI->getOperand(OpNum);
const MCOperand &MO2 = MI->getOperand(OpNum + 1);
if (!MO1... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %r8, %rbx
movl %edx, %r15d
movq %rdi, %r14
movl %edx, %r13d
movq 0x10(%rsi), %r12
shlq $0x4, %r13
cmpb $0x1, (%r12,%r13)
jne 0x22ec53
addq %r12, %r13
incl %r15d
movq %rsp, %rdi
pushq $0x3
popq %rcx
movq %r14, %rsi
movq %rbx, %rdx
callq 0x4d509... | /Target/ARM/MCTargetDesc/ARMInstPrinter.cpp |
void llvm::ARMInstPrinter::printAddrMode5Operand<true>(llvm::MCInst const*, unsigned int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void ARMInstPrinter::printAddrMode5Operand(const MCInst *MI, unsigned OpNum,
const MCSubtargetInfo &STI,
raw_ostream &O) {
const MCOperand &MO1 = MI->getOperand(OpNum);
const MCOperand &MO2 = MI->getOperand(OpNum + 1);
if (!MO1... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %rbx
movl %edx, %r12d
movq %rdi, %r15
movl %edx, %ebp
movq 0x10(%rsi), %r13
shlq $0x4, %rbp
cmpb $0x1, (%r13,%rbp)
jne 0x22ed6f
addq %r13, %rbp
incl %r12d
leaq 0x18(%rsp), %r14
pushq $0x3
popq %rcx
movq %r14, %rdi
movq %r15, %r... | /Target/ARM/MCTargetDesc/ARMInstPrinter.cpp |
(anonymous namespace)::ARMTargetWinCOFFStreamer::emitARMWinCFISaveRegMask(unsigned int, bool) | void ARMTargetWinCOFFStreamer::emitARMWinCFISaveRegMask(unsigned Mask,
bool Wide) {
assert(Mask != 0);
int Lr = (Mask & 0x4000) ? 1 : 0;
Mask &= ~0x4000;
if (Wide)
assert((Mask & ~0x1fff) == 0);
else
assert((Mask & ~0x00ff) == 0);
if (Mask && (... | movl %esi, %ecx
shrl $0xe, %ecx
andl $0x1, %ecx
movl %esi, %r8d
andl $0xffffbfff, %r8d # imm = 0xFFFFBFFF
je 0x235723
leal 0x10(%r8), %eax
testl %r8d, %eax
je 0x23573d
shll $0xe, %ecx
orl %r8d, %ecx
testb %dl, %dl
je 0x235731
pushq $0x32
jmp 0x235733
pushq $0x37
popq %rsi
movl %ecx, %edx
xorl %ecx, %ecx
jmp 0x235... | /Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp |
llvm::cl::opt<bool, false, llvm::cl::parser<bool>>::opt<char [27], llvm::cl::desc, llvm::cl::initializer<bool>>(char const (&) [27], llvm::cl::desc const&, llvm::cl::initializer<bool> const&) | explicit opt(const Mods &... Ms)
: Option(llvm::cl::Optional, NotHidden), Parser(*this) {
apply(this, Ms...);
done();
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
xorl %esi, %esi
xorl %edx, %edx
callq 0x15bbbc
movb $0x0, 0x80(%rbx)
andq $0x0, 0x90(%rbx)
leaq 0x1bc2c4d(%rip), %rax # 0x1e14ea0
movq %rax, 0x88(%rbx)
leaq 0x1c4a097(%rip), %rax # 0x1e9c2f8
addq $... | /llvm/Support/CommandLine.h |
llvm::HexagonMCShuffler::init(llvm::MCInst&) | void HexagonMCShuffler::init(MCInst &MCB) {
if (HexagonMCInstrInfo::isBundle(MCB)) {
MCInst const *Extender = nullptr;
// Copy the bundle for the shuffling.
for (const auto &I : HexagonMCInstrInfo::bundleInstructions(MCB)) {
MCInst &MI = *const_cast<MCInst *>(I.getInst());
LLVM_DEBUG(dbgs() <<... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x262b78
testb %al, %al
je 0x263c7a
movq %r14, %rdi
callq 0x262b54
movq %rax, %r15
movq %rdx, %r12
xorl %r13d, %r13d
cmpq %r12, %r15
je 0x263c7a
movq 0x8(%r15), %rbp
movq %rbp, %rdi
callq 0... | /Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp |
llvm::HexagonConvertUnits(unsigned int, unsigned int*) | unsigned llvm::HexagonConvertUnits(unsigned ItinUnits, unsigned *Lanes) {
enum {
CVI_NONE = 0,
CVI_XLANE = 1 << 0,
CVI_SHIFT = 1 << 1,
CVI_MPY0 = 1 << 2,
CVI_MPY1 = 1 << 3,
CVI_ZW = 1 << 4
};
if (ItinUnits == HexagonItinerariesV62FU::CVI_ALL ||
ItinUnits == HexagonItinerariesV62FU::... | pushq $0x1
popq %rax
pushq $0x4
popq %rcx
cmpl $0x2000, %edi # imm = 0x2000
je 0x264842
cmpl $0x4000, %edi # imm = 0x4000
je 0x264842
movl %edi, %eax
movl %eax, %edx
notl %edx
pushq $0x2
popq %rcx
testw $0x1800, %dx # imm = 0x1800
jne 0x264831
pushq $0x5
popq %rax
jmp 0x264842
testw $0x18... | /Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp |
llvm::createHexagonMCInstrInfo() | llvm::MCInstrInfo *llvm::createHexagonMCInstrInfo() {
MCInstrInfo *X = new MCInstrInfo();
InitHexagonMCInstrInfo(X);
return X;
} | pushq %rax
pushq $0x30
popq %rdi
callq 0x119140
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rax)
leaq 0x1171cc2(%rip), %rcx # 0x13d6570
movq %rcx, (%rax)
leaq 0x117f4a8(%rip), %rcx # 0x13e3d60
movq %rcx, 0x8(%rax)
leaq 0x117377d(%rip), %rcx # 0x13d8040
movq %rcx, 0x10(%rax)
movups %xmm0, 0x18(%rax)
movl $0xd0d, 0x28(%... | /Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp |
llvm::Hexagon_MC::getArchSubtarget(llvm::MCSubtargetInfo const*) | MCSubtargetInfo const *
Hexagon_MC::getArchSubtarget(MCSubtargetInfo const *STI) {
std::lock_guard<std::mutex> Lock(ArchSubtargetMutex);
auto Existing = ArchSubtarget.find(std::string(STI->getCPU()));
if (Existing == ArchSubtarget.end())
return nullptr;
return Existing->second.get();
} | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0x1c67ffe(%rip), %rdi # 0x1ecc8e8
callq 0x266788
movups 0x40(%rbx), %xmm0
leaq 0x8(%rsp), %rsi
movups %xmm0, (%rsi)
leaq 0x18(%rsp), %r14
leaq 0x7(%rsp), %rdx
movq %r14, %rdi
callq 0x120de6
leaq 0x1c67f9c(%rip), %rdi # 0x1ecc8b0
movq %r14, %rsi
callq 0x266... | /Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp |
llvm::APInt::clearBit(unsigned int) | void clearBit(unsigned BitPosition) {
assert(BitPosition < BitWidth && "BitPosition out of range");
WordType Mask = ~maskBit(BitPosition);
if (isSingleWord())
U.VAL &= Mask;
else
U.pVal[whichWord(BitPosition)] &= Mask;
} | movl %esi, %ecx
pushq $-0x2
popq %rax
rolq %cl, %rax
shrl $0x3, %ecx
andl $-0x8, %ecx
addq (%rdi), %rcx
cmpl $0x41, 0x8(%rdi)
cmovbq %rdi, %rcx
andq %rax, (%rcx)
retq
nop
| /llvm/ADT/APInt.h |
llvm::HexagonMCAsmInfo::HexagonMCAsmInfo(llvm::Triple const&) | HexagonMCAsmInfo::HexagonMCAsmInfo(const Triple &TT) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = nullptr; // .xword is only supported by V9.
CommentString = "//";
SupportsDebugInformation = true;
LCOMMDirectiveAlignmentType = LCOMM::ByteAlignment;
Inline... | pushq %rbx
movq %rdi, %rbx
callq 0x4c1cda
leaq 0x1bef938(%rip), %rax # 0x1e64370
movq %rax, (%rbx)
leaq 0x11ab388(%rip), %rax # 0x141fdca
movq %rax, 0x100(%rbx)
leaq 0x12475b2(%rip), %rax # 0x14bc002
movq %rax, 0x108(%rbx)
andq $0x0, 0x110(%rbx)
leaq 0x4d77bc(%rip), %rax # 0x74c222
movq %rax, 0x30(%rbx)
movq $... | /Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp |
llvm::LanaiInstPrinter::printMemRrOperand(llvm::MCInst const*, int, llvm::raw_ostream&, char const*) | void LanaiInstPrinter::printMemRrOperand(const MCInst *MI, int OpNo,
raw_ostream &OS,
const char * /*Modifier*/) {
const MCOperand &RegOp = MI->getOperand(OpNo);
const MCOperand &OffsetOp = MI->getOperand(OpNo + 1);
const MCOperand ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %r14d
movl %edx, %r15d
movq 0x10(%rsi), %r12
leal 0x2(%r14), %eax
shlq $0x4, %rax
movl 0x8(%r12,%rax), %ebp
leaq 0x12e977e(%rip), %rsi # 0x156a18c
movq %rcx, %rdi
callq 0x120ed6
testb $0x40, %bpl
je 0x280a2b
leaq 0... | /Target/Lanai/MCTargetDesc/LanaiInstPrinter.cpp |
llvm::LoongArchAsmBackend::relaxLEB128(llvm::MCAssembler const&, llvm::MCLEBFragment&, long&) const | std::pair<bool, bool> LoongArchAsmBackend::relaxLEB128(const MCAssembler &Asm,
MCLEBFragment &LF,
int64_t &Value) const {
const MCExpr &Expr = LF.getValue();
if (LF.isSigned() || !Expr.evaluateKnownAbsolute... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
cmpb $0x0, 0x58(%rdx)
jne 0x288248
movq %rsi, %rdx
movq 0x60(%rbx), %r14
movq %r14, %rdi
movq %rcx, %rsi
callq 0x4d3cd0
testb %al, %al
je 0x288248
addq $0x48, %rbx
movq 0x8(%r14), %rax
movq %rsp, %rsi
movq %r14, (%rsi)
movabsq $0x500000000, %rcx # imm = 0x5000... | /Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp |
llvm::MipsTargetELFStreamer::emitDirectiveOptionPic0() | void MipsTargetELFStreamer::emitDirectiveOptionPic0() {
ELFObjectWriter &W = getStreamer().getWriter();
unsigned Flags = W.getELFHeaderEFlags();
// This option overrides other PIC options like -KPIC.
Pic = false;
Flags &= ~ELF::EF_MIPS_PIC;
W.setELFHeaderEFlags(Flags);
} | pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
callq 0x4d151e
movl 0x68(%rax), %ecx
movb $0x0, 0x70(%rbx)
andl $-0x3, %ecx
movl %ecx, 0x68(%rax)
popq %rbx
retq
| /Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp |
llvm::MipsTargetELFStreamer::emitFrame(unsigned int, unsigned int, unsigned int) | MCELFStreamer &MipsTargetELFStreamer::getStreamer() {
return static_cast<MCELFStreamer &>(Streamer);
} | movq 0x8(%rdi), %rax
movq 0x120(%rax), %rax
movq (%rax), %rax
movq 0xa0(%rax), %rax
movb $0x1, 0x50(%rdi)
movq 0x60(%rax), %rax
movl %esi, %esi
movzwl (%rax,%rsi,2), %esi
movl %esi, 0x58(%rdi)
movl %edx, 0x54(%rdi)
movl %ecx, %ecx
movzwl (%rax,%rcx,2), %eax
movl %eax, 0x60(%rdi)
retq
nop
| /Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp |
llvm::MipsABIFlagsSection::getFpABIValue() | uint8_t MipsABIFlagsSection::getFpABIValue() {
switch (FpABI) {
case FpABIKind::ANY:
return Mips::Val_GNU_MIPS_ABI_FP_ANY;
case FpABIKind::SOFT:
return Mips::Val_GNU_MIPS_ABI_FP_SOFT;
case FpABIKind::XX:
return Mips::Val_GNU_MIPS_ABI_FP_XX;
case FpABIKind::S32:
return Mips::Val_GNU_MIPS_ABI_FP... | movl 0x1c(%rdi), %eax
leaq 0x1213a4e(%rip), %rcx # 0x14b410c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
xorl %eax, %eax
retq
movb $0x3, %al
retq
movb $0x1, %al
retq
movb $0x1, %al
cmpb $0x1, 0x19(%rdi)
jne 0x2a06c9
movb 0x18(%rdi), %al
xorb $0x7, %al
retq
movb $0x5, %al
retq
nop
| /Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp |
void llvm::MipsInstPrinter::printUImm<2u, 0u>(llvm::MCInst const*, int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void MipsInstPrinter::printUImm(const MCInst *MI, int opNum,
const MCSubtargetInfo &STI, raw_ostream &O) {
const MCOperand &MO = MI->getOperand(opNum);
if (MO.isImm()) {
uint64_t Imm = MO.getImm();
Imm -= Offset;
Imm &= (1 << Bits) - 1;
Imm += Offset;
markup(O, Ma... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl %edx, %eax
movq 0x10(%rsi), %rcx
shlq $0x4, %rax
cmpb $0x2, (%rcx,%rax)
jne 0x2a3918
addq %rax, %rcx
movq 0x8(%rcx), %r14
andl $0x3, %r14d
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %r8, %rdx
xorl %ecx, %ecx
callq 0x4d5094
leaq ... | /Target/Mips/MCTargetDesc/MipsInstPrinter.cpp |
llvm::MipsInstPrinter::printRegName(llvm::raw_ostream&, llvm::MCRegister) const | void MipsInstPrinter::printRegName(raw_ostream &OS, MCRegister Reg) const {
markup(OS, Markup::Register)
<< '$' << StringRef(getRegisterName(Reg)).lower();
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movl %edx, %r14d
movq %rsi, %rdx
movq %rdi, %rsi
leaq 0x10(%rsp), %rbx
pushq $0x1
popq %rcx
movq %rbx, %rdi
callq 0x4d5094
movq (%rbx), %rdi
pushq $0x24
popq %rsi
callq 0x130936
decl %r14d
leaq 0x12181af(%rip), %rax # 0x14bc320
movzwl (%rax,%r14,2), %eax
leaq 0x1217fa... | /Target/Mips/MCTargetDesc/MipsInstPrinter.cpp |
llvm::MipsInstPrinter::printInst(llvm::MCInst const*, unsigned long, llvm::StringRef, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void MipsInstPrinter::printInst(const MCInst *MI, uint64_t Address,
StringRef Annot, const MCSubtargetInfo &STI,
raw_ostream &O) {
switch (MI->getOpcode()) {
default:
break;
case Mips::RDHWR:
case Mips::RDHWR64:
O << "\t.set\tpush\n";
O... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %r15
movq %r8, %rbp
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, %r12
movq 0x40(%rsp), %rbx
movl (%rsi), %eax
leal -0x95f(%rax), %edx
cmpl $0x2, %edx
jb 0x2a4238
movq %rbp, %rdx
leaq 0x1217ee8(%rip), %rbp # 0x14bc0de
cmpl $0x98b, %ea... | /Target/Mips/MCTargetDesc/MipsInstPrinter.cpp |
llvm::MipsInstPrinter::printSaveRestore(llvm::MCInst const*, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void MipsInstPrinter::printSaveRestore(const MCInst *MI,
const MCSubtargetInfo &STI,
raw_ostream &O) {
for (unsigned i = 0, e = MI->getNumOperands(); i != e; ++i) {
if (i != 0) O << ", ";
if (MI->getOperand(i).isReg())
printRe... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, (%rsp)
movq %rsi, %r15
movq %rdi, %r12
movl 0x18(%rsi), %ebp
shlq $0x4, %rbp
xorl %r13d, %r13d
xorl %r14d, %r14d
cmpq %r14, %rbp
je 0x2a4391
testq %r14, %r14
je 0x2a4354
movq %rbx, %rdi
leaq 0x358dde(%rip), %rsi #... | /Target/Mips/MCTargetDesc/MipsInstPrinter.cpp |
llvm::MipsInstPrinter::printAlias(llvm::MCInst const&, unsigned long, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | bool MipsInstPrinter::printAlias(const MCInst &MI, uint64_t Address,
const MCSubtargetInfo &STI, raw_ostream &OS) {
switch (MI.getOpcode()) {
case Mips::BEQ:
case Mips::BEQ_MM:
// beq $zero, $zero, $L2 => b $L2
// beq $r0, $zero, $L2 => beqz $r0, $L2
return (isReg<Mips... | pushq %rax
movq %r8, %r11
movq %rcx, %r10
movq %rdx, %rcx
movq %rsi, %rdx
movl (%rsi), %esi
xorl %eax, %eax
leal -0x8ff(%rsi), %r8d
cmpl $0xa, %r8d
jbe 0x2a4476
cmpl $0x340, %esi # imm = 0x340
je 0x2a4496
cmpl $0x38a, %esi # imm = 0x38A
je 0x2a4504
cmpl $0x38f, %esi # imm = 0x38F
je 0x2... | /Target/Mips/MCTargetDesc/MipsInstPrinter.cpp |
(anonymous namespace)::PPCAsmBackend::getFixupKindInfo(llvm::MCFixupKind) const | const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override {
const static MCFixupKindInfo InfosBE[PPC::NumTargetFixupKinds] = {
// name offset bits flags
{ "fixup_ppc_br24", 6, 24, MCFixupKindInfo::FKF_IsPCRel },
{ "fixup_ppc_br24_notoc", 6, 2... | cmpl $0x100, %esi # imm = 0x100
jl 0x2c81fd
xorl %esi, %esi
jmp 0x4c0de0
cmpl $0x7f, %esi
jg 0x2c8207
jmp 0x4c0de0
cmpl $0x1, 0x8(%rdi)
leaq 0x1ba922e(%rip), %rax # 0x1e71440
leaq 0x1ba9117(%rip), %rcx # 0x1e71330
cmoveq %rax, %rcx
addl $-0x80, %esi
imulq $0x18, %rsi, %rax
addq %rcx, %rax
retq
| /Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp |
(anonymous namespace)::PPCAsmBackend::applyFixup(llvm::MCAssembler const&, llvm::MCFixup const&, llvm::MCValue const&, llvm::MutableArrayRef<char>, unsigned long, bool, llvm::MCSubtargetInfo const*) const | MCFixupKind getKind() const { return Kind; } | movl 0xc(%rdx), %esi
cmpl $0xff, %esi
jg 0x2c8355
movq 0x8(%rsp), %rax
leal -0x80(%rsi), %ecx
cmpl $0xa, %ecx
ja 0x2c82eb
leaq 0x13176b7(%rip), %r9 # 0x15df978
movslq (%r9,%rcx,4), %r10
addq %r9, %r10
jmpq *%r10
andl $0xfffc, %eax # imm = 0xFFFC
jmp 0x2c82eb
andl $0x3fffffc, %eax # imm = 0x3FFFFFC
j... | /llvm/MC/MCFixup.h |
(anonymous namespace)::RISCVAsmParser::checkTargetMatchPredicate(llvm::MCInst&) | unsigned RISCVAsmParser::checkTargetMatchPredicate(MCInst &Inst) {
const MCInstrDesc &MCID = MII.get(Inst.getOpcode());
for (unsigned I = 0; I < MCID.NumOperands; ++I) {
if (MCID.operands()[I].RegClass == RISCV::GPRPairRegClassID) {
const auto &Op = Inst.getOperand(I);
assert(Op.isReg());
MC... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x128(%rdi), %rax
movq %rsi, (%rsp)
movl (%rsi), %ecx
movq (%rax), %r12
shlq $0x5, %rcx
subq %rcx, %r12
leaq 0x20(%r12), %r13
pushq $0x8
popq %rbp
xorl %ebx, %ebx
movl $0x300, %r14d # imm = 0x300
addq 0x1bf7e13(%rip), %r14 # 0... | /Target/RISCV/AsmParser/RISCVAsmParser.cpp |
(anonymous namespace)::SparcAsmParser::parseMEMOperand(llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand, std::default_delete<llvm::MCParsedAsmOperand>>>&) | ParseStatus SparcAsmParser::parseMEMOperand(OperandVector &Operands) {
SMLoc S, E;
std::unique_ptr<SparcOperand> LHS;
if (!parseSparcAsmOperand(LHS).isSuccess())
return ParseStatus::NoMatch;
// Single immediate operand
if (LHS->isImm()) {
Operands.push_back(SparcOperand::MorphToMEMri(Sparc::G0, std:... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x60, %rsp
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rsp), %rbx
andq $0x0, (%rbx)
movq %rbx, %rsi
xorl %edx, %edx
callq 0x2eb6be
movq (%rbx), %rbx
testl %eax, %eax
je 0x2eb26f
pushq $0x2
popq %rbp
testq %rbx, %rbx
je 0x2eb2b6
movq (%rbx), %rax
movq %rbx, %rdi... | /Target/Sparc/AsmParser/SparcAsmParser.cpp |
llvm::SparcInstPrinter::printOperand(llvm::MCInst const*, int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | const MCOperand &getOperand(unsigned i) const { return Operands[i]; } | movl %edx, %edx
movq 0x10(%rsi), %r9
shlq $0x4, %rdx
leaq (%r9,%rdx), %rax
movzbl (%r9,%rdx), %edx
cmpl $0x2, %edx
je 0x2ee0a1
cmpl $0x1, %edx
jne 0x2ee0c5
movl 0x8(%rax), %edx
testb $0x10, 0xdc(%rcx)
jne 0x2ee0da
movq (%rdi), %rax
movq 0x28(%rax), %rax
movq %r8, %rsi
jmpq *%rax
movl $0xfffffd12, %ecx # imm = 0xF... | /llvm/MC/MCInst.h |
llvm::SparcInstPrinter::printCCOperand(llvm::MCInst const*, int, llvm::MCSubtargetInfo const&, llvm::raw_ostream&) | void SparcInstPrinter::printCCOperand(const MCInst *MI, int opNum,
const MCSubtargetInfo &STI,
raw_ostream &O) {
int CC = (int)MI->getOperand(opNum).getImm();
switch (MI->getOpcode()) {
default: break;
case SP::FBCOND:
case SP::FBCOND... | movq %r8, %rdi
movl %edx, %eax
movq 0x10(%rsi), %rcx
shlq $0x4, %rax
movq 0x8(%rcx,%rax), %rax
movl (%rsi), %ecx
leal -0x155(%rcx), %edx
cmpl $0x3a, %edx
jbe 0x2ee137
leal -0x1b7(%rcx), %edx
cmpl $0xb, %edx
jbe 0x2ee166
leal -0x310(%rcx), %edx
cmpl $0x5, %edx
jb 0x2ee17a
leal -0x25f(%rcx), %edx
cmpl $0x2, %edx
jb 0x2ee... | /Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp |
(anonymous namespace)::VEAsmParser::ParseInstruction(llvm::ParseInstructionInfo&, llvm::StringRef, llvm::SMLoc, llvm::SmallVectorImpl<std::unique_ptr<llvm::MCParsedAsmOperand, std::default_delete<llvm::MCParsedAsmOperand>>>&) | bool VEAsmParser::ParseInstruction(ParseInstructionInfo &Info, StringRef Name,
SMLoc NameLoc, OperandVector &Operands) {
// If the target architecture uses MnemonicAlias, call it here to parse
// operands correctly.
applyMnemonicAliases(Name, getAvailableFeatures(), 0);
// Sp... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r9, %r14
movq %r8, %r15
movq %rdi, %rbx
leaq 0x38(%rsp), %r13
movq %rdx, (%r13)
movq %rcx, 0x8(%r13)
movq %r13, %rdi
callq 0x30323e
movq (%r13), %r12
movq 0x8(%r13), %r13
movq %r12, 0x8(%rsp)
movq %r13, 0x10(%rsp)
cmpb $0x62, (%r12... | /Target/VE/AsmParser/VEAsmParser.cpp |
llvm::VEELFMCAsmInfo::VEELFMCAsmInfo(llvm::Triple const&) | VEELFMCAsmInfo::VEELFMCAsmInfo(const Triple &TheTriple) {
CodePointerSize = CalleeSaveStackSlotSize = 8;
MaxInstLength = MinInstAlignment = 8;
// VE uses ".*byte" directive for unaligned data.
Data8bitsDirective = "\t.byte\t";
Data16bitsDirective = "\t.2byte\t";
Data32bitsDirective = "\t.4byte\t";
Data6... | pushq %rbx
movq %rdi, %rbx
callq 0x4c1cda
leaq 0x1b837d0(%rip), %rax # 0x1e8bd10
movq %rax, (%rbx)
movabsq $0x800000008, %rax # imm = 0x800000008
movq %rax, 0x8(%rbx)
movq %rax, 0x18(%rbx)
leaq 0x11585b2(%rip), %rax # 0x1460b0e
movq %rax, 0xf8(%rbx)
leaq 0x11b7b5e(%rip), %rax # 0x14c00c8
movq %rax, 0x100(%rb... | /Target/VE/MCTargetDesc/VEMCAsmInfo.cpp |
(anonymous namespace)::WebAssemblyAsmParser::CheckDataSection() | bool CheckDataSection() {
if (CurrentState != DataSection) {
auto WS = cast<MCSectionWasm>(getStreamer().getCurrentSectionOnly());
if (WS && WS->isText())
return error("data directive must occur in a data segment: ",
Lexer.getTok());
}
CurrentState = DataSection;
... | pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
cmpl $0x6, 0x140(%rdi)
je 0x30dd05
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x118(%rax), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x30dd05
testb $0x10, 0x30(%rax)
jne 0x30dd17
movl $0x6, 0x140(%rbx)
xorl %eax, %eax
addq $0x30, %rsp
popq %rbx
retq
lea... | /Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp |
llvm::X86InstPrinterCommon::printCondCode(llvm::MCInst const*, unsigned int, llvm::raw_ostream&) | void X86InstPrinterCommon::printCondCode(const MCInst *MI, unsigned Op,
raw_ostream &O) {
int64_t Imm = MI->getOperand(Op).getImm();
unsigned Opc = MI->getOpcode();
bool IsCMPCCXADD = X86::isCMPCCXADD(Opc);
bool IsCCMPOrCTEST = X86::isCCMPCC(Opc) || X86::isCTESTCC(Opc);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %eax
movq 0x10(%rsi), %rcx
shlq $0x4, %rax
movq 0x8(%rcx,%rax), %r15
movl (%rsi), %r14d
movl %r14d, %edi
callq 0x339c5e
movl %eax, %ebp
movl %r14d, %edi
callq 0x339d84
movl %eax, %ecx
movb $0x1, %al
testb %cl, %cl
jne 0x32fa64
movl %r14d,... | /Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp |
void llvm::SmallVectorImpl<char const*>::resizeImpl<false>(unsigned long) | size_t size() const { return Size; } | movl 0x8(%rdi), %eax
cmpq %rsi, %rax
je 0x35913d
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
jbe 0x35913e
movl %ebx, 0x8(%r14)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %r14, %rdi
movq %rbx, %rsi
callq 0x35916c
movq (%r14), %rax
movl 0x8(%r14), %ecx
shlq $0x3, %rcx
leaq (,%rbx,8), %rdx
cmpq %rc... | /llvm/ADT/SmallVector.h |
llvm::fallible_iterator<llvm::object::Archive::ChildFallibleIterator>::operator++() | fallible_iterator &operator++() {
assert(getErrPtr() && "Cannot increment end iterator");
if (auto Err = I.inc())
handleError(std::move(Err));
else
resetCheckedFlag();
return *this;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x35d1fc
movq (%r14), %rax
testq %rax, %rax
je 0x35d04a
andq $0x0, (%rsp)
movq 0x28(%rbx), %rcx
andq $-0x8, %rcx
movq %rax, (%rcx)
movq 0x28(%rbx), %rax
andl $0x3, %eax
orq $0x4, %rax
movq %rax, 0x28(%rbx)
jmp 0x35d05... | /llvm/ADT/fallible_iterator.h |
llvm::object::WasmObjectFile::getRelocationTypeName(llvm::object::DataRefImpl, llvm::SmallVectorImpl<char>&) const | void WasmObjectFile::getRelocationTypeName(
DataRefImpl Ref, SmallVectorImpl<char> &Result) const {
const wasm::WasmRelocation &Rel = getWasmRelocation(Ref);
StringRef Res = "Unknown";
#define WASM_RELOC(name, value) \
case wasm::name: ... | movq %rdx, %rax
movl %esi, %ecx
shrq $0x20, %rsi
movq 0x48(%rdi), %rdx
imulq $0x50, %rcx, %rcx
movq 0x30(%rdx,%rcx), %rcx
imulq $0x18, %rsi, %rdx
movzbl (%rcx,%rdx), %ecx
cmpq $0x1a, %rcx
ja 0x365e09
leaq 0x189c8cb(%rip), %rdx # 0x1c026c0
movslq (%rdx,%rcx,4), %rsi
addq %rdx, %rsi
leaq 0x189c92d(%rip), %rdx # 0x1c0... | /Object/WasmObjectFile.cpp |
llvm::object::XCOFFObjectFile::getNumberOfSymbolTableEntries() const | uint32_t XCOFFObjectFile::getNumberOfSymbolTableEntries() const {
return is64Bit() ? getNumberOfSymbolTableEntries64()
: getLogicalNumberOfSymbolTableEntries32();
} | pushq %rbx
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x40(%rax)
movq 0x30(%rbx), %rcx
testb %al, %al
je 0x36c3d7
movl 0x14(%rcx), %eax
bswapl %eax
popq %rbx
retq
movl 0xc(%rcx), %ecx
bswapl %ecx
xorl %eax, %eax
testl %ecx, %ecx
cmovgl %ecx, %eax
popq %rbx
retq
nop
| /Object/XCOFFObjectFile.cpp |
llvm::object::ELFObjectFile<llvm::object::ELFType<(llvm::endianness)1, false>>::getSectionContents(llvm::object::DataRefImpl) const | Expected<ArrayRef<uint8_t>>
ELFObjectFile<ELFT>::getSectionContents(DataRefImpl Sec) const {
const Elf_Shdr *EShdr = getSection(Sec);
if (EShdr->sh_type == ELF::SHT_NOBITS)
return ArrayRef((const uint8_t *)base(), (size_t)0);
if (Error E =
checkOffset(getMemoryBufferRef(),
(uin... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r15
movq %rdi, %rbx
cmpl $0x8, 0x4(%rdx)
jne 0x375c3d
movq 0x10(%r15), %rax
andb $-0x2, 0x10(%rbx)
movq %rax, (%rbx)
andq $0x0, 0x8(%rbx)
jmp 0x375ca6
movq %rdx, %r14
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r15, %rsi
callq 0x3405d6
movl 0x10(%... | /llvm/Object/ELFObjectFile.h |
llvm::object::ELFObjectFile<llvm::object::ELFType<(llvm::endianness)1, false>>::getRelocatedSection(llvm::object::DataRefImpl) const | Expected<section_iterator>
ELFObjectFile<ELFT>::getRelocatedSection(DataRefImpl Sec) const {
const Elf_Shdr *EShdr = getSection(Sec);
uintX_t Type = EShdr->sh_type;
if (Type != ELF::SHT_REL && Type != ELF::SHT_RELA && Type != ELF::SHT_CREL)
return section_end();
Expected<const Elf_Shdr *> SecOrErr = EF.get... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl 0x4(%rdx), %eax
cmpl $0x4, %eax
je 0x3760f9
cmpl $0x9, %eax
je 0x3760f9
cmpl $0x40000014, %eax # imm = 0x40000014
jne 0x37613a
leaq 0x38(%r14), %rsi
movl 0x1c(%rdx), %edx
movq %rsp, %r15
movq %r15, %rdi
callq 0x3428e0
testb $0x... | /llvm/Object/ELFObjectFile.h |
llvm::object::Elf_Sym_Impl<llvm::object::ELFType<(llvm::endianness)0, true>>::getName(llvm::StringRef) const | Expected<StringRef> Elf_Sym_Impl<ELFT>::getName(StringRef StrTab) const {
uint32_t Offset = this->st_name;
if (Offset >= StrTab.size())
return createStringError(object_error::parse_failed,
"st_name (0x%" PRIx32
") is past the end of the string table"
... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl (%rsi), %eax
bswapl %eax
movl %eax, 0x4(%rsp)
cmpq %rcx, %rax
jae 0x38018f
addq %rax, %rdx
movq %rbx, %rdi
movq %rdx, %rsi
callq 0x120ad0
andb $-0x2, 0x10(%rbx)
jmp 0x3801c8
movq %rcx, %r14
callq 0x34f215
leaq 0x8(%rsp), %r9
movq %r14, (%r9)
leaq 0x1884897(%ri... | /llvm/Object/ELFTypes.h |
llvm::SpecificBumpPtrAllocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned int>>::DestroyAll()::'lambda'(char*, char*)::operator()(char*, char*) const | void DestroyAll() {
auto DestroyElements = [](char *Begin, char *End) {
assert(Begin == (char *)alignAddr(Begin, Align::Of<T>()));
for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
reinterpret_cast<T *>(Ptr)->~T();
};
for (auto I = Allocator.Slabs.begin(), E = Allocator.... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %rdi
leaq 0x28(%rdi), %r14
cmpq %rbx, %r14
ja 0x381525
callq 0x1196c0
movq %r14, %rdi
jmp 0x381512
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
| /llvm/Support/Allocator.h |
llvm::detail::DenseMapPair<llvm::MCSymbol const*, std::vector<llvm::StringRef, std::allocator<llvm::StringRef>>>* llvm::DenseMapBase<llvm::DenseMap<llvm::MCSymbol const*, std::vector<llvm::StringRef, std::allocator<llvm::StringRef>>, llvm::DenseMapInfo<llvm::MCSymbol const*, void>, llvm::detail::DenseMapPair<llvm::MCSy... | 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 %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rcx, (%rsp)
movl 0x8(%rdi), %eax
movl 0x10(%rdi), %esi
leal 0x4(,%rax,4), %ecx
leal (%rsi,%rsi,2), %edx
cmpl %edx, %ecx
jae 0x383bf3
notl %eax
addl %esi, %eax
subl 0xc(%rbx), %eax
movl %esi, %ecx
shrl $0x3, %ecx
cmpl %ecx, %eax
jbe 0x383bf5
incl 0x8... | /llvm/ADT/DenseMap.h |
llvm::BinaryStreamError::BinaryStreamError(llvm::stream_error_code, llvm::StringRef) | BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context)
: Code(C) {
ErrMsg = "Stream Error: ";
switch (C) {
case stream_error_code::unspecified:
ErrMsg += "An unspecified error has occurred.";
break;
case stream_error_code::stream_too_short:
ErrMsg += "The stream is too shor... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
leaq 0x1b06c2a(%rip), %rax # 0x1e9bfd8
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
movl %esi, %ebp
leaq 0x8(%rdi), %r15
movb $0x0, 0x18(%rdi)
movl %esi, 0x28(%rdi)
leaq 0x1871... | /Support/BinaryStreamError.cpp |
llvm::SmallPtrSetImplBase::CopyFrom(llvm::SmallPtrSetImplBase const&) | void SmallPtrSetImplBase::CopyFrom(const SmallPtrSetImplBase &RHS) {
assert(&RHS != this && "Self-copy should be handled by the caller.");
if (isSmall() && RHS.isSmall())
assert(CurArraySize == RHS.CurArraySize &&
"Cannot assign sets with different small sizes");
// If we're becoming small, prepa... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq 0x8(%rdi), %rdi
movq (%rsi), %rcx
movq 0x8(%rsi), %rdx
cmpq %rax, %rdi
je 0x39fc96
cmpq %rcx, %rdx
je 0x39fcaf
movl 0x10(%rbx), %esi
cmpl %esi, 0x10(%r14)
je 0x39fcbb
shlq $0x3, %rsi
callq 0x39fccd
jmp 0x39fcb7
cmpq %rcx, %rdx
je 0x... | /Support/SmallPtrSet.cpp |
llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) | ErrorOr<std::unique_ptr<MemoryBuffer>>
SourceMgr::OpenIncludeFile(const std::string &Filename,
std::string &IncludedFile) {
ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
MemoryBuffer::getFile(Filename);
SmallString<64> Buffer(Filename);
// If the file didn't exist directly... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rcx, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x48(%rsp), %rsi
movw $0x104, 0x20(%rsi) # imm = 0x104
movq %rdx, (%rsi)
pushq $0x1
popq %rcx
xorl %r13d, %r13d
xorl %edx, %edx
xorl... | /Support/SourceMgr.cpp |
llvm::StringMapImpl::FindKey(llvm::StringRef, unsigned int) const | int StringMapImpl::FindKey(StringRef Key, uint32_t FullHashValue) const {
if (NumBuckets == 0)
return -1; // Really empty table?
#ifdef EXPENSIVE_CHECKS
assert(FullHashValue == hash(Key));
#endif
if (shouldReverseIterate())
FullHashValue = ~FullHashValue;
unsigned BucketNo = FullHashValue & (NumBuckets ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0x8(%rdi), %eax
pushq $-0x1
popq %rbx
testq %rax, %rax
je 0x3a2469
movl %ecx, %ebp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
leal -0x1(%rax), %r13d
andl %ecx, %r13d
movq (%rdi), %rcx
leaq (%rcx,%rax,8), %rdi
addq $0x8, %rdi
pu... | /Support/StringMap.cpp |
llvm::StringRef::split(llvm::SmallVectorImpl<llvm::StringRef>&, char, int, bool) const | void StringRef::split(SmallVectorImpl<StringRef> &A, char Separator,
int MaxSplit, bool KeepEmpty) const {
StringRef S = *this;
// Count down from MaxSplit. When MaxSplit is -1, this will just split
// "forever". This doesn't support splitting more than 2^31 times
// intentionally; if we ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, %r14d
movq %rsi, %rbx
movups (%rdi), %xmm0
movq %rsp, %r15
movaps %xmm0, (%r15)
movsbl %dl, %r12d
movl %r8d, 0x14(%rsp)
movl %r8d, %ebp
xorb $0x1, %bpl
subl $0x1, %r14d
jb 0x3a2eae
movq %r15, %rdi
movl %r12d, %esi
xorl %edx, %... | /Support/StringRef.cpp |
llvm::yaml::Scanner::isPlainSafeNonBlank(char const*) | bool Scanner::isPlainSafeNonBlank(StringRef::iterator Position) {
if (Position == End || isBlankOrBreak(Position))
return false;
if (FlowLevel &&
StringRef(Position, 1).find_first_of(",[]{}") != StringRef::npos)
return false;
return true;
} | pushq %rbx
subq $0x10, %rsp
cmpq %rsi, 0x30(%rdi)
je 0x3a6528
movb (%rsi), %al
addb $-0x9, %al
cmpb $0x18, %al
jae 0x3a652c
movzbl %al, %eax
movl $0x800013, %ecx # imm = 0x800013
btl %eax, %ecx
jae 0x3a652c
xorl %ebx, %ebx
jmp 0x3a655b
cmpl $0x0, 0x44(%rdi)
je 0x3a6559
movq %rsp, %rdi
movq %rsi, (%rdi)
movq $0x... | /Support/YAMLParser.cpp |
llvm::yaml::ScalarNode::getValue(llvm::SmallVectorImpl<char>&) const | StringRef ScalarNode::getValue(SmallVectorImpl<char> &Storage) const {
if (Value[0] == '"')
return getDoubleQuotedValue(Value, Storage);
if (Value[0] == '\'')
return getSingleQuotedValue(Value, Storage);
return getPlainValue(Value, Storage);
} | movq %rsi, %rcx
movq 0x48(%rdi), %rsi
movq 0x50(%rdi), %rdx
movzbl (%rsi), %eax
cmpl $0x27, %eax
je 0x3a8791
cmpl $0x22, %eax
jne 0x3a879f
jmp 0x3a87ae
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
jmp 0x3a883c
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
jmp 0x3a88bc
nop
| /Support/YAMLParser.cpp |
parseScalarValue(llvm::StringRef, llvm::SmallVectorImpl<char>&, llvm::StringRef, std::function<llvm::StringRef (llvm::StringRef, llvm::SmallVectorImpl<char>&)>) | static StringRef
parseScalarValue(StringRef UnquotedValue, SmallVectorImpl<char> &Storage,
StringRef LookupChars,
std::function<StringRef(StringRef, SmallVectorImpl<char> &)>
UnescapeCallback) {
size_t I = UnquotedValue.find_first_of(LookupChars);
if (I == Stri... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, 0x20(%rsp)
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %rbx
movq %rsp, %r14
movq %rdi, (%r14)
movq %rsi, 0x8(%r14)
movq %r14, %rdi
movq %rcx, %rsi
movq %r8, %rdx
xorl %ecx, %ecx
callq 0x3a2a1c
cmpq $-0x1, %rax
je 0x3a8b37
movq %r... | /Support/YAMLParser.cpp |
llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, unsigned long) | static unsigned count(T Val) {
if (Val == 0)
return 64;
#if __has_builtin(__builtin_clzll) || defined(__GNUC__)
return __builtin_clzll(Val);
#elif defined(_MSC_VER)
unsigned long Index;
_BitScanReverse64(&Index, Val);
return Index ^ 63;
#endif
} | testq %rdx, %rdx
je 0x3a972f
bsrq %rdx, %rax
xorq $0x3f, %rax
jmp 0x3a9732
pushq $0x40
popq %rax
movb $0x3f, %cl
subb %al, %cl
movzbl %cl, %edx
jmp 0x156a96
| /llvm/ADT/bit.h |
llvm::raw_null_ostream::~raw_null_ostream() | raw_null_ostream::~raw_null_ostream() {
#ifndef NDEBUG
// ~raw_ostream asserts that the buffer is empty. This isn't necessary
// with raw_null_ostream, but it's better to have raw_null_ostream follow
// the rules than to change the rules just for raw_null_ostream.
flush();
#endif
} | jmp 0x3aaffa
nop
| /Support/raw_ostream.cpp |
llvm_regcomp | int /* 0 success, otherwise REG_something */
llvm_regcomp(llvm_regex_t *preg, const char *pattern, int cflags)
{
struct parse pa;
struct re_guts *g;
struct parse *p = &pa;
int i;
size_t len;
#ifdef REDEBUG
# define GOODFLAGS(f) (f)
#else
# define GOODFLAGS(f) ((f)&~REG_DUMP)
#endif
cflags = GOODFLAGS(cflags);... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movl %edx, %eax
notl %eax
pushq $0x10
popq %r12
testb $0x11, %al
je 0x3ab7a1
movl %edx, %ebp
movq %rsi, %r15
testb $0x20, %bpl
jne 0x3ab2fd
movq %rdi, (%rsp)
movq %r15, %rdi
callq 0x119310
movq %rax, %r13
jmp 0x3ab30e
movq 0x10(%rdi), %r... | /Support/regcomp.c |
p_bre | static void
p_bre(struct parse *p,
int end1, /* first terminating character */
int end2) /* second terminating character */
{
sopno start = HERE();
int first = 1; /* first subexpression? */
int wasdollar = 0;
if (EAT('^')) {
EMIT(OBOL, 0);
p->g->iflags |= USEBOL;
p->g->nbol++;
}
while (MORE() &... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %r14d
movl %esi, 0xc(%rsp)
movq %rdi, %rbx
movq 0x28(%rdi), %rax
movq %rax, 0x10(%rsp)
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
subq %rax, %rcx
testq %rcx, %rcx
jle 0x3ac03d
cmpb $0x5e, (%rax)
jne 0x3ac03d
incq %rax
movq %rax, (... | /Support/regcomp.c |
enlarge | static void
enlarge(struct parse *p, sopno size)
{
sop *sp;
if (p->ssize >= size)
return;
if ((uintptr_t)size > SIZE_MAX / sizeof(sop)) {
SETERROR(REG_ESPACE);
return;
}
sp = (sop *)realloc(p->strip, size*sizeof(sop));
if (sp == NULL) {
SETERROR(REG_ESPACE);
return;
}
p->strip = sp;
p->ssize = siz... | cmpq %rsi, 0x20(%rdi)
jge 0x3ad4a7
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rax
shrq $0x3d, %rax
jne 0x3ad485
movq 0x18(%rbx), %rdi
leaq (,%r14,8), %rsi
callq 0x1190d0
testq %rax, %rax
je 0x3ad485
movq %rax, 0x18(%rbx)
movq %r14, 0x20(%rbx)
jmp 0x3ad4a0
cmpl $0x0, 0x10(%rbx)
jne 0x3a... | /Support/regcomp.c |
std::enable_if<has_ScalarTraits<std::pair<llvm::MachO::Target, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::value, void>::type llvm::yaml::yamlize<std::pair<llvm::MachO::Target, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(llvm::yaml::IO&, std::pa... | std::enable_if_t<has_ScalarTraits<T>::value, void> yamlize(IO &io, T &Val, bool,
EmptyContext &Ctx) {
if ( io.outputting() ) {
SmallString<128> Storage;
raw_svector_ostream Buffer(Storage);
ScalarTraits<T>::output(Val, io.getContext(), Buffer);
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x10(%rax)
testb %al, %al
je 0x3cc596
leaq 0x68(%rsp), %rax
movq %rax, -0x18(%rax)
andq $0x0, -0x10(%rax)
movq $0x80, -0x8(%rax)
leaq 0x10(%rsp), %r12
leaq 0x50(%rsp), %r15
movq %r12, %rdi
movq %r15, %r... | /llvm/Support/YAMLTraits.h |
llvm::AttributeListImpl::AttributeListImpl(llvm::ArrayRef<llvm::AttributeSet>) | AttributeListImpl::AttributeListImpl(ArrayRef<AttributeSet> Sets)
: NumAttrSets(Sets.size()) {
assert(!Sets.empty() && "pointless AttributeListImpl");
// There's memory after the node where we can store the entries in.
llvm::copy(Sets, getTrailingObjects<AttributeSet>());
// Initialize AvailableFunctionAt... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rdi, %rbx
andq $0x0, (%rdi)
movl %r15d, 0x8(%rdi)
andq $0x0, 0x1c(%rdi)
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rdi)
testq %rdx, %rdx
je 0x3d5db9
leaq (,%r15,8), %rdx
leaq 0x28(%rbx), %rdi
movq %r14, %rsi
callq 0x119150
movq (%r14), %rcx
leaq 0x30(%rc... | /IR/Attributes.cpp |
void llvm::SmallVectorImpl<llvm::AttributeSet>::append<llvm::AttributeSet const*, void>(llvm::AttributeSet const*, llvm::AttributeSet 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 %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rdx, %r12
subq %rsi, %r12
sarq $0x3, %r12
movl 0x8(%rdi), %esi
addq %r12, %rsi
callq 0x3d61f2
subq %r15, %r14
je 0x3d8232
movl 0x8(%rbx), %edi
shlq $0x3, %rdi
addq (%rbx), %rdi
movq %r15, %rsi
movq %r14, %rdx
ca... | /llvm/ADT/SmallVector.h |
llvm::UndefValue::get(llvm::Type*) | UndefValue *UndefValue::get(Type *Ty) {
std::unique_ptr<UndefValue> &Entry = Ty->getContext().pImpl->UVConstants[Ty];
if (!Entry)
Entry.reset(new UndefValue(Ty));
return Entry.get();
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsp, %rsi
movq %rdi, (%rsi)
movq (%rdi), %rax
movl $0x5d8, %edi # imm = 0x5D8
addq (%rax), %rdi
callq 0x3e26c4
movq %rax, %rbx
movq 0x8(%rax), %rax
testq %rax, %rax
jne 0x3da063
addq $0x8, %rbx
pushq $0x18
popq %rdi
callq 0x3da1d6
movq %rax, %r14
movq (%rsp), %rsi
movq ... | /IR/Constants.cpp |
llvm::ConstantInt::get(llvm::LLVMContext&, llvm::ElementCount, llvm::APInt const&) | ConstantInt *ConstantInt::get(LLVMContext &Context, ElementCount EC,
const APInt &V) {
// Get an existing value or the insertion position.
std::unique_ptr<ConstantInt> &Slot =
Context.pImpl->IntSplatConstants[std::make_pair(EC, V)];
if (!Slot) {
IntegerType *ITy = IntegerTy... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
movl $0x108, %r14d # imm = 0x108
addq (%rdi), %r14
leaq 0x10(%rsp), %r13
movq %rsi, -0x8(%r13)
movq %r13, %rdi
movq %rdx, %rsi
callq 0x12b9e6
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x3df... | /IR/Constants.cpp |
llvm::DenseMapIterator<llvm::ConstantArray*, llvm::detail::DenseSetEmpty, llvm::ConstantUniqueMap<llvm::ConstantArray>::MapInfo, llvm::detail::DenseSetPair<llvm::ConstantArray*>, false> llvm::DenseMapBase<llvm::DenseMap<llvm::ConstantArray*, llvm::detail::DenseSetEmpty, llvm::ConstantUniqueMap<llvm::ConstantArray>::Map... | iterator find_as(const LookupKeyT &Val) {
BucketT *TheBucket;
if (LookupBucketFor(Val, TheBucket))
return makeIterator(TheBucket,
shouldReverseIterate<KeyT>() ? getBuckets()
: getBucketsEnd(),
*this,... | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
callq 0x3e04de
testb %al, %al
je 0x3e04cb
movq 0x8(%rsp), %rax
movl 0x10(%rbx), %edx
shlq $0x3, %rdx
addq (%rbx), %rdx
jmp 0x3e04d8
movl 0x10(%rbx), %eax
shlq $0x3, %rax
addq (%rbx), %rax
movq %rax, %rdx
addq $0x10, %rsp
popq %rbx
retq
| /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<llvm::Type*, std::unique_ptr<llvm::ConstantAggregateZero, std::default_delete<llvm::ConstantAggregateZero>>, llvm::DenseMapInfo<llvm::Type*, void>, llvm::detail::DenseMapPair<llvm::Type*, std::unique_ptr<llvm::ConstantAggregateZero, std::default_delete<llvm::ConstantAggregateZero>>>>, ... | 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
callq 0x3e1d6e
addq $0x8, %r14
movl $0x1000, %r13d # imm = 0x1000
leaq 0x8(%rsp), %r12
leaq -0x8(%r14), %rsi
cmpq %rbx, %rsi
je 0x3e1e0e
movq (%rsi), %rax
orq %r13, %rax
cmpq $-0x1000, %rax ... | /llvm/ADT/DenseMap.h |
llvm::DenseMap<llvm::GlobalValue const*, llvm::NoCFIValue*, llvm::DenseMapInfo<llvm::GlobalValue const*, void>, llvm::detail::DenseMapPair<llvm::GlobalValue const*, llvm::NoCFIValue*>>::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), %edi
callq 0x1247ae
cmpl $0x41, %eax
pushq $0x40
popq %rsi
cmovael %eax, %esi
movq %r15, %rdi
callq 0x3e343e
testq %r14, %r14
je 0x3e3430
shlq $0x4, %rbx
leaq (%r14,%rbx), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq... | /llvm/ADT/DenseMap.h |
llvm::Function::clearArguments() | void Function::clearArguments() {
for (Argument &A : makeArgArray(Arguments, NumArgs)) {
A.setName("");
A.~Argument();
}
std::allocator<Argument>().deallocate(Arguments, NumArgs);
Arguments = nullptr;
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movq 0x58(%rdi), %r14
imulq $0x28, 0x60(%rdi), %r12
movq %rsp, %r15
testq %r12, %r12
je 0x3ebfa7
movw $0x101, 0x20(%rsp) # imm = 0x101
movq %r14, %rdi
movq %r15, %rsi
callq 0x41b508
movq %r14, %rdi
callq 0x41b176
addq $0x28, %r14
addq $-0... | /IR/Function.cpp |
llvm::IntrinsicInst::isAssumeLikeIntrinsic() const | bool isAssumeLikeIntrinsic() const {
switch (getIntrinsicID()) {
default: break;
case Intrinsic::assume:
case Intrinsic::sideeffect:
case Intrinsic::pseudoprobe:
case Intrinsic::dbg_assign:
case Intrinsic::dbg_declare:
case Intrinsic::dbg_value:
case Intrinsic::dbg_label:
case In... | pushq %rax
callq 0x3dd2de
movl %eax, %ecx
movb $0x1, %al
leal -0xb(%rcx), %edx
cmpl $0x3a, %edx
jbe 0x3ef028
leal -0x97(%rcx), %edx
cmpl $0x36, %edx
jbe 0x3ef03a
leal -0x111(%rcx), %edx
cmpl $0x2a, %edx
ja 0x3ef01c
movabsq $0x40000000601, %rsi # imm = 0x40000000601
btq %rdx, %rsi
jb 0x3ef04a
cmpl $0x16c, %ecx ... | /llvm/IR/IntrinsicInst.h |
llvm::ShuffleVectorInst::convertShuffleMaskForBitcode(llvm::ArrayRef<int>, llvm::Type*) | Constant *ShuffleVectorInst::convertShuffleMaskForBitcode(ArrayRef<int> Mask,
Type *ResultTy) {
Type *Int32Ty = Type::getInt32Ty(ResultTy->getContext());
if (isa<ScalableVectorType>(ResultTy)) {
assert(all_equal(Mask) && "Unexpected shuffle");
Type *... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdx), %rdi
callq 0x41710a
movq %rax, %r15
cmpb $0x13, 0x8(%r12)
jne 0x3f45f5
movl %r14d, %esi
btsq $0x20, %rsi
movq %r15, %rdi
callq 0x417994
cmpl $0x0, (%rbx)
je 0x3f4674
movq %rax, %rdi
addq ... | /IR/Instructions.cpp |
llvm::DenseMapBase<llvm::DenseMap<llvm::Module*, unsigned int, llvm::DenseMapInfo<llvm::Module*, void>, llvm::detail::DenseMapPair<llvm::Module*, unsigned int>>, llvm::Module*, unsigned int, llvm::DenseMapInfo<llvm::Module*, void>, llvm::detail::DenseMapPair<llvm::Module*, unsigned int>>::erase(llvm::Module* const&) | bool erase(const KeyT &Val) {
BucketT *TheBucket;
if (!LookupBucketFor(Val, TheBucket))
return false; // not in map.
TheBucket->getSecond().~ValueT();
TheBucket->getFirst() = getTombstoneKey();
decrementNumEntries();
incrementNumTombstones();
return true;
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
callq 0x3f778a
testb %al, %al
je 0x3f7350
movq 0x8(%rsp), %rcx
movq $-0x2000, (%rcx) # imm = 0xE000
movq 0x8(%rbx), %xmm0
paddd 0x1810725(%rip), %xmm0 # 0x1c07a70
movq %xmm0, 0x8(%rbx)
addq $0x10, %rsp
popq %rbx
retq
| /llvm/ADT/DenseMap.h |
llvm::DenseMap<llvm::Function const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, llvm::DenseMapInfo<llvm::Function const*, void>, llvm::detail::DenseMapPair<llvm::Function const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::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, %r14
movl 0x10(%rdi), %r15d
movq (%rdi), %rbx
leal -0x1(%rsi), %edi
callq 0x1247ae
cmpl $0x41, %eax
pushq $0x40
popq %rsi
cmovael %eax, %esi
movq %r14, %rdi
callq 0x3f7a96
testq %rbx, %rbx
je 0x3f7a89
imulq $0x28, %r15, %r15
leaq (%rbx,%r15), %rdx
movq %r14, %rdi
movq %rbx, %... | /llvm/ADT/DenseMap.h |
llvm::DenseMapIterator<llvm::Metadata*, llvm::MetadataAsValue*, llvm::DenseMapInfo<llvm::Metadata*, void>, llvm::detail::DenseMapPair<llvm::Metadata*, llvm::MetadataAsValue*>, 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... | pushq %rbx
movq %rdi, %rbx
addq $0x10, (%rdi)
callq 0x3ff4a8
movq %rbx, %rax
popq %rbx
retq
| /llvm/ADT/DenseMap.h |
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::Const... | void clear() {
incrementEpoch();
if (getNumEntries() == 0 && getNumTombstones() == 0) return;
// If the capacity of the array is huge, and the # elements used is small,
// shrink the array.
if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
shrink_and_clear();
return;
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movl 0x8(%rdi), %ecx
testl %ecx, %ecx
jne 0x3fa891
cmpl $0x0, 0xc(%rbx)
je 0x3fa938
shll $0x2, %ecx
movl 0x10(%rbx), %eax
cmpl %eax, %ecx
setae %cl
cmpl $0x41, %eax
setb %dl
orb %cl, %dl
jne 0x3fa8bb
movq %rbx, %rdi
addq $0x20, %rsp... | /llvm/ADT/DenseMap.h |
std::pair<unsigned int, llvm::MDNode*>& llvm::SmallVectorTemplateBase<std::pair<unsigned int, llvm::MDNode*>, true>::growAndEmplaceBack<unsigned int const&, llvm::TypedTrackingMDRef<llvm::MDNode> const&>(unsigned int const&, llvm::TypedTrackingMDRef<llvm::MDNode> const&) | T &growAndEmplaceBack(ArgTypes &&... Args) {
// Use push_back with a copy in case Args has an internal reference,
// side-stepping reference invalidation problems without losing the realloc
// optimization.
push_back(T(std::forward<ArgTypes>(Args)...));
return this->back();
} | pushq %rbx
movq %rdi, %rbx
movl (%rsi), %esi
movq (%rdx), %rdx
callq 0x40412e
movq (%rbx), %rax
movl 0x8(%rbx), %ecx
shlq $0x4, %rcx
addq %rcx, %rax
addq $-0x10, %rax
popq %rbx
retq
| /llvm/ADT/SmallVector.h |
(anonymous namespace)::MDTreeAsmWriterContext::~MDTreeAsmWriterContext() | ~MDTreeAsmWriterContext() {
for (const auto &Entry : Buffer) {
MainOS << "\n";
unsigned NumIndent = Entry.first * 2U;
MainOS.indent(NumIndent) << Entry.second;
}
} | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r14
leaq 0x1a9992d(%rip), %rax # 0x1ec1668
movq %rax, (%rdi)
leaq 0x28(%rdi), %rbx
movq 0x28(%rdi), %r12
movl 0x30(%rdi), %eax
imulq $0x28, %rax, %r13
leaq 0x17e4ae0(%rip), %r15 # 0x1c0c834
testq %r13, %r13
je 0x427d91
movq 0x118(%r14), %rdi
movq %r... | /IR/AsmWriter.cpp |
void llvm::SmallVectorImpl<char>::append<unsigned long const*, void>(unsigned long const*, unsigned long 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 %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rdx, %r12
subq %rsi, %r12
sarq $0x3, %r12
movq 0x8(%rdi), %rsi
addq %r12, %rsi
callq 0x16e628
movq (%r15), %rdx
addq 0x8(%r15), %rdx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x46b260
addq %r12, 0x8(%r15)
addq $0x8,... | /llvm/ADT/SmallVector.h |
getDecodedThreadLocalMode(unsigned int) | static GlobalVariable::ThreadLocalMode getDecodedThreadLocalMode(unsigned Val) {
switch (Val) {
case 0: return GlobalVariable::NotThreadLocal;
default: // Map unknown non-zero value to general dynamic.
case 1: return GlobalVariable::GeneralDynamicTLSModel;
case 2: return GlobalVariable::LocalDynamicTL... | cmpl $0x5, %edi
pushq $0x1
popq %rax
cmovbl %edi, %eax
retq
| /Bitcode/Reader/BitcodeReader.cpp |
llvm::cl::opt<bool, false, llvm::cl::parser<bool>>::opt<char [29], llvm::cl::initializer<bool>, llvm::cl::OptionHidden, llvm::cl::desc>(char const (&) [29], llvm::cl::initializer<bool> const&, llvm::cl::OptionHidden const&, llvm::cl::desc 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 0x15bbbc
movb $0x0, 0x80(%r14)
andq $0x0, 0x90(%r14)
leaq 0x19a0c00(%rip), %rax # 0x1e14e90
addq $0x10, %rax
movq %rax, 0x88(%r14)
leaq 0x1a28056(... | /llvm/Support/CommandLine.h |
llvm::DenseMapBase<llvm::DenseMap<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>, unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>>::find(unsigned int const&) | iterator find(const_arg_type_t<KeyT> Val) {
BucketT *TheBucket;
if (LookupBucketFor(Val, TheBucket))
return makeIterator(TheBucket,
shouldReverseIterate<KeyT>() ? getBuckets()
: getBucketsEnd(),
*thi... | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %rdx
callq 0x47ef30
testb %al, %al
je 0x47946f
movq 0x8(%rsp), %rax
movl 0x10(%rbx), %edx
shlq $0x3, %rdx
addq (%rbx), %rdx
jmp 0x47947c
movl 0x10(%rbx), %eax
shlq $0x3, %rax
addq (%rbx), %rax
movq %rax, %rdx
addq $0x10, %rsp
popq %rbx
retq
| /llvm/ADT/DenseMap.h |
llvm::MetadataLoader::MetadataLoaderImpl::getMetadataFwdRefOrLoad(unsigned int) | Metadata *getMetadataFwdRefOrLoad(unsigned ID) {
if (ID < MDStringRef.size())
return lazyLoadOneMDString(ID);
if (auto *MD = MetadataList.lookup(ID))
return MD;
// If lazy-loading is enabled, we try recursively to load the operand
// instead of creating a temporary.
if (ID < (MDStringRef... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x58, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r15d
movq 0x2a8(%rdi), %rax
subq 0x2a0(%rdi), %rax
sarq $0x4, %rax
cmpq %r15, %rax
jbe 0x4794bf
movq %rbx, %rdi
movl %ebp, %esi
addq $0x58, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x479328
cmpl %ebp, 0x8(%r... | /Bitcode/Reader/MetadataLoader.cpp |
llvm::SmallVectorImpl<llvm::BitstreamCursor::Block>::operator=(llvm::SmallVectorImpl<llvm::BitstreamCursor::Block> 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 0x47a294
movq %rsi, %r12
movl 0x8(%rsi), %r14d
movl 0x8(%rbx), %r15d
cmpl %r14d, %r15d
jae 0x47a20f
cmpl %r14d, 0xc(%rbx)
jae 0x47a236
movq %rbx, %rdi
callq 0x45c4ec
movq %rbx, %rdi
movq %r14, %rsi
callq 0x45c508
jmp 0x47a253
test... | /llvm/ADT/SmallVector.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... | 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
callq 0x47b1d0
movl $0x1000, %r13d # imm = 0x1000
leaq 0x8(%rsp), %r12
cmpq %rbx, %r14
je 0x47b4e4
movq (%r14), %rax
orq %r13, %rax
cmpq $-0x1000, %rax # imm = 0xF000
je 0x47b4de
mov... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::SmallDenseMap<unsigned int, llvm::detail::DenseSetEmpty, 1u, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair<unsigned int>>, unsigned int, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair<unsigned int>>::LookupBucketFor<unsi... | const BucketT *getBuckets() const {
return Small ? getInlineBuckets() : getLargeRep()->Buckets;
} | leaq 0x8(%rdi), %rcx
testb $0x1, (%rdi)
cmoveq 0x8(%rdi), %rcx
movl $0x1, %r8d
movl 0x10(%rdi), %edi
cmovnel %r8d, %edi
testl %edi, %edi
je 0x47bb7e
pushq %rbx
movl (%rsi), %esi
imull $0x25, %esi, %r10d
decl %edi
xorl %r9d, %r9d
andl %edi, %r10d
leaq (%rcx,%r10,4), %r11
movl (%r11), %ebx
movb $0x1, %al
cmpl %ebx, %esi
... | /llvm/ADT/DenseMap.h |
llvm::DenseMapIterator<unsigned int, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair<unsigned int>, false>::AdvancePastEmptyBuckets() | void AdvancePastEmptyBuckets() {
assert(Ptr <= End);
const KeyT Empty = KeyInfoT::getEmptyKey();
const KeyT Tombstone = KeyInfoT::getTombstoneKey();
while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) ||
KeyInfoT::isEqual(Ptr->getFirst(), Tombstone)))
++Ptr;
... | movq (%rdi), %rax
movq 0x8(%rdi), %rcx
cmpq %rcx, %rax
je 0x47bbae
cmpl $-0x2, (%rax)
jb 0x47bbae
addq $0x4, %rax
movq %rax, (%rdi)
jmp 0x47bb9b
retq
nop
| /llvm/ADT/DenseMap.h |
llvm::detail::DenseSetPair<unsigned int>* llvm::DenseMapBase<llvm::SmallDenseMap<unsigned int, llvm::detail::DenseSetEmpty, 1u, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair<unsigned int>>, unsigned int, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseSetPair... | 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 %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movq %rcx, (%rsp)
movl (%rdi), %ecx
movl %ecx, %eax
shrl %eax
testb $0x1, %cl
jne 0x47bbce
movl 0x10(%rbx), %esi
jmp 0x47bbd1
pushq $0x1
popq %rsi
leal 0x4(,%rax,4), %ecx
leal (%rsi,%rsi,2), %edx
cmpl %edx, %ecx
jae 0x47bc06
notl %eax
addl %esi, %eax
subl... | /llvm/ADT/DenseMap.h |
upgradeX86ALIGNIntrinsics(llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&, llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, llvm::Value*, bool) | static Value *upgradeX86ALIGNIntrinsics(IRBuilder<> &Builder, Value *Op0,
Value *Op1, Value *Shift,
Value *Passthru, Value *Mask,
bool IsVALIGN) {
unsigned ShiftVal = cast<llvm::ConstantInt>(Shift)-... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp # imm = 0x138
movq %r9, %r14
movq %rsi, %r12
movq %rdi, %r15
movb 0x170(%rsp), %bpl
cmpl $0x41, 0x20(%rcx)
jb 0x492bd9
movq 0x18(%rcx), %rcx
jmp 0x492bdd
addq $0x18, %rcx
movq 0x8(%r12), %rdi
movl 0x20(%rdi), %r13d
leal -0x1(... | /IR/AutoUpgrade.cpp |
llvm::InlineAsm::ParseConstraints(llvm::StringRef) | InlineAsm::ConstraintInfoVector
InlineAsm::ParseConstraints(StringRef Constraints) {
ConstraintInfoVector Result;
// Scan the constraints string.
for (StringRef::iterator I = Constraints.begin(),
E = Constraints.end(); I != E; ) {
ConstraintInfo Info;
// Find the end of this constraint.
Str... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %rbx
movq %rsi, %r13
movq %rdi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
addq %rsi, %rbx
leaq 0x18(%rsp), %r15
cmpq %rbx, %r13
je 0x4942e5
andl $0x0, 0x8(%rsp)
movb $0x0, 0xc(%rsp)
orl $-0x1, 0x10(%rs... | /IR/InlineAsm.cpp |
llvm::cl::opt<llvm::ChangePrinter, false, llvm::cl::parser<llvm::ChangePrinter>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef) | bool handleOccurrence(unsigned pos, StringRef ArgName,
StringRef Arg) override {
typename ParserClass::parser_data_type Val =
typename ParserClass::parser_data_type();
if (Parser.parse(*this, ArgName, Arg, Val))
return true; // Parse error!
this->setValue(Val);
this... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
leaq 0xc(%rsp), %rax
andl $0x0, (%rax)
addq $0x98, %rdi
movq %rax, (%rsp)
movq %rbx, %rsi
callq 0x496356
movl %eax, %r14d
testb %al, %al
jne 0x49622d
leaq 0xc(%rsp), %rsi
movl (%rsi), %eax
movl %eax, 0x80(%rbx)
movw %bp, 0xc(%rbx)
addq $0... | /llvm/Support/CommandLine.h |
llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::MCSymbol const*, unsigned int>, llvm::MCSymbolRefExpr const*, llvm::DenseMapInfo<std::pair<llvm::MCSymbol const*, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<llvm::MCSymbol const*, unsigned int>, llvm::MCSymbolRefExpr const*>>, std::pair<llvm::MCSymbol co... | 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 + ... | testl %esi, %esi
je 0x4c06a2
pushq %rax
shll $0x2, %esi
pushq $0x3
popq %rcx
movl %esi, %eax
xorl %edx, %edx
divl %ecx
leal 0x1(%rax), %edi
callq 0x1247ae
addq $0x8, %rsp
retq
xorl %eax, %eax
retq
nop
| /llvm/ADT/DenseMap.h |
Catch::AutoReg::registerTestCase(Catch::ITestCase*, char const*, Catch::NameAndDesc const&, Catch::SourceLineInfo const&) | void AutoReg::registerTestCase( ITestCase* testCase,
char const* classOrQualifiedMethodName,
NameAndDesc const& nameAndDesc,
SourceLineInfo const& lineInfo ) {
getMutableRegistryHub().registerTest
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r13
movq %rsi, %r15
callq 0x3bdeb
movq %rax, %rbx
leaq 0x70(%rsp), %rbp
leaq 0xf(%rsp), %rdx
movq %rbp, %rdi
movq %r13, %rsi
callq 0x3b120
leaq 0x50(%rsp), %rdi
movq %r... | /jjh13[P]sisl/test/../include/catch/catch.hpp |
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.