name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
(anonymous namespace)::MipsAsmParser::expandRotationImm(llvm::MCInst&, llvm::SMLoc, llvm::MCStreamer&, llvm::MCSubtargetInfo const*)
bool MipsAsmParser::expandRotationImm(MCInst &Inst, SMLoc IDLoc, MCStreamer &Out, const MCSubtargetInfo *STI) { MipsTargetStreamer &TOut = getTargetStreamer(); unsigned ATReg = Mips::NoRegister; unsigned DReg = Inst.getOperand(0).getReg()...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx movq 0x8(%rdi), %rdi movq (%rdi), %rax callq *0x38(%rax) movq 0x10(%rax), %r14 movq 0x10(%r12), %rax movl 0x8(%rax), %r13d movl 0x18(%rax), %ecx movl %ecx, 0x8(%rsp) movq 0x28(%rax), %rbp m...
/Target/Mips/AsmParser/MipsAsmParser.cpp
(anonymous namespace)::MipsAsmParser::emitPartialAddress(llvm::MipsTargetStreamer&, llvm::SMLoc, llvm::MCSymbol*)
bool MipsAsmParser::emitPartialAddress(MipsTargetStreamer &TOut, SMLoc IDLoc, MCSymbol *Sym) { unsigned ATReg = getATReg(IDLoc); if (!ATReg) return true; if(IsPicEnabled) { const MCExpr *GotSym = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getCont...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbp movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %r15 movq %rdx, %rsi callq 0x684d52 movl %eax, %ebx testl %eax, %eax je 0x691db9 movq %r14, 0x8(%rsp) movq %r12, %r14 movb 0x161(%r15), %r12b movq 0x8(%r15), %rdi movq (%rdi), %r...
/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm::MipsTargetStreamer::emitStoreWithImmOffset(unsigned int, unsigned int, unsigned int, long, llvm::function_ref<unsigned int ()>, llvm::SMLoc, llvm::MCSubtargetInfo const*)
void MipsTargetStreamer::emitStoreWithImmOffset( unsigned Opcode, unsigned SrcReg, unsigned BaseReg, int64_t Offset, function_ref<unsigned()> GetATReg, SMLoc IDLoc, const MCSubtargetInfo *STI) { if (isInt<16>(Offset)) { emitRRI(Opcode, SrcReg, BaseReg, Offset, IDLoc, STI); return; } // sw $8,...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %rbx movq %r8, %r14 movl %ecx, %ebp movl %esi, %r15d movq %rdi, %r12 movswq %r14w, %rax cmpq %r8, %rax jne 0x693c24 movq %r12, %rdi movl %r15d, %esi movl %ebp, %ecx movl $0x2, %r8d movq %r14, %r9 pushq 0x50(%rsp) jmp 0x693cc7 movl %e...
/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm::MipsTargetELFStreamer::emitMipsAbiFlags()
void MipsTargetELFStreamer::emitMipsAbiFlags() { MCAssembler &MCA = getStreamer().getAssembler(); MCContext &Context = MCA.getContext(); MCStreamer &OS = getStreamer(); MCSectionELF *Sec = Context.getELFSection( ".MIPS.abiflags", ELF::SHT_MIPS_ABIFLAGS, ELF::SHF_ALLOC, 24); OS.switchSection(Sec); Sec-...
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rdi, %rbx movq 0x8(%rdi), %r14 movq 0x120(%r14), %rax movq (%rax), %rdi leaq 0x2075d0d(%rip), %rax # 0x270adcc movq %rsp, %rsi movq %rax, (%rsi) movw $0x103, 0x20(%rsi) # imm = 0x103 leaq 0x28(%rsp), %r9 movw $0x101, 0x20(%r9) # imm = 0x101 subq $0x8,...
/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm::MipsTargetELFStreamer::emitDirectiveCpreturn(unsigned int, bool)
void MipsTargetELFStreamer::emitDirectiveCpreturn(unsigned SaveLocation, bool SaveLocationIsRegister) { // Only N32 and N64 emit anything for .cpreturn iff PIC is set. if (!Pic || !(getABI().IsN32() || getABI().IsN64())) return; MCInst Inst; // Either resto...
cmpb $0x1, 0x70(%rdi) jne 0x6959c6 pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x88, %rsp movq %rdi, %rbx movl 0x10(%rdi), %eax andl $-0x2, %eax cmpl $0x2, %eax jne 0x6959b9 movl %esi, %ebp leaq 0x10(%rsp), %r14 leaq 0x20(%rsp), %r15 xorps %xmm0, %xmm0 movaps %xmm0, -0x20(%r15) movq %r15, -0x10(%r15) movabsq $0x6...
/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm::MipsELFStreamer::emitInstruction(llvm::MCInst const&, llvm::MCSubtargetInfo const&)
void MipsELFStreamer::emitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) { MCELFStreamer::emitInstruction(Inst, STI); MCContext &Context = getContext(); const MCRegisterInfo *MCRegInfo = Context.getRegisterInfo(); for (unsigned OpIndex = 0; OpIndex < Inst.get...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx callq 0x16fefb2 movl 0x18(%r14), %eax testl %eax, %eax je 0x6979eb movq 0x8(%rbx), %rcx movq 0xa0(%rcx), %r15 movl $0x8, %r12d xorl %r13d, %r13d movq 0x10(%r14), %rcx cmpb $0x1, -0x8(%rcx,%r12) jne 0x6979dd movl (%rcx,%r12), %esi mov...
/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp
void llvm::MipsInstPrinter::printUImm<6u, 1u>(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 0x6998a2 addq %rax, %rcx movl 0x8(%rcx), %r14d decl %r14d andl $0x3f, %r14d incq %r14 movq %rsp, %r15 movq %r15, %rdi movq %rbx, %rsi movq %r8, %rdx xorl %ecx, %e...
/Target/Mips/MCTargetDesc/MipsInstPrinter.cpp
(anonymous namespace)::MSP430AsmParser::tryParseRegister(llvm::MCRegister&, llvm::SMLoc&, llvm::SMLoc&)
ParseStatus MSP430AsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) { if (getLexer().getKind() == AsmToken::Identifier) { auto Name = getLexer().getTok().getIdentifier().lower(); Reg = MatchRegisterName(Name); if (Reg == MSP430::NoRe...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r14 movq 0x138(%rdi), %rdi movq (%rdi), %rax callq *0x28(%rax) movq 0x8(%rax), %rax movl $0x1, %ebp cmpl $0x2, (%rax) jne 0x69f8ed movq 0x138(%r14), %rdi movq (%rdi), %rax callq...
/Target/MSP430/AsmParser/MSP430AsmParser.cpp
createMSP430MCRegisterInfo(llvm::Triple const&)
static MCRegisterInfo *createMSP430MCRegisterInfo(const Triple &TT) { MCRegisterInfo *X = new MCRegisterInfo(); InitMSP430MCRegisterInfo(X, MSP430::PC); return X; }
pushq %r14 pushq %rbx pushq %rax movl $0xe0, %edi callq 0x4ba720 movq %rax, %rbx leaq 0xc8(%rax), %r14 leaq 0x10(%rax), %rdi movl $0xd0, %edx xorl %esi, %esi callq 0x4ba210 leaq 0x2086da2(%rip), %rax # 0x27285c0 movq %rax, (%rbx) movabsq $0x300000021, %rax # imm = 0x300000021 movq %rax, 0x8(%rbx) leaq 0x2f3a83a(...
/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp
(anonymous namespace)::PPCAsmParser::tryParseRegister(llvm::MCRegister&, llvm::SMLoc&, llvm::SMLoc&)
ParseStatus PPCAsmParser::tryParseRegister(MCRegister &Reg, SMLoc &StartLoc, SMLoc &EndLoc) { const AsmToken &Tok = getParser().getTok(); StartLoc = Tok.getLoc(); EndLoc = Tok.getEndLoc(); Reg = PPC::NoRegister; int64_t IntVal; if (MatchRegisterName(Reg, IntVal)) ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq 0x8(%rdi), %rdi callq 0x16d93b2 movq %rax, %r13 movq %rax, %rdi callq 0x16d9238 movq %rax, (%r14) movq %r13, %rdi callq 0x16d923e movq %rax, (%rbx) movl $0x0, (%r15) leaq 0x8(%rsp...
/Target/PowerPC/AsmParser/PPCAsmParser.cpp
llvm::RISCVABI::getTargetABI(llvm::StringRef)
inline bool operator==(StringRef LHS, StringRef RHS) { if (LHS.size() != RHS.size()) return false; if (LHS.empty()) return true; return ::memcmp(LHS.data(), RHS.data(), LHS.size()) == 0; }
cmpq $0x4, %rsi je 0x6d4429 cmpq $0x6, %rsi je 0x6d43d9 cmpq $0x5, %rsi jne 0x6d4445 movl $0x33706c69, %eax # imm = 0x33706C69 xorl (%rdi), %eax movabsq $0x100000000, %rcx # imm = 0x100000000 movzbl 0x4(%rdi), %edx xorl $0x32, %edx orl %eax, %edx je 0x6d445e movl $0x3436706c, %eax # imm = 0x3436706C mo...
/llvm/ADT/StringRef.h
generateInstSeqImpl(long, llvm::MCSubtargetInfo const&, llvm::SmallVector<llvm::RISCVMatInt::Inst, 8u>&)
static void generateInstSeqImpl(int64_t Val, const MCSubtargetInfo &STI, RISCVMatInt::InstSeq &Res) { bool IsRV64 = STI.hasFeature(RISCV::Feature64Bit); // Use BSETI for a single bit that can't be expressed by a single LUI or ADDI. if (STI.hasFeature(RISCV::FeatureStdExtZbs) && is...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movq %rsi, %r14 movq %rdi, %r12 btq $0x25, %rdx jae 0x6dd3f8 testq %r12, %r12 je 0x6dd400 leaq -0x1(%r12), %rax testq %rax, %r12 jne 0x6dd3f8 movslq %r12d, %rax cmpq %r12, %rax sete %al cmpq $0x800, %r12 # imm ...
/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp
llvm::RISCVMatInt::Inst& llvm::SmallVectorImpl<llvm::RISCVMatInt::Inst>::emplace_back<unsigned int&, int>(unsigned int&, int&&)
reference emplace_back(ArgTypes &&... Args) { if (LLVM_UNLIKELY(this->size() >= this->capacity())) return this->growAndEmplaceBack(std::forward<ArgTypes>(Args)...); ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...); this->set_size(this->size() + 1); return this->back(); }
pushq %rbx movq %rdi, %rbx movl 0x8(%rdi), %ecx cmpl 0xc(%rdi), %ecx jae 0x6dd835 movq (%rbx), %rax movl (%rsi), %esi movl (%rdx), %edx movl %esi, (%rax,%rcx,8) movl %edx, 0x4(%rax,%rcx,8) incl %ecx movl %ecx, 0x8(%rbx) movl %ecx, %ecx leaq (%rax,%rcx,8), %rax addq $-0x8, %rax popq %rbx retq movl (%rsi), %eax movl (%rd...
/llvm/ADT/SmallVector.h
llvm::DenseMapBase<llvm::DenseMap<llvm::MCSection const*, RISCVELFStreamer::ElfMappingSymbol, llvm::DenseMapInfo<llvm::MCSection const*, void>, llvm::detail::DenseMapPair<llvm::MCSection const*, RISCVELFStreamer::ElfMappingSymbol>>, llvm::MCSection const*, RISCVELFStreamer::ElfMappingSymbol, llvm::DenseMapInfo<llvm::MC...
void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) { initEmpty(); // Insert all the old elements. const KeyT EmptyKey = getEmptyKey(); const KeyT TombstoneKey = getTombstoneKey(); for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) { if (!KeyInfoT::isEqu...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq $0x0, 0x8(%rdi) movl 0x10(%rdi), %ecx testq %rcx, %rcx je 0x6def49 movq (%r15), %rax movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx neg...
/llvm/ADT/DenseMap.h
(anonymous namespace)::SparcELFObjectWriter::getRelocType(llvm::MCContext&, llvm::MCValue const&, llvm::MCFixup const&, bool) const
MCFixupKind getKind() const { return Kind; }
movl 0xc(%rcx), %edx cmpl $0x100, %edx # imm = 0x100 jl 0x6ee97e addl $0xffffff00, %edx # imm = 0xFFFFFF00 movl %edx, %eax retq movq (%rcx), %rsi cmpb $0x4, (%rsi) jne 0x6ee991 movl $0x6, %eax cmpl $0x11, 0x10(%rsi) je 0x6ee97d testb %r8b, %r8b je 0x6ee9b4 leal -0x80(%rdx), %eax cmpl $0xe, %eax ja 0x6e...
/llvm/MC/MCFixup.h
llvm::SystemZInstPrinter::printOperand(llvm::MCOperand const&, llvm::MCAsmInfo const*, llvm::raw_ostream&)
void SystemZInstPrinter::printOperand(const MCOperand &MO, const MCAsmInfo *MAI, raw_ostream &O) { if (MO.isReg()) { if (!MO.getReg()) O << '0'; else printFormattedRegName(MAI, MO.getReg(), O); } else if (MO.isImm()) markup(O, Markup::Immediate) << MO....
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %rsi movzbl (%rbx), %eax cmpl $0x2, %eax je 0x6f7123 cmpl $0x1, %eax jne 0x6f7151 movl 0x8(%rbx), %eax testl %eax, %eax je 0x6f7166 movq %rsi, %rdi movq %rdx, %rsi movl %eax, %edx addq $0x18, %rsp popq %rbx popq %r14 jmp 0x6f7192 leaq 0x8(%rsp), %r14 mov...
/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
void llvm::SystemZInstPrinter::printUImmOperand<2u>(llvm::MCInst const*, int, llvm::raw_ostream&)
void SystemZInstPrinter::printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) { const MCOperand &MO = MI->getOperand(OpNum); if (MO.isExpr()) { O << *MO.getExpr(); return; } uint64_t Value = static_cast<uint64_t>(MO.getImm()); assert(isUInt<N>(Value) ...
movq %rdi, %rax movl %edx, %edi movq 0x10(%rsi), %rsi shlq $0x4, %rdi leaq (%rsi,%rdi), %rdx cmpb $0x5, (%rsi,%rdi) jne 0x6f7305 movq 0x8(%rdx), %rdi movq %rcx, %rsi xorl %edx, %edx xorl %ecx, %ecx jmp 0x16f4634 pushq %r14 pushq %rbx subq $0x18, %rsp movq 0x8(%rdx), %rbx leaq 0x8(%rsp), %r14 movq %r14, %rdi movq %rax, ...
/Target/SystemZ/MCTargetDesc/SystemZInstPrinter.cpp
(anonymous namespace)::VEAsmBackend::getFixupKindInfo(llvm::MCFixupKind) const
const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override { const static MCFixupKindInfo Infos[VE::NumTargetFixupKinds] = { // name, offset, bits, flags {"fixup_ve_reflong", 0, 32, 0}, {"fixup_ve_srel32", 0, 32, MCFixupKindInfo::FKF_IsPCRel}, {"fixup_ve_hi32", 0, 32, 0...
cmpl $0x7f, %esi jg 0x70ac58 jmp 0x16df49c addl $-0x80, %esi leaq (%rsi,%rsi,2), %rax leaq 0x2ef23ba(%rip), %rcx # 0x35fd020 leaq (%rcx,%rax,8), %rax retq nop
/Target/VE/MCTargetDesc/VEAsmBackend.cpp
(anonymous namespace)::VEELFObjectWriter::needsRelocateWithSymbol(llvm::MCValue const&, llvm::MCSymbol const&, unsigned int) const
bool VEELFObjectWriter::needsRelocateWithSymbol(const MCValue &, const MCSymbol &, unsigned Type) const { switch (Type) { default: return false; // All relocations that use a GOT need a symbol, not an offset, as ...
cmpl $0x1b, %ecx setb %dl movl $0x6003600, %eax # imm = 0x6003600 shrl %cl, %eax andb %dl, %al retq
/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
(anonymous namespace)::WebAssemblyAsmParser::parseFunctionTableOperand(std::unique_ptr<(anonymous namespace)::WebAssemblyOperand, std::default_delete<(anonymous namespace)::WebAssemblyOperand>>*)
bool parseFunctionTableOperand(std::unique_ptr<WebAssemblyOperand> *Op) { if (STI->checkFeatures("+reference-types")) { // If the reference-types feature is enabled, there is an explicit table // operand. To allow the same assembly to be compiled with or without // reference types, we allow the o...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x120(%rdi), %rdi leaq 0x2462f64(%rip), %rsi # 0x2b73e1f movl $0x10, %edx callq 0x170ada2 testb %al, %al je 0x710fc0 movq 0x138(%r14), %rax movq 0x8(%rax), %r15 cmpl $0x2, (%r15) jne 0x711023 movq 0x8(%r14), %...
/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
(anonymous namespace)::WebAssemblyAsmParser::parseSignature(llvm::wasm::WasmSignature*)
bool parseSignature(wasm::WasmSignature *Signature) { if (expect(AsmToken::LParen, "(")) return true; if (parseRegTypeList(Signature->Params)) return true; if (expect(AsmToken::RParen, ")")) return true; if (expect(AsmToken::MinusGreater, "->")) return true; if (expect(AsmTok...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx leaq 0x275976e(%rip), %rdx # 0x2e6a827 movl $0x11, %esi callq 0x711964 testb %al, %al jne 0x71112e leaq 0x18(%r14), %rsi movq %rbx, %rdi callq 0x711f08 testb %al, %al jne 0x71112e leaq 0x2974855(%rip), %rdx # 0x3085933 movq %rbx, %rdi movl $0x12, %esi...
/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
llvm::DenseMap<llvm::MCSection*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::MCSection*, void>, llvm::detail::DenseSetPair<llvm::MCSection*>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBu...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r15 movl 0x10(%rdi), %ebx movq (%rdi), %r14 leal -0x1(%rsi), %eax movl %eax, %ecx shrl %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x2, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x4, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x8, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x10,...
/llvm/ADT/DenseMap.h
(anonymous namespace)::X86AsmParser::OmitRegisterFromClobberLists(unsigned int)
bool contains(MCRegister Reg) const { unsigned RegNo = unsigned(Reg); unsigned InByte = RegNo % 8; unsigned Byte = RegNo / 8; if (Byte >= RegSetSize) return false; return (RegSet[Byte] & (1 << InByte)) != 0; }
movl %esi, %eax shrl $0x3, %eax leaq 0x2ede20e(%rip), %rcx # 0x35fe290 movzwl 0x296(%rcx), %edx cmpl %edx, %eax jae 0x7200a2 movq 0x288(%rcx), %rcx movzbl (%rcx,%rax), %eax andl $0x7, %esi btl %esi, %eax setb %al retq xorl %eax, %eax retq nop
/llvm/MC/MCRegisterInfo.h
(anonymous namespace)::X86AsmParser::checkTargetMatchPredicate(llvm::MCInst&)
unsigned X86AsmParser::checkTargetMatchPredicate(MCInst &Inst) { unsigned Opc = Inst.getOpcode(); const MCInstrDesc &MCID = MII.get(Opc); uint64_t TSFlags = MCID.TSFlags; if (UseApxExtendedReg && !X86II::canUseApxExtendedReg(MCID)) return Match_Unsupported; if (ForcedNoFlag == !(TSFlags & X86II::EVEX_NF)...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movl (%rsi), %edi movq 0x128(%rbx), %rax movq (%rax), %rax movq %rdi, %rcx shlq $0x5, %rcx subq %rcx, %rax movq 0x18(%rax), %r14 movl %r14d, %r15d andl $0x60000000, %r15d # imm = 0x60000000 cmpb $0x1, 0x148(%rbx) jne 0x72011d cmpl $0x60000000, %r15d # imm = 0x6...
/Target/X86/AsmParser/X86AsmParser.cpp
(anonymous namespace)::X86AsmParser::Error(llvm::SMLoc, llvm::Twine const&, llvm::SMRange, bool)
bool Error(SMLoc L, const Twine &Msg, SMRange Range = std::nullopt, bool MatchingInlineAsm = false) { MCAsmParser &Parser = getParser(); if (MatchingInlineAsm) { if (!getLexer().isAtStartOfStatement()) Parser.eatToEndOfStatement(); return false; } return Parser.Error(L, ...
pushq %rbx movq %rdi, %rbx testl %r9d, %r9d je 0x72176e movq (%rbx), %rax movq %rbx, %rdi callq *0x28(%rax) cmpb $0x0, 0x73(%rax) jne 0x72176a movq (%rbx), %rax movq %rbx, %rdi callq *0xe0(%rax) xorl %eax, %eax popq %rbx retq movq %rbx, %rdi popq %rbx jmp 0x16d9442 nop
/Target/X86/AsmParser/X86AsmParser.cpp
llvm::AsmRewrite& llvm::SmallVectorImpl<llvm::AsmRewrite>::emplace_back<llvm::AsmRewriteKind, llvm::SMLoc&, unsigned long, llvm::StringRef&>(llvm::AsmRewriteKind&&, llvm::SMLoc&, unsigned long&&, llvm::StringRef&)
size_t size() const { return Size; }
movl 0x8(%rdi), %eax cmpl 0xc(%rdi), %eax jae 0x728f62 movq (%rdi), %r9 shlq $0x7, %rax movl (%rsi), %esi movq (%rdx), %rdx movl (%rcx), %ecx movq (%r8), %r10 movq 0x8(%r8), %r8 movl %esi, (%r9,%rax) movq %rdx, 0x8(%r9,%rax) movl %ecx, 0x10(%r9,%rax) xorl %ecx, %ecx movb %cl, 0x14(%r9,%rax) xorps %xmm0, %xmm0 movups %x...
/llvm/ADT/SmallVector.h
llvm::X86Operand::isSrcIdx32() const
bool isSrcIdx32() const { return isMem32() && isSrcIdx(); }
xorl %eax, %eax cmpl $0x3, 0x30(%rdi) jne 0x72fdba movl 0x90(%rdi), %ecx andl $-0x21, %ecx jne 0x72fdba xorl %eax, %eax cmpl $0x0, 0x88(%rdi) jne 0x72fdba cmpl $0x1, 0x8c(%rdi) jne 0x72fdba movl 0x80(%rdi), %ecx xorl %eax, %eax cmpq $0x3e, %rcx ja 0x72fdba movabsq $0x5000000100000000, %rdx # imm = 0x5000000100000000 bt...
/Target/X86/AsmParser/X86Operand.h
llvm::X86ATTInstPrinter::printOperand(llvm::MCInst const*, unsigned int, llvm::raw_ostream&)
void X86ATTInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) { const MCOperand &Op = MI->getOperand(OpNo); if (Op.isReg()) { printRegName(O, Op.getReg()); } else if (Op.isImm()) { // Print immediates as signed values. int64_t Imm = Op.getIm...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r15 movq %rdi, %rbx movl %edx, %eax movq 0x10(%rsi), %rcx shlq $0x4, %rax leaq (%rcx,%rax), %r14 movzbl (%rcx,%rax), %eax cmpl $0x2, %eax je 0x732917 cmpl $0x1, %eax jne 0x73294b movl 0x8(%r14), %edx movq %rbx, %rdi movq %r15, %rsi addq $0x28, %rs...
/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
llvm::X86InstPrinterCommon::printVPCMPMnemonic(llvm::MCInst const*, llvm::raw_ostream&)
void X86InstPrinterCommon::printVPCMPMnemonic(const MCInst *MI, raw_ostream &OS) { OS << "vpcmp"; printSSEAVXCC(MI, MI->getNumOperands() - 1, OS); switch (MI->getOpcode()) { default: llvm_unreachable("Unexpected opcode!"); case X86::VPCMPBZ128rmi: case X86::VPC...
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 leaq 0x2460b4b(%rip), %rsi # 0x2b9a612 movl $0x5, %edx movq %rbx, %rdi callq 0x4eb430 movl 0x18(%r14), %edx decl %edx movq %r14, %rsi movq %rbx, %rcx callq 0x7397f4 movl $0xffffcc44, %eax # imm = 0xFFFFCC44 addl (%r14), %eax leaq 0x256042c(%rip), ...
/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
isMemOperand(llvm::MCInst const&, unsigned int, unsigned int)
const MCOperand &getOperand(unsigned i) const { return Operands[i]; }
movl %esi, %eax shlq $0x4, %rax movl %edx, %edx shlq $0x5, %rdx leaq 0x2ebfbac(%rip), %rcx # 0x35fe290 addq %rdx, %rcx cmpb $0x1, (%rdi,%rax) jne 0x73e71c addq %rdi, %rax movl 0x8(%rax), %edx testq %rdx, %rdx je 0x73e71c movl %edx, %eax shrl $0x3, %eax movzwl 0x16(%rcx), %r8d cmpl %r8d, %eax jae 0x73e71c movq 0x8(%rc...
/llvm/MC/MCInst.h
LLVMInitializeXCoreTargetMC
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeXCoreTargetMC() { // Register the MC asm info. RegisterMCAsmInfoFn X(getTheXCoreTarget(), createXCoreMCAsmInfo); // Register the MC instruction info. TargetRegistry::RegisterMCInstrInfo(getTheXCoreTarget(), createXCoreMCInstrInfo...
pushq %rax callq 0x74d197 leaq 0x6f(%rip), %rcx # 0x74c521 movq %rcx, 0x30(%rax) callq 0x74d197 leaq 0x102(%rip), %rcx # 0x74c5c4 movq %rcx, 0x40(%rax) callq 0x74d197 leaq 0x131(%rip), %rcx # 0x74c603 movq %rcx, 0x50(%rax) callq 0x74d197 leaq 0x238(%rip), %rcx # 0x74c71a movq %rcx, 0x58(%rax) c...
/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
llvm::detail::IEEEFloat::operator=(llvm::detail::IEEEFloat const&)
IEEEFloat &IEEEFloat::operator=(const IEEEFloat &rhs) { if (this != &rhs) { if (semantics != rhs.semantics) { freeSignificand(); initialize(rhs.semantics); } assign(rhs); } return *this; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpq %rsi, %rdi je 0x74d68e movq %rsi, %r14 movq (%rbx), %rcx movq (%rsi), %rax cmpq %rax, %rcx je 0x74d683 movl 0x8(%rcx), %ecx addl $-0x40, %ecx cmpl $0xffffff7f, %ecx # imm = 0xFFFFFF7F ja 0x74d663 movq 0x8(%rbx), %rdi testq %rdi, %rdi je 0x74d663 callq 0x4ba260...
/Support/APFloat.cpp
llvm::detail::IEEEFloat::convert(llvm::fltSemantics const&, llvm::RoundingMode, bool*)
IEEEFloat::opStatus IEEEFloat::convert(const fltSemantics &toSemantics, roundingMode rounding_mode, bool *losesInfo) { lostFraction lostFraction; unsigned int newPartCount, oldPartCount; opStatus fs; int shift; const fltSemantics &f...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, 0x10(%rsp) movl %edx, %r12d movq %rsi, %r15 movq %rdi, %rbx movq (%rdi), %rbp callq 0x74ee08 movb %al, 0x3(%rsp) movl 0x8(%r15), %r13d leal 0x40(%r13), %edi movq (%rbx), %rax movl 0x8(%rax), %eax leal 0x40(%rax), %r14d leaq 0x...
/Support/APFloat.cpp
llvm::detail::IEEEFloat::roundSignificandWithExponent(unsigned long const*, unsigned int, int, llvm::RoundingMode)
IEEEFloat::opStatus IEEEFloat::roundSignificandWithExponent(const integerPart *decSigParts, unsigned sigPartCount, int exp, roundingMode rounding_mode) { unsigned int parts, pow5PartCount; fltSemantics calcSemantics = { 32767, -32767, 0...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x4b98, %rsp # imm = 0x4B98 movl %edx, 0x28(%rsp) movq %rsi, 0x50(%rsp) movabsq $-0x7ffeffff8001, %rax # imm = 0xFFFF800100007FFF movq %rax, 0x38(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x40(%rsp) cmpb $0x1, %r8b sete 0x7(%rsp) movl %r8d,...
/Support/APFloat.cpp
llvm::APFloat::divide(llvm::APFloat const&, llvm::RoundingMode)
opStatus divide(const APFloat &RHS, roundingMode RM) { assert(&getSemantics() == &RHS.getSemantics() && "Should only call on two APFloats with the same semantics"); if (usesLayout<IEEEFloat>(getSemantics())) return U.IEEE.divide(RHS.U.IEEE, RM); if (usesLayout<DoubleAPFloat>(getSemantics())...
movq %rdi, %rax addq $0x8, %rdi leaq 0x26f72ac(%rip), %rcx # 0x2e4bc7c addq $0x8, %rsi cmpq %rcx, 0x8(%rax) je 0x7549e2 movsbl %dl, %edx jmp 0x74f130 movsbl %dl, %edx jmp 0x7547ce
/llvm/ADT/APFloat.h
llvm::cl::parser<int>::parse(llvm::cl::Option&, llvm::StringRef, llvm::StringRef, int&)
bool parser<int>::parse(Option &O, StringRef ArgName, StringRef Arg, int &Value) { if (Arg.getAsInteger(0, Value)) return O.error("'" + Arg + "' value invalid for integer argument!"); return false; }
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %r9, %r14 movq %r8, %r15 movq %rsi, %rbx movq %rsp, %rcx movq %r8, %rdi movq %r9, %rsi xorl %edx, %edx callq 0x770a84 testb %al, %al jne 0x75b153 movq (%rsp), %rax movslq %eax, %rcx cmpq %rax, %rcx jne 0x75b153 movq 0x70(%rsp), %rcx movl %eax, (%rcx) xorl %eax, %ea...
/Support/CommandLine.cpp
llvm::cl::HideUnrelatedOptions(llvm::cl::OptionCategory&, llvm::cl::SubCommand&)
void cl::HideUnrelatedOptions(cl::OptionCategory &Category, SubCommand &Sub) { initCommonOptions(); for (auto &I : Sub.OptionsMap) { bool Unrelated = true; for (auto &Cat : I.second->Categories) { if (Cat == &Category || Cat == &CommonOptions->GenericCategory) Unrelated = false; } if (...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r14 movq %rdi, %rbx callq 0x75fd28 movq 0x80(%r14), %rax movl 0x88(%r14), %ecx movq %rax, %r13 testq %rcx, %rcx je 0x76200c movq %rax, %r13 movq (%r13), %rdx testq %rdx, %rdx je 0x762006 cmpq $-0x8, %rdx jne 0x76200c addq $0x...
/Support/CommandLine.cpp
llvm::SmallVectorBase<unsigned int>::grow_pod(void*, unsigned long, unsigned long)
void SmallVectorBase<Size_T>::grow_pod(void *FirstEl, size_t MinSize, size_t TSize) { size_t NewCapacity = getNewCapacity<Size_T>(MinSize, TSize, this->capacity()); void *NewElts; if (BeginX == FirstEl) { NewElts = llvm::safe_malloc(NewCapacity * TSize); if (NewElts ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %r13 movq %rsi, %r12 movq %rdi, %rbx movl 0xc(%rdi), %esi movq %rdx, %rdi callq 0x76b20a movq %rax, %r15 movq (%rbx), %rbp movq %rax, %r14 movq %r13, (%rsp) imulq %r13, %r14 cmpq %r12, %rbp je 0x76b348 movq %rbp, %rdi movq %r14, %rs...
/Support/SmallVector.cpp
llvm::SourceMgr::getLineAndColumn(llvm::SMLoc, unsigned int) const
std::pair<unsigned, unsigned> SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const { if (!BufferID) BufferID = FindBufferContainingLoc(Loc); assert(BufferID && "Invalid location!"); auto &SB = getBufferInfo(BufferID); const char *Ptr = Loc.getPointer(); unsigned LineNo = SB.getLineNumber(Ptr)...
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 testl %edx, %edx jne 0x76bccf movq %r14, %rdi movq %rbx, %rsi callq 0x76b9f6 movl %eax, %edx decl %edx movq (%r14), %rax leaq (%rdx,%rdx,2), %rcx leaq (%rax,%rcx,8), %r14 movq %r14, %rdi movq %rbx, %rsi callq 0x76ba46 movl %eax, %ebp movq...
/Support/SourceMgr.cpp
llvm::SourceMgr::PrintIncludeStack(llvm::SMLoc, llvm::raw_ostream&) const
constexpr bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
testq %rsi, %rsi je 0x76bde7 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdx, %r12 movq %rsi, %rbx movq %rdi, %r14 callq 0x76b9f6 movl %eax, %r15d leal -0x1(%r15), %eax movq (%r14), %rcx shlq $0x3, %rax leaq (%rax,%rax,2), %r13 movq 0x10(%rcx,%r13), %rsi movq %r14, %rdi movq %r12, %rdx callq 0x76bd2a l...
/llvm/Support/SMLoc.h
llvm::StringSaver::save(llvm::Twine const&)
StringRef StringSaver::save(const Twine &S) { SmallString<128> Storage; return save(S.toStringRef(Storage)); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %rax movq %rdi, %r14 leaq 0x18(%rsp), %r12 movq %r12, -0x18(%r12) movq $0x0, -0x10(%r12) movq $0x80, -0x8(%r12) movq %rsp, %rsi movq %rax, %rdi callq 0x72923a movq %rax, %r15 movq %rdx, %rbx movq (%r14), %rdi leaq 0x1(%rdx), %rsi xorl %edx, %edx ca...
/Support/StringSaver.cpp
llvm::TimerGroup::TimerGroup(llvm::StringRef, llvm::StringRef)
TimerGroup::TimerGroup(StringRef Name, StringRef Description) : Name(Name.begin(), Name.end()), Description(Description.begin(), Description.end()) { // Add the group to TimerGroupList. sys::SmartScopedLock<true> L(*TimerLock); if (TimerGroupList) TimerGroupList->Prev = &Next; Next = TimerGroupList; ...
pushq %r15 pushq %r14 pushq %rbx movq %r8, %r14 movq %rcx, %r15 movq %rdi, %rbx addq %rsi, %rdx leaq 0x10(%rdi), %rax movq %rax, (%rdi) callq 0x4de7d8 leaq 0x20(%rbx), %rdi addq %r15, %r14 leaq 0x30(%rbx), %rax movq %rax, 0x20(%rbx) movq %r15, %rsi movq %r14, %rdx callq 0x4de7d8 xorps %xmm0, %xmm0 movups %xmm0, 0x50(%r...
/Support/Timer.cpp
llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, true, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::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 %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movl %esi, %r14d movq %rdi, %rbx leaq 0x18(%rsp), %r15 movq %r15, -0x10(%r15) movq $0x0, -0x8(%r15) movb $0x0, (%r15) addq $0xb8, %rdi leaq 0x8(%rsp), %rax movq %rax, (%rsp) movq %rbx, %rsi callq 0x74782a movl %eax, %ebp testb %al, %al jne 0x772a11 movq 0x80(...
/llvm/Support/CommandLine.h
llvm::Twine::printOneChild(llvm::raw_ostream&, llvm::Twine::Child, llvm::Twine::NodeKind) const
void Twine::printOneChild(raw_ostream &OS, Child Ptr, NodeKind Kind) const { switch (Kind) { case Twine::NullKind: break; case Twine::EmptyKind: break; case Twine::TwineKind: Ptr.twine->print(OS); break; case Twine::CStringKind: OS << Ptr.cString; break; case Twine:...
addl $-0x2, %r8d cmpl $0xd, %r8d ja 0x774304 leaq 0x26d9ac7(%rip), %rax # 0x2e4dd34 movslq (%rax,%r8,4), %rdi addq %rax, %rdi jmpq *%rdi movq %rsi, %rdi movq %rdx, %rsi movq %rcx, %rdx jmp 0x4eb430 movq (%rdx), %rax movq %rsi, %rdi movq %rax, %rsi jmp 0x7897ae movq (%rdx), %rax movq %rsi, %rdi movq %rax, %rsi jmp 0x7...
/Support/Twine.cpp
llvm::vfs::FileSystem::getBufferForFile(llvm::Twine const&, long, bool, bool)
ErrorOr<std::unique_ptr<MemoryBuffer>> FileSystem::getBufferForFile(const llvm::Twine &Name, int64_t FileSize, bool RequiresNullTerminator, bool IsVolatile) { auto F = openFileForRead(Name); if (!F) return F.getError(); return (*F)->getBuffer(Name, FileSize, RequiresNullTerminato...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %r9d, %ebp movl %r8d, %r12d movq %rcx, %r14 movq %rdx, %r15 movq %rdi, %rbx movq (%rsi), %rax movq %rsp, %r13 movq %r13, %rdi callq *0x30(%rax) movb 0x10(%r13), %al testb $0x1, %al je 0x774687 orb $0x1, 0x10(%rbx) movl (%rsp), %ecx ...
/Support/VirtualFileSystem.cpp
(anonymous namespace)::getExistingStyle(llvm::StringRef)
static llvm::sys::path::Style getExistingStyle(llvm::StringRef Path) { // Detect the path style in use by checking the first separator. llvm::sys::path::Style style = llvm::sys::path::Style::native; const size_t n = Path.find_first_of("/\\"); // Can't distinguish between posix and windows_slash here. if (n !=...
pushq %rbx subq $0x10, %rsp movq %rsp, %rax movq %rdi, (%rax) movq %rsi, 0x8(%rax) leaq 0x26d6e74(%rip), %rsi # 0x2e4d857 xorl %ebx, %ebx movl $0x2, %edx movq %rax, %rdi xorl %ecx, %ecx callq 0x7703ec cmpq $-0x1, %rax je 0x776a0e movq (%rsp), %rcx xorl %edx, %edx cmpb $0x2f, (%rcx,%rax) setne %dl leal 0x1(,%rdx,2), %...
/Support/VirtualFileSystem.cpp
llvm::vfs::RedirectingFileSystem::getExternalStatus(llvm::Twine const&, llvm::Twine const&) const
ErrorOr<Status> RedirectingFileSystem::getExternalStatus(const Twine &LookupPath, const Twine &OriginalPath) const { auto Result = ExternalFS->status(LookupPath); // The path has been mapped by some nested VFS, don't override it with the // original path. if (!Result ||...
pushq %r15 pushq %r14 pushq %rbx subq $0xc0, %rsp movq %rcx, %r14 movq %rdi, %rbx movq 0x48(%rsi), %rsi movq (%rsi), %rax leaq 0x8(%rsp), %r15 movq %r15, %rdi callq *0x28(%rax) testb $0x1, 0x58(%r15) jne 0x7793e8 cmpb $0x1, 0x58(%rsp) jne 0x7793fa leaq 0x8(%rsp), %rsi movq %rbx, %rdi callq 0x77fc84 jmp 0x77949c movq 0x...
/Support/VirtualFileSystem.cpp
llvm::vfs::RedirectingFileSystem::status(llvm::Twine const&)
ErrorOr<Status> RedirectingFileSystem::status(const Twine &OriginalPath) { SmallString<256> Path; OriginalPath.toVector(Path); if (std::error_code EC = makeAbsolute(Path)) return EC; if (Redirection == RedirectKind::Fallback) { // Attempt to find the original file first, only falling back to the /...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x2e8, %rsp # imm = 0x2E8 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0xa0(%rsp), %r13 movq %r13, -0x18(%r13) movq $0x0, -0x10(%r13) movq $0x100, -0x8(%r13) # imm = 0x100 leaq 0x88(%rsp), %r12 movq %rdx, %rdi movq %r12, %rs...
/Support/VirtualFileSystem.cpp
(anonymous namespace)::RealFileSystem::getCurrentWorkingDirectory[abi:cxx11]() const
llvm::ErrorOr<std::string> RealFileSystem::getCurrentWorkingDirectory() const { if (WD && *WD) return std::string(WD->get().Specified); if (WD) return WD->getError(); SmallString<128> Dir; if (std::error_code EC = llvm::sys::fs::current_path(Dir)) return EC; return std::string(Dir); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdi, %rbx cmpb $0x1, 0x148(%rsi) jne 0x77bd63 testb $0x1, 0x140(%rsi) je 0x77bd99 movq 0x18(%rsi), %rax movl 0x10(%rsi), %ecx orb $0x1, 0x20(%rbx) movl %ecx, (%rbx) jmp 0x77be2d leaq 0x38(%rsp), %r15 movq %r15, -0x18(%r15) movq $0x0, -0x10(%r15) movq $0...
/Support/VirtualFileSystem.cpp
(anonymous namespace)::RealFile::~RealFile()
RealFile::~RealFile() { close(); }
pushq %rbx movq %rdi, %rbx leaq 0x2e8fa1b(%rip), %rax # 0x360bc58 movq %rax, (%rdi) addq $0x8, %rdi callq 0x795056 leaq 0x26d34c0(%rip), %rax # 0x2e4f710 movl (%rax), %eax movl %eax, 0x8(%rbx) movq 0x68(%rbx), %rdi leaq 0x78(%rbx), %rax cmpq %rax, %rdi je 0x77c26d movq (%rax), %rsi incq %rsi callq 0x4ba0c0 movq 0x1...
/Support/VirtualFileSystem.cpp
llvm::vfs::RedirectingFileSystemParser::parseScalarBool(llvm::yaml::Node*, bool&)
bool parseScalarBool(yaml::Node *N, bool &Result) { SmallString<5> Storage; StringRef Value; if (!parseScalarString(N, Value, Storage)) return false; if (Value.equals_insensitive("true") || Value.equals_insensitive("on") || Value.equals_insensitive("yes") || Value == "1") { Result =...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 leaq 0x30(%rsp), %r12 movq %r12, -0x18(%r12) movq $0x0, -0x10(%r12) movq $0x5, -0x8(%r12) xorps %xmm0, %xmm0 movq %rsp, %rdx movaps %xmm0, (%rdx) leaq 0x18(%rsp), %rcx callq 0x77d202 testb %al, %al je...
/Support/VirtualFileSystem.cpp
llvm::yaml::Scanner::scanAliasOrAnchor(bool)
bool Scanner::scanAliasOrAnchor(bool IsAlias) { StringRef::iterator Start = Current; unsigned ColStart = Column; skip(1); while (Current != End) { if ( *Current == '[' || *Current == ']' || *Current == '{' || *Current == '}' || *Current == ',' || *Current == ':') break; S...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx movq 0x28(%rdi), %r15 movq 0x30(%rdi), %rbp movl 0x3c(%rdi), %ecx leaq 0x1(%r15), %r13 movq %r13, 0x28(%rdi) leal 0x1(%rcx), %eax movl %eax, 0x3c(%rdi) cmpq %rbp, %r13 je 0x785ddb movl %esi, 0x4(%rsp) movq %rcx, 0x8(%rsp)...
/Support/YAMLParser.cpp
(anonymous namespace)::parent_path_end(llvm::StringRef, llvm::sys::path::Style)
size_t parent_path_end(StringRef path, Style style) { size_t end_pos = filename_pos(path, style); bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos], style); // Skip separators until we reach root dir (or the start of the string). size_t root_dir_pos = root_dir_start(path, s...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl %edx, %ebp movq %rsi, %r15 movq %rdi, %r14 callq 0x791309 movq %rax, %rbx testq %r15, %r15 je 0x791be1 movb (%r14,%rbx), %al movb $0x1, %r12b cmpb $0x2f, %al je 0x791be4 cmpl $0x2, %ebp setae %cl cmpb $0x5c, %al sete %r12b andb %cl, %r12b jmp 0x791be4 xorl %r1...
/Support/Path.cpp
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long, int>(unsigned long, char*, char*, long const&, int const&)
hash_code combine(size_t length, char *buffer_ptr, char *buffer_end, const T &arg, const Ts &...args) { buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg)); // Recurse to the next argument. return combine(length, buffer_ptr, buffer_end, args...); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %r14 movq %rcx, %rbx movq %rdi, %r15 leaq 0x8(%rsp), %r12 movq %rsi, (%r12) movq (%r8), %r8 movq %r12, %rsi callq 0x795da6 movq (%r12), %rcx leaq 0x10(%rsp), %r12 movq %rcx, (%r12) movl (%r14), %r8d movq %r15, %rdi movq %r12, %rsi movq %rax, %rdx mo...
/llvm/ADT/Hashing.h
llvm::cl::opt<bool, true, llvm::cl::parser<bool>>::opt<char [22], llvm::cl::desc, llvm::cl::LocationClass<bool>, llvm::cl::OptionHidden>(char const (&) [22], llvm::cl::desc const&, llvm::cl::LocationClass<bool> const&, llvm::cl::OptionHidden 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 0x521554 movq $0x0, 0x80(%r14) movb $0x0, 0x91(%r14) leaq 0x2deca9b(%rip), %rax # 0x3586400 addq $0x10, %rax movq %rax, 0x88(%r14) leaq 0x2e71b31(...
/llvm/Support/CommandLine.h
void llvm::cl::apply<llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, true, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, char [22], llvm::cl::value_desc, llvm::cl::desc, llvm::cl::LocationClass<std::__cxx11::basic_string<...
void apply(Opt *O, const Mod &M, const Mods &... Ms) { applicator<Mod>::opt(M, *O); apply(O, Ms...); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %r14 movq %r8, %r15 movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbp movq %rdi, %rbx movq %rsi, %rdi callq 0x4ba270 movq %rbx, %rdi movq %rbp, %rsi movq %rax, %rdx callq 0x75b8c4 movups (%r13), %xmm0 movups %xmm0, 0x30(%rbx) movups (%...
/llvm/Support/CommandLine.h
clang::LinkageComputer::mergeTemplateLV(clang::LinkageInfo&, clang::ClassTemplateSpecializationDecl const*, clang::LVComputationKind)
void LinkageComputer::mergeTemplateLV( LinkageInfo &LV, const ClassTemplateSpecializationDecl *spec, LVComputationKind computation) { bool considerVisibility = shouldConsiderTemplateVisibility(spec, computation); // Merge information from the template parameters, but ignore // visibility if we're only co...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %ecx, %ebx movq %rdx, %r15 movq %rsi, 0x10(%rsp) movq %rdi, %r12 movq %rdx, %rdi callq 0x7b9bc8 addl $-0x2, %eax cmpl $0x3, %eax jae 0x79dfa6 movb 0xb4(%r15), %al andb $0x7, %al cmpb $0x2, %al sete %al movl %ebx, %ebp andl $0x2, %eb...
/AST/Decl.cpp
clang::VarDecl::evaluateValueImpl(llvm::SmallVectorImpl<std::pair<clang::SourceLocation, clang::PartialDiagnostic>>&, bool) const
APValue *VarDecl::evaluateValueImpl(SmallVectorImpl<PartialDiagnosticAt> &Notes, bool IsConstantInitialization) const { EvaluatedStmt *Eval = ensureEvaluatedStmt(); const auto *Init = getInit(); assert(!Init->isValueDependent()); // We only produce notes indicating why an i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %r15 callq 0x7a1c0c movq %rax, %rbx movq %rax, %r12 movq %r15, %rdi callq 0x7a16f6 movq %rax, %r13 movb (%rbx), %al testb $0x1, %al je 0x7a1d07 addq $0x10, %rbx xorl %eax, %eax cmpl $0x0, 0x10(%...
/AST/Decl.cpp
llvm::iterator_range<clang::specific_attr_iterator<clang::AlignedAttr, llvm::SmallVector<clang::Attr*, 4u>>> clang::Decl::specific_attrs<clang::AlignedAttr>() const
bool hasAttrs() const { return HasAttrs; }
pushq %r14 pushq %rbx pushq %rax testb $0x1, 0x1d(%rdi) jne 0x7a2010 xorl %ebx, %ebx jmp 0x7a2022 movq %rdi, %r14 callq 0x7b0272 movq (%rax), %rbx testb $0x1, 0x1d(%r14) jne 0x7a2026 xorl %edx, %edx jmp 0x7a2038 movq %r14, %rdi callq 0x7b0272 movl 0x8(%rax), %edx shlq $0x3, %rdx addq (%rax), %rdx movq %rbx, %rax addq $...
/clang/AST/DeclBase.h
bool clang::Decl::hasAttr<clang::CPUSpecificAttr>() const
bool hasAttrs() const { return HasAttrs; }
testb $0x1, 0x1d(%rdi) jne 0x7a3e1f xorl %eax, %eax retq pushq %rax callq 0x7b0272 movq (%rax), %rcx movl 0x8(%rax), %edx testq %rdx, %rdx je 0x7a3e52 leaq (%rcx,%rdx,8), %rax shlq $0x3, %rdx movq (%rcx), %rsi cmpw $0x8d, 0x20(%rsi) je 0x7a3e55 addq $0x8, %rcx addq $-0x8, %rdx jne 0x7a3e38 movq %rax, %rcx jmp 0x7a3e55 ...
/clang/AST/DeclBase.h
clang::BuiltinAliasAttr* clang::Decl::getAttr<clang::BuiltinAliasAttr>() const
bool hasAttrs() const { return HasAttrs; }
testb $0x1, 0x1d(%rdi) jne 0x7a4229 xorl %eax, %eax retq pushq %rax callq 0x7b0272 movl 0x8(%rax), %edx testq %rdx, %rdx je 0x7a427e movq (%rax), %rcx shlq $0x3, %rdx xorl %eax, %eax xorl %esi, %esi movq (%rcx,%rsi), %rdi cmpw $0x181, 0x20(%rdi) # imm = 0x181 je 0x7a4259 addq $0x8, %rsi cmpq %rsi, %rdx jne 0x7a424...
/clang/AST/DeclBase.h
clang::EnumDecl::setInstantiationOfMemberEnum(clang::ASTContext&, clang::EnumDecl*, clang::TemplateSpecializationKind)
void EnumDecl::setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED, TemplateSpecializationKind TSK) { assert(!SpecializationInfo && "Member enum is already a specialization"); SpecializationInfo = new (C) MemberSpecializationInfo(ED, TSK); }
pushq %r15 pushq %r14 pushq %rbx movl %ecx, %ebx movq %rdx, %r14 movq %rdi, %r15 leaq 0x850(%rsi), %rdi movl $0x10, %esi movl $0x3, %edx callq 0x4ddea6 decl %ebx andq $-0x7, %r14 addq %rbx, %rbx orq %r14, %rbx movq %rbx, (%rax) movl $0x0, 0x8(%rax) movq %rax, 0x90(%r15) popq %rbx popq %r14 popq %r15 retq
/AST/Decl.cpp
clang::EnumDecl::getODRHash()
unsigned EnumDecl::getODRHash() { if (hasODRHash()) return ODRHash; class ODRHash Hash; Hash.AddEnumDecl(this); setHasODRHash(true); ODRHash = Hash.CalculateHash(); return ODRHash; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x148, %rsp # imm = 0x148 movq %rdi, %r14 testb $0x4, 0x4d(%rdi) jne 0x7a6882 xorps %xmm0, %xmm0 leaq 0x30(%rsp), %r15 movaps %xmm0, -0x30(%r15) movl $0x0, -0x20(%r15) movq %r15, -0x18(%r15) movq $0x0, -0x10(%r15) movq $0x80, -0x8(%r15) leaq 0xc0(%rsp), %r12 ...
/AST/Decl.cpp
clang::PragmaCommentDecl::Create(clang::ASTContext const&, clang::TranslationUnitDecl*, clang::SourceLocation, clang::PragmaMSCommentKind, llvm::StringRef)
PragmaCommentDecl *PragmaCommentDecl::Create(const ASTContext &C, TranslationUnitDecl *DC, SourceLocation CommentLoc, PragmaMSCommentKind CommentKind, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %rbx movq %r8, %r14 movl %ecx, %ebp movl %edx, %r15d movq %rdi, %rax leaq 0x28(%rsi), %r12 testq %rsi, %rsi cmoveq %rsi, %r12 leaq 0x1(%r9), %rcx movl $0x28, %edi movq %rax, %rsi movq %r12, %rdx callq 0x7abb14 movq %rax, %r13 movq %r...
/AST/Decl.cpp
bool llvm::DenseMapBase<llvm::DenseMap<clang::Decl*, clang::Decl*, llvm::DenseMapInfo<clang::Decl*, void>, llvm::detail::DenseMapPair<clang::Decl*, clang::Decl*>>, clang::Decl*, clang::Decl*, llvm::DenseMapInfo<clang::Decl*, void>, llvm::detail::DenseMapPair<clang::Decl*, clang::Decl*>>::LookupBucketFor<clang::Decl con...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0x7a9124 pushq %rbx movq (%rdi), %rdi movq (%rsi), %rsi movl %esi, %eax shrl $0x4, %eax movl %esi, %r9d shrl $0x9, %r9d xorl %eax, %r9d decl %ecx andl %ecx, %r9d movl %r9d, %eax shll $0x4, %eax leaq (%rdi,%rax), %r8 movq (%rdi,%rax), %rbx movb $0x1, %al cmpq %rbx, %rsi jne 0x7a...
/llvm/ADT/DenseMap.h
clang::Decl::isTemplated() const
bool Decl::isTemplated() const { // A declaration is templated if it is a template or a template pattern, or // is within (lexcially for a friend or local function declaration, // semantically otherwise) a dependent context. if (auto *AsDC = dyn_cast<DeclContext>(this)) return AsDC->isDependentContext(); ...
pushq %rbx movq %rdi, %rbx movl 0x1c(%rdi), %eax movl %eax, %ecx andl $0x7f, %ecx cmpl $0x3b, %ecx ja 0x7af66c movabsq $0xf80001f81ff80ff, %rdx # imm = 0xF80001F81FF80FF btq %rcx, %rdx jae 0x7af66c movq %rbx, %rdi callq 0x7b13c4 movq %rax, %rdi popq %rbx jmp 0x7af6bc movq 0x10(%rbx), %rcx movq %rcx, %rdi andq $-0x8, %r...
/AST/DeclBase.cpp
clang::Decl::canBeWeakImported(bool&) const
bool Decl::canBeWeakImported(bool &IsDefinition) const { IsDefinition = false; // Variables, if they aren't definitions. if (const auto *Var = dyn_cast<VarDecl>(this)) { if (Var->isThisDeclarationADefinition()) { IsDefinition = true; return false; } return true; } // Functions, if the...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movb $0x0, (%rsi) movl 0x1c(%rdi), %eax andl $0x7f, %eax leal -0x25(%rax), %ecx cmpl $0x6, %ecx ja 0x7b111f movq %r14, %rdi callq 0x7b012a movq 0x58(%rax), %rsi movq %r14, %rdi callq 0x7a11cc testl %eax, %eax jne 0x7b1138 movb $0x1, %al jmp 0x7b1162 leal ...
/AST/DeclBase.cpp
clang::Decl::addAttr(clang::Attr*)
void Decl::addAttr(Attr *A) { if (!hasAttrs()) { setAttrs(AttrVec(1, A)); return; } AttrVec &Attrs = getAttrs(); if (!A->isInherited()) { Attrs.push_back(A); return; } // Attribute inheritance is processed after attribute parsing. To keep the // order as in the source code, add inherited...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %r14 testb $0x1, 0x1d(%rdi) jne 0x7b12c5 leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) movabsq $0x400000000, %rax # imm = 0x400000000 movq %rax, -0x8(%r12) leaq 0x8(%rsp), %r15 movl $0x1, %esi movq %r15, %rdi movq %rbx, %rdx cal...
/AST/DeclBase.cpp
clang::CXXMethodDecl::isStatic() const
bool CXXMethodDecl::isStatic() const { const CXXMethodDecl *MD = getCanonicalDecl(); if (MD->getStorageClass() == SC_Static) return true; OverloadedOperatorKind OOK = getDeclName().getCXXOverloadedOperator(); return isStaticOverloadedOperator(OOK); }
pushq %rbx movq %rdi, %rbx movq (%rdi), %rax callq *0x20(%rax) movzwl 0x50(%rax), %ecx andl $0xe000, %ecx # imm = 0xE000 movb $0x1, %al cmpl $0x4000, %ecx # imm = 0x4000 je 0x7ba91e movq 0x28(%rbx), %rax movl %eax, %ecx andl $0x7, %ecx cmpl $0x6, %ecx jne 0x7ba91c andq $-0x8, %rax movl (%rax), %eax ...
/AST/DeclCXX.cpp
clang::UsingEnumDecl::Create(clang::ASTContext&, clang::DeclContext*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::TypeSourceInfo*)
UsingEnumDecl *UsingEnumDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL, SourceLocation EL, SourceLocation NL, TypeSourceInfo *EnumType) { assert(isa<EnumD...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %rbx movl %r8d, %r15d movl %ecx, 0x4(%rsp) movl %edx, %r14d movq %rsi, %r12 movq %rdi, %rsi movl $0x48, %edi movq %r12, %rdx xorl %ecx, %ecx callq 0x7abb14 movq %rax, %r13 movq (%rbx), %rax andq $-0x10, %rax movq (%rax), %rdi callq 0...
/AST/DeclCXX.cpp
clang::ASTVector<clang::DeclAccessPair>::grow(clang::ASTContext const&, unsigned long)
void ASTVector<T>::grow(const ASTContext &C, size_t MinSize) { size_t CurCapacity = this->capacity(); size_t CurSize = size(); size_t NewCapacity = 2*CurCapacity; if (NewCapacity < MinSize) NewCapacity = MinSize; // Allocate the memory from the ASTContext. T *NewElts = new (C, alignof(T)) T[NewCapacity...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdi, %rbx movq 0x10(%rdi), %r15 andq $-0x8, %r15 movq (%rdi), %r13 movq 0x8(%rdi), %r12 subq %r13, %r15 sarq $0x2, %r15 cmpq %rdx, %r15 cmovbeq %rdx, %r15 movq %r15, %rcx shrq $0x3d, %rcx leaq (,%r15,8), %rdx xorl %eax, %eax negq %rcx sbbq %rax, %rax orq %rdx...
/clang/AST/ASTVector.h
bool clang::Decl::hasAttr<clang::ArcWeakrefUnavailableAttr>() const
bool hasAttrs() const { return HasAttrs; }
testb $0x1, 0x1d(%rdi) jne 0x7c0bfd xorl %eax, %eax retq pushq %rax callq 0x7b0272 movq (%rax), %rcx movl 0x8(%rax), %edx testq %rdx, %rdx je 0x7c0c2f leaq (%rcx,%rdx,8), %rax shlq $0x3, %rdx movq (%rcx), %rsi cmpw $0x73, 0x20(%rsi) je 0x7c0c32 addq $0x8, %rcx addq $-0x8, %rdx jne 0x7c0c16 movq %rax, %rcx jmp 0x7c0c32 ...
/clang/AST/DeclBase.h
clang::ObjCCategoryImplDecl::Create(clang::ASTContext&, clang::DeclContext*, clang::IdentifierInfo const*, clang::ObjCInterfaceDecl*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation)
ObjCCategoryImplDecl *ObjCCategoryImplDecl::Create( ASTContext &C, DeclContext *DC, const IdentifierInfo *Id, ObjCInterfaceDecl *ClassInterface, SourceLocation nameLoc, SourceLocation atStartLoc, SourceLocation CategoryNameLoc) { if (ClassInterface && ClassInterface->hasDefinition()) ClassInterface = ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, %ebx movl %r8d, %ebp movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 testq %rcx, %rcx je 0x7c4be1 movq %rcx, %r14 movq 0x78(%rcx), %rax testq %rax, %rax jne 0x7c4bce movq 0x60(%r14), %rsi leaq 0x58(%rsi), %rdi callq 0x7b3382 movq 0x...
/AST/DeclObjC.cpp
llvm::DenseMapBase<llvm::DenseMap<std::pair<clang::IdentifierInfo*, unsigned int>, unsigned int, llvm::DenseMapInfo<std::pair<clang::IdentifierInfo*, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<clang::IdentifierInfo*, unsigned int>, unsigned int>>, std::pair<clang::IdentifierInfo*, unsigned int>, unsigne...
void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) { initEmpty(); // Insert all the old elements. const KeyT EmptyKey = getEmptyKey(); const KeyT TombstoneKey = getTombstoneKey(); for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) { if (!KeyInfoT::isEqu...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq $0x0, 0x8(%rdi) movl 0x10(%rdi), %ecx testq %rcx, %rcx je 0x7c5ea5 movq (%r15), %rax leaq (%rcx,%rcx,2), %rcx leaq (%rax,%rcx,8), %rcx movq $-0x1000, (%rax) # imm = 0xF000 movl $0xffffffff, 0x8(%rax) # im...
/llvm/ADT/DenseMap.h
clang::TemplateTypeParmDecl::getIndex() const
const Type *getTypeForDecl() const { return TypeForDecl; }
movq 0x30(%rdi), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax movzwl 0x22(%rax), %eax retq
/clang/AST/Decl.h
clang::NonTypeTemplateParmDecl::getSourceRange() const
SourceRange NonTypeTemplateParmDecl::getSourceRange() const { if (hasDefaultArgument() && !defaultArgumentWasInherited()) return SourceRange(getOuterLocStart(), getDefaultArgument().getSourceRange().getEnd()); return DeclaratorDecl::getSourceRange(); }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 movq 0x48(%rdi), %rax cmpq $0x8, %rax setb %cl andl $0x6, %eax cmpl $0x2, %eax sete %al orb %cl, %al je 0x7c8efe movq %r14, %rdi callq 0x7a0d30 movq %rax, %rbx jmp 0x7c8f18 movq %r14, %rdi callq 0x7a0d10 movl %eax, %ebx movq %r14, %rdi callq 0x7c8f32 movq %rax, %rdi call...
/AST/DeclTemplate.cpp
clang::ClassTemplateSpecializationDecl::getSourceRange() const
SourceRange ClassTemplateSpecializationDecl::getSourceRange() const { switch (getSpecializationKind()) { case TSK_Undeclared: case TSK_ImplicitInstantiation: { llvm::PointerUnion<ClassTemplateDecl *, ClassTemplatePartialSpecializationDecl *> Pattern = getSpecializedTemplateOrPar...
pushq %rbx movq %rdi, %rbx movzbl 0xb4(%rdi), %eax andl $0x7, %eax cmpl $0x2, %eax jb 0x7c9861 addl $-0x3, %eax movq %rbx, %rdi cmpl $0x2, %eax jae 0x7c98be callq 0x7a5ff8 movq 0xa0(%rbx), %rdx testb $0x4, %dl sete %cl andq $-0x8, %rdx sete %sil orb %cl, %sil je 0x7c989f movl %eax, %ecx jmp 0x7c98b3 movq 0x98(%rbx), %r...
/AST/DeclTemplate.cpp
clang::VarTemplateDecl::AddPartialSpecialization(clang::VarTemplatePartialSpecializationDecl*, void*)
void VarTemplateDecl::AddPartialSpecialization( VarTemplatePartialSpecializationDecl *D, void *InsertPos) { if (InsertPos) getPartialSpecializations().InsertNode(D, InsertPos); else { VarTemplatePartialSpecializationDecl *Existing = getPartialSpecializations().GetOrInsertNode(D); (void)Exist...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 callq 0x7c7a04 movq %r14, %rdi callq 0x7c78dc leaq 0x78(%rax), %rdi testq %r15, %r15 je 0x7ca650 movq %rax, %r12 leaq 0x68(%rbx), %rsi testq %rbx, %rbx cmoveq %rbx, %rsi leaq 0x2e457bc(%rip), %rcx # 0x360fdf0 movq %...
/AST/DeclTemplate.cpp
clang::SYCLUniqueStableNameExpr::ComputeName[abi:cxx11](clang::ASTContext&, clang::QualType)
std::string SYCLUniqueStableNameExpr::ComputeName(ASTContext &Context, QualType Ty) { auto MangleCallback = [](ASTContext &Ctx, const NamedDecl *ND) -> std::optional<unsigned> { if (const auto *RD = dyn_cast<CXXRecordDecl>(ND)) ret...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdx, 0x8(%rsp) movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x9582a8 leaq 0xb692(%rip), %rdx # 0x7d8b4a xorl %r15d, %r15d movq %r14, %rdi movq %rax, %rsi xorl %ecx, %ecx callq 0x8d10c0 movq %rax, %r14 leaq 0x20(%rsp),...
/AST/Expr.cpp
clang::StringLiteral::outputString(llvm::raw_ostream&) const
void StringLiteral::outputString(raw_ostream &OS) const { switch (getKind()) { case StringLiteralKind::Unevaluated: case StringLiteralKind::Ordinary: break; // no prefix. case StringLiteralKind::Wide: OS << 'L'; break; case StringLiteralKind::UTF8: OS << "u8"; break; case StringLiteralKi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %eax shrl $0x12, %eax andl $0x7, %eax decl %eax cmpl $0x3, %eax ja 0x7cf4d1 leaq 0x26850c4(%rip), %rcx # 0x2e54510 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movq 0x20(%rbx), %rax...
/AST/Expr.cpp
clang::StringLiteral::getLocationOfByte(unsigned int, clang::SourceManager const&, clang::LangOptions const&, clang::TargetInfo const&, unsigned int*, unsigned int*) const
SourceLocation StringLiteral::getLocationOfByte(unsigned ByteNo, const SourceManager &SM, const LangOptions &Features, const TargetInfo &Target, unsigned *StartToken, unsigned *StartTokenByteOffset) const { assert((getK...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3d8, %rsp # imm = 0x3D8 movq %r8, 0x50(%rsp) movq %rcx, 0x40(%rsp) movq %rdx, %r12 movl %esi, %r14d movq %rdi, 0x38(%rsp) movq 0x410(%rsp), %rax movl $0x0, 0x14(%rsp) movl $0x0, %ebp testq %r9, %r9 je 0x7cfa19 movl (%r9), %ebp testq %r...
/AST/Expr.cpp
clang::Stmt** clang::ASTVector<clang::Stmt*>::insert<clang::Expr* const*>(clang::ASTContext const&, clang::Stmt**, clang::Expr* const*, clang::Expr* const*)
iterator insert(const ASTContext &C, iterator I, ItTy From, ItTy To) { // Convert iterator to elt# to avoid invalidating iterator when we reserve() size_t InsertElt = I - this->begin(); if (I == this->end()) { // Important special case for empty vector. append(C, From, To); return this->begin()...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdi, %r13 movq (%rdi), %r14 movq 0x8(%rdi), %r15 movq %rdx, %rbp subq %r14, %rbp cmpq %rdx, %r15 je 0x7d29d0 subq %rbx, %r8 movq %r8, %r12 sarq $0x3, %r12 movq %r15, %rax subq %r14, %rax shrq $0x3, %rax addq %r12, %rax mo...
/clang/AST/ASTVector.h
clang::InitListExpr::reserveInits(clang::ASTContext const&, unsigned int)
void InitListExpr::reserveInits(const ASTContext &C, unsigned NumInits) { if (NumInits > InitExprs.size()) InitExprs.reserve(C, NumInits); }
movl %edx, %eax movl %edx, %edx movq 0x10(%rdi), %rcx movq 0x18(%rdi), %r8 subq %rcx, %r8 sarq $0x3, %r8 cmpq %rdx, %r8 jae 0x7d2a85 movabsq $0x7fffffff8, %r8 # imm = 0x7FFFFFFF8 andq 0x20(%rdi), %r8 subq %rcx, %r8 shrq $0x3, %r8 cmpl %eax, %r8d jae 0x7d2a85 addq $0x10, %rdi jmp 0x7d94ca retq
/AST/Expr.cpp
clang::Expr::EvaluateAsFloat(llvm::APFloat&, clang::ASTContext const&, clang::Expr::SideEffectsKind, bool) const
bool Expr::EvaluateAsFloat(APFloat &Result, const ASTContext &Ctx, SideEffectsKind AllowSideEffects, bool InConstantContext) const { assert(!isValueDependent() && "Expression evaluator can't be called on a dependent expression."); if (!getType()->isRea...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movl %r8d, %ebp movl %ecx, %r14d movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r12 movq 0x8(%rdi), %rax andq $-0x10, %rax movq (%rax), %rdi callq 0x922182 testb %al, %al je 0x7dc94e leaq 0x267cb81(%rip), %rcx # 0x2e5941b leaq 0x8(%rsp), ...
/AST/ExprConstant.cpp
clang::Expr::isCXX11ConstantExpr(clang::ASTContext const&, clang::APValue*, clang::SourceLocation*) const
bool Expr::isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result, SourceLocation *Loc) const { assert(!isValueDependent() && "Expression evaluator can't be called on a dependent expression."); // We support this checking in C++98 mode in order to diagnose compatibility ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x500, %rsp # imm = 0x500 movq %rcx, %rbx movq %rdx, %r15 movq %rdi, %r14 movq %rsp, %rdx movw $0x0, (%rdx) leaq 0x68(%rsp), %rax movq %rax, -0x10(%rax) movabsq $0x800000000, %rcx # imm = 0x800000000 movq %rcx, -0x8(%rax) leaq 0x58(%rsp), %rax...
/AST/ExprConstant.cpp
bool llvm::DenseMapBase<llvm::DenseMap<(anonymous namespace)::ObjectUnderConstruction, (anonymous namespace)::ConstructionPhase, llvm::DenseMapInfo<(anonymous namespace)::ObjectUnderConstruction, void>, llvm::detail::DenseMapPair<(anonymous namespace)::ObjectUnderConstruction, (anonymous namespace)::ConstructionPhase>>...
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...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rcx, %rbx testl %esi, %esi je 0x7e7c01 movq %rdx, %r14 movl %esi, %ebp movq %rdi, %r12 callq 0x94ace2 movq %rax, 0x20(%rsp) movq %rdx, 0x28(%rsp) xorps %xmm0, %xmm0 movups %xmm0, 0x30(%rsp) callq 0x94acec movq %rax, 0x40(%rsp) movq...
/llvm/ADT/DenseMap.h
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::TemporaryExprEvaluator>::VisitCXXDefaultArgExpr(clang::CXXDefaultArgExpr const*)
bool VisitCXXDefaultArgExpr(const CXXDefaultArgExpr *E) { TempVersionRAII RAII(*Info.CurrentCall); SourceLocExprScopeGuard Guard(E, Info.CurrentCall->CurSourceLocExprScope); return StmtVisitorTy::Visit(E->getExpr()); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax movq 0x20(%rax), %r15 leaq 0x88(%r15), %rdi movl 0xa0(%r15), %esi incl %esi movl %esi, 0xa0(%r15) callq 0x4f49c8 movq (%rbx), %rax movq 0x20(%rax), %r12 movq 0x40(%r12), %r13 testq %r13, %r13 jne 0x7efa92 movq %r14,...
/AST/ExprConstant.cpp
llvm::BitVector::BitVector(unsigned int, bool)
explicit BitVector(unsigned s, bool t = false) : Bits(NumBitWords(s), 0 - (BitWord)t), Size(s) { if (t) clear_unused_bits(); }
pushq %rbp pushq %r14 pushq %rbx movl %edx, %ebp movl %esi, %r14d movq %rdi, %rbx leal 0x3f(%r14), %esi shrl $0x6, %esi movl %edx, %edx negq %rdx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movabsq $0x600000000, %rax # imm = 0x600000000 movq %rax, 0x8(%rdi) callq 0x7f90c0 movl %r14d, 0x40(%rbx) testl %ebp, %ebp je 0x7...
/llvm/ADT/BitVector.h
(anonymous namespace)::LValue::setNull(clang::ASTContext&, clang::QualType)
void setNull(ASTContext &Ctx, QualType PointerTy) { Base = (const ValueDecl *)nullptr; Offset = CharUnits::fromQuantity(Ctx.getTargetNullPointerValue(PointerTy)); InvalidBase = false; Designator = SubobjectDesignator(PointerTy->getPointeeType()); IsNullPtr = true; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsp, %r12 movq %r12, %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq 0x94aa42 movups (%r12), %xmm0 movups %xmm0, (%rbx) movq %r15, %rdi movq %r14, %rsi callq 0x97d57e movq %rax, 0x10(%rbx) andb ...
/AST/ExprConstant.cpp
llvm::APSInt::operator/(llvm::APSInt const&) const
APSInt operator/(const APSInt &RHS) const { assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); return IsUnsigned ? APSInt(udiv(RHS), true) : APSInt(sdiv(RHS), false); }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx cmpb $0x0, 0xc(%rsi) je 0x7fe221 leaq 0x18(%rsp), %r14 movq %r14, %rdi callq 0x75861e movb $0x1, %al jmp 0x7fe230 leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x758e1a xorl %eax, %eax movl 0x8(%r14), %ecx movq (%r14), %rdx movl %ecx, 0x8(%rbx) movq %rdx, (%rbx) movb ...
/llvm/ADT/APSInt.h
llvm::APSInt::operator-(llvm::APSInt const&) const
APSInt operator-(const APSInt &RHS) const { assert(IsUnsigned == RHS.IsUnsigned && "Signedness mismatch!"); return APSInt(static_cast<const APInt &>(*this) - RHS, IsUnsigned); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rsi), %eax movl %eax, 0x10(%rsp) cmpl $0x40, %eax ja 0x7fe32e movq (%r14), %rax movq %rax, 0x8(%rsp) jmp 0x7fe33b leaq 0x8(%rsp), %rdi movq %r14, %rsi callq 0x756b0a leaq 0x8(%rsp), %r12 movq %r12, %rd...
/llvm/ADT/APSInt.h
clang::OptionalDiagnostic::operator<<(llvm::APFloat const&)
OptionalDiagnostic &operator<<(const llvm::APFloat &F) { if (Diag) { // FIXME: Force the precision of the source value down so we don't // print digits which are usually useless (we don't really care here if // we truncate a digit by accident in edge cases). Ideally, // APFloat::toString wo...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx cmpq $0x0, (%rdi) je 0x7fe6e4 movq %rsi, %r14 movq 0x8(%rsi), %rdi callq 0x74d384 imull $0x3b, %eax, %eax addl $0xc3, %eax imulq $0x5397829d, %rax, %rdx # imm = 0x5397829D shrq $0x26, %rdx leaq 0x18(%rsp), %r12 movq %r12, -0x18(%r12) movq $0x0...
/clang/AST/OptionalDiagnostic.h
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::FixedPointExprEvaluator>::VisitExtVectorElementExpr(clang::ExtVectorElementExpr const*)
bool VisitExtVectorElementExpr(const ExtVectorElementExpr *E) { APValue Val; if (!Evaluate(Val, Info, E->getBase())) return false; if (Val.isVector()) { SmallVector<uint32_t, 4> Indices; E->getEncodedElementAccess(Indices); if (Indices.size() == 1) { // Return scalar. ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1e8, %rsp # imm = 0x1E8 movq %rsi, %r15 movq %rdi, %r14 leaq 0x28(%rsp), %rdi movl $0x0, (%rdi) movq (%r14), %rsi movq 0x10(%r15), %rdx callq 0x7dfd2b movl %eax, %ebx testb %al, %al je 0x806c42 movl 0x28(%rsp), %eax cmpl $0x8, %eax jne...
/AST/ExprConstant.cpp
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::FloatExprEvaluator>::VisitBinaryConditionalOperator(clang::BinaryConditionalOperator const*)
bool VisitBinaryConditionalOperator(const BinaryConditionalOperator *E) { // Evaluate and cache the common expression. We treat it as a temporary, // even though it's not quite the same thing. LValue CommonLV; if (!Evaluate(Info.CurrentCall->createTemporary( E->getOpaqueValue(), ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 leaq 0x170(%rsp), %r13 movaps %xmm0, -0x40(%r13) xorl %eax, %eax movq %rax, -0x30(%r13) movl $0xffffffff, -0x28(%r13) # imm = 0xFFFFFFFF movq %rax, -0x18(%r13) ...
/AST/ExprConstant.cpp
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::ComplexExprEvaluator>::DerivedZeroInitialization(clang::Expr const*)
bool DerivedZeroInitialization(const Expr *E) { return getDerived().ZeroInitialization(E); }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %rbx andq $-0x10, %rsi movq (%rsi), %rax cmpb $0xe, 0x10(%rax) je 0x80f047 movq %rax, %rdi callq 0x91f144 movq 0x20(%rax), %r14 movq %r14, %rax andq $-0x10, %rax movq (%rax), %rdi callq 0x922182 movq 0x8(%rbx), %rcx testb %al, %al je 0x80f0c5 movb $0x0, (%rcx...
/AST/ExprConstant.cpp
llvm::SmallVectorTemplateBase<clang::APValue, false>::growAndAssign(unsigned long, clang::APValue const&)
void growAndAssign(size_t NumElts, const T &Elt) { // Grow manually in case Elt is an internal reference. size_t NewCapacity; T *NewElts = mallocForGrow(NumElts, NewCapacity); std::uninitialized_fill_n(NewElts, NumElts, Elt); this->destroy_range(this->begin(), this->end()); takeAllocationForGrow...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r13 movq %rsi, %r12 movq %rdi, %r14 leaq 0x10(%rdi), %r15 leaq 0x10(%rsp), %r8 movl $0x48, %ecx movq %r15, %rsi movq %r12, %rdx callq 0x76b17e movq %rax, 0x8(%rsp) testq %r12, %r12 je 0x818574 movq 0x8(%rsp), %rbp movq %r12, ...
/llvm/ADT/SmallVector.h
(anonymous namespace)::IntExprEvaluator::VisitUnaryReal(clang::UnaryOperator const*)
bool IntExprEvaluator::VisitUnaryReal(const UnaryOperator *E) { if (E->getSubExpr()->getType()->isAnyComplexType()) { ComplexValue LV; if (!EvaluateComplex(E->getSubExpr(), LV, Info)) return false; if (!LV.isComplexInt()) return Error(E); return Success(LV.getComplexIntReal(), E); } r...
pushq %r15 pushq %r14 pushq %rbx subq $0x80, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x10(%rsi), %rsi movq 0x8(%rsi), %rax andq $-0x10, %rax movq (%rax), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax cmpb $0xe, 0x10(%rax) jne 0x818c5e leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x805a3e movq 0x10(%rbx)...
/AST/ExprConstant.cpp
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::IntExprEvaluator>::VisitExprWithCleanups(clang::ExprWithCleanups const*)
bool VisitExprWithCleanups(const ExprWithCleanups *E) { FullExpressionRAII Scope(Info); return StmtVisitorTy::Visit(E->getSubExpr()) && Scope.destroy(); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %r15 movq (%rdi), %rbx movl 0x110(%rbx), %ebp movq 0x20(%rbx), %rax leaq 0x88(%rax), %rdi movl 0xa0(%rax), %esi incl %esi movl %esi, 0xa0(%rax) callq 0x4f49c8 movq 0x10(%r14), %rsi movq %r15, %rdi callq 0x814a02 testb %al, %al je 0x819bfa...
/AST/ExprConstant.cpp
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::VoidExprEvaluator>::VisitBinaryConditionalOperator(clang::BinaryConditionalOperator const*)
bool VisitBinaryConditionalOperator(const BinaryConditionalOperator *E) { // Evaluate and cache the common expression. We treat it as a temporary, // even though it's not quite the same thing. LValue CommonLV; if (!Evaluate(Info.CurrentCall->createTemporary( E->getOpaqueValue(), ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 leaq 0x170(%rsp), %r13 movaps %xmm0, -0x40(%r13) xorl %eax, %eax movq %rax, -0x30(%r13) movl $0xffffffff, -0x28(%r13) # imm = 0xFFFFFFFF movq %rax, -0x18(%r13) ...
/AST/ExprConstant.cpp
clang::CXXTypeidExpr::getTypeOperand(clang::ASTContext&) const
QualType CXXTypeidExpr::getTypeOperand(ASTContext &Context) const { assert(isTypeOperand() && "Cannot call getTypeOperand for typeid(expr)"); Qualifiers Quals; return Context.getUnqualifiedArrayType( Operand.get<TypeSourceInfo *>()->getType().getNonReferenceType(), Quals); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq $0x0, (%rsp) movq 0x10(%rdi), %rax andq $-0x8, %rax movq (%rax), %r14 movq %r14, %rax andq $-0x10, %rax movq (%rax), %rdi callq 0x7b38c6 testq %rax, %rax je 0x82b6ff movq %rax, %rdi callq 0x7a98b6 movq %rax, %r14 movq %rsp, %rdx movq %rbx, %rdi movq %r14, %rsi callq...
/AST/ExprCXX.cpp