name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
clang::ObjCImplementationDecl::ivar_size() const
unsigned ivar_size() const { return std::distance(ivar_begin(), ivar_end()); }
pushq %rax callq 0x7c5b78 xorl %ecx, %ecx testq %rax, %rax je 0x95ae30 movq 0x8(%rax), %rax andq $-0x8, %rax je 0x95ae2c movl 0x1c(%rax), %edx andl $0x7f, %edx cmpl $0x2f, %edx jne 0x95ae17 incl %ecx jmp 0x95ae12 movl %ecx, %eax popq %rcx retq
/clang/AST/DeclObjC.h
clang::ASTContext::getAdjustedType(clang::QualType, clang::QualType) const
QualType ASTContext::getAdjustedType(QualType Orig, QualType New) const { llvm::FoldingSetNodeID ID; AdjustedType::Profile(ID, Orig, New); void *InsertPos = nullptr; AdjustedType *AT = AdjustedTypes.FindNodeOrInsertPos(ID, InsertPos); if (AT) return QualType(AT, 0); QualType Canonical = getCanonicalTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x28(%rsp), %rbp movq %rbp, -0x10(%rbp) movabsq $0x2000000000, %rax # imm = 0x2000000000 movq %rax, -0x8(%rbp) leaq 0x18(%rsp), %r13 movq %r13, %rdi callq 0x95ccd4 leaq 0x8(%rsp), ...
/AST/ASTContext.cpp
clang::ASTContext::getBuiltinVectorTypeInfo(clang::BuiltinType const*) const
ASTContext::BuiltinVectorTypeInfo ASTContext::getBuiltinVectorTypeInfo(const BuiltinType *Ty) const { #define SVE_INT_ELTTY(BITS, ELTS, SIGNED, NUMVECTORS) \ {getIntTypeForBitwidth(BITS, SIGNED), llvm::ElementCount::getScalable(ELTS), \ NUMVECTORS}; #define SVE_ELTTY(ELTTY, ELTS, NUMVECTO...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x10(%rdx), %eax shrl $0x13, %eax andl $0x1ff, %eax # imm = 0x1FF addl $-0x30, %eax leaq 0x250d5f6(%rip), %rcx # 0x2e6b844 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movq 0x4348(%r14), %rdi movq (%rdi), %...
/AST/ASTContext.cpp
clang::ASTContext::getSubstTemplateTemplateParmPack(clang::TemplateArgument const&, clang::Decl*, unsigned int, bool) const
TemplateName ASTContext::getSubstTemplateTemplateParmPack(const TemplateArgument &ArgPack, Decl *AssociatedDecl, unsigned Index, bool Final) const { auto &Self = const_cast<ASTContext &>(*this); llvm::FoldingSetNodeID ID; Su...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movl %r8d, %ebp movl %ecx, %r8d movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x28(%rsp), %rcx movq %rcx, -0x10(%rcx) movabsq $0x2000000000, %rax # imm = 0x2000000000 movq %rax, -0x8(%rcx) leaq 0x18(%rsp), %r13 movq %r13, %rdi...
/AST/ASTContext.cpp
llvm::DenseMapBase<llvm::DenseMap<clang::Module const*, clang::Module const*, llvm::DenseMapInfo<clang::Module const*, void>, llvm::detail::DenseMapPair<clang::Module const*, clang::Module const*>>, clang::Module const*, clang::Module const*, llvm::DenseMapInfo<clang::Module const*, void>, llvm::detail::DenseMapPair<cl...
value_type& FindAndConstruct(const KeyT &Key) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return *TheBucket; return *InsertIntoBucket(TheBucket, Key); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %r15, %rdx callq 0x980bb4 movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0x980d5c movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0x980d66 movq (%rbx), %rcx movq %rcx, (%rax) movq $0x0...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<clang::Module const*, clang::Module const*, llvm::DenseMapInfo<clang::Module const*, void>, llvm::detail::DenseMapPair<clang::Module const*, clang::Module const*>>, clang::Module const*, clang::Module const*, llvm::DenseMapInfo<clang::Module const*, void>, llvm::detail::DenseMapPair<cl...
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 0x980ffb movq (%r15), %rax movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx neg...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<clang::NamedDecl*, llvm::TinyPtrVector<clang::Module*>, llvm::DenseMapInfo<clang::NamedDecl*, void>, llvm::detail::DenseMapPair<clang::NamedDecl*, llvm::TinyPtrVector<clang::Module*>>>, clang::NamedDecl*, llvm::TinyPtrVector<clang::Module*>, llvm::DenseMapInfo<clang::NamedDecl*, v...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0x9849a6 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 0x98...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<clang::Module*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::Module*, void>, llvm::detail::DenseSetPair<clang::Module*>>, clang::Module*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::Module*, void>, llvm::detail::DenseSetPair<clang::Module*>>::LookupBucketFor<c...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0x984a9c pushq %rbx movq (%rdi), %rdi movq (%rsi), %r8 movl %r8d, %eax shrl $0x4, %eax movl %r8d, %r9d shrl $0x9, %r9d xorl %eax, %r9d decl %ecx andl %ecx, %r9d leaq (%rdi,%r9,8), %rsi movq (%rsi), %rbx movb $0x1, %al cmpq %rbx, %r8 jne 0x984aa4 popq %rbx jmp 0x984aa0 xorl %esi...
/llvm/ADT/DenseMap.h
llvm::FoldingSet<clang::ComplexType>::ComputeNodeHash(llvm::FoldingSetBase const*, llvm::FoldingSetBase::Node*, llvm::FoldingSetNodeID&)
static unsigned ComputeNodeHash(const FoldingSetBase *, Node *N, FoldingSetNodeID &TempID) { T *TN = static_cast<T *>(N); return FoldingSetTrait<T>::ComputeHash(*TN, TempID); }
pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx leaq -0x18(%rsi), %rax testq %rsi, %rsi cmoveq %rsi, %rax movq 0x20(%rax), %r14 movq %rdx, %rdi movl %r14d, %esi callq 0x4f49c8 shrq $0x20, %r14 movq %rbx, %rdi movl %r14d, %esi callq 0x4f49c8 movq (%rbx), %rdi movl 0x8(%rbx), %eax leaq (%rdi,%rax,4), %rsi addq $0x8, %rs...
/llvm/ADT/FoldingSet.h
llvm::FoldingSet<clang::DeducedTemplateSpecializationType>::GetNodeProfile(llvm::FoldingSetBase const*, llvm::FoldingSetBase::Node*, llvm::FoldingSetNodeID&)
static void GetNodeProfile(const FoldingSetBase *, Node *N, FoldingSetNodeID &ID) { T *TN = static_cast<T *>(N); FoldingSetTrait<T>::Profile(*TN, ID); }
movq %rdx, %rdi leaq -0x20(%rsi), %rax testq %rsi, %rsi cmoveq %rsi, %rax movq 0x18(%rax), %rdx movq 0x28(%rax), %rsi movzwl 0x11(%rax), %ecx andl $0x4, %ecx shrl $0x2, %ecx jmp 0x9717a4 nop
/llvm/ADT/FoldingSet.h
clang::ASTNodeTraverser<clang::JSONDumper, clang::JSONNodeDumper>::Visit(clang::Decl const*, bool)
void Visit(const Decl *D, bool VisitLocs = false) { if (Traversal == TK_IgnoreUnlessSpelledInSource && D->isImplicit()) return; getNodeDelegate().AddChild([=] { getNodeDelegate().Visit(D); if (!D) return; { llvm::SaveAndRestore RestoreVisitLocs(this->VisitLocs, VisitLoc...
cmpl $0x1, 0x4(%rdi) jne 0x98d13a testb $0x2, 0x1d(%rsi) jne 0x98d175 subq $0x38, %rsp movq %rdi, 0x20(%rsp) addq $0x8, %rdi movq %rsi, 0x28(%rsp) movb %dl, 0x30(%rsp) movq 0x30(%rsp), %rax movq %rax, 0x10(%rsp) movups 0x20(%rsp), %xmm0 movups %xmm0, (%rsp) leaq 0x274a504(%rip), %rsi # 0x30d766e xorl %edx, %edx callq...
/clang/AST/ASTNodeTraverser.h
clang::TypeVisitor<clang::ASTDumper, void>::Visit(clang::Type const*)
RetTy Visit(const Type *T) { // Top switch stmt: dispatch to VisitFooType for each FooType. switch (T->getTypeClass()) { #define ABSTRACT_TYPE(CLASS, PARENT) #define TYPE(CLASS, PARENT) case Type::CLASS: DISPATCH(CLASS##Type); #include "clang/AST/TypeNodes.inc" } llvm_unreachable("Unknown type class!");...
pushq %rbx movq %rdi, %rbx movzbl 0x10(%rsi), %eax leaq 0x24dcaf3(%rip), %rcx # 0x2e6cd58 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax popq %rbx retq movq 0x20(%rsi), %rsi movq %rbx, %rdi popq %rbx jmp 0x98cfa6 movq %rsi, %rdi callq 0x7a98b6 movq %rbx, %rdi movq %rax, %rsi jmp 0x990277 movq 0x18(%rsi), %rcx ...
/clang/AST/TypeVisitor.h
void clang::NodeStreamer::AddChild<clang::ASTNodeTraverser<clang::JSONDumper, clang::JSONNodeDumper>::Visit(clang::TemplateArgument const&, clang::SourceRange, clang::Decl const*, char const*)::'lambda'()>(llvm::StringRef, clang::ASTNodeTraverser<clang::JSONDumper, clang::JSONNodeDumper>::Visit(clang::TemplateArgument ...
void AddChild(StringRef Label, Fn DoAddChild) { // If we're at the top level, there's nothing interesting to do; just // run the dumper. if (TopLevel) { TopLevel = false; JOS.objectBegin(); DoAddChild(); while (!Pending.empty()) { Pending.back()(true); Pending.pop_b...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdi, %rbx leaq 0xf0(%rsp), %rbp cmpb $0x1, 0x1(%rdi) jne 0x995ac6 movb $0x0, 0x1(%rbx) leaq 0x418(%rbx), %rdi movq %rdi, 0x8(%rsp) callq 0x174428e movq (%rbp), %r15 movq 0x20(%rbp), %rdx leaq 0x8(%r15), %rdi leaq 0x8(%rbp), %r12 mo...
/clang/AST/JSONNodeDumper.h
clang::LoopHintAttr::getDiagnosticName[abi:cxx11](clang::PrintingPolicy const&) const
std::string LoopHintAttr::getDiagnosticName(const PrintingPolicy &Policy) const { unsigned SpellingIndex = getAttributeSpellingListIndex(); if (SpellingIndex == Pragma_nounroll) return "#pragma nounroll"; else if (SpellingIndex == Pragma_unroll) return "#pragma unroll" + (option == UnrollCount ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movl 0x1c(%rsi), %eax movl %eax, %ecx notl %ecx testl $0xf00000, %ecx # imm = 0xF00000 jne 0x9a1151 movq %r15, %rdi callq 0xaa1c50 jmp 0x9a1157 shrl $0x14, %eax andl $0xf, %eax decl %eax cmpl ...
/AST/AttrImpl.cpp
clang::HLSLResourceClassAttr::ConvertStrToResourceClass(llvm::StringRef, llvm::dxil::ResourceClass&)
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 $0x7, %rsi je 0x9b4c48 cmpq $0x3, %rsi jne 0x9b4c6e movzwl (%rdi), %eax xorl $0x5253, %eax # imm = 0x5253 movzbl 0x2(%rdi), %ecx xorl $0x56, %ecx orw %ax, %cx je 0x9b4c71 movzwl (%rdi), %eax xorl $0x4155, %eax # imm = 0x4155 movzbl 0x2(%rdi), %ecx xorl $0x56, %ecx orw %ax, %cx jne 0x9b4c6e movb...
/llvm/ADT/StringRef.h
clang::ParamTypestateAttr::ConvertStrToConsumedState(llvm::StringRef, clang::ParamTypestateAttr::ConsumedState&)
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 $0xa, %rsi je 0x9c2052 cmpq $0x8, %rsi je 0x9c203c cmpq $0x7, %rsi jne 0x9c206f movl $0x6e6b6e75, %ecx # imm = 0x6E6B6E75 xorl (%rdi), %ecx movl $0x6e776f6e, %esi # imm = 0x6E776F6E xorl 0x3(%rdi), %esi xorl %eax, %eax orl %ecx, %esi je 0x9c2077 retq movabsq $0x64656d75736e6f63, %rax # imm = 0x64656D75...
/llvm/ADT/StringRef.h
clang::ComparisonCategories::getResultString(clang::ComparisonCategoryResult)
StringRef ComparisonCategories::getResultString(ComparisonCategoryResult Kind) { using CCVT = ComparisonCategoryResult; switch (Kind) { case CCVT::Equal: return "equal"; case CCVT::Equivalent: return "equivalent"; case CCVT::Less: return "less"; case CCVT::Greater: return "greater"; case C...
movsbq %dil, %rax leaq 0x24a0f4b(%rip), %rcx # 0x2e76470 movq (%rcx,%rax,8), %rdx leaq 0x2c3cb38(%rip), %rcx # 0x3612068 movq (%rcx,%rax,8), %rax retq nop
/AST/ComparisonCategories.cpp
clang::computeDependence(clang::OMPArrayShapingExpr*)
Expr *getBase() { return getTrailingObjects<Expr *>()[NumDims]; }
movl 0x18(%rdi), %ecx movq 0x20(%rdi,%rcx,8), %rax movzwl 0x1(%rax), %eax shrl $0x5, %eax andb $0x1f, %al testq %rcx, %rcx je 0x9d749d shlq $0x3, %rcx xorl %edx, %edx movq 0x20(%rdi,%rdx), %rsi testq %rsi, %rsi je 0x9d7494 movzwl 0x1(%rsi), %esi shrl $0x5, %esi movl %esi, %r8d andb $0x1f, %r8b shrb %sil andb $0x4, %sil...
/clang/AST/ExprOpenMP.h
clang::computeDependence(clang::CallExpr*, llvm::ArrayRef<clang::Expr*>)
Stmt **getTrailingStmts() { return reinterpret_cast<Stmt **>(reinterpret_cast<char *>(this) + CallExprBits.OffsetToTrailingObjects); }
movl (%rdi), %r8d movl %r8d, %r9d shrl $0x18, %r9d movq (%rdi,%r9), %rax movzwl 0x1(%rax), %ecx shrl $0x5, %ecx andb $0x1f, %cl movq 0x8(%rdi), %rax andq $-0x10, %rax movq (%rax), %rax movb 0x11(%rax), %al andb $0x4, %al orb %cl, %al movl 0x10(%rdi), %ecx testq %rcx, %rcx je 0x9d790a addq %r9, %rdi shrl $0xf, %r8d andl...
/clang/AST/Expr.h
std::pair<unsigned int, llvm::SmallVector<clang::UniqueVirtualMethod, 4u>> const* llvm::SmallVectorTemplateCommon<std::pair<unsigned int, llvm::SmallVector<clang::UniqueVirtualMethod, 4u>>, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<std::pair<unsigned int, llvm::SmallVector<clang::UniqueVirtu...
static const T *reserveForParamAndGetAddressImpl(U *This, const T &Elt, size_t N) { size_t NewSize = This->size() + N; if (LLVM_LIKELY(NewSize <= This->capacity())) return &Elt; bool ReferencesStorage = false; int64_t Index = -1; if (!U::Take...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movl 0x8(%rdi), %ecx movl 0xc(%rdi), %eax addq %rcx, %rdx cmpq %rax, %rdx ja 0x9dc1ea movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movq (%rdi), %rax imulq $0x78, %rcx, %rcx addq %rax, %rcx cmpq %rbx, %rax setbe %sil cmpq %rbx, %rcx seta %cl te...
/llvm/ADT/SmallVector.h
bool clang::interp::ByteCodeEmitter::emitOp<unsigned int>(clang::interp::Opcode, unsigned int const&, clang::interp::SourceInfo const&)
bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { bool Success = true; // The opcode is followed by arguments. The source info is // attached to the address after the opcode. emit(P, Code, Op, Success); if (SI) SrcMap.emplace_back(Code.size(), SI); (..., emit(P, Code...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %r14 movq %rdx, %rbx movq %rdi, %r12 leaq 0xc(%rsp), %rax movl %esi, (%rax) leaq 0xb(%rsp), %rdx movb $0x1, (%rdx) leaq 0x1b8(%rdi), %r15 movq %r15, %rdi movq %rax, %rsi callq 0xa04076 cmpq $0x8, (%r14) jb 0x9fef29 leaq 0x1d0(%r12), %rdi movq 0x1c0...
/AST/Interp/ByteCodeEmitter.cpp
bool clang::interp::ByteCodeEmitter::emitOp<clang::interp::Function const*, unsigned int>(clang::interp::Opcode, clang::interp::Function const* const&, unsigned int const&, clang::interp::SourceInfo const&)
bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { bool Success = true; // The opcode is followed by arguments. The source info is // attached to the address after the opcode. emit(P, Code, Op, Success); if (SI) SrcMap.emplace_back(Code.size(), SI); (..., emit(P, Code...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %r8, %r13 movq %rcx, %rbx movq %rdx, %r14 movq %rdi, %r12 leaq 0x4(%rsp), %rax movl %esi, (%rax) leaq 0x3(%rsp), %rdx movb $0x1, (%rdx) leaq 0x1b8(%rdi), %r15 movq %r15, %rdi movq %rax, %rsi callq 0xa04076 cmpq $0x8, (%r13) jb 0x9ff2e9 leaq 0x...
/AST/Interp/ByteCodeEmitter.cpp
bool clang::interp::ByteCodeEmitter::emitOp<clang::VarDecl const*>(clang::interp::Opcode, clang::VarDecl const* const&, clang::interp::SourceInfo const&)
bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { bool Success = true; // The opcode is followed by arguments. The source info is // attached to the address after the opcode. emit(P, Code, Op, Success); if (SI) SrcMap.emplace_back(Code.size(), SI); (..., emit(P, Code...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %r12 movq %rdx, %r14 movq %rdi, %rbx leaq 0x4(%rsp), %rax movl %esi, (%rax) leaq 0x3(%rsp), %rdx movb $0x1, (%rdx) leaq 0x1b8(%rdi), %r15 movq %r15, %rdi movq %rax, %rsi callq 0xa04076 cmpq $0x8, (%r12) jb 0x9ffa07 leaq 0x1d0(%rbx), %rdi...
/AST/Interp/ByteCodeEmitter.cpp
bool clang::interp::ByteCodeEmitter::emitOp<signed char>(clang::interp::Opcode, signed char const&, clang::interp::SourceInfo const&)
bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { bool Success = true; // The opcode is followed by arguments. The source info is // attached to the address after the opcode. emit(P, Code, Op, Success); if (SI) SrcMap.emplace_back(Code.size(), SI); (..., emit(P, Code...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %r12 movq %rdx, %rbx movq %rdi, %r15 leaq 0xc(%rsp), %rax movl %esi, (%rax) leaq 0xb(%rsp), %rdx movb $0x1, (%rdx) leaq 0x1b8(%rdi), %r14 movq %r14, %rdi movq %rax, %rsi callq 0xa04076 cmpq $0x8, (%r12) jb 0x9ffde5 leaq 0x1d0(%r15), %rdi movq 0x1c0...
/AST/Interp/ByteCodeEmitter.cpp
bool clang::interp::ByteCodeEmitter::emitOp<unsigned long>(clang::interp::Opcode, unsigned long const&, clang::interp::SourceInfo const&)
bool ByteCodeEmitter::emitOp(Opcode Op, const Tys &... Args, const SourceInfo &SI) { bool Success = true; // The opcode is followed by arguments. The source info is // attached to the address after the opcode. emit(P, Code, Op, Success); if (SI) SrcMap.emplace_back(Code.size(), SI); (..., emit(P, Code...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %r12 movq %rdx, %rbx movq %rdi, %r15 leaq 0xc(%rsp), %rax movl %esi, (%rax) leaq 0xb(%rsp), %rdx movb $0x1, (%rdx) leaq 0x1b8(%rdi), %r14 movq %r14, %rdi movq %rax, %rsi callq 0xa04076 cmpq $0x8, (%r12) jb 0xa002eb leaq 0x1d0(%r15), %rdi movq 0x1c0...
/AST/Interp/ByteCodeEmitter.cpp
llvm::DenseMap<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*>>>::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, %rbx movl 0x10(%rdi), %r15d decl %esi movl %esi, %eax shrl %eax orl %esi, %eax movl %eax, %ecx shrl $0x2, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x4, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x8, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x10, %eax orl %ecx, %eax incl %ea...
/llvm/ADT/DenseMap.h
std::pair<llvm::DenseMapIterator<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsigned int>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<unsigned int, unsigned int, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, unsign...
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 0x9dbdd4 movl %eax, %ecx movq (%r13), %rax testb %cl, %cl je 0xa03b60 xorl %ecx, %ecx jmp 0xa03b7f movq %r14,...
/llvm/ADT/DenseMap.h
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::visit(clang::Expr const*)
bool Compiler<Emitter>::visit(const Expr *E) { if (E->getType().isNull()) return false; if (E->getType()->isVoidType()) return this->discard(E); // Create local variable to hold the return value. if (!E->isGLValue() && !E->getType()->isAnyComplexType() && !classify(E->getType())) { std::opti...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq 0x8(%rsi), %rsi cmpq $0x10, %rsi jae 0xa05a1e xorl %r15d, %r15d movl %r15d, %eax jmp 0xa05b43 movq %rdi, %rbx movq %rsi, %rax andq $-0x10, %rax movq (%rax), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax movb 0x1...
/AST/Interp/Compiler.cpp
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::VisitFloatingLiteral(clang::FloatingLiteral const*)
bool Compiler<Emitter>::VisitFloatingLiteral(const FloatingLiteral *E) { if (DiscardResult) return true; return this->emitConstFloat(E->getValue(), E); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x50, %rsp movb $0x1, %bpl cmpb $0x0, 0x248(%rdi) jne 0xa0660b movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rsi), %r15 movzbl 0x2(%rsi), %edi shrl $0x2, %edi andl $0x1f, %edi callq 0x74d1ec leaq 0x10(%rsp), %rdi movq %r15, %rsi movq %rax, %rdx callq 0x7d8c98 le...
/AST/Interp/Compiler.cpp
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::VisitCompoundLiteralExpr(clang::CompoundLiteralExpr const*)
bool Compiler<Emitter>::VisitCompoundLiteralExpr(const CompoundLiteralExpr *E) { const Expr *Init = E->getInitializer(); if (Initializing) { // We already have a value, just initialize that. return this->visitInitializer(Init) && this->emitFinishInit(E); } std::optional<PrimType> T = classify(E->getTyp...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x20(%rsi), %r15 cmpb $0x1, 0x24a(%rdi) jne 0xa0d459 movq %rbx, %rdi movq %r15, %rsi callq 0xa0835a testb %al, %al je 0xa0d603 orq $0x4, %r14 movq %rsp, %rsi movq %r14, (%rsi) movq %rbx, %rdi callq 0xa006ee...
/AST/Interp/Compiler.cpp
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::VisitCXXThrowExpr(clang::CXXThrowExpr const*)
bool Compiler<Emitter>::VisitCXXThrowExpr(const CXXThrowExpr *E) { if (E->getSubExpr() && !this->discard(E->getSubExpr())) return false; return this->emitInvalid(E); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq 0x10(%rsi), %rsi testq %rsi, %rsi je 0xa0d8b2 movb 0x248(%rbx), %bpl movb 0x24a(%rbx), %r15b movb $0x1, 0x248(%rbx) movb $0x0, 0x24a(%rbx) movq %rbx, %rdi callq 0xa121b6 movb %bpl, 0x248(%rbx) movb %r15b, 0x24a(%rbx) testb %al, ...
/AST/Interp/Compiler.cpp
bool clang::interp::Compiler<clang::interp::ByteCodeEmitter>::emitConst<unsigned long>(unsigned long, clang::interp::PrimType, clang::Expr const*)
bool Compiler<Emitter>::emitConst(T Value, PrimType Ty, const Expr *E) { switch (Ty) { case PT_Sint8: return this->emitConstSint8(Value, E); case PT_Uint8: return this->emitConstUint8(Value, E); case PT_Sint16: return this->emitConstSint16(Value, E); case PT_Uint16: return this->emitConstUint1...
pushq %rax movl %edx, %eax leaq 0x2465f9c(%rip), %rdx # 0x2e78d84 movslq (%rdx,%rax,4), %rax addq %rdx, %rax jmpq *%rax orq $0x4, %rcx movq %rsp, %rdx movq %rcx, (%rdx) movsbl %sil, %esi callq 0x9ffd6c jmp 0xa12ea6 orq $0x4, %rcx movq %rsp, %rdx movq %rcx, (%rdx) callq 0x9fff12 jmp 0xa12ea6 orq $0x4, %rcx movq %rsp, ...
/AST/Interp/Compiler.cpp
clang::interp::Compiler<clang::interp::ByteCodeEmitter>::emitDestruction(clang::interp::Descriptor const*)
bool Compiler<Emitter>::emitDestruction(const Descriptor *Desc) { assert(Desc); assert(!Desc->isPrimitive()); assert(!Desc->isPrimitiveArray()); // Arrays. if (Desc->isArray()) { const Descriptor *ElemDesc = Desc->ElemDesc; assert(ElemDesc); // Don't need to do anything for these. if (ElemDe...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r12 movq %rdi, %r14 cmpb $0x1, 0x33(%rsi) jne 0xa12f32 movq 0x20(%r12), %r15 movb $0x1, %bl cmpb $0x1, 0x33(%r15) jne 0xa12eda cmpq $0x0, 0x20(%r15) je 0xa12fc2 movq 0x18(%r15), %rax testq %rax, %rax je 0xa12f19 movq (%rax), %rdi testq ...
/AST/Interp/Compiler.cpp
clang::interp::LocalScope<clang::interp::EvalEmitter>::emitDestructors()
bool emitDestructors() override { if (!Idx) return true; // Emit destructor calls for local variables of record // type with a destructor. for (Scope::Local &Local : this->Ctx->Descriptors[*Idx]) { if (!Local.Desc->isPrimitive() && !Local.Desc->isPrimitiveArray()) { if (!this->Ctx->e...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movb $0x1, %bl cmpb $0x1, 0x24(%rdi) jne 0xa21ff2 movq %rdi, %r14 movq 0x8(%rdi), %rax movl 0x20(%rdi), %ecx movq 0x40(%rax), %rax leaq (%rcx,%rcx,8), %rcx shlq $0x4, %rcx movl 0x8(%rax,%rcx), %r13d testq %r13, %r13 je 0xa21ff2 movq (%rax,%rcx), %r...
/AST/Interp/Compiler.h
clang::interp::Descriptor::Descriptor(llvm::PointerUnion<clang::Decl const*, clang::Expr const*> const&, clang::interp::PrimType, std::optional<unsigned int>, unsigned long, bool, bool, bool)
Descriptor::Descriptor(const DeclTy &D, PrimType Type, MetadataSize MD, size_t NumElems, bool IsConst, bool IsTemporary, bool IsMutable) : Source(D), ElemSize(primSize(Type)), Size(ElemSize * NumElems), MDSize(MD.value_or(0)), AllocSize(align(MDSize) + align...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, %r14d movq %r8, %r15 movq %rcx, %r12 movl %edx, %ebp movq %rdi, %rbx movb 0x48(%rsp), %r13b movq (%rsi), %rax movq %rax, (%rdi) movl %edx, %edi callq 0x8cca3e movl %eax, 0x8(%rbx) imull %eax, %r15d xorl %eax, %eax btq $0x20, %r12 cm...
/AST/Interp/Descriptor.cpp
clang::interp::Descriptor::Descriptor(llvm::PointerUnion<clang::Decl const*, clang::Expr const*> const&, clang::interp::Descriptor const*, std::optional<unsigned int>, unsigned int, bool, bool, bool)
Descriptor::Descriptor(const DeclTy &D, const Descriptor *Elem, MetadataSize MD, unsigned NumElems, bool IsConst, bool IsTemporary, bool IsMutable) : Source(D), ElemSize(Elem->getAllocSize() + sizeof(InlineDescriptor)), Size(ElemSize * NumElems), MDSize(MD.value_o...
movb 0x8(%rsp), %al movb 0x10(%rsp), %r10b movq (%rsi), %rsi movq %rsi, (%rdi) movl 0x14(%rdx), %esi addl $0x10, %esi movl %esi, 0x8(%rdi) imull %r8d, %esi movl %esi, 0xc(%rdi) xorl %r8d, %r8d btq $0x20, %rcx cmovbl %ecx, %r8d cmpl $0x9, %esi movl $0x8, %ecx cmovael %esi, %ecx movl %r8d, 0x10(%rdi) addl %r8d, %ecx movl...
/AST/Interp/Descriptor.cpp
clang::interp::Descriptor::getElemQualType() const
QualType Descriptor::getElemQualType() const { assert(isArray()); QualType T = getType(); if (const auto *AT = T->getAsArrayTypeUnsafe()) return AT->getElementType(); if (const auto *CT = T->getAs<ComplexType>()) return CT->getElementType(); if (const auto *CT = T->getAs<VectorType>()) return CT->...
pushq %rbx callq 0xa23c04 movq %rax, %rbx andq $-0x10, %rbx movq (%rbx), %rdi movzbl 0x10(%rdi), %eax leal -0x7(%rax), %ecx cmpl $-0x6, %ecx ja 0xa23cb3 movq 0x8(%rdi), %rcx andq $-0x10, %rcx movq (%rcx), %rcx movzbl 0x10(%rcx), %ecx addl $-0x2, %ecx cmpl $0x4, %ecx ja 0xa23caf callq 0x91f144 testq %rax, %rax jne 0xa23...
/AST/Interp/Descriptor.cpp
void dtorArrayTy<clang::interp::Integral<16u, 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 0xa241ae movb $0x0, 0x18(%rsi) movq 0x10(%rsi), %rdi testq %rdi, %rdi jne 0x4de31a retq
/AST/Interp/Descriptor.cpp
void dtorArrayTy<clang::interp::Integral<32u, 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 0xa241f6 movb $0x0, 0x18(%rsi) movq 0x10(%rsi), %rdi testq %rdi, %rdi jne 0x4de31a retq
/AST/Interp/Descriptor.cpp
clang::interp::Block::replacePointer(clang::interp::Pointer*, clang::interp::Pointer*)
void Block::replacePointer(Pointer *Old, Pointer *New) { assert(Old); assert(New); if (IsStatic) { assert(!Pointers); return; } #ifndef NDEBUG assert(hasPointer(Old)); #endif removePointer(Old); addPointer(New); Old->PointeeStorage.BS.Pointee = nullptr; #ifndef NDEBUG assert(!hasPointer(Ol...
cmpb $0x0, 0x18(%rdi) jne 0xa24db4 movq 0x8(%rdi), %rax cmpq %rsi, %rax movq 0x8(%rsi), %rcx movq 0x10(%rsi), %r8 cmoveq %r8, %rax testq %rcx, %rcx je 0xa24d90 movq %r8, 0x10(%rcx) testq %r8, %r8 je 0xa24d99 movq %rcx, 0x8(%r8) testq %rax, %rax je 0xa24da2 movq %rdx, 0x8(%rax) movq %rax, 0x10(%rdx) xorl %eax, %eax movq...
/AST/Interp/InterpBlock.cpp
void clang::JSONNodeDumper::writePreviousDeclImpl<clang::UnresolvedUsingValueDecl>(clang::Mergeable<clang::UnresolvedUsingValueDecl> const*)
bool isFromASTFile() const { return FromASTFile; }
testb $-0x80, 0x1d(%rsi) je 0xa26385 pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x79d7e9 cmpq %r14, %rax je 0xa2637c addq $0x418, %rbx # imm = 0x418 leaq 0x8(%rsp), %r14 movq %r14, %rdi movq %rax, %rdx callq 0xa270ee leaq 0x28(%rsp), %r15 movq %r15...
/clang/AST/DeclBase.h
llvm::json::Value::Value(llvm::StringRef)
Value(StringRef V) : Type(T_StringRef) { create<llvm::StringRef>(V); if (LLVM_UNLIKELY(!isUTF8(V))) { assert(false && "Invalid UTF-8 in value used as JSON"); *this = Value(fixUTF8(V)); } }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movw $0x5, (%rdi) movq %rsi, 0x8(%rdi) movq %rdx, 0x10(%rdi) movq %rsi, %rdi movq %rdx, %rsi xorl %edx, %edx callq 0x1743a59 testb %al, %al je 0xa29840 addq $0x48, %rsp popq %rbx popq %r12 popq %r14 popq %r15 re...
/llvm/Support/JSON.h
clang::JSONNodeDumper::createCastPath(clang::CastExpr const*)
void JSONNodeDumper::Visit(TypeLoc TL) { if (TL.isNull()) return; JOS.attribute("kind", (llvm::Twine(TL.getTypeLocClass() == TypeLoc::Qualified ? "Qualified" : TL.getTypePtr()->getTypeClassName()) + "TypeLoc") ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp xorps %xmm0, %xmm0 movups %xmm0, (%rdi) movq %rdi, 0x18(%rsp) movq $0x0, 0x10(%rdi) cmpl $0x0, 0x4(%rdx) je 0xa29e63 movq %rdx, %r15 movq %rdx, %rdi callq 0x7d0f22 movq %rax, %r14 movq %r15, %rdi callq 0x7d0f22 movl 0x4(%r15), %ecx leaq ...
/AST/JSONNodeDumper.cpp
clang::JSONNodeDumper::VisitUnresolvedUsingType(clang::UnresolvedUsingType const*)
void JSONNodeDumper::VisitUnresolvedUsingType(const UnresolvedUsingType *UUT) { JOS.attribute("decl", createBareDeclRef(UUT->getDecl())); }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdi, %rax leaq 0x418(%rdi), %r14 movq 0x18(%rsi), %rdx movq %rsp, %rbx movq %rbx, %rdi movq %rax, %rsi callq 0xa2887c leaq 0x18(%rsp), %r15 movw $0x7, (%r15) movups (%rbx), %xmm0 movups %xmm0, 0x8(%r15) xorps %xmm0, %xmm0 movups %xmm0, (%rbx) movl 0x10(%rbx), %eax...
/AST/JSONNodeDumper.cpp
clang::JSONNodeDumper::VisitUsingEnumDecl(clang::UsingEnumDecl const*)
void JSONNodeDumper::VisitUsingEnumDecl(const UsingEnumDecl *UED) { JOS.attribute("target", createBareDeclRef(UED->getEnumDecl())); }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdi, %r15 leaq 0x418(%rdi), %rbx movq 0x40(%rsi), %rax movq (%rax), %rax andq $-0x10, %rax movq (%rax), %rdi callq 0x92178e movq %rsp, %r14 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq 0xa2887c leaq 0x18(%rsp), %r15 movw $0x7, (%r15) movups (%r14), %xmm0 ...
/AST/JSONNodeDumper.cpp
clang::JSONNodeDumper::VisitEnumConstantDecl(clang::EnumConstantDecl const*)
void JSONNodeDumper::VisitEnumConstantDecl(const EnumConstantDecl *ECD) { VisitNamedDecl(ECD); JOS.attribute("type", createQualType(ECD->getType())); }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rsi, %rbx movq %rdi, %r15 callq 0xa2dfae leaq 0x418(%r15), %r14 movq 0x30(%rbx), %rdx movq %rsp, %rbx movq %rbx, %rdi movq %r15, %rsi movl $0x1, %ecx callq 0xa27530 leaq 0x18(%rsp), %r15 movw $0x7, (%r15) movups (%rbx), %xmm0 movups %xmm0, 0x8(%r15) xorps %xmm0, %...
/AST/JSONNodeDumper.cpp
clang::JSONNodeDumper::VisitObjCCategoryImplDecl(clang::ObjCCategoryImplDecl const*)
void JSONNodeDumper::VisitObjCCategoryImplDecl(const ObjCCategoryImplDecl *D) { VisitNamedDecl(D); JOS.attribute("interface", createBareDeclRef(D->getClassInterface())); JOS.attribute("categoryDecl", createBareDeclRef(D->getCategoryDecl())); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %r14 callq 0xa2dfae leaq 0x418(%r14), %rbx movq 0x58(%r15), %rdx leaq 0x8(%rsp), %r13 movq %r13, %rdi movq %r14, %rsi callq 0xa2887c movw $0x7, %ax leaq 0x20(%rsp), %r12 movw %ax, (%r12) movups (%r13), %xmm0 mo...
/AST/JSONNodeDumper.cpp
clang::JSONNodeDumper::VisitCharacterLiteral(clang::CharacterLiteral const*)
void JSONNodeDumper::VisitCharacterLiteral(const CharacterLiteral *CL) { // FIXME: This should probably print the character literal as a string, // rather than as a numerical value. It would be nice if the behavior matched // what we do to print a string literal; right now, it is impossible to tell // the diffe...
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx addq $0x418, %rbx # imm = 0x418 movl 0x10(%rsi), %eax movq %rsp, %r14 movw $0x3, (%r14) movq %rax, 0x8(%r14) leaq 0x2739b1d(%rip), %rsi # 0x316d2f5 movl $0x5, %edx movq %rbx, %rdi callq 0x1744334 movq %rbx, %rdi movq %r14, %rsi callq 0x1743b92 movq %rb...
/AST/JSONNodeDumper.cpp
clang::JSONNodeDumper::VisitCompoundStmt(clang::CompoundStmt const*)
FPOptionsOverride getStoredFPFeatures() const { assert(hasStoredFPFeatures()); return *getTrailingObjects<FPOptionsOverride>(); }
testb $0x1, 0x1(%rsi) je 0xa351f9 pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdi, %r14 addq $0x418, %r14 # imm = 0x418 movl 0x4(%rsi), %eax movq 0x10(%rsi,%rax,8), %rdx movq %rsp, %rbx movq %rbx, %rdi callq 0xa34bf8 leaq 0x18(%rsp), %r15 movw $0x7, (%r15) movups (%rbx), %xmm0 movups %xmm0, 0x8(%...
/clang/AST/Stmt.h
llvm::detail::DenseMapPair<clang::CXXRecordDecl*, clang::CXXConstructorDecl*>* llvm::DenseMapBase<llvm::SmallDenseMap<clang::CXXRecordDecl*, clang::CXXConstructorDecl*, 4u, llvm::DenseMapInfo<clang::CXXRecordDecl*, void>, llvm::detail::DenseMapPair<clang::CXXRecordDecl*, clang::CXXConstructorDecl*>>, clang::CXXRecordDe...
BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, BucketT *TheBucket) { incrementEpoch(); // If the load of the hash table is more than 3/4, or if fewer than 1/8 of // the buckets are empty (meaning that many are filled with tombstones), // grow th...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rcx, %rax movq %rdx, %r14 movq %rdi, %rbx movl (%rdi), %edx movl %edx, %ecx shrl %ecx movl $0x4, %esi testb $0x1, %dl jne 0xa37139 movl 0x10(%rbx), %esi leal 0x4(,%rcx,4), %edx leal (%rsi,%rsi,2), %edi cmpl %edi, %edx jae 0xa37170 notl %ecx addl %esi, %ecx subl 0x...
/llvm/ADT/DenseMap.h
clang::MicrosoftMangleContext::create(clang::ASTContext&, clang::DiagnosticsEngine&, bool)
MicrosoftMangleContext *MicrosoftMangleContext::create(ASTContext &Context, DiagnosticsEngine &Diags, bool IsAux) { return new MicrosoftMangleContextImpl(Context, Diags, IsAux); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %r15 movl $0x120, %edi # imm = 0x120 callq 0x4ba720 movq %rax, %rbx movq %r15, 0x8(%rax) movq %r14, 0x10(%rax) movl $0x1, 0x18(%rax) movb %bpl, 0x1c(%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x20(%...
/AST/MicrosoftMangle.cpp
(anonymous namespace)::MicrosoftMangleContextImpl::mangleStringLiteral(clang::StringLiteral const*, llvm::raw_ostream&)
void MicrosoftMangleContextImpl::mangleStringLiteral(const StringLiteral *SL, raw_ostream &Out) { // <char-type> ::= 0 # char, char16_t, char32_t // # (little endian char data in mangling) // ::= 1 # wchar_t (big endian char ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x268, %rsp # imm = 0x268 movq %rdx, %rax movq %rdi, %r15 leaq 0x40(%rsp), %rcx movq %rdi, -0x30(%rcx) movq %rdx, -0x28(%rcx) xorl %ebx, %ebx movq %rbx, -0x20(%rcx) movl $0xffffffff, -0x18(%rcx) # imm = 0xFFFFFFFF movq %rcx, -0x10(%rcx) ...
/AST/MicrosoftMangle.cpp
llvm::DenseMap<void const*, llvm::StringRef, llvm::DenseMapInfo<void const*, void>, llvm::detail::DenseMapPair<void const*, llvm::StringRef>>::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, %rbx movl 0x10(%rdi), %r15d decl %esi movl %esi, %eax shrl %eax orl %esi, %eax movl %eax, %ecx shrl $0x2, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x4, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x8, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x10, %eax orl %ecx, %eax incl %ea...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<clang::GlobalDecl, unsigned int, llvm::DenseMapInfo<clang::GlobalDecl, void>, llvm::detail::DenseMapPair<clang::GlobalDecl, unsigned int>>, clang::GlobalDecl, unsigned int, llvm::DenseMapInfo<clang::GlobalDecl, void>, llvm::detail::DenseMapPair<clang::GlobalDecl, unsigned int>>::L...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0xa48574 pushq %rbp pushq %r14 pushq %rbx movq (%rdi), %rdi movq (%rsi), %r8 movl %r8d, %eax shrl $0x4, %eax movl %r8d, %r9d shrl $0x9, %r9d xorl %eax, %r9d decl %ecx movl 0x8(%rsi), %r10d andl %ecx, %r9d leaq (%r9,%r9,2), %rax leaq (%rdi,%rax,8), %rsi movq (%rsi), %r14 movl 0x...
/llvm/ADT/DenseMap.h
clang::OpenACCVectorLengthClause::OpenACCVectorLengthClause(clang::SourceLocation, clang::SourceLocation, clang::Expr*, clang::SourceLocation)
OpenACCClause(OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation EndLoc) : Kind(K), Location(BeginLoc, EndLoc) { assert(!BeginLoc.isInvalid() && !EndLoc.isInvalid() && "Begin and end location must be valid for OpenACCClause"); }
movl $0x27, 0x8(%rdi) movl %esi, 0xc(%rdi) movl %r8d, 0x10(%rdi) movl %edx, 0x14(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x18(%rdi) movq %rcx, 0x28(%rdi) testq %rcx, %rcx je 0xa48a39 leaq 0x28(%rdi), %rax movq %rax, 0x18(%rdi) movq $0x1, 0x20(%rdi) leaq 0x2bca180(%rip), %rax # 0x3612bc0 addq $0x10, %rax movq %rax, (%r...
/clang/AST/OpenACCClause.h
clang::OpenACCCopyClause::Create(clang::ASTContext const&, clang::OpenACCClauseKind, clang::SourceLocation, clang::SourceLocation, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation)
OpenACCCopyClause * OpenACCCopyClause::Create(const ASTContext &C, OpenACCClauseKind Spelling, SourceLocation BeginLoc, SourceLocation LParenLoc, ArrayRef<Expr *> VarList, SourceLocation EndLoc) { void *Mem = C.Allocate(OpenACCCopyClause::totalSizeToAlloc<Expr...
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, %r12d movl %esi, %r13d leaq 0x28(,%r9,8), %rsi addq $0x850, %rdi # imm = 0x850 movl $0x3, %edx callq 0x4ddea6 movq %rax, %r15 movl %r13d, 0x8(%rax) movl %r12d, 0xc(%rax) movl ...
/AST/OpenACCClause.cpp
clang::OpenACCAutoClause::Create(clang::ASTContext const&, clang::SourceLocation, clang::SourceLocation)
OpenACCAutoClause *OpenACCAutoClause::Create(const ASTContext &C, SourceLocation BeginLoc, SourceLocation EndLoc) { void *Mem = C.Allocate(sizeof(OpenACCAutoClause)); return new (Mem) OpenACCAutoClause(BeginLoc, EndLoc); }
pushq %rbp pushq %rbx pushq %rax movl %edx, %ebx movl %esi, %ebp addq $0x850, %rdi # imm = 0x850 movl $0x18, %esi movl $0x3, %edx callq 0x4ddea6 movl $0x4, 0x8(%rax) movl %ebp, 0xc(%rax) movl %ebx, 0x10(%rax) leaq 0x2bc9a0b(%rip), %rcx # 0x3612de0 addq $0x10, %rcx movq %rcx, (%rax) addq $0x8, %rsp popq %rb...
/AST/OpenACCClause.cpp
clang::OMPLoopDirective::getBody()
Stmt *OMPLoopDirective::getBody() { // This relies on the loop form is already checked by Sema. Stmt *Body = nullptr; OMPLoopBasedDirective::doForAllLoopsBodies( Data->getRawStmt(), /*TryImperfectlyNestedLoops=*/true, NumAssociatedLoops, [&Body](unsigned, Stmt *, Stmt *BodyStmt) { Body = BodyStm...
pushq %rbx subq $0x50, %rsp movq %rdi, %rax movq $0x0, 0x20(%rsp) movq 0x18(%rdi), %rcx movl (%rcx), %edx movl 0x4(%rcx), %esi leaq (%rcx,%rdx,8), %rcx movq 0x10(%rcx,%rsi,8), %rdi cmpb $-0x16, (%rdi) jne 0xa4ca38 movl 0x8(%rdi), %ecx movq 0x20(%rdi,%rcx,8), %rdi jmp 0xa4ca29 movl 0x20(%rax), %edx leaq 0x20(%rsp), %rbx...
/AST/StmtOpenMP.cpp
llvm::SmallVectorTemplateBase<clang::CompoundStmt*, true>::push_back(clang::CompoundStmt*)
void push_back(ValueParamT Elt) { const T *EltPtr = reserveForParamAndGetAddress(Elt); memcpy(reinterpret_cast<void *>(this->end()), EltPtr, sizeof(T)); this->set_size(this->size() + 1); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xa4cc5e movq (%rbx), %rax movl %edx, %ecx movq %r14, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq incq %rdx leaq 0x10(%rbx), %rsi movl $0x8, %ecx movq %rbx, %rdi callq 0x76b2c4 movl 0...
/llvm/ADT/SmallVector.h
clang::OMPSimdDirective::Create(clang::ASTContext const&, clang::SourceLocation, clang::SourceLocation, unsigned int, llvm::ArrayRef<clang::OMPClause*>, clang::Stmt*, clang::OMPLoopBasedDirective::HelperExprs const&, llvm::omp::Directive)
OMPSimdDirective *OMPSimdDirective::Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, const HelperExprs &Exprs, OpenMPDirectiveKind ParamPrevMappedDirective) { auto *Dir = createDirective<OMPSimdDirectiv...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %rbx movq %r8, %r14 movl %ecx, %r15d movq %rdi, %r12 movq 0x58(%rsp), %r13 leaq 0x10(%rsp), %rax movl %esi, (%rax) leaq 0xc(%rsp), %rax movl %edx, (%rax) leaq 0x14(%rsp), %rbp movl %ecx, (%rbp) movl $0x40, %edi callq 0xa5cf32 l...
/AST/StmtOpenMP.cpp
clang::OMPSimdDirective* clang::OMPExecutableDirective::createDirective<clang::OMPSimdDirective, clang::SourceLocation&, clang::SourceLocation&, unsigned int&>(clang::ASTContext const&, llvm::ArrayRef<clang::OMPClause*>, clang::Stmt*, unsigned int, clang::SourceLocation&, clang::SourceLocation&, unsigned int&)
static T *createDirective(const ASTContext &C, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, unsigned NumChildren, Params &&... P) { void *Mem = C.Allocate(sizeof(T) + OMPChildren::size(Clauses.size(), AssociatedStmt, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, (%rsp) movl %r8d, %ebp movq %rcx, %r14 movq %rdx, %r12 movq %rsi, %r13 xorl %eax, %eax testq %rcx, %rcx setne %al movl %r12d, %ebx addl %r8d, %eax addq %rbx, %rax leaq 0x38(,%rax,8), %rsi addq $0x850, %rdi # imm = 0x850 mo...
/clang/AST/StmtOpenMP.h
clang::OMPCancellationPointDirective::CreateEmpty(clang::ASTContext const&, clang::Stmt::EmptyShell)
OMPCancellationPointDirective * OMPCancellationPointDirective::CreateEmpty(const ASTContext &C, EmptyShell) { return new (C) OMPCancellationPointDirective(); }
pushq %rbx movq %rdi, %rsi movl $0x28, %edi movl $0x8, %edx callq 0x903b74 movq %rax, %rbx movb $-0x27, (%rax) leaq 0x2e5d0bc(%rip), %rax # 0x38adbd0 cmpb $0x1, (%rax) jne 0xa50b23 movl $0xd9, %edi callq 0x9050be movaps 0x242ec46(%rip), %xmm0 # 0x2e7f770 movups %xmm0, 0x8(%rbx) movq $0x0, 0x18(%rbx) movl $0x63, 0x20...
/AST/StmtOpenMP.cpp
clang::OMPMaskedTaskLoopDirective::Create(clang::ASTContext const&, clang::SourceLocation, clang::SourceLocation, unsigned int, llvm::ArrayRef<clang::OMPClause*>, clang::Stmt*, clang::OMPLoopBasedDirective::HelperExprs const&, bool)
OMPMaskedTaskLoopDirective *OMPMaskedTaskLoopDirective::Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel) { auto *Dir = createDirective<OMPMaskedTaskLoopDirectiv...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %rbx movq %r8, %r14 movl %ecx, %r15d movq %rdi, %r12 movq 0x58(%rsp), %r13 leaq 0x10(%rsp), %rax movl %esi, (%rax) leaq 0xc(%rsp), %rax movl %edx, (%rax) leaq 0x14(%rsp), %rbp movl %ecx, (%rbp) movl $0x26, %edi callq 0xa5cf32 l...
/AST/StmtOpenMP.cpp
clang::OMPMaskedTaskLoopSimdDirective* clang::OMPExecutableDirective::createEmptyDirective<clang::OMPMaskedTaskLoopSimdDirective, unsigned int&>(clang::ASTContext const&, unsigned int, bool, unsigned int, unsigned int&)
static T *createEmptyDirective(const ASTContext &C, unsigned NumClauses, bool HasAssociatedStmt, unsigned NumChildren, Params &&... P) { void *Mem = C.Allocate(sizeof(T) + OMPChildren::size(NumClauses, HasAssociatedStmt, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r14 movl %ecx, %ebp movl %edx, %r15d movl %esi, %r12d movl %esi, %eax movl %edx, %ecx addl %ebp, %ecx addq %rax, %rcx leaq 0x38(,%rcx,8), %rsi addq $0x850, %rdi # imm = 0x850 movl $0x3, %edx callq 0x4ddea6 movq %rax, %rbx...
/clang/AST/StmtOpenMP.h
clang::OMPParallelMaskedTaskLoopDirective::Create(clang::ASTContext const&, clang::SourceLocation, clang::SourceLocation, unsigned int, llvm::ArrayRef<clang::OMPClause*>, clang::Stmt*, clang::OMPLoopBasedDirective::HelperExprs const&, bool)
OMPParallelMaskedTaskLoopDirective *OMPParallelMaskedTaskLoopDirective::Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, const HelperExprs &Exprs, bool HasCancel) { auto *Dir = createDirective<OMPParall...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %rbx movq %r8, %r14 movl %ecx, %r15d movq %rdi, %r12 movq 0x58(%rsp), %r13 leaq 0x10(%rsp), %rax movl %esi, (%rax) leaq 0xc(%rsp), %rax movl %edx, (%rax) leaq 0x14(%rsp), %rbp movl %ecx, (%rbp) movl $0x34, %edi callq 0xa5cf32 l...
/AST/StmtOpenMP.cpp
clang::OMPTeamsDistributeParallelForSimdDirective::Create(clang::ASTContext const&, clang::SourceLocation, clang::SourceLocation, unsigned int, llvm::ArrayRef<clang::OMPClause*>, clang::Stmt*, clang::OMPLoopBasedDirective::HelperExprs const&)
OMPTeamsDistributeParallelForSimdDirective * OMPTeamsDistributeParallelForSimdDirective::Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation EndLoc, unsigned CollapsedNum, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, const HelperExprs &Exprs) { auto *Dir = createDirective<OMPTeams...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %r9, %rbx movq %r8, %r14 movl %ecx, %r15d movq %rdi, %r12 movq 0x58(%rsp), %r13 leaq 0x10(%rsp), %rax movl %esi, (%rax) leaq 0xc(%rsp), %rax movl %edx, (%rax) leaq 0x14(%rsp), %rbp movl %ecx, (%rbp) movl $0x5f, %edi callq 0xa5cf32 l...
/AST/StmtOpenMP.cpp
clang::OMPParallelGenericLoopDirective* clang::OMPExecutableDirective::createEmptyDirective<clang::OMPParallelGenericLoopDirective, unsigned int&>(clang::ASTContext const&, unsigned int, bool, unsigned int, unsigned int&)
static T *createEmptyDirective(const ASTContext &C, unsigned NumClauses, bool HasAssociatedStmt, unsigned NumChildren, Params &&... P) { void *Mem = C.Allocate(sizeof(T) + OMPChildren::size(NumClauses, HasAssociatedStmt, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r14 movl %ecx, %ebp movl %edx, %r15d movl %esi, %r12d movl %esi, %eax movl %edx, %ecx addl %ebp, %ecx addq %rax, %rcx leaq 0x38(,%rcx,8), %rsi addq $0x850, %rdi # imm = 0x850 movl $0x3, %edx callq 0x4ddea6 movq %rax, %rbx...
/clang/AST/StmtOpenMP.h
clang::OMPTargetParallelGenericLoopDirective* clang::OMPExecutableDirective::createDirective<clang::OMPTargetParallelGenericLoopDirective, clang::SourceLocation&, clang::SourceLocation&, unsigned int&>(clang::ASTContext const&, llvm::ArrayRef<clang::OMPClause*>, clang::Stmt*, unsigned int, clang::SourceLocation&, clang...
static T *createDirective(const ASTContext &C, ArrayRef<OMPClause *> Clauses, Stmt *AssociatedStmt, unsigned NumChildren, Params &&... P) { void *Mem = C.Allocate(sizeof(T) + OMPChildren::size(Clauses.size(), AssociatedStmt, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, (%rsp) movl %r8d, %ebp movq %rcx, %r14 movq %rdx, %r12 movq %rsi, %r13 xorl %eax, %eax testq %rcx, %rcx setne %al movl %r12d, %ebx addl %r8d, %eax addq %rbx, %rax leaq 0x38(,%rax,8), %rsi addq $0x850, %rdi # imm = 0x850 mo...
/clang/AST/StmtOpenMP.h
clang::comments::CommentVisitorBase<llvm::make_const_ptr, clang::TextNodeDumper, void, clang::comments::FullComment const*>::visit(clang::comments::Comment const*, clang::comments::FullComment const*)
RetTy visit(PTR(Comment) C, ParamTys... P) { if (!C) return RetTy(); switch (C->getCommentKind()) { default: llvm_unreachable("Unknown comment kind!"); #define ABSTRACT_COMMENT(COMMENT) #define COMMENT(CLASS, PARENT) \ case CommentKind::CLASS: ...
testq %rsi, %rsi je 0xa5d59b movzbl 0xc(%rsi), %eax decl %eax leaq 0x24224de(%rip), %rcx # 0x2e7fa70 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax retq jmp 0xa64ba0 jmp 0xa64cd2 jmp 0xa64a70 jmp 0xa64efa jmp 0xa648c0 jmp 0xa64f7c jmp 0xa64902 jmp 0xa64be2 jmp 0xa64ddc jmp 0xa64fbe
/clang/AST/CommentVisitor.h
clang::TextNodeDumper::Visit(clang::Attr const*)
void TextNodeDumper::Visit(const Attr *A) { { ColorScope Color(OS, ShowColors, AttrColor); switch (A->getKind()) { #define ATTR(X) \ case attr::X: \ OS << #X; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movq 0x448(%rdi), %r15 movb 0x450(%rdi), %bpl cmpb $0x1, %bpl jne 0xa5d605 movq (%r15), %rax movq %r15, %rdi movl $0x4, %esi movl $0x1, %edx xorl %ecx, %ecx callq *0x18(%rax) leaq 0x448(%r14), %r12 movzwl 0x20(%rbx), %eax cmpq $0x19c...
/AST/TextNodeDumper.cpp
clang::attrvisitor::Base<llvm::make_const_ptr, clang::TextNodeDumper, void>::Visit(clang::Attr const*)
attr::Kind getKind() const { return static_cast<attr::Kind>(AttrKind); }
movzwl 0x20(%rsi), %eax leaq 0x2421027(%rip), %rcx # 0x2e80114 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax retq jmp 0xa6e222 jmp 0xa6eba6 cmpl $0x0, 0x24(%rsi) jne 0xa5f0f6 movq 0x448(%rdi), %rdi movq 0x18(%rdi), %rcx movq 0x20(%rdi), %rax subq %rax, %rcx cmpq $0x5, %rcx ja 0xa5f4a9 leaq 0x2424a82(%rip), %r...
/clang/AST/Attr.h
clang::TextNodeDumper::VisitFloatingLiteral(clang::FloatingLiteral const*)
void TextNodeDumper::VisitFloatingLiteral(const FloatingLiteral *Node) { ColorScope Color(OS, ShowColors, ValueColor); OS << " " << Node->getValueAsApproximateDouble(); }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq 0x448(%rdi), %rbx cmpb $0x1, 0x450(%rdi) jne 0xa67269 movq %rdi, %r15 movq (%rbx), %rax movq %rbx, %rdi movl $0x6, %esi movl $0x1, %edx xorl %ecx, %ecx callq *0x18(%rax) movq 0x448(%r15), %rdi leaq 0x25a00ab(%rip), %rsi # 0x30072e9 movl $0x1, %edx callq 0x4eb430 m...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitArrayType(clang::ArrayType const*)
void TextNodeDumper::VisitArrayType(const ArrayType *T) { switch (T->getSizeModifier()) { case ArraySizeModifier::Normal: break; case ArraySizeModifier::Static: OS << " static"; break; case ArraySizeModifier::Star: OS << " *"; break; } OS << " " << T->getIndexTypeQualifiers().getAsString...
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movl 0x10(%rsi), %eax shrl $0x16, %eax andl $0x7, %eax cmpl $0x2, %eax je 0xa68545 cmpl $0x1, %eax jne 0xa6855d movq 0x448(%r14), %rdi leaq 0x241afc9(%rip), %rsi # 0x2e83507 movl $0x7, %edx jmp 0xa68558 movq 0x448(%r14), %rdi leaq 0x25b28d9(%rip),...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitTemplateSpecializationType(clang::TemplateSpecializationType const*)
void TextNodeDumper::VisitTemplateSpecializationType( const TemplateSpecializationType *T) { if (T->isTypeAlias()) OS << " alias"; dumpTemplateName(T->getTemplateName(), "name"); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx testb $0x8, 0x12(%rsi) je 0xa698a6 movq 0x448(%rbx), %rdi leaq 0x26f1369(%rip), %rsi # 0x315ac05 movl $0x6, %edx callq 0x4eb430 movq 0x20(%r14), %rcx leaq 0x1a79142(%rip), %rsi # 0x24e29f3 movl $0x4, %edx movq %rbx, %rdi movq %rbx, %r8 addq $0x8, %rsp...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitTypedefDecl(clang::TypedefDecl const*)
void TextNodeDumper::VisitTypedefDecl(const TypedefDecl *D) { dumpName(D); dumpType(D->getUnderlyingType()); if (D->isModulePrivate()) OS << " __module_private__"; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx callq 0xa63b94 movq 0x50(%r14), %rax movq %rax, %rcx andq $-0x8, %rcx andl $0x4, %eax movq (%rcx,%rax,2), %rsi movq %rbx, %rdi callq 0xa5feae movl 0x8(%r14), %eax andl $0x7, %eax cmpl $0x4, %eax jne 0xa69984 movq 0x448(%rbx), %rdi leaq 0x2419f18(%rip), %r...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitEnumDecl(clang::EnumDecl const*)
void TextNodeDumper::VisitEnumDecl(const EnumDecl *D) { if (D->isScoped()) { if (D->isScopedUsingClassTag()) OS << " class"; else OS << " struct"; } dumpName(D); if (D->isModulePrivate()) OS << " __module_private__"; if (D->isFixed()) dumpType(D->getIntegerType()); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movsbq 0x4c(%rsi), %rax shlq $0x20, %rax movl 0x48(%rsi), %ecx orq %rax, %rcx testq %rcx, %rcx jns 0xa699d7 testb $0x1, 0x4d(%r14) movq 0x448(%rbx), %rdi jne 0xa699c6 leaq 0x268b56f(%rip), %rsi # 0x30f4f2e movl $0x7, %edx jmp 0xa699d2 leaq 0x25d7f53(%ri...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitRecordDecl(clang::RecordDecl const*)
void TextNodeDumper::VisitRecordDecl(const RecordDecl *D) { OS << ' ' << D->getKindName(); dumpName(D); if (D->isModulePrivate()) OS << " __module_private__"; if (D->isCompleteDefinition()) OS << " definition"; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq 0x448(%rdi), %r15 movq 0x20(%r15), %rax cmpq 0x18(%r15), %rax jae 0xa69a59 leaq 0x1(%rax), %rcx movq %rcx, 0x20(%r15) movb $0x20, (%rax) jmp 0xa69a69 movq %r15, %rdi movl $0x20, %esi callq 0x789c1c movq %rax, %r15 movzwl 0x48(%r14), %edi shrl $0xd, %...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitNonTypeTemplateParmDecl(clang::NonTypeTemplateParmDecl const*)
void TextNodeDumper::VisitNonTypeTemplateParmDecl( const NonTypeTemplateParmDecl *D) { dumpType(D->getType()); 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 0x30(%rsi), %rsi callq 0xa5feae movq 0x448(%r14), %rdi leaq 0x21089b1(%rip), %rsi # 0x2b74892 movl $0x7, %edx callq 0x4eb430 movl 0x44(%rbx), %esi andl $0xfffff, %esi # imm = 0xFFFFF movq %rax, %rdi callq 0x78978a leaq 0x26711cc(%rip), %rs...
/AST/TextNodeDumper.cpp
clang::TextNodeDumper::VisitObjCMethodDecl(clang::ObjCMethodDecl const*)
void TextNodeDumper::VisitObjCMethodDecl(const ObjCMethodDecl *D) { if (D->isInstanceMethod()) OS << " -"; else OS << " +"; dumpName(D); dumpType(D->getReturnType()); if (D->isVariadic()) OS << " variadic"; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movzwl 0x38(%rsi), %eax movzbl 0x3a(%rsi), %ecx shll $0x10, %ecx orl %eax, %ecx btl $0x11, %ecx movq 0x448(%rdi), %rdi leaq 0x2416c7c(%rip), %rax # 0x2e83a2f leaq 0x23e04b6(%rip), %rsi # 0x2e4d270 cmovaeq %rax, %rsi movl $0x2, %edx callq 0x4eb430 movq...
/AST/TextNodeDumper.cpp
void dumpPreviousDeclImpl<clang::VarDecl>(llvm::raw_ostream&, clang::Redeclarable<clang::VarDecl> const*)
void TextNodeDumper::Visit(const TemplateArgument &TA, SourceRange R, const Decl *From, StringRef Label) { OS << "TemplateArgument"; if (R.isValid()) dumpSourceRange(R); if (From) dumpDeclRef(From, Label); ConstTemplateArgumentVisitor<TextNodeDumper>::Visit(TA); }
pushq %r14 pushq %rbx pushq %rax testb $0x3, (%rsi) je 0xa6dd35 addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %rbx leaq -0x48(%rsi), %rax movq %rsi, %rdi movq %rax, %rsi callq 0x7a9bcc testq %rax, %rax je 0xa6dd2d movq %rax, %r14 leaq 0x2415d9c(%rip), %rsi # 0x2e83af2 movl $0x6, %edx movq %rbx, %rdi callq 0x4eb...
/AST/TextNodeDumper.cpp
void dumpPreviousDeclImpl<clang::TypedefNameDecl>(llvm::raw_ostream&, clang::Redeclarable<clang::TypedefNameDecl> const*)
void TextNodeDumper::Visit(const TemplateArgument &TA, SourceRange R, const Decl *From, StringRef Label) { OS << "TemplateArgument"; if (R.isValid()) dumpSourceRange(R); if (From) dumpDeclRef(From, Label); ConstTemplateArgumentVisitor<TextNodeDumper>::Visit(TA); }
pushq %r14 pushq %rbx pushq %rax testb $0x3, (%rsi) je 0xa6df09 addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %rbx leaq -0x40(%rsi), %rax movq %rsi, %rdi movq %rax, %rsi callq 0x7a9c4e testq %rax, %rax je 0xa6df01 movq %rax, %r14 leaq 0x2415bc8(%rip), %rsi # 0x2e83af2 movl $0x6, %edx movq %rbx, %rdi callq 0x4eb...
/AST/TextNodeDumper.cpp
clang::comments::Lexer::lexVerbatimLineText(clang::comments::Token&)
void Lexer::lexVerbatimLineText(Token &T) { assert(State == LS_VerbatimLineText); // Extract current line. const char *Newline = findNewline(BufferPtr, CommentEnd); StringRef Text(BufferPtr, Newline - BufferPtr); formTokenWithChars(T, Newline, tok::verbatim_line_text); T.setVerbatimLineText(Text); State...
movq 0x28(%rdi), %rax movq 0x30(%rdi), %rcx cmpq %rcx, %rax je 0xa7d42b leaq 0x2412000(%rip), %r8 # 0x2e8f410 movq %rax, %rdx movzbl (%rdx), %r9d testb $0x2, (%r8,%r9,2) jne 0xa7d428 incq %rdx cmpq %rcx, %rdx jne 0xa7d413 jmp 0xa7d42b movq %rdx, %rcx movl %ecx, %edx movl 0x18(%rdi), %r8d movl %eax, %r9d subl %r8d, %...
/AST/CommentLexer.cpp
clang::FixItHint::CreateReplacement(clang::CharSourceRange, llvm::StringRef)
static FixItHint CreateReplacement(CharSourceRange RemoveRange, StringRef Code) { FixItHint Hint; Hint.RemoveRange = RemoveRange; Hint.CodeToInsert = std::string(Code); return Hint; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx xorl %eax, %eax movb %al, 0x14(%rdi) movq %rax, 0xc(%rdi) leaq 0x18(%rdi), %r14 addq $0x28, %rdi movq %rdi, 0x18(%rbx) movq %rax, 0x20(%rbx) movb %al, 0x28(%rbx) movb %al, 0x38(%rbx) movq %rsi, (%rbx) movb %dl, 0x8(%rbx) leaq 0x18(%rsp), %r12 ...
/clang/Basic/Diagnostic.h
clang::comments::TextTokenRetokenizer::lexTemplate(llvm::SmallString<32u>&)
bool lexTemplate(SmallString<32> &WordText) { unsigned BracketCount = 0; while (!isEnd()) { const char C = peek(); WordText.push_back(C); consumeChar(); switch (C) { case '<': { BracketCount++; break; } case '>': { BracketCount--; if (!Br...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 xorl %ebp, %ebp movl 0x20(%r14), %r15d movl 0x1c4(%r14), %r12d cmpl %r12d, %r15d jbe 0xa8037c movq 0x1b8(%r14), %rax movzbl (%rax), %r13d movsbl %r13b, %esi movq %rbx, %rdi callq 0x5da87c movq %r14, %rdi callq 0...
/AST/CommentParser.cpp
clang::comments::Sema::isObjCPropertyDecl()
bool Sema::isObjCPropertyDecl() { if (!ThisDeclInfo) return false; if (!ThisDeclInfo->IsFilled) inspectThisDecl(); return ThisDeclInfo->CurrentDecl->getKind() == Decl::ObjCProperty; }
pushq %rbx movq %rdi, %rbx movq 0x28(%rdi), %rdi testq %rdi, %rdi je 0xa83b46 testb $0x1, 0x30(%rdi) jne 0xa83b34 callq 0x9d27d2 movq 0x28(%rbx), %rdi movq 0x8(%rdi), %rax movl 0x1c(%rax), %eax andl $0x7f, %eax cmpl $0x48, %eax sete %al jmp 0xa83b48 xorl %eax, %eax popq %rbx retq
/AST/CommentSema.cpp
llvm::SmallVectorTemplateBase<clang::comments::ParamCommandComment*, true>::push_back(clang::comments::ParamCommandComment*)
void push_back(ValueParamT Elt) { const T *EltPtr = reserveForParamAndGetAddress(Elt); memcpy(reinterpret_cast<void *>(this->end()), EltPtr, sizeof(T)); this->set_size(this->size() + 1); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xa83c88 movq (%rbx), %rax movl %edx, %ecx movq %r14, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq incq %rdx leaq 0x10(%rbx), %rsi movl $0x8, %ecx movq %rbx, %rdi callq 0x76b2c4 movl 0...
/llvm/ADT/SmallVector.h
normalizeName(clang::IdentifierInfo const*, clang::IdentifierInfo const*, clang::AttributeCommonInfo::Syntax)
static SmallString<64> normalizeName(const IdentifierInfo *Name, const IdentifierInfo *Scope, AttributeCommonInfo::Syntax SyntaxUsed) { StringRef ScopeName = normalizeAttrScopeName(Scope, SyntaxUsed); StringRef AttrName = normalizeAttrName(Na...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq %rdx, %rdi movl %ecx, %esi callq 0xaa8aca movq %rax, %r12 movq %rdx, %r13 movq %r14, %rdi movq %rax, %rsi movl %ebp, %ecx callq 0xaa8b53 movq %rax, %r14 movq %rdx, %r15 leaq (%r12,%r13), %rd...
/Basic/Attributes.cpp
clang::Diagnostic::FormatDiagnostic(char const*, char const*, llvm::SmallVectorImpl<char>&) const
void Diagnostic:: FormatDiagnostic(const char *DiagStr, const char *DiagEnd, SmallVectorImpl<char> &OutStr) const { // When the diagnostic string is only "%0", the entire string is being given // by an outside source. Remove unprintable characters from this string // and skip all the other strin...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1e8, %rsp # imm = 0x1E8 movq %rcx, %r15 movq %rdx, 0x80(%rsp) movq %rsi, %r12 movq %rdi, %rbp movq %rdx, %rax subq %rsi, %rax cmpq $0x2, %rax jne 0xaaaf65 cmpw $0x3025, (%r12) # imm = 0x3025 movq (%rbp), %rax jne 0xaaaf69 cmpb ...
/Basic/Diagnostic.cpp
clang::DiagnosticIDs::getWarningOptionForDiag(unsigned int)
StringRef DiagnosticIDs::getWarningOptionForDiag(unsigned DiagID) { if (auto G = getGroupForDiag(DiagID)) return getWarningOptionForGroup(*G); return StringRef(); }
pushq %rax callq 0xaad688 testq %rax, %rax je 0xaae000 movl 0x2(%rax), %eax shrl $0x11, %eax leaq (%rax,%rax,2), %rax leaq 0x2b798a8(%rip), %rcx # 0x3627890 movzwl (%rcx,%rax,8), %eax leaq 0x23e23cd(%rip), %rcx # 0x2e903c0 addq %rcx, %rax incq %rax movsbq -0x1(%rax), %rdx jmp 0xaae004 xorl %edx, %edx xorl %eax, %ea...
/Basic/DiagnosticIDs.cpp
llvm::detail::DenseMapPair<llvm::sys::fs::UniqueID, clang::DirectoryEntry*>* llvm::DenseMapBase<llvm::DenseMap<llvm::sys::fs::UniqueID, clang::DirectoryEntry*, llvm::DenseMapInfo<llvm::sys::fs::UniqueID, void>, llvm::detail::DenseMapPair<llvm::sys::fs::UniqueID, clang::DirectoryEntry*>>, llvm::sys::fs::UniqueID, clang:...
BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, BucketT *TheBucket) { incrementEpoch(); // If the load of the hash table is more than 3/4, or if fewer than 1/8 of // the buckets are empty (meaning that many are filled with tombstones), // grow th...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rcx, %rax movq %rdx, %r14 movq %rdi, %rbx movl 0x8(%rdi), %ecx movl 0x10(%rdi), %esi leal 0x4(,%rcx,4), %edx leal (%rsi,%rsi,2), %edi cmpl %edi, %edx jae 0xab1207 notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0x...
/llvm/ADT/DenseMap.h
clang::LangOptions::LangOptions()
LangOptions::LangOptions() : LangStd(LangStandard::lang_unspecified) { #define LANGOPT(Name, Bits, Default, Description) Name = Default; #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default); #include "clang/Basic/LangOptions.def" }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movl $0x29, 0xcc(%rdi) addq $0xe8, %rdi leaq 0x188(%rbx), %r15 xorps %xmm0, %xmm0 movups %xmm0, 0xd0(%rbx) xorl %r14d, %r14d movb %r14b, 0xe0(%rbx) movl $0x90, %edx xorl %esi, %esi callq 0x4ba210 movq %r15, 0x178(%rbx) movq %r14, 0x180(%rbx) movb %r14b, 0x188(%rbx) leaq ...
/Basic/LangOptions.cpp
clang::FileManager::getOptionalFileRef(llvm::StringRef, bool, bool)
OptionalFileEntryRef getOptionalFileRef(StringRef Filename, bool OpenFile = false, bool CacheFailure = true) { return llvm::expectedToOptional( getFileRef(Filename, OpenFile, CacheFailure)); }
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movl %r8d, %r9d movl %ecx, %r8d movq %rdx, %rcx movq %rsi, %rdx movq %rdi, %rsi movq %rsp, %r14 movq %r14, %rdi callq 0xaaf7d2 movq %r14, %rdi callq 0xabfac8 movq %rax, %rbx movl %edx, %ebp testb $0x1, 0x8(%r14) je 0xabdfcf movq (%rsp), %rdi testq %rdi, %rdi je 0xabdfcf...
/clang/Basic/FileManager.h
clang::Module::print(llvm::raw_ostream&, unsigned int, bool) const
void Module::print(raw_ostream &OS, unsigned Indent, bool Dump) const { OS.indent(Indent); if (IsFramework) OS << "framework "; if (IsExplicit) OS << "explicit "; OS << "module "; printModuleId(OS, &Name, &Name + 1); if (IsSystem || IsExternC) { OS.indent(Indent + 2); if (IsSystem) OS...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movl %ecx, 0x14(%rsp) movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r13 movq %rsi, %rdi movl %edx, %esi callq 0x789f5e movzwl 0x5f0(%r13), %eax testb $0x10, %al je 0xabe7e3 leaq 0x246d146(%rip), %rsi # 0x2f2b914 movl $0xa, %edx movq %rbx...
/Basic/Module.cpp
clang::hash_value(clang::FileEntryRef)
static inline bool isPresent(const T &t) { return t != T(nullptr); }
movq 0x8(%rdi), %rax testb $0x4, %al je 0xac0203 movq %rax, %rdi andq $-0x8, %rdi jne 0xac01f2 movq %rax, %rcx shrq $0x20, %rcx andl $-0x8, %eax movabsq $-0xae502812aa7333, %rdx # imm = 0xFF51AFD7ED558CCD leaq (%rdx,%rax,8), %rdx xorq %rcx, %rdx movabsq $-0x622015f714c7d297, %rsi # imm = 0x9DDFEA08EB382D69 imulq %rsi, ...
/llvm/Support/Casting.h
clang::SanitizerSpecialCaseList::inSection(clang::SanitizerMask, llvm::StringRef, llvm::StringRef, llvm::StringRef) const
bool SanitizerSpecialCaseList::inSection(SanitizerMask Mask, StringRef Prefix, StringRef Query, StringRef Category) const { for (auto &S : SanitizerSections) if ((S.Mask & Mask) && SpecialCaseList::inSectionBlame(S.Entries, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r8, 0x20(%rsp) movq %rcx, 0x18(%rsp) movq 0x18(%rdi), %r14 movq 0x20(%rdi), %rbp cmpq %rbp, %r14 je 0xac367c movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 leaq 0x60(%rsp), %rax movq (%rax), %rcx movq %rcx, 0x10(%rsp) movq 0x8(%ra...
/Basic/SanitizerSpecialCaseList.cpp
clang::FullSourceLoc::getFileLoc() const
FullSourceLoc FullSourceLoc::getFileLoc() const { assert(isValid()); return FullSourceLoc(SrcMgr->getFileLoc(*this), *SrcMgr); }
pushq %rbx movq %rdi, %rbx movl (%rdi), %eax testl %eax, %eax jns 0xac3ed7 movq 0x8(%rbx), %rdi movl %eax, %esi callq 0xac6b8e movq 0x8(%rbx), %rdx popq %rbx retq nop
/Basic/SourceLocation.cpp
clang::FullSourceLoc::getLineNumber(bool*) const
unsigned FullSourceLoc::getLineNumber(bool *Invalid) const { assert(isValid()); return SrcMgr->getLineNumber(getFileID(), getFileOffset(), Invalid); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %r15 movl $0x7fffffff, %esi # imm = 0x7FFFFFFF andl (%rdi), %esi movq %r15, %rdi callq 0x7d8ce6 movl %eax, %ebp movq 0x8(%r14), %rdi movl (%r14), %esi callq 0x7cfcec shrq $0x20, %rax movq %r15, %rdi movl %ebp, %...
/Basic/SourceLocation.cpp
clang::DiagnosticsEngine::Report(clang::SourceLocation, unsigned int)
inline DiagnosticBuilder DiagnosticsEngine::Report(SourceLocation Loc, unsigned DiagID) { assert(CurDiagID == std::numeric_limits<unsigned>::max() && "Multiple diagnostics in flight at once!"); CurDiagLoc = Loc; CurDiagID = DiagID; FlagValue.clear(); ...
pushq %rbx movq %rdi, %rbx movl %edx, 0x170(%rsi) movl %ecx, 0x174(%rsi) xorl %eax, %eax movq %rax, 0x158(%rsi) movq 0x150(%rsi), %rcx movb %al, (%rcx) leaq 0x178(%rsi), %rcx movq %rcx, (%rdi) movq %rax, 0x8(%rdi) movq %rsi, 0x10(%rdi) movw $0x1, 0x18(%rdi) movb %al, 0x178(%rsi) movl $0x0, 0x320(%rsi) leaq 0x388(%rsi),...
/clang/Basic/Diagnostic.h
clang::SourceManager::getSpellingLineNumber(clang::SourceLocation, bool*) const
unsigned SourceManager::getSpellingLineNumber(SourceLocation Loc, bool *Invalid) const { if (isInvalid(Loc, Invalid)) return 0; std::pair<FileID, unsigned> LocInfo = getDecomposedSpellingLoc(Loc); return getLineNumber(LocInfo.first, LocInfo.second); }
pushq %rbx movq %rdi, %rbx testq %rdx, %rdx je 0xac7ae8 testl %esi, %esi sete (%rdx) testl %esi, %esi je 0xac7b08 movq %rbx, %rdi callq 0xac72ce movq %rax, %rdx shrq $0x20, %rdx movl %eax, %esi movq %rbx, %rdi xorl %ecx, %ecx popq %rbx jmp 0xac78f0 xorl %eax, %eax popq %rbx retq
/Basic/SourceManager.cpp
clang::SourceManager::isInMainFile(clang::SourceLocation) const
bool isInvalid() const { return ID == 0; }
testl %esi, %esi je 0xac7d06 pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx callq 0xac3e3e movq %rax, %r15 leaq 0x7(%rsp), %r12 movb $0x0, (%r12) movq %rbx, %rdi movl %r15d, %esi movq %r12, %rdx callq 0x4dddbe movq %rax, %r14 xorl %eax, %eax cmpb $0x0, (%r12) jne 0xac7cfa cmpl $0x0, (%r14) js 0x...
/clang/Basic/SourceLocation.h