name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
clang::TextNodeDumper::VisitTemplateTemplateParmDecl(clang::TemplateTemplateParmDecl const*) | void TextNodeDumper::VisitTemplateTemplateParmDecl(
const TemplateTemplateParmDecl *D) {
OS << " depth " << D->getDepth() << " index " << D->getIndex();
if (D->isParameterPack())
OS << " ...";
dumpName(D);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x448(%rdi), %rdi
leaq 0x4e0018(%rip), %rsi # 0x17ed3d4
movl $0x7, %edx
callq 0x45193a
movl 0x40(%rbx), %esi
andl $0xfffff, %esi # imm = 0xFFFFF
movq %rax, %rdi
callq 0x47fd22
leaq 0x4ef338(%rip), %rsi # 0x17fc716
movl $0x7, %edx
movq ... | /AST/TextNodeDumper.cpp |
clang::TextNodeDumper::VisitObjCTypeParamDecl(clang::ObjCTypeParamDecl const*) | void TextNodeDumper::VisitObjCTypeParamDecl(const ObjCTypeParamDecl *D) {
dumpName(D);
switch (D->getVariance()) {
case ObjCTypeParamVariance::Invariant:
break;
case ObjCTypeParamVariance::Covariant:
OS << " covariant";
break;
case ObjCTypeParamVariance::Contravariant:
OS << " contravariant"... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x1304fea
movzwl 0x58(%r14), %eax
shrl $0xe, %eax
cmpb $0x2, %al
je 0x130e299
cmpl $0x1, %eax
jne 0x130e2b1
movq 0x448(%rbx), %rdi
leaq 0x34e94d(%rip), %rsi # 0x165cbdf
movl $0xa, %edx
jmp 0x130e2ac
movq 0x448(%rbx), %rdi
leaq 0x34e943(%rip), %rs... | /AST/TextNodeDumper.cpp |
clang::TextNodeDumper::dumpTemplateName(clang::TemplateName, llvm::StringRef)::$_0::operator()() const | void TextNodeDumper::dumpTemplateName(TemplateName TN, StringRef Label) {
AddChild(Label, [=] {
{
llvm::SmallString<128> Str;
{
llvm::raw_svector_ostream SS(Str);
TN.print(SS, PrintPolicy);
}
OS << "'" << Str << "'";
if (Context) {
if (TemplateName CanonTN = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rdi, %r14
movq 0x8(%rdi), %rbx
leaq 0x28(%rsp), %r13
movq %r13, -0x18(%r13)
xorl %eax, %eax
movq %rax, -0x10(%r13)
movq $0x80, -0x8(%r13)
leaq 0xa8(%rsp), %r15
movl $0x2, 0x8(%r15)
movb $0x0, 0x28(%r15)
mo... | /AST/TextNodeDumper.cpp |
clang::Type::getAsCXXRecordDecl() const | CXXRecordDecl *Type::getAsCXXRecordDecl() const {
return dyn_cast_or_null<CXXRecordDecl>(getAsTagDecl());
} | pushq %rax
callq 0x131f43c
testq %rax, %rax
je 0x131c29d
movl 0x1c(%rax), %edx
andl $0x7f, %edx
addl $-0x38, %edx
xorl %ecx, %ecx
cmpl $0x3, %edx
cmovbq %rax, %rcx
jmp 0x131c29f
xorl %ecx, %ecx
movq %rcx, %rax
popq %rcx
retq
| /AST/Type.cpp |
clang::ConstantArrayType::getNumAddressingBits(clang::ASTContext const&, clang::QualType, llvm::APInt const&) | unsigned ConstantArrayType::getNumAddressingBits(const ASTContext &Context,
QualType ElementType,
const llvm::APInt &NumElements) {
uint64_t ElementSize = Context.getTypeSizeInChars(ElementType).getQuantity();
// Fast p... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdx, %r15
movq %rdi, %r14
callq 0x1087e62
movq %rax, %rbx
testq %rax, %rax
je 0x131c597
leaq -0x1(%rbx), %rax
testq %rax, %rbx
jne 0x131c5a6
movl 0x8(%r15), %r14d
cmpl $0x40, %r14d
ja 0x131c5ea
leal -0x40(%r14), %eax
movq (%r15), %rcx
testq %... | /AST/Type.cpp |
clang::TypedefType::desugar() const | bool typeMatchesDecl() const { return !TypedefBits.hasTypeDifferentFromDecl; } | testb $0x8, 0x12(%rdi)
jne 0x131d50e
movq 0x20(%rdi), %rax
movq 0x50(%rax), %rax
movq %rax, %rcx
andq $-0x8, %rcx
andl $0x4, %eax
leaq (%rcx,%rax,2), %rdi
jmp 0x131d512
addq $0x30, %rdi
movq (%rdi), %rax
retq
| /clang/AST/Type.h |
clang::QualType::getSplitUnqualifiedTypeImpl(clang::QualType) | SplitQualType QualType::getSplitUnqualifiedTypeImpl(QualType type) {
SplitQualType split = type.split();
// All the qualifiers we've seen so far.
Qualifiers quals = split.Quals;
// The last type node we saw with any nodes inside it.
const Type *lastTypeWithQuals = split.Ty;
while (true) {
QualType ne... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rdi, %r15
andq $-0x10, %r15
testb $0x8, %bl
jne 0x131d532
andl $0x7, %ebx
jmp 0x131d53c
andl $0x7, %ebx
orq 0x18(%r15), %rbx
movq (%r15), %r15
leaq 0x340575(%rip), %r12 # 0x165dab8
movq %r15, %r14
movzbl 0x10(%r15), %eax
cmpq $0x38, %rax
ja... | /AST/Type.cpp |
clang::Type::getAsComplexIntegerType() const | const ComplexType *Type::getAsComplexIntegerType() const {
if (const auto *Complex = getAs<ComplexType>())
if (Complex->getElementType()->isIntegerType())
return Complex;
return nullptr;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0xe, 0x10(%rdi)
je 0x131e1f8
movq 0x8(%rbx), %rax
andq $-0x10, %rax
movq (%rax), %rax
cmpb $0xe, 0x10(%rax)
jne 0x131e284
movq %rbx, %rdi
callq 0x131cf66
movq %rax, %rbx
testq %rax, %rax
je 0x131e284
movq 0x20(%rbx), %rax
andq $-0x10, %rax
movq (%rax), %rax
movq 0x... | /AST/Type.cpp |
clang::QualType::isTriviallyRelocatableType(clang::ASTContext const&) const | bool QualType::isTriviallyRelocatableType(const ASTContext &Context) const {
QualType BaseElementType = Context.getBaseElementType(*this);
if (BaseElementType->isIncompleteType()) {
return false;
} else if (!BaseElementType->isObjectType()) {
return false;
} else if (const auto *RD = BaseElementType->g... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rsi
movq %r14, %rdi
callq 0x1086a10
movq %rax, %r15
movq %rax, %r13
andq $-0x10, %r13
movq (%r13), %rdi
xorl %r12d, %r12d
xorl %esi, %esi
callq 0x13200f6
testb %al, %al
jne 0x1320d66
movq (%r13), %rdi
movq 0x8(%rdi), %r... | /AST/Type.cpp |
clang::TypeWithKeyword::getKeywordForTagTypeKind(clang::TagTypeKind) | ElaboratedTypeKeyword
TypeWithKeyword::getKeywordForTagTypeKind(TagTypeKind Kind) {
switch (Kind) {
case TagTypeKind::Class:
return ElaboratedTypeKeyword::Class;
case TagTypeKind::Struct:
return ElaboratedTypeKeyword::Struct;
case TagTypeKind::Interface:
return ElaboratedTypeKeyword::Interface;
ca... | movl %edi, %eax
retq
nop
| /AST/Type.cpp |
clang::TypeOfExprType::TypeOfExprType(clang::ASTContext const&, clang::Expr*, clang::TypeOfKind, clang::QualType) | TypeOfExprType::TypeOfExprType(const ASTContext &Context, Expr *E,
TypeOfKind Kind, QualType Can)
: Type(TypeOfExpr,
// We have to protect against 'Can' being invalid through its
// default argument.
Kind == TypeOfKind::Unqualified && !Can.isNull()
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x1, %ecx
setne %al
cmpq $0x10, %r8
setb %cl
orb %al, %cl
jne 0x1323e42
leaq 0x8(%rsp), %r12
movq $0x0, (%r12)
movq %r14, %rdi
movq %r8, %rsi
movq %r12, %rdx
callq 0x10890dc
movq... | /AST/Type.cpp |
clang::ObjCObjectTypeImpl::Profile(llvm::FoldingSetNodeID&) | void ObjCObjectTypeImpl::Profile(llvm::FoldingSetNodeID &ID) {
Profile(ID, getBaseType(), getTypeArgsAsWritten(),
llvm::ArrayRef(qual_begin(), getNumProtocols()),
isKindOfTypeAsWritten());
} | pushq %rax
movq %rsi, %rax
movq 0x18(%rdi), %rsi
leaq 0x30(%rdi), %rdx
movl 0x10(%rdi), %r9d
movl %r9d, %ecx
shrl $0x13, %ecx
andl $0x7f, %ecx
leaq (%rdi,%rcx,8), %r8
addq $0x30, %r8
shrl $0x1a, %r9d
movzbl 0x14(%rdi), %edi
andl $0x1, %edi
movl %edi, (%rsp)
movq %rax, %rdi
callq 0x1324b46
popq %rax
retq
nop
| /AST/Type.cpp |
(anonymous namespace)::SimpleTransformVisitor<(anonymous namespace)::SubstObjCTypeArgsVisitor>::VisitConstantMatrixType(clang::ConstantMatrixType const*) | QualType VisitConstantMatrixType(const ConstantMatrixType *T) {
QualType elementType = recurse(T->getElementType());
if (elementType.isNull())
return {};
if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr())
return QualType(T, 0);
return Ctx.getConstantMatrixType(element... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
callq 0x131e87a
cmpq $0x10, %rax
jae 0x1326861
xorl %ebx, %ebx
jmp 0x132686b
cmpq 0x20(%rbx), %rax
jne 0x1326876
andq $-0x10, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
movl 0x28(%rbx), %edx
movl ... | /AST/Type.cpp |
(anonymous namespace)::SimpleTransformVisitor<(anonymous namespace)::SubstObjCTypeArgsVisitor>::VisitMemberPointerType(clang::MemberPointerType const*) | QualType VisitMemberPointerType(const MemberPointerType *T) {
QualType pointeeType = recurse(T->getPointeeType());
if (pointeeType.isNull())
return {};
if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr())
return QualType(T, 0);
return Ctx.getMemberPointerType(pointeeTy... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
callq 0x131e87a
cmpq $0x10, %rax
jae 0x13268ab
xorl %ebx, %ebx
jmp 0x13268b5
cmpq 0x20(%rbx), %rax
jne 0x13268c0
andq $-0x10, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
movq 0x28(%rbx), %rdx
movq ... | /AST/Type.cpp |
llvm::MutableArrayRef<clang::QualType> llvm::ArrayRef<clang::QualType>::copy<clang::ASTContext>(clang::ASTContext&) | MutableArrayRef<T> copy(Allocator &A) {
T *Buff = A.template Allocate<T>(Length);
std::uninitialized_copy(begin(), end(), Buff);
return MutableArrayRef<T>(Buff, Length);
} | pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rax
shlq $0x3, %rax
leaq 0x850(%rsi), %rdi
movq %rax, %rsi
movl $0x3, %edx
callq 0x465442
movq 0x8(%rbx), %rcx
testq %rcx, %rcx
je 0x13271b3
movq (%rbx), %rdx
shlq $0x3, %rcx
xorl %esi, %esi
movq (%rdx,%rsi), %rdi
movq %rdi, (%rax,%rsi)
addq $0x8, %rsi
cmpq %rsi, %rcx
jne 0x1... | /llvm/ADT/ArrayRef.h |
(anonymous namespace)::SimpleTransformVisitor<(anonymous namespace)::StripObjCKindOfTypeVisitor>::VisitAtomicType(clang::AtomicType const*) | QualType VisitAtomicType(const AtomicType *T) {
QualType valueType = recurse(T->getValueType());
if (valueType.isNull())
return {};
if (valueType.getAsOpaquePtr()
== T->getValueType().getAsOpaquePtr())
return QualType(T, 0);
return Ctx.getAtomicType(valueType);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
callq 0x131ed8e
cmpq $0x10, %rax
jae 0x132746b
xorl %ebx, %ebx
jmp 0x1327475
cmpq 0x20(%rbx), %rax
jne 0x1327480
andq $-0x10, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
movq %rax, %rsi
addq $0x8, ... | /AST/Type.cpp |
(anonymous namespace)::SimpleTransformVisitor<(anonymous namespace)::StripObjCKindOfTypeVisitor>::VisitConstantMatrixType(clang::ConstantMatrixType const*) | QualType VisitConstantMatrixType(const ConstantMatrixType *T) {
QualType elementType = recurse(T->getElementType());
if (elementType.isNull())
return {};
if (elementType.getAsOpaquePtr() == T->getElementType().getAsOpaquePtr())
return QualType(T, 0);
return Ctx.getConstantMatrixType(element... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
callq 0x131ed8e
cmpq $0x10, %rax
jae 0x1327909
xorl %ebx, %ebx
jmp 0x1327913
cmpq 0x20(%rbx), %rax
jne 0x132791e
andq $-0x10, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
movl 0x28(%rbx), %edx
movl ... | /AST/Type.cpp |
(anonymous namespace)::SimpleTransformVisitor<(anonymous namespace)::StripObjCKindOfTypeVisitor>::VisitPointerType(clang::PointerType const*) | QualType VisitPointerType(const PointerType *T) {
QualType pointeeType = recurse(T->getPointeeType());
if (pointeeType.isNull())
return {};
if (pointeeType.getAsOpaquePtr() == T->getPointeeType().getAsOpaquePtr())
return QualType(T, 0);
return Ctx.getPointerType(pointeeType);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x20(%rsi), %rsi
callq 0x131ed8e
cmpq $0x10, %rax
jae 0x1327b93
xorl %ebx, %ebx
jmp 0x1327b9d
cmpq 0x20(%rbx), %rax
jne 0x1327ba8
andq $-0x10, %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq (%r14), %rdi
movq %rax, %rsi
addq $0x8, ... | /AST/Type.cpp |
clang::DependentNameTypeLoc::initializeLocal(clang::ASTContext&, clang::SourceLocation) | void DependentNameTypeLoc::initializeLocal(ASTContext &Context,
SourceLocation Loc) {
setElaboratedKeywordLoc(Loc);
NestedNameSpecifierLocBuilder Builder;
Builder.MakeTrivial(Context, getTypePtr()->getQualifier(), Loc);
setQualifierLoc(Builder.getWithLocInContext(Conte... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rdi), %rax
movl %edx, (%rax)
xorps %xmm0, %xmm0
movq %rsp, %r12
movaps %xmm0, (%r12)
movq $0x0, 0x10(%r12)
movq (%rdi), %rax
movq 0x20(%rax), %rdx
movl %ebx, %eax
movq %rax, %rcx
shlq $0x20, %rcx
orq %... | /AST/TypeLoc.cpp |
clang::DependentTemplateSpecializationTypeLoc::initializeLocal(clang::ASTContext&, clang::SourceLocation) | void
DependentTemplateSpecializationTypeLoc::initializeLocal(ASTContext &Context,
SourceLocation Loc) {
setElaboratedKeywordLoc(Loc);
if (getTypePtr()->getQualifier()) {
NestedNameSpecifierLocBuilder Builder;
Builder.MakeTrivial(Context, getTypePtr()->... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edx, %ebx
movq %rsi, %r14
movq 0x8(%rdi), %rcx
movl %edx, (%rcx)
movq (%rdi), %rsi
movq 0x20(%rsi), %rdx
testq %rdx, %rdx
je 0x1329113
movq %rdi, %r15
xorps %xmm0, %xmm0
movq %rsp, %r12
movaps %xmm0, (%r12)
movq $0x0, 0x10(%r12)
movl %ebx, %eax
movq %ra... | /AST/TypeLoc.cpp |
(anonymous namespace)::GetContainedAutoTypeLocVisitor::VisitArrayTypeLoc(clang::ArrayTypeLoc) | TypeLoc VisitArrayTypeLoc(ArrayTypeLoc T) {
return Visit(T.getElementLoc());
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0x10(%rsi), %r14
callq 0x13285b2
xorl %esi, %esi
testq %r14, %r14
setne %sil
subq %rsi, %r14
movl %eax, %ecx
movq %r14, %rax
xorl %edx, %edx
divq %rcx
addq %rax, %rsi
imulq %rcx, %rsi
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x1329b76
| /AST/TypeLoc.cpp |
clang::QualType::getAsStringInternal(clang::Type const*, clang::Qualifiers, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, clang::PrintingPolicy const&) | void QualType::getAsStringInternal(const Type *ty, Qualifiers qs,
std::string &buffer,
const PrintingPolicy &policy) {
SmallString<256> Buf;
llvm::raw_svector_ostream StrOS(Buf);
TypePrinter(policy).print(ty, qs, StrOS, buffer);
std::string s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp # imm = 0x178
movq %rcx, %r13
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x78(%rsp), %rbp
movq %rbp, -0x18(%rbp)
xorl %eax, %eax
movq %rax, -0x10(%rbp)
movq $0x100, -0x8(%rbp) # imm = 0x100
leaq 0x28(%rsp), %r1... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printDecltypeBefore(clang::DecltypeType const*, llvm::raw_ostream&) | void TypePrinter::printDecltypeBefore(const DecltypeType *T, raw_ostream &OS) {
OS << "decltype(";
if (T->getUnderlyingExpr())
T->getUnderlyingExpr()->printPretty(OS, nullptr, Policy);
OS << ')';
spaceBeforePlaceHolder(OS);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
leaq 0x331c0f(%rip), %rsi # 0x1661154
movl $0x9, %edx
movq %rbx, %rdi
callq 0x45193a
movq 0x18(%r15), %rdi
testq %rdi, %rdi
je 0x132f58c
leaq 0x24fe90(%rip), %rax # 0x157f3f2
movq %rax, 0x10(%rsp)
movq $0x1, 0x18(%rs... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printAutoBefore(clang::AutoType const*, llvm::raw_ostream&) | void TypePrinter::printAutoBefore(const AutoType *T, raw_ostream &OS) {
// If the type has been deduced, do not print 'auto'.
if (!T->getDeducedType().isNull()) {
printBefore(T->getDeducedType(), OS);
} else {
if (T->isConstrained()) {
// FIXME: Track a TypeConstraint as type sugar, so that we can p... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x18(%rsi), %rsi
cmpq $0x10, %rsi
jae 0x132f681
movq 0x28(%r15), %rax
testq %rax, %rax
je 0x132f667
movq 0x28(%rax), %rax
leaq 0x8(%rsp), %rdi
movq %rax, (%rdi)
movq %rbx, %rsi
movq %r14, %rdx
callq 0x1117e64
movl 0x1... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printDependentTemplateSpecializationBefore(clang::DependentTemplateSpecializationType const*, llvm::raw_ostream&) | void TypePrinter::printDependentTemplateSpecializationBefore(
const DependentTemplateSpecializationType *T, raw_ostream &OS) {
IncludeStrongLifetimeRAII Strong(Policy);
OS << TypeWithKeyword::getKeywordName(T->getKeyword());
if (T->getKeyword() != ElaboratedTypeKeyword::None)
OS << " ";
if (T->get... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %r12
btl $0x13, %r12d
jb 0x132fa4f
movq %r12, %rax
andq $-0xc0001, %rax # imm = 0xFFF3FFFF
movq %rax, (%rbx)
movl 0x10(%r15), %eax
shrl $0x13, %eax
movzbl %al, %edi
callq 0x1321642
movq %r14, %rdi... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printFunctionNoProtoBefore(clang::FunctionNoProtoType const*, llvm::raw_ostream&) | void TypePrinter::printFunctionNoProtoBefore(const FunctionNoProtoType *T,
raw_ostream &OS) {
// If needed for precedence reasons, wrap the inner part in grouping parens.
SaveAndRestore PrevPHIsEmpty(HasEmptyPlaceHolder, false);
printBefore(T->getReturnType(), OS);
i... | pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
movb 0x14(%rdi), %bpl
movb $0x0, 0x14(%rdi)
movq 0x18(%rsi), %rsi
callq 0x1331ec6
testb %bpl, %bpl
jne 0x13302ac
movq 0x20(%r14), %rax
cmpq 0x18(%r14), %rax
jae 0x133029f
leaq 0x1(%rax), %rcx
movq %rcx, 0x20(%r14)
movb $0x28, (%rax)
jmp 0x13302ac
movq %r1... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printMacroQualifiedBefore(clang::MacroQualifiedType const*, llvm::raw_ostream&) | void TypePrinter::printMacroQualifiedBefore(const MacroQualifiedType *T,
raw_ostream &OS) {
StringRef MacroName = T->getMacroIdentifier()->getName();
OS << MacroName << " ";
// Since this type is meant to print the macro instead of the whole attribute,
// we trim any... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq 0x20(%rsi), %rax
movq 0x10(%rax), %rsi
movl (%rsi), %edx
addq $0x10, %rsi
movq %rbx, %rdi
callq 0x45193a
movq 0x20(%rax), %rcx
cmpq %rcx, 0x18(%rax)
je 0x1330477
movb $0x20, (%rcx)
incq 0x20(%rax)
jmp 0x133048b
leaq 0x23c83b(%rip), %r... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printMemberPointerBefore(clang::MemberPointerType const*, llvm::raw_ostream&) | void TypePrinter::printMemberPointerBefore(const MemberPointerType *T,
raw_ostream &OS) {
IncludeStrongLifetimeRAII Strong(Policy);
SaveAndRestore NonEmptyPH(HasEmptyPlaceHolder, false);
printBefore(T->getPointeeType(), OS);
// Handle things like 'int (Cls::*A)[4];' co... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq (%rdi), %r13
btl $0x13, %r13d
jb 0x13306fb
movq %r13, %rax
andq $-0xc0001, %rax # imm = 0xFFF3FFFF
movq %rax, (%rbx)
movb 0x14(%rbx), %bpl
movb $0x0, 0x14(%rbx)
movq 0x20(%r15)... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printObjCInterfaceBefore(clang::ObjCInterfaceType const*, llvm::raw_ostream&) | void TypePrinter::printObjCInterfaceBefore(const ObjCInterfaceType *T,
raw_ostream &OS) {
OS << T->getDecl()->getName();
spaceBeforePlaceHolder(OS);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movq %rsi, %rdi
callq 0x131e7a0
movq 0x28(%rax), %rax
testb $0x7, %al
setne %cl
andq $-0x8, %rax
sete %dl
orb %cl, %dl
je 0x1330b91
leaq 0x4c2e64(%rip), %rsi # 0x17f39f1
xorl %edx, %edx
jmp 0x1330b9b
movq 0x10(%rax), %rsi
movl (%rsi), %edx
addq $0x10, ... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printTypeOfExprBefore(clang::TypeOfExprType const*, llvm::raw_ostream&) | void TypePrinter::printTypeOfExprBefore(const TypeOfExprType *T,
raw_ostream &OS) {
OS << (T->getKind() == TypeOfKind::Unqualified ? "typeof_unqual "
: "typeof ");
if (T->getUnderlyingExpr())
T->getUnderlyingExpr()->printPr... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movzwl 0x10(%rsi), %eax
movzbl 0x12(%rsi), %ecx
shll $0x10, %ecx
orl %eax, %ecx
btl $0x13, %ecx
leaq 0x32fb77(%rip), %rax # 0x16612d7
leaq 0x32fb61(%rip), %rsi # 0x16612c8
cmovaeq %rax, %rsi
movl $0x7, %eax
movl $0xe... | /AST/TypePrinter.cpp |
(anonymous namespace)::TypePrinter::printTag(clang::TagDecl*, llvm::raw_ostream&) | void TypePrinter::printTag(TagDecl *D, raw_ostream &OS) {
if (Policy.IncludeTagDefinition) {
PrintingPolicy SubPolicy = Policy;
SubPolicy.IncludeTagDefinition = false;
D->print(OS, SubPolicy, Indentation);
spaceBeforePlaceHolder(OS);
return;
}
bool HasKindDecoration = false;
// We don't pr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x468, %rsp # imm = 0x468
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %rax
btl $0xa, %eax
jb 0x13320d7
btl $0x9, %eax
jb 0x13320fe
movq 0x78(%r15), %rax
testb $0x4, %al
sete %cl
cmpq $0x8, %rax
setae %al
testb %cl, %al
j... | /AST/TypePrinter.cpp |
clang::ItaniumVTableContext::getVirtualBaseOffsetOffset(clang::CXXRecordDecl const*, clang::CXXRecordDecl const*) | CharUnits
ItaniumVTableContext::getVirtualBaseOffsetOffset(const CXXRecordDecl *RD,
const CXXRecordDecl *VBase) {
ClassPairTy ClassPair(RD, VBase);
VirtualBaseClassOffsetOffsetsMapTy::iterator I =
VirtualBaseClassOffsetOffsets.find(ClassPair);
if (I != Virtual... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp # imm = 0x3E8
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %rsi
movq %r14, (%rsi)
movq %rdx, 0x8(%rsi)
leaq 0x58(%rdi), %r15
leaq 0x48(%rsp), %rdx
movq %r15, %rdi
callq 0x1345e1c
testb %al, %al
je 0x1333ad6
movq 0x48(%rsp... | /AST/VTableBuilder.cpp |
clang::VTableContextBase::getThunkInfo(clang::GlobalDecl) | virtual const ThunkInfoVectorTy *getThunkInfo(GlobalDecl GD) {
const CXXMethodDecl *MD = cast<CXXMethodDecl>(GD.getDecl()->getCanonicalDecl());
computeVTableRelatedInformation(MD->getParent());
// This assumes that all the destructors present in the vtable
// use exactly the same set of thunks.
Thu... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
andq $-0x8, %rsi
movq (%rsi), %rax
movq %rsi, %rdi
callq *0x20(%rax)
movq %rax, %r14
leaq 0x48(%rax), %rdi
callq 0x111e3b4
movq 0x10(%rax), %rcx
movq %rcx, %rax
andq $-0x8, %rax
testb $0x4, %cl
je 0x1339800
movq (%rax), %rax
leaq -0x40(%rax), %rsi
testq %rax, %rax
... | /clang/AST/VTableBuilder.h |
llvm::DenseMapBase<llvm::DenseMap<std::pair<clang::CXXRecordDecl const*, unsigned int>, clang::CharUnits, llvm::DenseMapInfo<std::pair<clang::CXXRecordDecl const*, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<clang::CXXRecordDecl const*, unsigned int>, clang::CharUnits>>, std::pair<clang::CXXRecordDecl co... | value_type& FindAndConstruct(KeyT &&Key) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return *TheBucket;
return *InsertIntoBucket(TheBucket, std::move(Key));
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdx
callq 0x133a45a
movl %eax, %ecx
movq (%r15), %rax
testb %cl, %cl
jne 0x133a578
movq %r14, %rdi
movq %rbx, %rsi
movq %rbx, %rdx
movq %rax, %rcx
callq 0x133a582
movq (%rbx), %rcx
movq %rcx, (%rax)
movl 0... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::ItaniumVTableBuilder::LayoutSecondaryVTables(clang::BaseSubobject, bool, clang::CharUnits) | void
ItaniumVTableBuilder::LayoutSecondaryVTables(BaseSubobject Base,
bool BaseIsMorallyVirtual,
CharUnits OffsetInLayoutClass) {
// Itanium C++ ABI 2.5.2:
// Following the primary virtual table of a derived class are second... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, 0x20(%rsp)
movl %ecx, %ebp
movq %rdx, 0x18(%rsp)
movq %rsi, %rbx
movq %rdi, %r15
movq 0x28(%rdi), %rdi
callq 0x12b465e
movq %rax, 0x10(%rsp)
movq 0x48(%rax), %rax
movq 0x30(%rax), %r12
movq %rbx, %rdi
callq 0x51bdd2
cmpq %rdx, ... | /AST/VTableBuilder.cpp |
bool llvm::DenseMapBase<llvm::DenseMap<clang::CXXRecordDecl const*, (anonymous namespace)::VCallOffsetMap, llvm::DenseMapInfo<clang::CXXRecordDecl const*, void>, llvm::detail::DenseMapPair<clang::CXXRecordDecl const*, (anonymous namespace)::VCallOffsetMap>>, clang::CXXRecordDecl const*, (anonymous namespace)::VCallOffs... | 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... | testl %esi, %esi
je 0x133c200
pushq %rbx
movl %edx, %eax
shrl $0x4, %eax
movl %edx, %r9d
shrl $0x9, %r9d
xorl %eax, %r9d
decl %esi
andl %esi, %r9d
imulq $0x118, %r9, %rax # imm = 0x118
leaq (%rdi,%rax), %r8
movq (%rdi,%rax), %rbx
movb $0x1, %al
cmpq %rdx, %rbx
jne 0x133c209
popq %rbx
jmp 0x133c205
xorl %r8d, %r8d... | /llvm/ADT/DenseMap.h |
llvm::SetVector<clang::CXXRecordDecl const*, llvm::SmallVector<clang::CXXRecordDecl const*, 8u>, llvm::DenseSet<clang::CXXRecordDecl const*, llvm::DenseMapInfo<clang::CXXRecordDecl const*, void>>, 8u>::insert(clang::CXXRecordDecl const* const&) | bool insert(const value_type &X) {
if constexpr (canBeSmall())
if (isSmall()) {
if (!llvm::is_contained(vector_, X)) {
vector_.push_back(X);
if (vector_.size() > N)
makeBig();
return true;
}
return false;
}
bool result = set_.insert(... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x0, 0x8(%rdi)
je 0x133c805
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rcx
movq %r15, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x133d064
cmpb $0x1, 0x10(%r15)
jne 0x133c828
addq $0x18, %rbx
movq (%r14), %rsi
movq %rbx, %rdi... | /llvm/ADT/SetVector.h |
llvm::DenseMapBase<llvm::DenseMap<clang::CXXRecordDecl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::CXXRecordDecl const*, void>, llvm::detail::DenseSetPair<clang::CXXRecordDecl const*>>, clang::CXXRecordDecl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::CXXRecordDecl const*, void>, ll... | 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 0x133d3d9
movq (%r15), %rax
movabsq $0x1fffffffffffffff, %rdx # imm = 0x1FFFFFFFFFFFFFFF
addq %rdx, %rcx
andq %rcx, %rdx
andl $0x1, %ecx
... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::GlobalDecl, clang::MethodVFTableLocation, llvm::DenseMapInfo<clang::GlobalDecl, void>, llvm::detail::DenseMapPair<clang::GlobalDecl, clang::MethodVFTableLocation>>, clang::GlobalDecl, clang::MethodVFTableLocation, llvm::DenseMapInfo<clang::GlobalDecl, void>, llvm::detail::DenseM... | 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 0x1343c9e
movq (%r15), %rax
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
addq %rax, %rcx
movq $0x0, (%rax)
movl $0x0, 0x8(%rax)
addq $0x30, %rax
cmpq %rcx, %r... | /llvm/ADT/DenseMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<clang::ValueDecl const*, clang::interp::ParamOffset, llvm::DenseMapInfo<clang::ValueDecl const*, void>, llvm::detail::DenseMapPair<clang::ValueDecl const*, clang::interp::ParamOffset>>, clang::ValueDecl const*, clang::interp::ParamOffset, llvm::DenseMapInfo<clang::ValueDecl const*... | unsigned getNumBuckets() const {
return NumBuckets;
} | movl 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x1355b8c
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 0x1... | /llvm/ADT/DenseMap.h |
std::pair<llvm::DenseMapIterator<unsigned int, std::pair<clang::interp::PrimType, clang::interp::Descriptor*>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, std::pair<clang::interp::PrimType, clang::interp::Descriptor*>>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<unsigned int, s... | std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return std::make_pair(makeIterator(TheBucket,
shouldReverseIterate<KeyT>()
? getBuckets()
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r13
movq %rsi, %rdi
movq %rdx, %rsi
movq %r13, %rdx
callq 0x1232fb6
movl %eax, %ecx
movq (%r13), %rax
testb %cl, %cl
je 0x1355f0a
xorl %ecx, %ecx
jmp 0x1355f2b
movq %r... | /llvm/ADT/DenseMap.h |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::VisitCXXInheritedCtorInitExpr(clang::CXXInheritedCtorInitExpr const*) | bool Compiler<Emitter>::VisitCXXInheritedCtorInitExpr(
const CXXInheritedCtorInitExpr *E) {
const CXXConstructorDecl *Ctor = E->getConstructor();
assert(!Ctor->isTrivial() &&
"Trivial CXXInheritedCtorInitExpr, implement. (possible?)");
const Function *F = this->getFunction(Ctor);
assert(F);
asser... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rsi), %r13
movq 0x1e8(%rdi), %rdi
movq %r13, %rsi
callq 0x11b9432
movq %rax, %r15
movq %rsp, %rsi
movq $0x0, (%rsi)
movq %rbx, %rdi
callq 0x13536b8
testb %al, %al
je 0x13616ef
movl $0xc, %edi
ca... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::VisitConvertVectorExpr(clang::ConvertVectorExpr const*) | bool Compiler<Emitter>::VisitConvertVectorExpr(const ConvertVectorExpr *E) {
assert(Initializing);
const auto *VT = E->getType()->castAs<VectorType>();
QualType ElemType = VT->getElementType();
PrimType ElemT = classifyPrim(ElemType);
const Expr *Src = E->getSrcExpr();
PrimType SrcElemT =
classifyPrim... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rsi, %rbp
movq %rdi, %r14
movq 0x8(%rsi), %rax
andq $-0x10, %rax
movq (%rax), %r12
movb 0x10(%r12), %al
addb $-0x39, %al
cmpb $-0x3, %al
ja 0x1361cd5
movq %r12, %rdi
callq 0x131cf66
movq %rax, %r12
movq 0x20(%r12), %rsi
movq 0x1e8(... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::emitConst(llvm::APSInt const&, clang::interp::PrimType, clang::Expr const*) | bool Compiler<Emitter>::emitConst(const APSInt &Value, PrimType Ty,
const Expr *E) {
if (Ty == PT_IntAPS)
return this->emitConstIntAPS(Value, E);
if (Ty == PT_IntAP)
return this->emitConstIntAP(Value, E);
if (Value.isSigned())
return this->emitConst(Value.getSExtValu... | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rcx, %rbx
movq %rdi, %r14
cmpl $0x8, %edx
je 0x13625df
cmpl $0x9, %edx
jne 0x13625f9
movl 0x8(%rsi), %ecx
movl %ecx, 0x30(%rsp)
cmpl $0x40, %ecx
ja 0x1362621
movq (%rsi), %rax
movq %rax, 0x28(%rsp)
movl %ecx, 0x10(%rsp)
jmp 0x1362640
movl 0x8(%rsi), %ecx
movl %ecx... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::visitStmt(clang::Stmt const*) | bool Compiler<Emitter>::visitStmt(const Stmt *S) {
switch (S->getStmtClass()) {
case Stmt::CompoundStmtClass:
return visitCompoundStmt(cast<CompoundStmt>(S));
case Stmt::DeclStmtClass:
return visitDeclStmt(cast<DeclStmt>(S));
case Stmt::ReturnStmtClass:
return visitReturnStmt(cast<ReturnStmt>(S));
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x3006cf(%rip), %r15 # 0x1662f80
leaq 0x3006ec(%rip), %r12 # 0x1662fa4
movb (%r14), %bpl
movzbl %bpl, %eax
cmpl $0xdd, %eax
jg 0x13628ee
leal -0x81(%rax), %ecx
cmpl $0x8, %ecx
ja 0x1362905
movslq (%r15,%rc... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::visitVarDecl(clang::VarDecl const*, bool) | VarCreationState Compiler<Emitter>::visitVarDecl(const VarDecl *VD, bool Toplevel) {
// We don't know what to do with these, so just return false.
if (VD->getType().isNull())
return false;
// This case is EvalEmitter-only. If we won't create any instructions for the
// initializer anyway, don't bother crea... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movl %edx, %ebp
movq %rsi, 0x60(%rsp)
movb %bpl, 0xb(%rsp)
movw $0x100, %ax # imm = 0x100
cmpq $0x10, 0x30(%rsi)
jb 0x1363455
movq %rsi, %r14
movq %rdi, %rbx
movabsq $0x100000000, %r13 # imm = 0x100000000
movq %rsi, %rdi... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::visitFunc(clang::FunctionDecl const*) | bool Compiler<Emitter>::visitFunc(const FunctionDecl *F) {
// Classify the return type.
ReturnType = this->classify(F->getReturnType());
auto emitFieldInitializer = [&](const Record::Field *F, unsigned FieldOffset,
const Expr *InitExpr) -> bool {
// We don't know what to do ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r13
movq %rdi, %rbx
movq 0x30(%rsi), %rax
andq $-0x10, %rax
movq (%rax), %rax
movb 0x10(%rax), %cl
addb $-0x1b, %cl
cmpb $-0x3, %cl
ja 0x13646a8
movq %rax, %rdi
callq 0x131cf66
movq 0x18(%rax), %rsi
movq 0x1e8(%rbx), %rdi
cal... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::visitDecl(clang::VarDecl const*) | VarCreationState Compiler<Emitter>::visitDecl(const VarDecl *VD) {
auto R = this->visitVarDecl(VD, /*Toplevel=*/true);
if (R.notCreated())
return R;
if (R)
return true;
if (!R && Context::shouldBeGloballyIndexed(VD)) {
if (auto GlobalIndex = P.getGlobal(VD)) {
Block *GlobalBlock = P.getGlo... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %r14
movl $0x1, %edx
callq 0x136300a
movl %eax, %ebx
btl $0x8, %ebx
jb 0x13658f8
movl %ebx, %eax
andl $0xfe00, %eax # imm = 0xFE00
jmp 0x136596d
testb $0x1, %bl
je 0x1365907
movw $0x100, %ax # imm = 0x100
movw $0x1, %bx
jmp 0x136596d
movq... | /AST/Interp/Compiler.cpp |
clang::interp::Compiler<clang::interp::EvalEmitter>::visitAPValue(clang::APValue const&, clang::interp::PrimType, clang::Expr const*) | bool Compiler<Emitter>::visitAPValue(const APValue &Val, PrimType ValType,
const Expr *E) {
assert(!DiscardResult);
if (Val.isInt())
return this->emitConst(Val.getInt(), ValType, E);
else if (Val.isFloat())
return this->emitConstFloat(Val.getFloat(), E);
if (Val.isL... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rcx, %r14
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
movl (%rsi), %eax
xorl %ebp, %ebp
cmpl $0x6, %eax
jg 0x136cf3b
cmpl $0x2, %eax
je 0x136cf76
cmpl $0x3, %eax
jne 0x136d002
leaq 0x10(%rsp), %r12
addq $0x10, %r15
movq %r12, %rdi
movq %... | /AST/Interp/Compiler.cpp |
void dtorArrayTy<clang::interp::Integral<8u, true>>(clang::interp::Block*, std::byte*, clang::interp::Descriptor const*) | static void dtorArrayTy(Block *, std::byte *Ptr, const Descriptor *D) {
InitMapPtr &IMP = *reinterpret_cast<InitMapPtr *>(Ptr);
if (IMP)
IMP = std::nullopt;
Ptr += sizeof(InitMapPtr);
for (unsigned I = 0, NE = D->getNumElems(); I < NE; ++I) {
reinterpret_cast<T *>(Ptr)[I].~T();
}
} | cmpb $0x1, 0x18(%rsi)
jne 0x13770c2
movb $0x0, 0x18(%rsi)
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
jne 0x451982
retq
| /AST/Interp/Descriptor.cpp |
void dtorArrayTy<clang::interp::Integral<8u, false>>(clang::interp::Block*, std::byte*, clang::interp::Descriptor const*) | static void dtorArrayTy(Block *, std::byte *Ptr, const Descriptor *D) {
InitMapPtr &IMP = *reinterpret_cast<InitMapPtr *>(Ptr);
if (IMP)
IMP = std::nullopt;
Ptr += sizeof(InitMapPtr);
for (unsigned I = 0, NE = D->getNumElems(); I < NE; ++I) {
reinterpret_cast<T *>(Ptr)[I].~T();
}
} | cmpb $0x1, 0x18(%rsi)
jne 0x13770da
movb $0x0, 0x18(%rsi)
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
jne 0x451982
retq
| /AST/Interp/Descriptor.cpp |
void dtorArrayTy<clang::interp::FunctionPointer>(clang::interp::Block*, std::byte*, clang::interp::Descriptor const*) | static void dtorArrayTy(Block *, std::byte *Ptr, const Descriptor *D) {
InitMapPtr &IMP = *reinterpret_cast<InitMapPtr *>(Ptr);
if (IMP)
IMP = std::nullopt;
Ptr += sizeof(InitMapPtr);
for (unsigned I = 0, NE = D->getNumElems(); I < NE; ++I) {
reinterpret_cast<T *>(Ptr)[I].~T();
}
} | cmpb $0x1, 0x18(%rsi)
jne 0x137730c
movb $0x0, 0x18(%rsi)
movq 0x10(%rsi), %rdi
testq %rdi, %rdi
jne 0x451982
retq
| /AST/Interp/Descriptor.cpp |
void moveArrayTy<clang::interp::Integral<16u, true>>(clang::interp::Block*, std::byte const*, std::byte*, clang::interp::Descriptor const*) | static void moveArrayTy(Block *, const std::byte *Src, std::byte *Dst,
const Descriptor *D) {
// FIXME: Get rid of the const_cast.
InitMapPtr &SrcIMP =
*reinterpret_cast<InitMapPtr *>(const_cast<std::byte *>(Src));
if (SrcIMP) {
// We only ever invoke the moveFunc when moving blo... | pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r14
cmpb $0x1, 0x18(%rsi)
jne 0x1377435
movb $0x0, 0x18(%r14)
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x1377435
callq 0x451982
movl 0xc(%r15), %eax
cmpl $-0x1, %eax
je 0x137745f
movl 0x8(%r15), %esi
cmpl %eax, %esi
ja 0x137745f
xorl %ecx, %e... | /AST/Interp/Descriptor.cpp |
void moveArrayTy<clang::interp::IntegralAP<true>>(clang::interp::Block*, std::byte const*, std::byte*, clang::interp::Descriptor const*) | static void moveArrayTy(Block *, const std::byte *Src, std::byte *Dst,
const Descriptor *D) {
// FIXME: Get rid of the const_cast.
InitMapPtr &SrcIMP =
*reinterpret_cast<InitMapPtr *>(const_cast<std::byte *>(Src));
if (SrcIMP) {
// We only ever invoke the moveFunc when moving blo... | pushq %r15
pushq %r14
pushq %rbx
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r14
cmpb $0x1, 0x18(%rsi)
jne 0x13776b2
movb $0x0, 0x18(%r14)
movq 0x10(%r14), %rdi
testq %rdi, %rdi
je 0x13776b2
callq 0x451982
movl 0xc(%r15), %eax
cmpl $-0x1, %eax
je 0x13776fe
movl 0x8(%r15), %ecx
cmpl %eax, %ecx
ja 0x13776fe
addq $0x20, %... | /AST/Interp/Descriptor.cpp |
initBase(clang::interp::Block*, std::byte*, bool, bool, bool, clang::interp::Descriptor const*, unsigned int, bool) | static void initBase(Block *B, std::byte *Ptr, bool IsConst, bool IsMutable,
bool IsActive, const Descriptor *D, unsigned FieldOffset,
bool IsVirtualBase) {
assert(D);
assert(D->ElemRecord);
bool IsUnion = D->ElemRecord->isUnion();
auto *Desc = reinterpret_cast<InlineD... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl 0x60(%rsp), %r11d
movb 0x68(%rsp), %bpl
movq 0x18(%r9), %rax
movb 0x288(%rax), %r15b
leaq (%rsi,%r11), %rbx
movl %r11d, -0x10(%rsi,%r11)
movq %r9, -0x8(%rsi,%r11)
movb 0x33(%r9), %al
movb -0xc(%rsi,%r11), %r10b
addb %al, %al
andb $-... | /AST/Interp/Descriptor.cpp |
clang::interp::DeadBlock::free() | void DeadBlock::free() {
if (B.IsInitialized)
B.invokeDtor();
if (Prev)
Prev->Next = Next;
if (Next)
Next->Prev = Prev;
if (Root == this)
Root = Next;
std::free(this);
} | pushq %rbx
movq %rdi, %rbx
cmpb $0x1, 0x33(%rdi)
jne 0x1377c84
movq 0x38(%rbx), %rdx
movq 0x40(%rdx), %rax
testq %rax, %rax
je 0x1377c84
leaq 0x18(%rbx), %rdi
movl 0x10(%rdx), %ecx
leaq (%rbx,%rcx), %rsi
addq $0x40, %rsi
callq *%rax
movq 0x8(%rbx), %rcx
movq 0x10(%rbx), %rax
testq %rcx, %rcx
je 0x1377c95
movq %rax, 0x1... | /AST/Interp/InterpBlock.cpp |
clang::HeaderSearch::HeaderSearch(std::shared_ptr<clang::HeaderSearchOptions>, clang::SourceManager&, clang::DiagnosticsEngine&, clang::LangOptions const&, clang::TargetInfo const*) | HeaderSearch::HeaderSearch(std::shared_ptr<HeaderSearchOptions> HSOpts,
SourceManager &SourceMgr, DiagnosticsEngine &Diags,
const LangOptions &LangOpts,
const TargetInfo *Target)
: HSOpts(std::move(HSOpts)), Diags(Diags),
FileMgr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %rbx
xorl %ebp, %ebp
movq %rbp, 0x8(%rdi)
movups (%rsi), %xmm0
movq %rbp, 0x8(%rsi)
movups %xmm0, (%rdi)
movq %rbp, (%rsi)
movl %ebp, 0x20(%rdi)
xorps %x... | /Lex/HeaderSearch.cpp |
clang::HeaderSearch::loadFrameworkModule(llvm::StringRef, clang::DirectoryEntryRef, bool) | Module *HeaderSearch::loadFrameworkModule(StringRef Name, DirectoryEntryRef Dir,
bool IsSystem) {
// Try to load a module map file.
switch (loadModuleMapFile(Dir, IsSystem, /*IsFramework*/true)) {
case LMM_InvalidModuleMap:
// Try to infer a module map from the framew... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %ebp
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq %rcx, %rsi
movl %r8d, %edx
movl $0x1, %ecx
callq 0x1379692
cmpl $0x2, %eax
je 0x1379687
cmpl $0x3, %eax
jne 0x137966a
movq (%r15), %rax
testb $0x2, 0x118(%rax)
je 0x137966a
leaq 0x... | /Lex/HeaderSearch.cpp |
std::pair<llvm::StringMapIterator<clang::FrameworkCacheEntry>, bool> llvm::StringMap<clang::FrameworkCacheEntry, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>>::try_emplace_with_hash<>(llvm::StringRef, unsigned int) | std::pair<iterator, bool> try_emplace_with_hash(StringRef Key,
uint32_t FullHashValue,
ArgsTy &&...Args) {
unsigned BucketNo = LookupBucketFor(Key, FullHashValue);
StringMapEntryBase *&Bucket = TheTable[BucketNo]... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
callq 0x464ff0
movl %eax, %ebp
movq (%r14), %rax
movl %ebp, %ecx
leaq (%rax,%rcx,8), %rbx
movq (%rbx), %rax
cmpq $-0x8, %rax
je 0x137dfcb
testq %rax, %rax
je 0x137dfcf
jmp 0x137dfbc
movq 0x8(%rbx... | /llvm/ADT/StringMap.h |
bool llvm::DenseMapBase<llvm::DenseMap<clang::DirectoryEntry const*, bool, llvm::DenseMapInfo<clang::DirectoryEntry const*, void>, llvm::detail::DenseMapPair<clang::DirectoryEntry const*, bool>>, clang::DirectoryEntry const*, bool, llvm::DenseMapInfo<clang::DirectoryEntry const*, void>, llvm::detail::DenseMapPair<clang... | unsigned getNumBuckets() const {
return NumBuckets;
} | movl 0x10(%rdi), %ecx
testl %ecx, %ecx
je 0x137e142
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 0x1... | /llvm/ADT/DenseMap.h |
void llvm::function_ref<void (llvm::vfs::FileSystem&)>::callback_fn<clang::HeaderSearch::collectVFSUsageAndClear() const::$_0>(long, llvm::vfs::FileSystem&) | static Ret callback_fn(intptr_t callable, Params ...params) {
return (*reinterpret_cast<Callable*>(callable))(
std::forward<Params>(params)...);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq (%rsi), %rax
leaq 0x1e316f(%rip), %rsi # 0x1561ea5
movq %rbx, %rdi
callq *0x18(%rax)
testb %al, %al
je 0x137ed50
movq (%r14), %rdi
movzbl 0x73(%rbx), %esi
callq 0x137ed58
movb $0x0, 0x73(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /llvm/ADT/STLFunctionalExtras.h |
llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::BumpPtrAllocatorImpl(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>&&) | BumpPtrAllocatorImpl(BumpPtrAllocatorImpl &&Old)
: AllocTy(std::move(Old.getAllocator())), CurPtr(Old.CurPtr),
End(Old.End), Slabs(std::move(Old.Slabs)),
CustomSizedSlabs(std::move(Old.CustomSizedSlabs)),
BytesAllocated(Old.BytesAllocated), RedZoneSize(Old.RedZoneSize) {
Old.CurPtr = O... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movups (%rsi), %xmm0
movups %xmm0, (%rdi)
leaq 0x20(%rdi), %rax
movq %rax, 0x10(%rdi)
movabsq $0x400000000, %rax # imm = 0x400000000
movq %rax, 0x18(%rdi)
cmpl $0x0, 0x18(%rsi)
je 0x137f23e
leaq 0x10(%r14), %rdi
leaq 0x10(%rbx), %rsi
callq 0x137efb8
... | /llvm/Support/Allocator.h |
llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, llvm::SmallString<64u>, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, llvm::SmallString<64u>>>, clang::FileEntry const*, llvm::SmallString<64u>, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::de... | void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) {
initEmpty();
// Insert all the old elements.
const KeyT EmptyKey = getEmptyKey();
const KeyT TombstoneKey = getTombstoneKey();
for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) {
if (!KeyInfoT::isEqu... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq $0x0, 0x8(%rdi)
movl 0x10(%rdi), %eax
testq %rax, %rax
je 0x137f879
movq (%r15), %rcx
leaq (%rax,%rax,2), %rax
shlq $0x5, %rax
addq $-0x60, %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAA... | /llvm/ADT/DenseMap.h |
std::pair<llvm::DenseMapIterator<clang::FileEntry const*, bool, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, bool>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, bool, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::De... | std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return std::make_pair(makeIterator(TheBucket,
shouldReverseIterate<KeyT>()
? getBuckets()
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r13
movq %rsi, %rdi
movq %rdx, %rsi
movq %r13, %rdx
callq 0x137fbda
movl %eax, %ecx
movq (%r13), %rax
testb %cl, %cl
je 0x137fb94
xorl %ecx, %ecx
jmp 0x137fbb4
movq %r... | /llvm/ADT/DenseMap.h |
llvm::DenseMapBase<llvm::DenseMap<clang::FileEntry const*, bool, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, bool>>, clang::FileEntry const*, bool, llvm::DenseMapInfo<clang::FileEntry const*, void>, llvm::detail::DenseMapPair<clang::FileEntry const*, bool>>::Fi... | value_type& FindAndConstruct(KeyT &&Key) {
BucketT *TheBucket;
if (LookupBucketFor(Key, TheBucket))
return *TheBucket;
return *InsertIntoBucket(TheBucket, std::move(Key));
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rsp), %r15
movq %r15, %rdx
callq 0x137fbda
movl %eax, %ecx
movq (%r15), %rax
testb %cl, %cl
jne 0x137ff96
movq %r14, %rdi
movq %rbx, %rsi
movq %rbx, %rdx
movq %rax, %rcx
callq 0x137fc68
movq (%rbx), %rcx
movq %rcx, (%rax)
movb $... | /llvm/ADT/DenseMap.h |
(anonymous namespace)::InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(llvm::StringRef, llvm::StringRef, llvm::StringRef) | void InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(StringRef Base,
StringRef Arch,
StringRef Version) {
AddPath(Base + "/" + Arch + "/" + Version + "/include/c++",
CXXSystem, false);
AddPath(Base + ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp # imm = 0x128
movq %r9, 0x30(%rsp)
movq %r8, 0x10(%rsp)
movq %rcx, 0x8(%rsp)
movq %rdx, %r12
movq %rsi, 0x18(%rsp)
movq %rdi, 0x28(%rsp)
movw $0x305, %ax # imm = 0x305
leaq 0x88(%rsp), %r14
movw %ax, 0x20(%r14)
mo... | /Lex/InitHeaderSearch.cpp |
clang::Lexer::Lexer(clang::SourceLocation, clang::LangOptions const&, char const*, char const*, char const*, bool) | Lexer::Lexer(SourceLocation fileloc, const LangOptions &langOpts,
const char *BufStart, const char *BufPtr, const char *BufEnd,
bool IsFirstIncludeOfFile)
: FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment),
IsFirstTimeLexingFile(IsFirstIncludeOfFile) {
InitLe... | pushq %rbx
movq %rdi, %rbx
movb 0x10(%rsp), %al
movw $0x0, 0x20(%rdi)
movb $0x0, 0x22(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x28(%rdi)
movq $0x0, 0x38(%rdi)
addq $0x50, %rdi
movups %xmm0, 0x8(%rbx)
xorl %r10d, %r10d
movl %r10d, 0x17(%rbx)
movq %rdi, 0x40(%rbx)
movabsq $0x400000000, %rdi # imm = 0x400000000
movq %... | /Lex/Lexer.cpp |
clang::Lexer::findNextToken(clang::SourceLocation, clang::SourceManager const&, clang::LangOptions const&) | std::optional<Token> Lexer::findNextToken(SourceLocation Loc,
const SourceManager &SM,
const LangOptions &LangOpts) {
if (Loc.isMacroID()) {
if (!Lexer::isAtEndOfMacroExpansion(Loc, SM, LangOpts, &Loc))
return std::nullopt;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rdi, %rbx
movl %esi, 0x8(%rsp)
testl %esi, %esi
jns 0x1383a98
leaq 0x8(%rsp), %rcx
movl %esi, %edi
movq %r15, %rsi
movq %r14, %rdx
callq 0x1383010
testb %al, %al
je 0x1383ada
movl 0x8(%rsp), %esi
mov... | /Lex/Lexer.cpp |
clang::Lexer::SetByteOffset(unsigned int, bool) | void Lexer::SetByteOffset(unsigned Offset, bool StartOfLine) {
BufferPtr = BufferStart + Offset;
if (BufferPtr > BufferEnd)
BufferPtr = BufferEnd;
// FIXME: What exactly does the StartOfLine bit mean? There are two
// possible meanings for the "start" of the line: the first token on the
// unexpanded lin... | movl %esi, %eax
addq 0x70(%rdi), %rax
movq 0x78(%rdi), %rcx
cmpq %rcx, %rax
cmovaq %rcx, %rax
movq %rax, 0x98(%rdi)
movb %dl, 0xa0(%rdi)
movb %dl, 0xa1(%rdi)
retq
nop
| /Lex/Lexer.cpp |
maybeDiagnoseUTF8Homoglyph(clang::DiagnosticsEngine&, unsigned int, clang::CharSourceRange) | static void maybeDiagnoseUTF8Homoglyph(DiagnosticsEngine &Diags, uint32_t C,
CharSourceRange Range) {
// FIXME: Handle Unicode quotation marks (smart quotes, fullwidth quotes).
struct HomoglyphPair {
uint32_t Character;
char LooksLike;
bool operator<(HomoglyphPair ... | pushq %r15
pushq %r14
pushq %rbx
subq $0x60, %rsp
movl %esi, %ebx
movq %rdx, 0x10(%rsp)
movb %cl, 0x18(%rsp)
movl $0x31, %ecx
leaq 0x2e207c(%rip), %rax # 0x1666f60
movq %rcx, %rsi
shrq %rsi
movq %rsi, %r8
notq %r8
addq %rcx, %r8
leaq (%rax,%rsi,8), %rcx
addq $0x8, %rcx
cmpl %ebx, -0x8(%rcx)
cmovaeq %rsi, %r8
cmovbq ... | /Lex/Lexer.cpp |
clang::Lexer::SaveLineComment(clang::Token&, char const*) | bool Lexer::SaveLineComment(Token &Result, const char *CurPtr) {
// If we're not in a preprocessor directive, just return the // comment
// directly.
FormTokenWithChars(Result, CurPtr, tok::comment);
if (!ParsingPreprocessorDirective || LexingRawMode)
return true;
// If this Line-style comment is in a m... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movl $0x4, %ecx
callq 0x13856a8
cmpb $0x1, 0x18(%r14)
jne 0x138716b
cmpb $0x0, 0x1a(%r14)
jne 0x138716b
leaq 0xf(%rsp), %r15
movb $0x0, (%r15)
movq 0x8(%r14), %rax
movq 0x38(%rax), %rcx
movq 0x58(%rax), %rdx
leaq 0x10(%rsp), %rdi
movq %rb... | /Lex/Lexer.cpp |
clang::Lexer::isNextPPTokenLParen() | unsigned Lexer::isNextPPTokenLParen() {
assert(!LexingRawMode && "How can we expand a macro from a skipping buffer?");
if (isDependencyDirectivesLexer()) {
if (NextDepDirectiveTokenIndex == DepDirectives.front().Tokens.size())
return 2;
return DepDirectives.front().Tokens[NextDepDirectiveTokenIndex].... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
cmpq $0x0, 0xc0(%rdi)
je 0x1387b55
movl 0xc8(%rbx), %ecx
movq 0xb8(%rbx), %rdx
movl $0x2, %eax
cmpq %rcx, 0x8(%rdx)
je 0x1387bb9
movq (%rdx), %rdx
leaq (%rcx,%rcx,2), %rcx
xorl %eax, %eax
cmpw $0x16, 0x8(%rdx,%rcx,4)
sete... | /Lex/Lexer.cpp |
clang::expandUCNs(llvm::SmallVectorImpl<char>&, llvm::StringRef) | void clang::expandUCNs(SmallVectorImpl<char> &Buf, StringRef Input) {
for (StringRef::iterator I = Input.begin(), E = Input.end(); I != E; ++I) {
if (*I != '\\') {
Buf.push_back(*I);
continue;
}
++I;
char Kind = *I;
++I;
assert(Kind == 'u' || Kind == 'U' || Kind == 'N');
uint... | testq %rdx, %rdx
je 0x138b1cf
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
addq %rsi, %rbx
movq %rsp, %r12
leaq 0x1d83a4(%rip), %rbp # 0x1563470
movb (%r15), %al
cmpb $0x5c, %al
jne 0x138b121
movzbl 0x1(%r15), %ecx
cmpl $0x4e, %ecx... | /Lex/LiteralSupport.cpp |
clang::NumericLiteralParser::isValidUDSuffix(clang::LangOptions const&, llvm::StringRef) | bool NumericLiteralParser::isValidUDSuffix(const LangOptions &LangOpts,
StringRef Suffix) {
if (!LangOpts.CPlusPlus11 || Suffix.empty())
return false;
// By C++11 [lex.ext]p10, ud-suffixes starting with an '_' are always valid.
// Suffixes starting with '__' (double... | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movq (%rdi), %rcx
btl $0xb, %ecx
setae %al
testq %rdx, %rdx
sete %dil
orb %al, %dil
jne 0x138c58a
movb (%rsi), %dil
cmpb $0x5f, %dil
jne 0x138c584
movb $0x1, %al
cmpq $0x2, %rdx
jb 0x138c58c
cmpw $0x5f5f, (%rsi) # imm = 0x5F5F
jne 0x138c58c
btl $0xc, %ecx
jb 0x138c592... | /Lex/LiteralSupport.cpp |
clang::NumericLiteralParser::GetIntegerValue(llvm::APInt&) | bool NumericLiteralParser::GetIntegerValue(llvm::APInt &Val) {
// Fast path: Compute a conservative bound on the maximum number of
// bits per digit in this radix. If we can't possibly overflow a
// uint64 based on that bound then do the simple conversion to
// integer. This avoids the expensive overflow checki... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq 0x28(%rdi), %rax
movq 0x30(%rdi), %rcx
movl %ecx, %esi
subl %eax, %esi
movl 0x40(%rdi), %edx
leal -0x2(%rdx), %edi
rorl %edi
movslq %edi, %rdi
leaq 0x2dabb8(%rip), %r8 # 0x16672b0
cmpl %esi, (%r8,... | /Lex/LiteralSupport.cpp |
clang::NumericLiteralParser::GetFloatValue(llvm::APFloat&, llvm::RoundingMode) | llvm::APFloat::opStatus
NumericLiteralParser::GetFloatValue(llvm::APFloat &Result,
llvm::RoundingMode RM) {
using llvm::APFloat;
unsigned n = std::min(SuffixBegin - ThisTokBegin, ThisTokEnd - ThisTokBegin);
llvm::SmallString<16> Buffer;
StringRef Str(ThisTokBegin, n);
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq 0x30(%rdi), %rax
movq 0x18(%rdi), %r15
movq 0x20(%rdi), %rcx
subq %r15, %rax
subq %r15, %rcx
cmpq %rax, %rcx
cmovgeq %rax, %rcx
leaq 0x30(%rsp), %rbx
movq %rbx, -0x18(%rbx)
movq $0x0, -0x10(%rbx)
movq... | /Lex/LiteralSupport.cpp |
clang::MacroInfo::dump() const | LLVM_DUMP_METHOD void MacroInfo::dump() const {
llvm::raw_ostream &Out = llvm::errs();
// FIXME: Dump locations.
Out << "MacroInfo " << this;
if (IsBuiltinMacro) Out << " builtin";
if (IsDisabled) Out << " disabled";
if (IsUsed) Out << " used";
if (IsAllowRedefinitionsWithoutWarning)
Out << " allow_r... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
callq 0x480bff
movq %rax, %rbx
leaq 0x2d6749(%rip), %rsi # 0x1667368
movl $0xa, %edx
movq %rax, %rdi
callq 0x45193a
movq %rax, %rdi
movq %r14, %rsi
callq 0x480174
movzwl 0x24(%r14), %eax
testb $0x10, %al
je 0x1390c59
leaq 0x... | /Lex/MacroInfo.cpp |
clang::ModuleMap::resolveModuleId(llvm::SmallVector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, clang::SourceLocation>, 2u> const&, clang::Module*, bool) const | Module *ModuleMap::resolveModuleId(const ModuleId &Id, Module *Mod,
bool Complain) const {
// Find the starting module.
Module *Context = lookupModuleUnqualified(Id[0].first, Mod);
if (!Context) {
if (Complain)
Diags.Report(Id[0].second, diag::err_mmap_missing_module_u... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r15
movq (%rsi), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r12, %rcx
callq 0x1391552
testq %rax, %rax
je 0x1391365
movq %rax, %r14
movl 0x8(%rbx), %r12d
cmpl $0x1, %r12d... | /Lex/ModuleMap.cpp |
clang::ModuleMap::resolveUses(clang::Module*, bool) | bool ModuleMap::resolveUses(Module *Mod, bool Complain) {
auto *Top = Mod->getTopLevelModule();
auto Unresolved = std::move(Top->UnresolvedDirectUses);
Top->UnresolvedDirectUses.clear();
for (auto &UDU : Unresolved) {
Module *DirectUse = resolveModuleId(UDU, Top, Complain);
if (DirectUse)
Top->Dir... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movl %edx, %ebp
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x1410cd2
movq %rax, %r14
addq $0x7a0, %rax # imm = 0x7A0
movq %rax, (%rsp)
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
movabsq $0x200000000, %rcx # imm = 0x200000000... | /Lex/ModuleMap.cpp |
llvm::SmallVectorTemplateBase<llvm::SmallVector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, clang::SourceLocation>, 2u>, false>::push_back(llvm::SmallVector<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, clang::SourceLocation>, 2u>... | void push_back(const T &Elt) {
const T *EltPtr = reserveForParamAndGetAddress(Elt);
::new ((void *)this->end()) T(*EltPtr);
this->set_size(this->size() + 1);
} | pushq %rbx
movq %rdi, %rbx
movl $0x1, %edx
callq 0x13a1cc0
movq (%rbx), %rdi
movl 0x8(%rbx), %ecx
leaq (%rcx,%rcx,2), %rcx
shlq $0x5, %rcx
leaq (%rdi,%rcx), %rdx
addq $0x10, %rdx
movq %rdx, -0x10(%rdx)
movabsq $0x200000000, %rsi # imm = 0x200000000
movq %rsi, -0x8(%rdx)
cmpl $0x0, 0x8(%rax)
je 0x1399181
addq %rcx,... | /llvm/ADT/SmallVector.h |
clang::ModuleMapParser::skipUntil(clang::MMToken::TokenKind) | void ModuleMapParser::skipUntil(MMToken::TokenKind K) {
unsigned braceDepth = 0;
unsigned squareDepth = 0;
do {
switch (Tok.Kind) {
case MMToken::EndOfFile:
return;
case MMToken::LBrace:
if (Tok.is(K) && braceDepth == 0 && squareDepth == 0)
return;
++braceDepth;
break... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
xorl %r13d, %r13d
leaq 0x2ce22c(%rip), %r15 # 0x1667e30
movl %esi, %eax
xorl $0x18, %eax
movl %eax, 0x4(%rsp)
movl %esi, %r12d
xorl $0x1a, %r12d
xorl %ebp, %ebp
movl 0xa0(%r14), %eax
leal -0x18(%rax), %ecx
cm... | /Lex/ModuleMap.cpp |
clang::ModuleMapParser::parseModuleDecl() | void ModuleMapParser::parseModuleDecl() {
assert(Tok.is(MMToken::ExplicitKeyword) || Tok.is(MMToken::ModuleKeyword) ||
Tok.is(MMToken::FrameworkKeyword) || Tok.is(MMToken::ExternKeyword));
if (Tok.is(MMToken::ExternKeyword)) {
parseExternModuleDecl();
return;
}
// Parse 'explicit' or 'framewor... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1d8, %rsp # imm = 0x1D8
movq %rdi, %rbx
movl 0xa0(%rdi), %r13d
cmpl $0x8, %r13d
je 0x139a569
xorl %r14d, %r14d
movl $0x0, %r12d
cmpl $0xb, %r13d
jne 0x139a57e
movq %rbx, %rdi
addq $0x1d8, %rsp # imm = 0x1D8
popq %rbx
popq %r... | /Lex/ModuleMap.cpp |
clang::ModuleMapParser::parseConfigMacros() | void ModuleMapParser::parseConfigMacros() {
assert(Tok.is(MMToken::ConfigMacros));
SourceLocation ConfigMacrosLoc = consumeToken();
// Only top-level modules can have configuration macros.
if (ActiveModule->Parent) {
Diags.Report(ConfigMacrosLoc, diag::err_mmap_config_macro_submodule);
}
// Parse the ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
callq 0x139934c
movq 0xb8(%rbx), %rcx
cmpq $0x0, 0x28(%rcx)
je 0x139c311
movq 0x18(%rbx), %rdi
movl %eax, 0x170(%rdi)
movl $0x421, 0x174(%rdi) # imm = 0x421
xorl %eax, %eax
movq %rax, 0x158(%rdi)
movq 0x150(%rdi), %rcx
movb %al, (%rcx)
lea... | /Lex/ModuleMap.cpp |
clang::ModuleMapParser::parseExportDecl() | void ModuleMapParser::parseExportDecl() {
assert(Tok.is(MMToken::ExportKeyword));
SourceLocation ExportLoc = consumeToken();
// Parse the module-id with an optional wildcard at the end.
ModuleId ParsedModuleId;
bool Wildcard = false;
do {
// FIXME: Support string-literal module names here.
if (Tok.... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %rdi, %rbx
callq 0x139934c
movl %eax, 0x4(%rsp)
leaq 0xa8(%rsp), %rax
movq %rax, -0x10(%rax)
movabsq $0x200000000, %rcx # imm = 0x200000000
movq %rcx, -0x8(%rax)
movl 0xa0(%rbx), %eax
cmpl $0x5, %eax
j... | /Lex/ModuleMap.cpp |
clang::ModuleMapParser::parseUmbrellaDirDecl(clang::SourceLocation) | void ModuleMapParser::parseUmbrellaDirDecl(SourceLocation UmbrellaLoc) {
// Parse the directory name.
if (!Tok.is(MMToken::StringLiteral)) {
Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header)
<< "umbrella";
HadError = true;
return;
}
std::string DirName = std::string(Tok.getStrin... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x308, %rsp # imm = 0x308
movq %rdi, %rbx
cmpl $0x15, 0xa0(%rdi)
jne 0x139dee8
movl %esi, %ebp
movq 0xb0(%rbx), %rsi
movl 0xa8(%rbx), %edx
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
addq %rsi, %rdx
movq %rsp, %r14
movq %r14, %rdi
callq... | /Lex/ModuleMap.cpp |
clang::ModuleMapParser::parseLinkDecl() | void ModuleMapParser::parseLinkDecl() {
assert(Tok.is(MMToken::LinkKeyword));
SourceLocation LinkLoc = consumeToken();
// Parse the optional 'framework' keyword.
bool IsFramework = false;
if (Tok.is(MMToken::FrameworkKeyword)) {
consumeToken();
IsFramework = true;
}
// Parse the library name
i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
callq 0x139934c
movl %eax, %ebp
movl 0xa0(%rbx), %eax
cmpl $0xc, %eax
jne 0x139e654
movq %rbx, %rdi
callq 0x139934c
movl 0xa0(%rbx), %eax
movb $0x1, %r12b
jmp 0x139e657
xorl %r12d, %r12d
cmpl $0x15, %eax
jne 0x139e6fc
mov... | /Lex/ModuleMap.cpp |
llvm::SmallVectorTemplateBase<clang::Module::Header, false>::push_back(clang::Module::Header&&) | void push_back(T &&Elt) {
T *EltPtr = reserveForParamAndGetAddress(Elt);
::new ((void *)this->end()) T(::std::move(*EltPtr));
this->set_size(this->size() + 1);
} | pushq %rbx
movq %rdi, %rbx
movl $0x1, %edx
callq 0x13a0d14
movq %rax, %rcx
movq (%rbx), %rsi
movl 0x8(%rbx), %edx
leaq (%rdx,%rdx,8), %rdi
leaq (%rsi,%rdi,8), %rdx
leaq 0x10(%rsi,%rdi,8), %rdi
movq %rdi, -0x10(%rdi)
movq (%rax), %r8
leaq 0x10(%rax), %rsi
cmpq %rsi, %r8
je 0x139e874
movq %r8, (%rdx)
movq (%rsi), %rdi
mo... | /llvm/ADT/SmallVector.h |
llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::SourceMgr const*, unsigned int>, clang::FileID, llvm::DenseMapInfo<std::pair<llvm::SourceMgr const*, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<llvm::SourceMgr const*, unsigned int>, clang::FileID>>, std::pair<llvm::SourceMgr const*, unsigned int>, clang... | 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 0x14258e5
movq (%r15), %rax
leaq (%rcx,%rcx,2), %rcx
leaq (%rax,%rcx,8), %rcx
movq $-0x1000, (%rax) # imm = 0xF000
movl $0xffffffff, 0x8(%rax) # i... | /llvm/ADT/DenseMap.h |
clang::runWithSufficientStackSpaceSlow(llvm::function_ref<void ()>, llvm::function_ref<void ()>) | void clang::runWithSufficientStackSpaceSlow(llvm::function_ref<void()> Diag,
llvm::function_ref<void()> Fn) {
llvm::CrashRecoveryContext CRC;
CRC.RunSafelyOnThread([&] {
noteBottomOfStack();
Diag();
Fn();
}, DesiredStackSize);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
leaq 0x28(%rsp), %r14
movq %rdi, (%r14)
movq %rsi, 0x8(%r14)
leaq 0x18(%rsp), %r15
movq %rdx, (%r15)
movq %rcx, 0x8(%r15)
leaq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x498626
leaq 0x8(%rsp), %rdx
movq %r14, (%rdx)
movq %r15, 0x8(%rdx)
leaq 0x1f(%rip), %rsi # 0x14... | /Basic/Stack.cpp |
smf::MidiEvent::operator=(std::vector<unsigned char, std::allocator<unsigned char>> const&) | MidiEvent& MidiEvent::operator=(const vector<uchar>& bytes) {
clearVariables();
this->resize(bytes.size());
for (int i=0; i<(int)this->size(); i++) {
(*this)[i] = bytes[i];
}
return *this;
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x3be00
movq -0x10(%rbp), %rdi
callq 0x3c6c0
movq -0x20(%rbp), %rdi
movq %rax, %rsi
callq 0x3c630
movl $0x0, -0x14(%rbp)
movq -0x20(%rbp), %rdi
movl -0x14(%rbp), %eax
movl %eax, -0... | /craigsapp[P]midifile/src/MidiEvent.cpp |
smf::MidiEvent::getTickDuration() const | int MidiEvent::getTickDuration(void) const {
const MidiEvent* mev = getLinkedEvent();
if (mev == NULL) {
return 0;
}
int tick2 = mev->tick;
if (tick2 > tick) {
return tick2 - tick;
} else {
return tick - tick2;
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x3c4b0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x3c51d
movl $0x0, -0x4(%rbp)
jmp 0x3c54f
movq -0x28(%rbp), %rcx
movq -0x18(%rbp), %rax
movl 0x18(%rax), %eax
movl %eax, -0x1c(%rbp)
movl -0x1c... | /craigsapp[P]midifile/src/MidiEvent.cpp |
smf::MidiEvent::getDurationInSeconds() const | double MidiEvent::getDurationInSeconds(void) const {
const MidiEvent* mev = getLinkedEvent();
if (mev == NULL) {
return 0;
}
double seconds2 = mev->seconds;
if (seconds2 > seconds) {
return seconds2 - seconds;
} else {
return seconds - seconds2;
}
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x28(%rbp)
callq 0x3c4b0
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x3c58e
xorps %xmm0, %xmm0
movsd %xmm0, -0x8(%rbp)
jmp 0x3c5d4
movq -0x28(%rbp), %rax
movq -0x18(%rbp), %rcx
movsd 0x20(%rcx), %xmm0
movsd %xmm... | /craigsapp[P]midifile/src/MidiEvent.cpp |
smf::MidiFile::MidiFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | MidiFile::MidiFile(const std::string& filename) {
m_events.resize(1);
for (auto &event : m_events) {
event = new MidiEventList;
}
read(filename);
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x60(%rbp)
callq 0x53650
movq -0x48(%rbp), %rdi
movl $0x78, 0x18(%rdi)
movl $0x0, 0x1c(%rdi)
movl $0x1, 0x20(%rdi)
addq $0x28, %rdi
movq %rdi, -0x58(%rbp)
cal... | /craigsapp[P]midifile/src/MidiFile.cpp |
smf::MidiFile::read(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | bool MidiFile::read(const std::string& filename) {
m_timemapvalid = 0;
setFilename(filename);
m_rwstatus = true;
std::fstream input;
input.open(filename.c_str(), std::ios::binary | std::ios::in);
if (!input.is_open()) {
m_rwstatus = false;
return m_rwstatus;
}
m_rwstatus = read(input);
return m_rwstatus... | pushq %rbp
movq %rsp, %rbp
subq $0x260, %rsp # imm = 0x260
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x250(%rbp)
movb $0x0, 0x48(%rdi)
movq -0x18(%rbp), %rsi
callq 0x4ae60
movq -0x250(%rbp), %rax
movb $0x1, 0x68(%rax)
leaq -0x228(%rbp), %rdi
callq 0x33480
movq -0x18(%rb... | /craigsapp[P]midifile/src/MidiFile.cpp |
smf::MidiFile::MidiFile(std::istream&) | MidiFile::MidiFile(std::istream& input) {
m_events.resize(1);
for (auto &event : m_events) {
event = new MidiEventList;
}
read(input);
} | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x48(%rbp)
movq %rdi, %rax
movq %rax, -0x60(%rbp)
callq 0x53650
movq -0x48(%rbp), %rdi
movl $0x78, 0x18(%rdi)
movl $0x0, 0x1c(%rdi)
movl $0x1, 0x20(%rdi)
addq $0x28, %rdi
movq %rdi, -0x58(%rbp)
cal... | /craigsapp[P]midifile/src/MidiFile.cpp |
smf::Binasc::getWord(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, 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>> const&, int) | int Binasc::getWord(std::string& word, const std::string& input,
const std::string& terminators, int index) {
word.resize(0);
int i = index;
int escape = 0;
int ecount = 0;
if (terminators.find('"') != std::string::npos) {
escape = 1;
}
while (i < (int)input.size()) {
if (escape && input[i] == '\"') {
e... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x335a0
movl -0x2c(%rbp), %eax
movl %eax, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl $0x0, -0x38(%rbp)
... | /craigsapp[P]midifile/src/Binasc.cpp |
smf::Binasc::writeLittleEndianLong(std::ostream&, long) | std::ostream& Binasc::writeLittleEndianLong(std::ostream& out, long value) {
union { char bytes[4]; long l; } data;
data.l = value;
out << data.bytes[0];
out << data.bytes[1];
out << data.bytes[2];
out << data.bytes[3];
return out;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movsbl -0x18(%rbp), %esi
callq 0x33470
movq -0x8(%rbp), %rdi
movsbl -0x17(%rbp), %esi
callq 0x33470
movq -0x8(%rbp), %rdi
movsbl -0x16(%rbp), %esi
callq 0x33470
mo... | /craigsapp[P]midifile/src/Binasc.cpp |
main | int main() {
int n, m;
std::cin >> n >> m;
std::vector<e> v;
for (int i = 0; i < m; ++i) {
int a, b, l;
std::cin >> a >> b >> l;
v.push_back({a - 1, b - 1, l});
}
std::sort(v.begin(), v.end(), cmp);
for (int i = 1; i <= n; i++) {
r[i] = 0;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq 0x2d50(%rip), %rdi # 0x3fe0
leaq 0xc(%rsp), %rsi
callq 0x1060
leaq 0x8(%rsp), %rbx
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1060
pxor %xmm0, %xmm0
movdqa %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
cmpl $0x0, (%rbx)
jle 0x13b3
xorl ... | /KaluginaMarina[P]algorithms_and_data_structures/1160.cpp |
Potassco::AspifOutput::theoryAtom(unsigned int, unsigned int, Potassco::Span<unsigned int> const&) | void AspifOutput::theoryAtom(Id_t atomOrZero, Id_t termId, const IdSpan& elements) {
startDir(Directive_t::Theory).add(Theory_t::Atom).add(atomOrZero).add(termId).add(elements).endDir();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r14
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
movl $0x9, %esi
callq 0x62c0
movq 0x8(%rbx), %r13
leaq 0x14c80(%rip), %r12 # 0x1e315
movl $0x1, %edx
movq %r13, %rdi
movq %r12, %rsi
callq 0x6410
movq %r... | /potassco[P]clasp/libpotassco/src/aspif.cpp |
Potassco::AspifOutput::theoryAtom(unsigned int, unsigned int, Potassco::Span<unsigned int> const&, unsigned int, unsigned int) | void AspifOutput::theoryAtom(Id_t atomOrZero, Id_t termId, const IdSpan& elements, Id_t op, Id_t rhs) {
startDir(Directive_t::Theory).add(Theory_t::AtomWithGuard).add(atomOrZero).add(termId).add(elements).add(op).add(rhs).endDir();
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, 0x4(%rsp)
movl %r8d, (%rsp)
movq %rcx, %r12
movl %edx, %r13d
movl %esi, %ebx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movl $0x9, %esi
callq 0x62c0
movq 0x8(%r14), %rbp
leaq 0x14bbf(%rip), %r15 # 0x1e315
movl $0x1, %edx
movq %rbp, %r... | /potassco[P]clasp/libpotassco/src/aspif.cpp |
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.