name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
clang::FileNullabilityMap::operator[](clang::FileID)
FileNullability &operator[](FileID file) { // Check the single-element cache. if (file == Cache.File) return Cache.Nullability; // It's not in the single-element cache; flush the cache if we have one. if (!Cache.File.isInvalid()) { Map[Cache.File] = Cache.Nullability; } // Pull thi...
pushq %rbp pushq %rbx pushq %rax movq %rdi, %rbx movl %esi, 0x4(%rsp) movl 0x18(%rdi), %eax cmpl %esi, %eax jne 0xf148ec addq $0x1c, %rbx movq %rbx, %rax jmp 0xf14935 movl %esi, %ebp testl %eax, %eax je 0xf1490e leaq 0x18(%rbx), %rsi movq %rbx, %rdi callq 0xf14a8a movq 0x1c(%rbx), %rcx movq %rcx, 0x4(%rax) movzwl 0x24(...
/clang/Sema/Sema.h
(anonymous namespace)::TypeSpecLocFiller::VisitTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)
void VisitTemplateSpecializationTypeLoc(TemplateSpecializationTypeLoc TL) { TypeSourceInfo *TInfo = nullptr; Sema::GetTypeFromParser(DS.getRepAsType(), &TInfo); // If we got no declarator info from previous Sema routines, // just fill with the typespec loc. if (!TInfo) { TL.initia...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movq %rdx, %r14 movq 0x8(%rsi), %rax cmpq $0x10, %rax jae 0xf16e9b movl 0x110(%rsi), %ecx movq %r14, %rsi movq %rbx, %rdx addq $0x18, %rsp popq %rbx popq %r12 popq %r14 popq %r15 jmp 0x1328a20 andq $-0x10, %rax movq (%rax), %rax testq %rax, %r...
/Sema/SemaType.cpp
clang::SemaX86::CheckBuiltinTileDuplicate(clang::CallExpr*, llvm::ArrayRef<int>)
bool SemaX86::CheckBuiltinTileDuplicate(CallExpr *TheCall, ArrayRef<int> ArgNums) { // Because the max number of tile register is TileRegHigh + 1, so here we use // each bit to represent the usage of them in bitset. std::bitset<TileRegHigh + 1> ArgValues; for (int ArgNum ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, 0x20(%rsp) testq %rcx, %rcx je 0xf18e13 movq %rcx, %rbx movq %rsi, %r15 leaq 0x8(%rsi), %r12 shlq $0x2, %rbx xorl %ebp, %ebp movl %eax, 0x4(%rsp) movq $0x0, 0x18(%rsp) movq %rdx, 0x28(%rsp) movl (%rdx,%rbp), %r13d movl (%r15),...
/Sema/SemaX86.cpp
llvm::SmallVectorTemplateBase<clang::TypeLoc, true>::push_back(clang::TypeLoc)
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 %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xf19f0e movq (%r14), %rax movl %edx, %ecx shlq $0x4, %rcx movq %r15, (%rax,%rcx) movq %rbx, 0x8(%rax,%rcx) incl 0x8(%r14) popq %rbx popq %r14 popq %r15 retq incq %rdx leaq 0x10(%r14), %rsi mov...
/llvm/ADT/SmallVector.h
(anonymous namespace)::CalledOnceCheckReporter::handleNeverCalled(clang::ParmVarDecl const*, bool)
void handleNeverCalled(const ParmVarDecl *Parameter, bool IsCompletionHandler) override { auto DiagToReport = IsCompletionHandler ? diag::warn_completion_handler_never_called : diag::warn_called_once_never_called; S.Diag(Parameter-...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x78, %rsp leaq 0x10(%rsp), %rbx movq %rsi, (%rbx) testl %edx, %edx movl $0x185b, %eax # imm = 0x185B movl $0x183a, %ebp # imm = 0x183A cmovnel %eax, %ebp movq 0x8(%rdi), %r14 addq $0x8, %r14 movq %rsi, %rdi callq 0x110fcca leaq 0x18(%rsp), %r15 movq...
/Sema/AnalysisBasedWarnings.cpp
(anonymous namespace)::FallthroughMapper::TraverseLambdaExpr(clang::LambdaExpr*)
bool TraverseLambdaExpr(LambdaExpr *LE) { // Traverse the captures, but not the body. for (const auto C : zip(LE->captures(), LE->capture_inits())) TraverseLambdaCapture(LE, &std::get<0>(C), std::get<1>(C)); return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, (%rsp) movq %rsi, %rdi callq 0x11b4c3a movq %rax, %r15 movq %rdx, %r12 movzwl 0x4(%rbx), %eax cmpq %rdx, %r15 setne %cl testw %ax, %ax setne %dl andb %cl, %dl cmpb $0x1, %dl jne 0xf28733 movzwl %ax, %ebp shll $0x3, %...
/Sema/AnalysisBasedWarnings.cpp
clang::sema::checkExprLifetime(clang::Sema&, clang::sema::AssignedEntity const&, clang::Expr*)
void checkExprLifetime(Sema &SemaRef, const AssignedEntity &Entity, Expr *Init) { bool EnableLifetimeWarnings = !SemaRef.getDiagnostics().isIgnored( diag::warn_dangling_lifetime_pointer, SourceLocation()); bool RunAnalysis = Entity.LHS->getType()->isPointerType() || ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x110(%rdi), %rcx movq 0x20(%rcx), %rdi movl $0x18d1, %esi # imm = 0x18D1 xorl %edx, %edx callq 0x1404074 movq (%r14), %rcx movq 0x8(%rcx), %rdi movq %rdi, %rcx andq $-0x10, %rcx movq (...
/Sema/CheckExprLifetime.cpp
llvm::SmallVectorTemplateBase<clang::sema::(anonymous namespace)::IndirectLocalPathEntry, true>::push_back(clang::sema::(anonymous namespace)::IndirectLocalPathEntry const&)
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 movq (%rdi), %rax cmpl 0xc(%rdi), %edx jae 0xf4937a movl 0x8(%rbx), %ecx leaq (%rcx,%rcx,2), %rcx movq 0x10(%r14), %rdx movq %rdx, 0x10(%rax,%rcx,8) movups (%r14), %xmm0 movups %xmm0, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq ...
/llvm/ADT/SmallVector.h
clang::sema::(anonymous namespace)::RevertToOldSizeRAII::~RevertToOldSizeRAII()
size_t size() const { return Size; }
movl 0x8(%rdi), %eax cmpl %esi, %eax je 0xf4abd2 pushq %r15 pushq %r14 pushq %rbx movl %esi, %ebx movq %rdi, %r14 ja 0xf4abc9 movl %ebx, %r15d cmpl %ebx, 0xc(%r14) jae 0xf4aaf0 leaq 0x10(%r14), %rsi movl $0x18, %ecx movq %r14, %rdi movq %r15, %rdx callq 0x46302e movl 0x8(%r14), %eax cmpl %ebx, %eax je 0xf4abc9 movq (%r...
/llvm/ADT/SmallVector.h
llvm::SmallDenseMap<clang::ParmVarDecl*, unsigned int, 4u, llvm::DenseMapInfo<clang::ParmVarDecl*, void>, llvm::detail::DenseMapPair<clang::ParmVarDecl*, unsigned int>>::init(unsigned int)
void init(unsigned InitBuckets) { Small = true; if (InitBuckets > InlineBuckets) { Small = false; new (getLargeRep()) LargeRep(allocateBuckets(InitBuckets)); } this->BaseT::initEmpty(); }
pushq %rbp pushq %rbx pushq %rax movq %rdi, %rbx cmpl $0x4, %esi jbe 0xf4fdea movl %esi, %ebp andb $-0x2, (%rbx) movl %esi, %edi shlq $0x4, %rdi movl $0x8, %esi callq 0x46206c movq %rax, 0x8(%rbx) movl %ebp, 0x10(%rbx) movl (%rbx), %ecx andl $0x1, %ecx jmp 0xf4fdf6 movq 0x8(%rbx), %rax movl 0x10(%rbx), %ebp movl $0x1, ...
/llvm/ADT/DenseMap.h
llvm::SmallVectorImpl<std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo>>::operator=(llvm::SmallVectorImpl<std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo>> const&)
SmallVectorImpl<T> &SmallVectorImpl<T>:: operator=(const SmallVectorImpl<T> &RHS) { // Avoid self-assignment. if (this == &RHS) return *this; // If we already have sufficient space, assign the common elements, then // destroy any excess. size_t RHSSize = RHS.size(); size_t CurSize = this->size(); if (C...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx cmpq %rsi, %rdi je 0xf55b0d movq %rsi, %r15 movl 0x8(%rsi), %r14d movl 0x8(%rbx), %ebp cmpl %r14d, %ebp movq %r14, 0x10(%rsp) jae 0xf55a1e cmpl %r14d, 0xc(%rbx) jae 0xf55a5b movq (%rbx), %rdi leaq (,%rbp,4), %rsi addq %rb...
/llvm/ADT/SmallVector.h
llvm::SmallVectorTemplateBase<std::pair<llvm::VersionTuple, clang::api_notes::TypedefInfo>, false>::moveElementsForGrow(std::pair<llvm::VersionTuple, clang::api_notes::TypedefInfo>*)
iterator begin() { return (iterator)this->BeginX; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq (%rdi), %rbx movl 0x8(%rdi), %eax testq %rax, %rax je 0xf57506 movq %rsi, %r15 movq %rdi, %r14 imulq $0xb0, %rax, %r12 movl $0xb0, %r13d movq %r15, %rdi movq %rbx, %rsi callq 0xf57524 addq %r13, %rbx addq %r13, %r15 addq $-0xb0, %r12 jne 0xf574e3 movq (%r14), ...
/llvm/ADT/SmallVector.h
clang::AvailabilityAttr* llvm::function_ref<clang::AvailabilityAttr* ()>::callback_fn<ProcessAPINotes(clang::Sema&, clang::Decl*, clang::api_notes::CommonEntityInfo const&, (anonymous namespace)::VersionedInfoMetadata)::$_2>(long)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rdi, %rbp movq (%rdi), %rax movl $0x850, %r13d # imm = 0x850 movq 0x100(%rax), %rdi addq %r13, %rdi movl $0x90, %esi movl $0x3, %edx callq 0x465442 movq %rax, %rbx movq (%rbp), %rax movq 0x100(%rax), %r14 xorps %xmm0, %xm...
/llvm/ADT/STLFunctionalExtras.h
clang::NSReturnsNotRetainedAttr* llvm::function_ref<clang::NSReturnsNotRetainedAttr* ()>::callback_fn<void handleAPINotedRetainCountAttribute<clang::NSReturnsNotRetainedAttr>(clang::Sema&, clang::Decl*, bool, (anonymous namespace)::VersionedInfoMetadata)::'lambda'()>(long)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq (%rdi), %rax movl $0x850, %edi # imm = 0x850 addq 0x100(%rax), %rdi movl $0x28, %esi movl $0x3, %edx callq 0x465442 movq %rax, %r14 movq (%rbx), %rax movq 0x100(%rax), %rsi xorps %xmm0, %xmm0 movq %rsp, %rdx movups %xmm0, 0xc(%rdx) movaps %xmm0, (%r...
/llvm/ADT/STLFunctionalExtras.h
clang::EnumExtensibilityAttr* llvm::function_ref<clang::EnumExtensibilityAttr* ()>::callback_fn<ProcessAPINotes(clang::Sema&, clang::TagDecl*, clang::api_notes::TagInfo const&, (anonymous namespace)::VersionedInfoMetadata)::$_0>(long)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %rbp pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq (%rdi), %rax movq 0x8(%rdi), %rcx xorl %ebp, %ebp cmpl $0x2, (%rax) setne %bpl movl $0x850, %edi # imm = 0x850 addq 0x100(%rcx), %rdi movl $0x28, %esi movl $0x3, %edx callq 0x465442 movq %rax, %r14 movq 0x8(%rbx), %rax movq 0x100(%rax), %...
/llvm/ADT/STLFunctionalExtras.h
clang::Sema::handleDelayedAvailabilityCheck(clang::sema::DelayedDiagnostic&, clang::Decl*)
void Sema::handleDelayedAvailabilityCheck(DelayedDiagnostic &DD, Decl *Ctx) { assert(DD.Kind == DelayedDiagnostic::Availability && "Expected an availability diagnostic here"); DD.Triggered = true; DoEmitAvailabilityWarning( *this, DD.getAvailabilityResult(), Ctx, DD.getAvailabilityReferringDecl(),...
subq $0x48, %rsp movb $0x1, 0x1(%rsi) movl 0x48(%rsi), %eax movq 0x8(%rsi), %rcx movq 0x10(%rsi), %r8 movups 0x28(%rsi), %xmm0 movups %xmm0, 0x38(%rsp) movq 0x38(%rsi), %r9 movq 0x40(%rsi), %r10 movq 0x18(%rsi), %r11 movq 0x20(%rsi), %rsi movups 0x38(%rsp), %xmm0 movups %xmm0, (%rsp) movq %rsi, 0x20(%rsp) movq %r11, 0x...
/Sema/SemaAvailability.cpp
clang::SemaBase::SemaDiagnosticBuilder const& clang::operator<<<llvm::SmallVector<clang::FixItHint, 12u>>(clang::SemaBase::SemaDiagnosticBuilder const&, llvm::SmallVector<clang::FixItHint, 12u> const&)
const SemaDiagnosticBuilder & operator<<(const SemaDiagnosticBuilder &Diag, const T &Value) { if (Diag.ImmediateDiag) *Diag.ImmediateDiag << Value; else if (Diag.PartialDiagId) Diag.getDeviceDeferredDiags()[Diag.Fn][*Diag.PartialDiagId].second << Value; return Diag; ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx cmpb $0x1, 0x50(%rdi) jne 0xf5e078 movl 0x8(%r14), %r12d testq %r12, %r12 je 0xf5e0e2 leaq 0x20(%rbx), %r15 movq (%r14), %r14 shlq $0x6, %r12 movq %r15, %rdi movq %r14, %rsi callq 0x4bb5aa addq $0x40, %r14 addq $-0x40, %r12 jne 0xf5e...
/clang/Sema/SemaBase.h
llvm::SmallVectorTemplateBase<llvm::VersionTuple, true>::push_back(llvm::VersionTuple)
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 %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xf5e25c movq (%r14), %rax movl %edx, %ecx shlq $0x4, %rcx movq %r15, (%rax,%rcx) movq %rbx, 0x8(%rax,%rcx) incl 0x8(%r14) popq %rbx popq %r14 popq %r15 retq incq %rdx leaq 0x10(%r14), %rsi mov...
/llvm/ADT/SmallVector.h
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseTemplateArgument(clang::TemplateArgument const&)
bool RecursiveASTVisitor<Derived>::TraverseTemplateArgument( const TemplateArgument &Arg) { switch (Arg.getKind()) { case TemplateArgument::Null: case TemplateArgument::Declaration: case TemplateArgument::Integral: case TemplateArgument::NullPtr: case TemplateArgument::StructuralValue: return true; ...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movl $0x7fffffff, %ecx # imm = 0x7FFFFFFF andl (%rsi), %ecx movb $0x1, %al decl %ecx cmpl $0x8, %ecx ja 0xf6f2f0 movq %rdi, %rbx leaq 0x6b8e6d(%rip), %rdx # 0x1628138 movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx movq 0x8(%rsi), %rsi leaq 0x8(%rsp), %r1...
/clang/AST/RecursiveASTVisitor.h
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseTypeTraitExpr(clang::TypeTraitExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf6faba pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl 0x4(%rsi), %r12d testq %r12, %r12 je 0xf6fa2b xorl %r13d, %r13d movq 0x18(%r15,%r13,8), %rdx movq (%rdx), %rsi addq $0x8, %rdx movq %r14, %rdi callq 0xf6d9f4 testb %...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseSubstNonTypeTemplateParmExpr(clang::SubstNonTypeTemplateParmExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTrait...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf6fc2a pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rdi, %r14 leaq 0x20(%rsp), %r15 movq %r15, %rdi callq 0x12c0c0c movups (%r15), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r15), %rax movq %rax, 0x10(%rsp) movq 0x18(%r15), %r12 movq 0x20(%r15), %r13 mo...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseInitListExpr(clang::InitListExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
constexpr intptr_t asInt() const { intptr_t R = 0; std::memcpy(&R, Data, sizeof(R)); return R; }
movq 0x30(%rsi), %rax testb $0x4, %al je 0xf7b032 cmpq $0x7, %rax jbe 0xf7b032 andq $-0x8, %rax movq %rax, %rsi jmp 0xf7b032
/llvm/ADT/PointerIntPair.h
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseEmbedExpr(clang::EmbedExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf72ab1 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl 0x30(%rsi), %eax leaq 0x20(%rsp), %r12 movq %rsi, (%r12) movq %rax, 0x8(%r12) movq %r12, %rdi callq 0x530064 movq (%rax), %rsi movq %r14, %rdi movq %rbx, %rdx callq ...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseConvertVectorExpr(clang::ConvertVectorExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf72fd4 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rdi, %r14 leaq 0x20(%rsp), %r15 movq %r15, %rdi callq 0x12c0c0c movups (%r15), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r15), %rax movq %rax, 0x10(%rsp) movq 0x18(%r15), %r12 movq 0x20(%r15), %r13 mo...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseCUDAKernelCallExpr(clang::CUDAKernelCallExpr*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf73eee pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rdi, %r14 leaq 0x20(%rsp), %r15 movq %r15, %rdi callq 0x12c0c0c movups (%r15), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r15), %rax movq %rax, 0x10(%rsp) movq 0x18(%r15), %r12 movq 0x20(%r15), %r13 mo...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseObjCAtCatchStmt(clang::ObjCAtCatchStmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf76700 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rdi, %r14 leaq 0x20(%rsp), %r15 movq %r15, %rdi callq 0x12c0c0c movups (%r15), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r15), %rax movq %rax, 0x10(%rsp) movq 0x18(%r15), %r12 movq 0x20(%r15), %r13 mo...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseOMPTargetEnterDataDirective(clang::OMPTargetEnterDataDirective*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf76feb pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0xf7b1a2 testb %al, %al je 0xf76fdb leaq 0x20(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x12c0c0c movups (%r12), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r12),...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseOMPParallelSectionsDirective(clang::OMPParallelSectionsDirective*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTrait...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf7765b pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0xf7b1a2 testb %al, %al je 0xf7764b leaq 0x20(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x12c0c0c movups (%r12), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r12),...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseOMPParallelDirective(clang::OMPParallelDirective*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf778c5 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0xf7b1a2 testb %al, %al je 0xf778b5 leaq 0x20(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x12c0c0c movups (%r12), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r12),...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseOMPTaskLoopSimdDirective(clang::OMPTaskLoopSimdDirective*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang:...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf78409 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0xf7b1a2 testb %al, %al je 0xf783f9 leaq 0x20(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x12c0c0c movups (%r12), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r12),...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseOMPParallelMaskedTaskLoopDirective(clang::OMPParallelMaskedTaskLoopDirective*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerL...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf78f4d pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0xf7b1a2 testb %al, %al je 0xf78f3d leaq 0x20(%rsp), %r12 movq %r12, %rdi movq %r15, %rsi callq 0x12c0c0c movups (%r12), %xmm0 movaps %xmm0, (%rsp) movq 0x10(%r12),...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::TraverseOMPCriticalDirective(clang::OMPCriticalDirective*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>...
bool VisitStmt(Stmt *S) { return S != Target; }
cmpq %rsi, (%rdi) je 0xf79f8e pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movq 0x30(%rsi), %rax movq %rax, 0x10(%rsp) movups 0x20(%rsi), %xmm0 movups %xmm0, (%rsp) callq 0xf6d948 testb %al, %al je 0xf79f7e movq %r14, %rdi movq %r15, %rsi callq ...
/Sema/SemaAvailability.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::StmtUSEFinder>::VisitOMPAllocateClause(clang::OMPAllocateClause*)
bool RecursiveASTVisitor<Derived>::VisitOMPAllocateClause(OMPAllocateClause *C) { TRY_TO(TraverseStmt(C->getAllocator())); TRY_TO(VisitOMPClauseList(C)); return true; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rsi), %rsi xorl %r15d, %r15d xorl %edx, %edx callq 0xf6c8d6 testb %al, %al je 0xf7b504 movl 0x10(%rbx), %r12d testq %r12, %r12 je 0xf7b501 shlq $0x3, %r12 addq $-0x8, %r12 xorl %r13d, %r13d movq 0x28(%rbx,%r13), %rsi movq ...
/clang/AST/RecursiveASTVisitor.h
clang::RecursiveASTVisitor<(anonymous namespace)::LastDeclUSEFinder>::TraverseStmt(clang::Stmt*, llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1u, bool, llvm::PointerLikeTypeTraits<clang::Stmt*>, llvm::PointerIntPairInfo<clang::Stmt*, 1u, llvm::PointerLikeTypeTraits<clang::Stmt*>>>>*)
bool RecursiveASTVisitor<Derived>::TraverseStmt(Stmt *S, DataRecursionQueue *Queue) { if (!S) return true; if (Queue) { Queue->push_back({S, false}); return true; } SmallVector<llvm::PointerIntPair<Stmt *, 1, bool>, 8> LocalQueue; LocalQueue.push_b...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x50, %rsp movb $0x1, %bl testq %rsi, %rsi je 0xf7eb92 testq %rdx, %rdx je 0xf7dbf4 andq $-0x5, %rsi movq %rdx, %rdi callq 0x52fefe jmp 0xf7eb92 movq %rdi, %r14 leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) movabsq $0x800000000, %rax # imm = 0x800000000 m...
/clang/AST/RecursiveASTVisitor.h
clang::RecursiveASTVisitor<(anonymous namespace)::DiagnoseUnguardedAvailability>::VisitOMPAllocateClause(clang::OMPAllocateClause*)
bool RecursiveASTVisitor<Derived>::VisitOMPAllocateClause(OMPAllocateClause *C) { TRY_TO(TraverseStmt(C->getAllocator())); TRY_TO(VisitOMPClauseList(C)); return true; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rsi), %rsi callq 0xf5e276 testb %al, %al je 0xf9704d movl 0x10(%rbx), %r15d testq %r15, %r15 je 0xf97051 shlq $0x3, %r15 addq $-0x8, %r15 xorl %r12d, %r12d movq 0x28(%rbx,%r12), %rsi movq %r14, %rdi callq 0xf5e276 testb %a...
/clang/AST/RecursiveASTVisitor.h
clang::api_notes::APINotesManager::loadFrameworkAPINotes(llvm::StringRef, llvm::StringRef, bool)
OptionalDirectoryEntryRef APINotesManager::loadFrameworkAPINotes( llvm::StringRef FrameworkPath, llvm::StringRef FrameworkName, bool Public) { FileManager &FM = SM.getFileManager(); llvm::SmallString<128> Path(FrameworkPath); unsigned FrameworkNameLength = Path.size(); StringRef Suffix = Public ? "" : "_p...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movl %r9d, %ebx movq %r8, 0x20(%rsp) movq %rcx, 0x18(%rsp) movq %rdi, 0x8(%rsp) movq (%rdi), %rax movq 0x10(%rax), %rax movq %rax, 0x28(%rsp) addq %rsi, %rdx leaq 0xe8(%rsp), %rax movq %rax, -0x18(%rax) movq $0x...
/APINotes/APINotesManager.cpp
llvm::SmallVectorTemplateBase<clang::DirectoryEntry const*, true>::push_back(clang::DirectoryEntry const*)
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 0xf9ac7c 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 0x46302e movl 0...
/llvm/ADT/SmallVector.h
clang::api_notes::APINotesReader::Implementation::readIdentifierBlock(llvm::BitstreamCursor&, llvm::SmallVectorImpl<unsigned long>&)
bool APINotesReader::Implementation::readIdentifierBlock( llvm::BitstreamCursor &Cursor, llvm::SmallVectorImpl<uint64_t> &Scratch) { if (Cursor.EnterSubBlock(IDENTIFIER_BLOCK_ID)) return true; llvm::Expected<llvm::BitstreamEntry> MaybeNext = Cursor.advance(); if (!MaybeNext) { // FIXME this drops the...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r12 leaq 0x10(%rsp), %r15 movq %r15, %rdi movl $0x9, %edx xorl %ecx, %ecx callq 0x153af24 movq (%r15), %rdi testq %rdi, %rdi je 0xf9b770 movq (%rdi), %rax callq *0x8(%rax) movb $0x1, %bpl jmp 0...
/APINotes/APINotesReader.cpp
clang::api_notes::APINotesReader::VersionedInfo<clang::api_notes::ObjCPropertyInfo>::VersionedInfo(llvm::VersionTuple, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::ObjCPropertyInfo>, 1u>)
APINotesReader::VersionedInfo<T>::VersionedInfo( llvm::VersionTuple Version, llvm::SmallVector<std::pair<llvm::VersionTuple, T>, 1> R) : Results(std::move(R)) { assert(!Results.empty()); assert(std::is_sorted( Results.begin(), Results.end(), [](const std::pair<llvm::VersionTuple, T> &left, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movabsq $0x7fffffffffffffff, %r15 # imm = 0x7FFFFFFFFFFFFFFF movq %rsi, 0x18(%rsp) movq %rdx, 0x20(%rsp) leaq 0x10(%rdi), %rax movq %rax, (%rdi) movabsq $0x100000000, %rbp # imm = 0x100000000 movq %rbp, 0x8(%rdi) cmp...
/APINotes/APINotesReader.cpp
llvm::SmallVectorImpl<std::pair<llvm::VersionTuple, clang::api_notes::ObjCPropertyInfo>>::assignRemote(llvm::SmallVectorImpl<std::pair<llvm::VersionTuple, clang::api_notes::ObjCPropertyInfo>>&&)
void assignRemote(SmallVectorImpl &&RHS) { this->destroy_range(this->begin(), this->end()); if (!this->isSmall()) free(this->begin()); this->BeginX = RHS.BeginX; this->Size = RHS.Size; this->Capacity = RHS.Capacity; RHS.resetToSmall(); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rdi movl 0x8(%r14), %eax movq %rax, %rcx shlq $0x7, %rcx leaq (%rcx,%rax,8), %rsi addq %rdi, %rsi callq 0xf58124 movq (%r14), %rdi leaq 0x10(%r14), %rax cmpq %rax, %rdi je 0xfa1e19 callq 0x431730 movq (%rbx), %rax movq %rax, (%r14) movq 0x8(...
/llvm/ADT/SmallVector.h
clang::api_notes::(anonymous namespace)::ReadFunctionInfo(unsigned char const*&, clang::api_notes::FunctionInfo&)
void ReadFunctionInfo(const uint8_t *&Data, FunctionInfo &Info) { ReadCommonEntityInfo(Data, Info); uint8_t Payload = endian::readNext<uint8_t, llvm::endianness::little>(Data); if (auto RawConvention = Payload & 0x7) { auto Convention = static_cast<RetainCountConventionKind>(RawConvention - 1); Info.setR...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rsi, %r13 movq %rdi, %rbx callq 0xfa1531 movq (%rbx), %rcx movzbl (%rcx), %eax incq %rcx movq %rcx, (%rbx) movl %eax, %ecx andl $0x7, %ecx je 0xfa1f9e movzwl %cx, %edx shll $0x9, %edx movl $0xfffff1ff, %ecx # imm = 0xFFFFF1FF...
/APINotes/APINotesReader.cpp
std::pair<llvm::VersionTuple, clang::api_notes::ObjCMethodInfo> const* llvm::SmallVectorTemplateCommon<std::pair<llvm::VersionTuple, clang::api_notes::ObjCMethodInfo>, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<std::pair<llvm::VersionTuple, clang::api_notes::ObjCMethodInfo>, false>>(llvm::Sma...
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 0xfa24c8 movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movq (%rdi), %rax imulq $0xa8, %rcx, %rcx addq %rax, %rcx cmpq %rbx, %rax setbe %sil cmpq %rbx, %rcx seta %cl te...
/llvm/ADT/SmallVector.h
std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo> const* llvm::SmallVectorTemplateCommon<std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo>, void>::reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo>, false...
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 0xfa2fac movq %rbx, %rax addq $0x8, %rsp popq %rbx popq %r14 retq movq %rdi, %r14 movq (%rdi), %rax leaq (%rcx,%rcx,4), %rcx shlq $0x5, %rcx addq %rax, %rcx cmpq %rbx, %rax setbe %sil cmpq %rbx,...
/llvm/ADT/SmallVector.h
llvm::SmallVectorImpl<std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo>>::operator=(llvm::SmallVectorImpl<std::pair<llvm::VersionTuple, clang::api_notes::GlobalFunctionInfo>>&&)
SmallVectorImpl<T> &SmallVectorImpl<T>::operator=(SmallVectorImpl<T> &&RHS) { // Avoid self-assignment. if (this == &RHS) return *this; // If the RHS isn't small, clear this vector and then steal its buffer. if (!RHS.isSmall()) { this->assignRemote(std::move(RHS)); return *this; } // If we already...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx cmpq %rsi, %rdi je 0xfa3192 movq %rsi, %r14 movq (%rsi), %r12 leaq 0x10(%rsi), %rax cmpq %rax, %r12 je 0xfa3029 movq %rbx, %rdi movq %r14, %rsi callq 0xfa31a4 jmp 0xfa3192 movl 0x8(%r14), %r15d movl 0x8(%rbx), %ecx cmpl %...
/llvm/ADT/SmallVector.h
void llvm::yaml::IO::mapOptional<(anonymous namespace)::APIAvailability, (anonymous namespace)::APIAvailability>(char const*, (anonymous namespace)::APIAvailability&, (anonymous namespace)::APIAvailability const&)
void mapOptional(const char *Key, T &Val, const DefaultT &Default) { EmptyContext Ctx; mapOptionalWithContext(Key, Val, Default, Ctx); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax callq *0x10(%rax) movl (%r15), %ecx cmpl %ecx, (%r14) sete %cl andb %al, %cl movq (%rbx), %rax movzbl %cl, %ecx leaq 0x5dfd45(%rip), %rsi # 0x1584139 leaq 0x7(%rsp), %r8 leaq 0x8(%rsp), %r9 movq %rbx, ...
/llvm/Support/YAMLTraits.h
void llvm::yaml::IO::processKeyWithDefault<bool, llvm::yaml::EmptyContext>(char const*, std::optional<bool>&, std::optional<bool> const&, bool, llvm::yaml::EmptyContext&)
void IO::processKeyWithDefault(const char *Key, std::optional<T> &Val, const std::optional<T> &DefaultValue, bool Required, Context &Ctx) { assert(!DefaultValue && "std::optional<T> shouldn't have a value!"); void *SaveInfo; bool UseDefault = true; c...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, 0x18(%rsp) movl %r8d, %ebp movq %rcx, 0x10(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %rbx movb $0x1, 0xf(%rsp) movq (%rdi), %rax callq *0x10(%rax) movl %eax, %r15d movb 0x1(%r14), %r12b movq (%rbx), %rax movq %rbx, %rdi ...
/llvm/Support/YAMLTraits.h
llvm::yaml::ScalarEnumerationTraits<clang::NullabilityKind, void>::enumeration(llvm::yaml::IO&, clang::NullabilityKind&)
static void enumeration(IO &IO, NullabilityKind &NK) { IO.enumCase(NK, "Nonnull", NullabilityKind::NonNull); IO.enumCase(NK, "Optional", NullabilityKind::Nullable); IO.enumCase(NK, "Unspecified", NullabilityKind::Unspecified); IO.enumCase(NK, "NullableResult", NullabilityKind::NullableResult); // TO...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax callq *0x10(%rax) cmpb $0x0, (%rbx) sete %cl andb %al, %cl movq (%r14), %rax movzbl %cl, %edx leaq 0x6b90bf(%rip), %rsi # 0x166109c movq %r14, %rdi callq *0xa8(%rax) testb %al, %al je 0xfa7fed movb $0x0, (%rbx) movq (%r14), %rax movq ...
/APINotes/APINotesYAMLCompiler.cpp
void llvm::yaml::IO::mapOptionalWithContext<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, llvm::yaml::EmptyContext>(char const*, std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, llvm::yaml::EmptyContext&)
void mapOptionalWithContext(const char *Key, std::optional<T> &Val, Context &Ctx) { this->processKeyWithDefault(Key, Val, std::optional<T>(), /*Required=*/false, Ctx); }
pushq %rbx subq $0x30, %rsp movq %rcx, %r9 leaq 0x8(%rsp), %rbx movb $0x0, 0x20(%rbx) movq %rbx, %rcx xorl %r8d, %r8d callq 0xfa86d6 cmpb $0x1, 0x20(%rbx) jne 0xfa86cf leaq 0x18(%rsp), %rax movb $0x0, 0x10(%rax) movq -0x10(%rax), %rdi cmpq %rax, %rdi je 0xfa86cf movq 0x18(%rsp), %rsi incq %rsi callq 0x4310c0 addq $0x30...
/llvm/Support/YAMLTraits.h
(anonymous namespace)::YAMLConverter::convertTopLevelItems(std::optional<clang::api_notes::Context>, (anonymous namespace)::TopLevelItems const&, llvm::VersionTuple)
void convertTopLevelItems(std::optional<Context> Ctx, const TopLevelItems &TLItems, VersionTuple SwiftVersion) { std::optional<ContextID> CtxID = Ctx ? std::optional(Ctx->id) : std::nullopt; // Write all classes. llvm::StringSet<> KnownClasses...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x3b8, %rsp # imm = 0x3B8 movq %r9, 0x48(%rsp) movq %r8, 0x40(%rsp) movq %rsi, 0xf8(%rsp) movq %rdi, %r12 movl %edx, 0x128(%rsp) movl %edx, %eax andb $0x1, %al xorps %xmm0, %xmm0 movaps %xmm0, 0x260(%rsp) movabsq $0x800000000, %rdx ...
/APINotes/APINotesYAMLCompiler.cpp
(anonymous namespace)::YAMLConverter::emitError(llvm::Twine)
bool emitError(llvm::Twine Message) { DiagHandler( llvm::SMDiagnostic("", llvm::SourceMgr::DK_Error, Message.str()), DiagHandlerCtxt); ErrorOccured = true; return true; }
pushq %r15 pushq %r14 pushq %rbx subq $0x190, %rsp # imm = 0x190 movq %rdi, %rbx movq 0x18(%rdi), %r15 leaq 0x8(%rsp), %r14 leaq 0x1b0(%rsp), %rsi movq %r14, %rdi callq 0x469e3e movq (%r14), %r8 movq 0x8(%r14), %r9 leaq 0x849731(%rip), %rsi # 0x17f39f1 leaq 0x28(%rsp), %r14 movq %r14, %rdi xorl %edx, %edx...
/APINotes/APINotesYAMLCompiler.cpp
std::pair<llvm::StringMapIterator<std::pair<bool, bool>>, bool> llvm::StringMap<std::pair<bool, bool>, llvm::MallocAllocator>::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 0xfabf47 testq %rax, %rax je 0xfabf4b jmp 0xfabf38 movq 0x8(%rbx), ...
/llvm/ADT/StringMap.h
clang::api_notes::APINotesWriter::Implementation::writeControlBlock(llvm::BitstreamWriter&)
void APINotesWriter::Implementation::writeControlBlock( llvm::BitstreamWriter &Stream) { llvm::BCBlockRAII Scope(Stream, CONTROL_BLOCK_ID, 3); control_block::MetadataLayout Metadata(Stream); Metadata.emit(Scratch, VERSION_MAJOR, VERSION_MINOR); control_block::ModuleNameLayout ModuleName(Stream); ModuleN...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq %rsi, %rdi movl $0x8, %esi movl $0x3, %edx callq 0x524a38 movq %rbx, %rdi callq 0xfb46d2 movl %eax, %ebp leaq 0x28(%r14), %r15 movl $0x0, 0x30(%r14) movl $0x1, %esi movq %r15, %rdi callq 0x51babe leaq 0x67e...
/APINotes/APINotesWriter.cpp
clang::api_notes::APINotesWriter::Implementation::writeGlobalVariableBlock(llvm::BitstreamWriter&)
void APINotesWriter::Implementation::writeGlobalVariableBlock( llvm::BitstreamWriter &Stream) { llvm::BCBlockRAII Scope(Stream, GLOBAL_VARIABLE_BLOCK_ID, 3); if (GlobalVariables.empty()) return; { llvm::SmallString<4096> HashTableBlob; uint32_t Offset; { llvm::OnDiskChainedHashTableGen...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1128, %rsp # imm = 0x1128 movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi movl $0xf, %esi movl $0x3, %edx callq 0x524a38 cmpl $0x0, 0x300(%rbx) je 0xfb037e movq %r14, 0x80(%rsp) leaq 0x128(%rsp), %rcx movq %rcx, -0x18(%rcx) xorl %eax, %...
/APINotes/APINotesWriter.cpp
clang::api_notes::APINotesWriter::addObjCProperty(clang::api_notes::ContextID, llvm::StringRef, bool, clang::api_notes::ObjCPropertyInfo const&, llvm::VersionTuple)
void APINotesWriter::addObjCProperty(ContextID CtxID, StringRef Name, bool IsInstanceProperty, const ObjCPropertyInfo &Info, VersionTuple SwiftVersion) { IdentifierID NameID = Implementation->getIdentifier(N...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x98, %rsp movq %r9, %rbx movl %r8d, %ebp movl %esi, %r14d movq %rdi, %r15 movq (%rdi), %rdi movq %rdx, %rsi movq %rcx, %rdx callq 0xfb2b08 movl $0x298, %edi # imm = 0x298 addq (%r15), %rdi leaq 0x4(%rsp), %rsi movb %bpl, (%rsi) shrq $0x21, %rax movl %eax, 0x...
/APINotes/APINotesWriter.cpp
clang::api_notes::APINotesWriter::Implementation::getSelector(clang::api_notes::ObjCSelectorRef)
SelectorID getSelector(ObjCSelectorRef SelectorRef) { // Translate the selector reference into a stored selector. StoredObjCSelector Selector; Selector.NumArgs = SelectorRef.NumArgs; Selector.Identifiers.reserve(SelectorRef.Identifiers.size()); for (auto piece : SelectorRef.Identifiers) Select...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rdi, %r15 leaq 0x10(%rsp), %r14 leaq 0x20(%rsp), %rbx movq %rbx, -0x10(%rbx) movabsq $0x200000000, %rax # imm = 0x200000000 movq %rax, -0x8(%rbx) movl 0xb0(%rsp), %eax movl %eax, -0x18(%rbx) movq 0xc0(%rsp), %r12 cmpq $0x3, %r...
/APINotes/APINotesWriter.cpp
void llvm::BitstreamWriter::EmitRecordWithAbbrevImpl<unsigned char>(unsigned int, llvm::ArrayRef<unsigned char>, llvm::StringRef, std::optional<unsigned int>)
void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, StringRef Blob, std::optional<unsigned> Code) { const char *BlobData = Blob.data(); unsigned BlobLen = (unsigned) Blob.size(); unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; assert(AbbrevNo ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %r9, 0x10(%rsp) movq %r8, 0x30(%rsp) movq %rcx, %r15 movq %rdx, %r12 movq %rdi, %r13 movq 0x80(%rsp), %rbp leal -0x4(%rsi), %eax movq 0x40(%rdi), %rcx shlq $0x4, %rax movq (%rcx,%rax), %rbx movl 0x38(%rdi), %edx callq 0x524788 movl ...
/llvm/Bitstream/BitstreamWriter.h
void llvm::detail::BCRecordCoding<llvm::BCFixed<16u>, llvm::BCFixed<16u>>::emit<llvm::SmallVector<unsigned long, 64u>, unsigned short, unsigned short const&>(llvm::BitstreamWriter&, llvm::SmallVector<unsigned long, 64u>&, unsigned int, unsigned short, unsigned short const&)
static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned code, ElementDataTy element, DataTy &&...data) { static_assert(!ElementTy::IsCompound, "arrays and blobs may not appear in the middle of a record"); ElementTy::assertValid(element); buffer.push_ba...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %r8, %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %r15 movl %ecx, %esi movq %r14, %rdi callq 0x51babe movzwl (%rbx), %esi movq %r14, %rdi callq 0x51babe movq (%r14), %rdx movl 0x8(%r14), %ecx movq $0x0, (%rsp) movq %r15, %rdi movl %ebp, %esi xorl %r8d, %r8d...
/llvm/Bitcode/BitcodeConvenience.h
void llvm::BCGenericRecordLayout<llvm::BCLiteral<2ul>, llvm::BCBlob>::emitRecord<llvm::SmallVector<unsigned long, 64u>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&>(llvm::BitstreamWriter&, llvm::SmallVector<unsigned long, 64u>&, unsigned int, unsigned int, std::__cxx11::basic_string<...
static void emitRecord(llvm::BitstreamWriter &Stream, BufferTy &buffer, unsigned abbrCode, unsigned recordID, Data &&...data) { static_assert(sizeof...(data) <= sizeof...(Fields) || detail::has_array<Fields...>::value, "Too many record elements"); ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %r8, %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %r15 movl $0x0, 0x8(%rsi) movl %ecx, %esi movq %r14, %rdi callq 0x51babe movq (%rbx), %r8 movq 0x8(%rbx), %r9 movq (%r14), %rdx movl 0x8(%r14), %ecx movq $0x0, (%rsp) movq %r15, %rdi movl %ebp, %esi callq 0x...
/llvm/Bitcode/BitcodeConvenience.h
llvm::BCGenericRecordLayout<llvm::BCLiteral<2ul>, llvm::BCVBR<16u>, llvm::BCBlob>::emitAbbrev(llvm::BitstreamWriter&)
static unsigned emitAbbrev(llvm::BitstreamWriter &Stream) { auto Abbrev = std::make_shared<llvm::BitCodeAbbrev>(); detail::emitOps<IDField, Fields...>(*Abbrev); return Stream.EmitAbbrev(std::move(Abbrev)); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movl $0x220, %edi # imm = 0x220 callq 0x431710 movq %rax, %r14 movabsq $0x100000001, %rax # imm = 0x100000001 movq %rax, 0x8(%r14) leaq 0xce863a(%rip), %rax # 0x1c9e820 addq $0x10, %rax movq %rax, (%r14) leaq 0x10(%r14), %r1...
/llvm/Bitcode/BitcodeConvenience.h
llvm::detail::DenseMapPair<std::tuple<unsigned int, unsigned int, char>, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::ObjCPropertyInfo>, 1u>>* llvm::DenseMapBase<llvm::DenseMap<std::tuple<unsigned int, unsigned int, char>, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::ObjCProper...
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 0xfbe7f3 notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0x...
/llvm/ADT/DenseMap.h
bool llvm::DenseMapBase<llvm::DenseMap<std::tuple<unsigned int, unsigned int, char>, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::ObjCMethodInfo>, 1u>, llvm::DenseMapInfo<std::tuple<unsigned int, unsigned int, char>, void>, llvm::detail::DenseMapPair<std::tuple<unsigned int, unsigned int, char>, ll...
unsigned getNumBuckets() const { return NumBuckets; }
pushq %rbp pushq %r14 pushq %rbx movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0xfbeb25 movq (%rdi), %rdi movl 0x4(%rsi), %r8d movl 0x8(%rsi), %r9d leal (%r9,%r9,8), %eax leal (%r9,%rax,4), %eax leal (%r8,%r8,8), %r10d leal (%r8,%r10,4), %r10d movsbq (%rsi), %rsi movabsq $0x2d1533bd00000000, %r11 # imm = 0x2D1533BD00000000...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<clang::api_notes::SingleDeclTableKey, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::CXXMethodInfo>, 1u>, llvm::DenseMapInfo<clang::api_notes::SingleDeclTableKey, void>, llvm::detail::DenseMapPair<clang::api_notes::SingleDeclTableKey, llvm::SmallVector<std::pair<llvm...
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 0xfbee36 movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0xfbee2c movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0xfbef50 movq (%rbx), %rcx movq %rcx, (%rax) leaq 0x18...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<unsigned int, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::EnumConstantInfo>, 1u>, llvm::DenseMapInfo<unsigned int, void>, llvm::detail::DenseMapPair<unsigned int, llvm::SmallVector<std::pair<llvm::VersionTuple, clang::api_notes::EnumConstantInfo>, 1u>>>, unsigned ...
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 %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq $0x0, 0x8(%rdi) movl 0x10(%rdi), %eax testq %rax, %rax je 0xfc005c imulq $0x70, %rax, %rax addq $-0x70, %rax shrq $0x4, %rax movabsq $0x2492492492492493, %rcx # imm = 0x2492492492492493 mulq...
/llvm/ADT/DenseMap.h
llvm::DenseMap<clang::SourceLocation, llvm::SmallVector<clang::edit::EditedSource::MacroArgUse, 2u>, llvm::DenseMapInfo<clang::SourceLocation, void>, llvm::detail::DenseMapPair<clang::SourceLocation, llvm::SmallVector<clang::edit::EditedSource::MacroArgUse, 2u>>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBu...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r14 movl 0x10(%rdi), %r15d movq (%rdi), %rbx 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 %...
/llvm/ADT/DenseMap.h
checkForLiteralCreation(clang::ObjCMessageExpr const*, clang::IdentifierInfo*&, clang::LangOptions const&)
static bool checkForLiteralCreation(const ObjCMessageExpr *Msg, IdentifierInfo *&ClassId, const LangOptions &LangOpts) { if (!Msg || Msg->isImplicit() || !Msg->getMethodDecl()) return false; const ObjCInterfaceDecl *Receiver = Msg->getRece...
testq %rdi, %rdi je 0xfc3280 pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movl 0x18(%rdi), %ecx btl $0x1a, %ecx jb 0xfc3278 xorl %eax, %eax btl $0x18, %ecx jae 0xfc327a cmpq $0x0, 0x10(%rbx) je 0xfc327a movq %rdx, %r14 movq %rsi, %r15 movq %rbx, %rdi callq 0x11b7174 testq %rax, %rax je 0xfc3278 movq 0x28(%rax), %ra...
/Edit/RewriteObjCFoundationAPI.cpp
create_dispatch_sync(clang::ASTContext&, clang::FunctionDecl const*)
static Stmt *create_dispatch_sync(ASTContext &C, const FunctionDecl *D) { // Check if we have at least two parameters. if (D->param_size() != 2) return nullptr; // Check if the second parameter is a block. const ParmVarDecl *PV = D->getParamDecl(1); QualType Ty = PV->getType(); if (!isDispatchBlock(Ty)...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi callq 0x110f7b0 cmpl $0x2, %eax jne 0xfc5061 movq 0x78(%r14), %rax movq 0x8(%rax), %r15 movq 0x30(%r15), %r14 movq %r14, %rdi callq 0xfc5d33 testb %al, %al je 0xfc5061 movq %rsp, %rdi movq %rbx, (%rdi) xorl %r12d, %r1...
/Analysis/BodyFarm.cpp
clang::RecursiveASTVisitor<(anonymous namespace)::NamesCollector>::TraverseOpenACCAssociatedStmtConstruct(clang::OpenACCAssociatedStmtConstruct*)
bool RecursiveASTVisitor<Derived>::TraverseOpenACCAssociatedStmtConstruct( OpenACCAssociatedStmtConstruct *S) { TRY_TO(TraverseOpenACCConstructStmt(S)); TRY_TO(TraverseStmt(S->getAssociatedStmt())); return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x20(%rsi), %rax testq %rax, %rax je 0xfdd29e movq 0x18(%r14), %r13 leaq (,%rax,8), %rax addq %r13, %rax movq %rax, 0x20(%rsp) movq %rsp, %r12 movq (%r13), %rsi leaq 0x28(%rsp), %rdi callq 0x12a186a m...
/clang/AST/RecursiveASTVisitor.h
getReferenceInitTemporaryType(clang::Expr const*, bool*)
static QualType getReferenceInitTemporaryType(const Expr *Init, bool *FoundMTE = nullptr) { while (true) { // Skip parentheses. Init = Init->IgnoreParens(); // Skip through cleanups. if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { ...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx callq 0x115d3fc movq %rax, %r14 movzbl (%rax), %eax cmpl $0x30, %eax je 0xfde6ea cmpl $0x3b, %eax jne 0xfde707 movq 0x10(%r14), %rdi jmp 0xfde6cf movq 0x10(%r14), %rax movq %rax, %rdi andq $-0x8, %rdi testb $0x4, %al je 0xfde6fd movq 0x28(%rdi), %rdi testq %rbx, %rbx je ...
/Analysis/CFG.cpp
clang::BumpVector<clang::CFGElement>::grow(clang::BumpVectorContext&, unsigned long)
void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) { size_t CurCapacity = Capacity-Begin; size_t CurSize = size(); size_t NewCapacity = 2*CurCapacity; if (NewCapacity < MinSize) NewCapacity = MinSize; // Allocate the memory from the BumpPtrAllocator. T *NewElts = C.getAllocator().template A...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x10(%rdi), %r14 movq (%rdi), %r15 subq %r15, %r14 sarq $0x3, %r14 cmpq %rdx, %r14 cmovbeq %rdx, %r14 movq 0x8(%rdi), %r12 movq (%rsi), %rdi andq $-0x8, %rdi shlq $0x4, %r14 movq %r14, %rsi movl $0x3, %edx callq 0x465442 movq (%rbx), %rcx movq ...
/clang/Analysis/Support/BumpVector.h
llvm::DenseMapBase<llvm::DenseMap<clang::LabelDecl*, (anonymous namespace)::BlockScopePosPair, llvm::DenseMapInfo<clang::LabelDecl*, void>, llvm::detail::DenseMapPair<clang::LabelDecl*, (anonymous namespace)::BlockScopePosPair>>, clang::LabelDecl*, (anonymous namespace)::BlockScopePosPair, llvm::DenseMapInfo<clang::Lab...
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 0xfdec47 movl %edx, %eax shrl $0x4, %eax movl %edx, %ecx shrl $0x9, %ecx xorl %eax, %ecx leal -0x1(%rsi), %r8d andl %r8d, %ecx movq %rcx, %rax shlq $0x5, %rax movq (%rdi,%rax), %r10 cmpq %rdx, %r10 je 0xfdec4d movl $0x1, %r9d cmpq $-0x1000, %r10 # imm = 0xF000 je 0xfdec47 addl %r9d, %ecx in...
/llvm/ADT/DenseMap.h
(anonymous namespace)::CFGBuilder::VisitBlockExpr(clang::BlockExpr*, (anonymous namespace)::AddStmtChoice)
CFGBlock *CFGBuilder::VisitBlockExpr(BlockExpr *E, AddStmtChoice asc) { CFGBlock *LastBlock = VisitNoRecurse(E, asc); for (const BlockDecl::Capture &CI : E->getBlockDecl()->captures()) { if (Expr *CopyExpr = CI.getCopyExpr()) { CFGBlock *Tmp = Visit(CopyExpr); if (Tmp) LastBlock = Tmp; }...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx callq 0xfe70c6 movq %rax, %r14 movq 0x10(%r15), %rax movl 0x70(%rax), %r15d testq %r15, %r15 je 0xfe0029 movq 0x68(%rax), %r12 shlq $0x4, %r15 xorl %r13d, %r13d movq 0x8(%r12,%r13), %rsi testq %rsi, %rsi je 0xfe0020 movq %rbx, %rdi x...
/Analysis/CFG.cpp
(anonymous namespace)::CFGBuilder::VisitChooseExpr(clang::ChooseExpr*, (anonymous namespace)::AddStmtChoice)
CFGBlock *CFGBuilder::VisitChooseExpr(ChooseExpr *C, AddStmtChoice asc) { CFGBlock *ConfluenceBlock = Block ? Block : createBlock(); appendStmt(ConfluenceBlock, C); if (badCFG) return nullptr; AddStmtChoice alwaysAdd = asc.withAlwaysAdd(true); Succ = ConfluenceBlock;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x10(%rdi), %r15 testq %r15, %r15 jne 0xfe02e9 movq %rbx, %rdi movl $0x1, %esi callq 0xfdeb92 movq %rax, %r15 movq %rbx, %rdi movq %r15, %rsi movq %r14, %rdx callq 0xfe3a3e cmpb $0x0, 0x140(%rbx) je 0...
/Analysis/CFG.cpp
(anonymous namespace)::CFGBuilder::VisitObjCAtThrowStmt(clang::ObjCAtThrowStmt*)
CFGBlock *CFGBuilder::VisitObjCAtThrowStmt(ObjCAtThrowStmt *S) { // If we were in the middle of a block we stop processing that block. if (badCFG) return nullptr; // Create the new block. Block = createBlock(false); if (TryTerminatedBlock) // The current try statement is the only successor. addS...
cmpb $0x0, 0x140(%rdi) je 0xfe258c xorl %eax, %eax retq pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0x8(%rdi), %rdi callq 0xfdda08 movq %rax, %r15 movq %rax, 0x10(%r14) movq 0x78(%r14), %rsi testq %rsi, %rsi jne 0xfe25be movq 0x8(%r14), %rax movq 0x8(%rax), %rsi lea...
/Analysis/CFG.cpp
(anonymous namespace)::CFGBuilder::VisitSEHLeaveStmt(clang::SEHLeaveStmt*)
CFGBlock *CFGBuilder::VisitSEHLeaveStmt(SEHLeaveStmt *LS) { // "__leave" is a control-flow statement. Thus we stop processing the current // block. if (badCFG) return nullptr; // Now create a new block that ends with the __leave statement. Block = createBlock(false); Block->setTerminator(LS); // If...
cmpb $0x0, 0x140(%rdi) je 0xfe2e34 xorl %eax, %eax retq pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x8(%rdi), %rdi callq 0xfdda08 movq %rax, 0x10(%rbx) movq %r14, %rcx andq $-0x7, %rcx movq %rcx, 0x20(%rax) cmpq $0x0, 0x50(%rbx) je 0xfe2eb3 movq 0x80(%rbx), %rsi movl 0x88(%rb...
/Analysis/CFG.cpp
clang::OMPExecutableDirective::used_clauses_child_iterator::used_clauses_child_iterator(llvm::ArrayRef<clang::OMPClause*>)
explicit iterator_adaptor_base(WrappedIteratorT u) : I(std::move(u)) { static_assert(std::is_base_of<iterator_adaptor_base, DerivedT>::value, "Must pass the derived type to this template!"); }
movq %rsi, (%rdi) leaq (%rsi,%rdx,8), %rax movq %rax, 0x8(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rdi) movups %xmm0, 0x28(%rdi) testq %rdx, %rdx je 0xfe3c44 pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx leaq 0x10(%rdi), %r15 leaq 0x28(%rdi), %r12 movq (%rsi), %rsi leaq 0x8(%rsp), %r1...
/llvm/ADT/iterator.h
clang::OMPExecutableDirective::used_clauses_child_iterator::operator++()
used_clauses_child_iterator &operator++() { ++ChildI; if (ChildI != ChildEnd) return *this; if (this->I != End) { ++this->I; if (this->I != End) { ChildI = (*this->I)->used_children().begin(); ChildEnd = (*this->I)->used_children().end(); } } ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx leaq 0x10(%rdi), %r14 movq %r14, %rdi callq 0x52ff3e movq 0x10(%rbx), %rax cmpq 0x28(%rbx), %rax jne 0xfe3ebe movq 0x30(%rbx), %rax cmpq %rax, 0x18(%rbx) jne 0xfe3ebe movq (%rbx), %rax movq 0x8(%rbx), %rcx cmpq %rcx, %rax je 0xfe3eb6 addq $0x8...
/clang/AST/StmtOpenMP.h
(anonymous namespace)::CFGBuilder::addLocalScopeForStmt(clang::Stmt*)
void CFGBuilder::addLocalScopeForStmt(Stmt *S) { if (!BuildOpts.AddImplicitDtors && !BuildOpts.AddLifetime && !BuildOpts.AddScopes) return; LocalScope *Scope = nullptr; // For compound statement we will be creating explicit scope. if (CompoundStmt *CS = dyn_cast<CompoundStmt>(S)) { for (auto *BI...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movq 0x148(%rdi), %rax cmpb $0x0, 0x33(%rax) jne 0xfe3ef6 cmpb $0x0, 0x34(%rax) jne 0xfe3ef6 cmpb $0x1, 0x37(%rax) jne 0xfe3f5d cmpb $-0x17, (%r14) jne 0xfe3f3a movl 0x4(%r14), %r12d testq %r12, %r12 je 0xfe3f5d shlq $0x3, %r12 xorl ...
/Analysis/CFG.cpp
llvm::SmallVectorTemplateBase<(anonymous namespace)::LocalScope::const_iterator, true>::push_back((anonymous namespace)::LocalScope::const_iterator)
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 %r15 pushq %r14 pushq %rbx movl %edx, %ebx movq %rsi, %r15 movq %rdi, %r14 movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0xfe4906 movq (%r14), %rax movl %edx, %ecx shlq $0x4, %rcx movq %r15, (%rax,%rcx) movl %ebx, 0x8(%rax,%rcx) incl 0x8(%r14) popq %rbx popq %r14 popq %r15 retq incq %rdx leaq 0x10(%r14), %rsi mov...
/llvm/ADT/SmallVector.h
llvm::DenseMapBase<llvm::DenseMap<clang::Expr*, clang::ConstructionContextLayer const*, llvm::DenseMapInfo<clang::Expr*, void>, llvm::detail::DenseMapPair<clang::Expr*, clang::ConstructionContextLayer const*>>, clang::Expr*, clang::ConstructionContextLayer const*, llvm::DenseMapInfo<clang::Expr*, void>, llvm::detail::D...
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 0xfe74ec movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0xfe74e2 movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0xfe757a movq (%rbx), %rcx movq %rcx, (%rax) movq $0x0...
/llvm/ADT/DenseMap.h
clang::ReturnTypestateAttr* clang::Decl::getAttr<clang::ReturnTypestateAttr>() const
bool hasAttrs() const { return HasAttrs; }
testb $0x1, 0x1d(%rdi) jne 0xfeb0cd xorl %eax, %eax retq pushq %rax callq 0x111d5e6 movl 0x8(%rax), %edx testq %rdx, %rdx je 0xfeb122 movq (%rax), %rcx shlq $0x3, %rdx xorl %eax, %eax xorl %esi, %esi movq (%rcx,%rsi), %rdi cmpw $0x141, 0x20(%rdi) # imm = 0x141 je 0xfeb0fd addq $0x8, %rsi cmpq %rsi, %rdx jne 0xfeb0...
/clang/AST/DeclBase.h
llvm::DenseMapBase<llvm::DenseMap<clang::CXXBindTemporaryExpr const*, clang::consumed::ConsumedState, llvm::DenseMapInfo<clang::CXXBindTemporaryExpr const*, void>, llvm::detail::DenseMapPair<clang::CXXBindTemporaryExpr const*, clang::consumed::ConsumedState>>, clang::CXXBindTemporaryExpr const*, clang::consumed::Consum...
bool erase(const KeyT &Val) { BucketT *TheBucket; if (!LookupBucketFor(Val, TheBucket)) return false; // not in map. TheBucket->getSecond().~ValueT(); TheBucket->getFirst() = getTombstoneKey(); decrementNumEntries(); incrementNumTombstones(); return true; }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %rdx callq 0xfee18e testb %al, %al je 0xfec52c movq 0x8(%rsp), %rcx movq $-0x2000, (%rcx) # imm = 0xE000 movq 0x8(%rbx), %xmm0 paddd 0x574fc9(%rip), %xmm0 # 0x15614f0 movq %xmm0, 0x8(%rbx) addq $0x10, %rsp popq %rbx retq
/llvm/ADT/DenseMap.h
clang::consumed::ConsumedBlockInfo::ConsumedBlockInfo(unsigned int, clang::PostOrderCFGView*)
ConsumedBlockInfo(unsigned int NumBlocks, PostOrderCFGView *SortedGraph) : StateMapsArray(NumBlocks), VisitOrder(NumBlocks, 0) { unsigned int VisitOrderCounter = 0; for (const auto BI : *SortedGraph) VisitOrder[BI->getBlockID()] = VisitOrderCounter++; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %r14 movq %rdi, %rbx movl %esi, %r15d leaq 0xb(%rsp), %rdx movq %r15, %rsi callq 0xfeda22 addq $0x18, %rbx leaq 0xc(%rsp), %rdx movl $0x0, (%rdx) leaq 0xa(%rsp), %rcx movq %rbx, %rdi movq %r15, %rsi callq 0xfeda90 movq 0x8(%r14), %rax movq 0x10(%r14), %rcx cm...
/clang/Analysis/Analyses/Consumed.h
clang::StmtVisitorBase<llvm::make_const_ptr, clang::consumed::ConsumedStmtVisitor, void>::Visit(clang::Stmt const*)
RetTy Visit(PTR(Stmt) S, ParamTys... P) { // If we have a binary expr, dispatch to the subcode of the binop. A smart // optimizer (e.g. LLVM) will fold this comparison into the switch stmt // below. if (PTR(BinaryOperator) BinOp = dyn_cast<BinaryOperator>(S)) { switch (BinOp->getOpcode()) { ...
movq %rsi, %rdx movb (%rsi), %al leal -0x77(%rax), %ecx cmpb $-0x2, %cl setb %cl testq %rsi, %rsi sete %sil orb %cl, %sil je 0xfed40b testq %rdx, %rdx sete %cl cmpb $0x4, %al setne %sil orb %cl, %sil je 0xfed432 movzbl %al, %eax decl %eax leaq 0x63fcfb(%rip), %rcx # 0x162d0fc movslq (%rcx,%rax,4), %rax addq %rcx, %r...
/clang/AST/StmtVisitor.h
llvm::DenseMapBase<llvm::DenseMap<clang::Stmt const*, clang::consumed::PropagationInfo, llvm::DenseMapInfo<clang::Stmt const*, void>, llvm::detail::DenseMapPair<clang::Stmt const*, clang::consumed::PropagationInfo>>, clang::Stmt const*, clang::consumed::PropagationInfo, llvm::DenseMapInfo<clang::Stmt const*, void>, llv...
const_iterator find(const_arg_type_t<KeyT> Val) const { const BucketT *TheBucket; if (LookupBucketFor(Val, TheBucket)) return makeConstIterator(TheBucket, shouldReverseIterate<KeyT>() ? getBuckets() : getBucketsEnd(...
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0x8(%rsp), %rax movq %rsi, (%rax) movq %rsp, %rdx movq %rax, %rsi callq 0xfed4be testb %al, %al je 0xfeda0f movq (%rsp), %rax movl 0x10(%rbx), %edx shlq $0x6, %rdx addq (%rbx), %rdx jmp 0xfeda1c movl 0x10(%rbx), %eax shlq $0x6, %rax addq (%rbx), %rax movq %rax, %rdx addq...
/llvm/ADT/DenseMap.h
std::tuple<clang::CFGBlock const*, std::reverse_iterator<clang::CFGBlock::AdjacentBlock const*>, std::reverse_iterator<clang::CFGBlock::AdjacentBlock const*>>& llvm::SmallVectorTemplateBase<std::tuple<clang::CFGBlock const*, std::reverse_iterator<clang::CFGBlock::AdjacentBlock const*>, std::reverse_iterator<clang::CFGB...
T &growAndEmplaceBack(ArgTypes &&... Args) { // Grow manually in case one of Args is an internal reference. size_t NewCapacity; T *NewElts = mallocForGrow(0, NewCapacity); ::new ((void *)(NewElts + this->size())) T(std::forward<ArgTypes>(Args)...); moveElementsForGrow(NewElts); takeAllocationFor...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbp movq %rdi, %rbx leaq 0x10(%rdi), %r15 movq %rsp, %r8 movl $0x18, %ecx movq %r15, %rsi xorl %edx, %edx callq 0x462ee8 movq %rax, %r14 movl 0x8(%rbx), %eax leaq (,%rax,8), %rcx leaq (%rcx,%rcx,2), ...
/llvm/ADT/SmallVector.h
clang::RecursiveASTVisitor<isInCoroutineStmt(clang::Stmt const*, clang::CFGBlock const*)::Checker>::VisitOMPAffinityClause(clang::OMPAffinityClause*)
bool RecursiveASTVisitor<Derived>::VisitOMPAffinityClause( OMPAffinityClause *C) { TRY_TO(TraverseStmt(C->getModifier())); for (Expr *E : C->varlists()) TRY_TO(TraverseStmt(E)); return true; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movl 0x10(%rsi), %eax movq 0x18(%rsi,%rax,8), %rsi xorl %r15d, %r15d xorl %edx, %edx callq 0xff0540 testb %al, %al je 0x1003402 movl 0x10(%rbx), %r12d testq %r12, %r12 je 0x10033ff shlq $0x3, %r12 addq $-0x8, %r12 xorl %r13d, %r13d m...
/clang/AST/RecursiveASTVisitor.h
(anonymous namespace)::ThreadSafetyAnalyzer::addLock((anonymous namespace)::FactSet&, std::unique_ptr<(anonymous namespace)::FactEntry, std::default_delete<(anonymous namespace)::FactEntry>>, bool)
void ThreadSafetyAnalyzer::addLock(FactSet &FSet, std::unique_ptr<FactEntry> Entry, bool ReqAttr) { if (Entry->shouldIgnore()) return; if (!ReqAttr && !Entry->negative()) { // look for the negative capability, and remove it from the fact...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rdx, %r15 movq (%rdx), %rdx movq 0x8(%rdx), %rax cmpq $0x8, %rax jb 0x1009768 movq %rsi, %rbx movq %rdi, %r14 movl %eax, %esi andl $0x4, %esi shrl $0x2, %esi orb %cl, %sil jne 0x100957e movups 0x10(%rdx), %xmm0 andq $-0x8, %rax orq...
/Analysis/ThreadSafety.cpp
llvm::ImutAVLFactory<llvm::ImutKeyValueInfo<clang::NamedDecl const*, unsigned int>>::add_internal(std::pair<clang::NamedDecl const*, unsigned int> const&, llvm::ImutAVLTree<llvm::ImutKeyValueInfo<clang::NamedDecl const*, unsigned int>>*)
TreeTy* add_internal(value_type_ref V, TreeTy* T) { if (isEmpty(T)) return createNode(T, V, T); assert(!T->isMutable()); key_type_ref K = ImutInfo::KeyOfValue(V); key_type_ref KCurrent = ImutInfo::KeyOfValue(getValue(T)); if (ImutInfo::isEqual(K,KCurrent)) return createNode(getLeft(T),...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rax movq %rdi, %rbx testq %rdx, %rdx je 0x100bd3c movq %rdx, %r15 leaq 0x30(%rdx), %r14 movq 0x30(%rdx), %rcx cmpq %rcx, (%rax) je 0x100bd48 movq 0x8(%r15), %r12 jae 0x100bd66 movq %rbx, %rdi movq %rax, %rsi movq %r12, %rdx callq 0x100bcf6 movq 0x10(%r1...
/llvm/ADT/ImmutableSet.h
clang::threadSafety::til::PrettyPrinter<clang::threadSafety::til::StdPrinter, std::ostream>::printBBInstr(clang::threadSafety::til::SExpr const*, std::ostream&)
void printBBInstr(const SExpr *E, StreamType &SS) { bool Sub = false; if (E->opcode() == COP_Variable) { const auto *V = cast<Variable>(E); SS << "let " << V->name() << V->id() << " = "; E = V->definition(); Sub = true; } else if (E->opcode() != COP_Store) { SS << "let _x" ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movb (%rsi), %bpl cmpb $0x5, %bpl jne 0x100e3ab leaq 0x620ce7(%rip), %rsi # 0x162f04f movl $0x4, %edx movq %rbx, %rdi callq 0x4315f0 movq 0x10(%r14), %rsi movq 0x18(%r14), %rdx movq %rbx, %rdi callq 0x4318e0 movl 0...
/clang/Analysis/Analyses/ThreadSafetyTraverse.h
clang::threadSafety::til::MatchComparator::CType clang::threadSafety::til::Function::compare<clang::threadSafety::til::MatchComparator>(clang::threadSafety::til::Function const*, clang::threadSafety::til::MatchComparator&) const
typename C::CType compare(const Function* E, C& Cmp) const { typename C::CType Ct = Cmp.compare(VarDecl->definition(), E->VarDecl->definition()); if (Cmp.notTrue(Ct)) return Ct; Cmp.enterScope(variableDecl(), E->variableDecl()); Ct = Cmp.compare(body(), E->body()); Cmp.leaveScope(); ...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0x10(%rdi), %rax movq 0x20(%rax), %rsi movb (%rsi), %al cmpb $0x2, %al je 0x100ea0b movq 0x10(%r14), %rcx movq 0x20(%rcx), %rdx movb (%rdx), %cl cmpb $0x2, %cl jne 0x100ea37 movq 0x18(%r15), %rsi movb (%rsi), %cl movb $0x1, %al cmpb $...
/clang/Analysis/Analyses/ThreadSafetyTIL.h
llvm::DenseMapBase<llvm::DenseMap<clang::ValueDecl const*, std::unique_ptr<clang::threadSafety::BeforeSet::BeforeInfo, std::default_delete<clang::threadSafety::BeforeSet::BeforeInfo>>, llvm::DenseMapInfo<clang::ValueDecl const*, void>, llvm::detail::DenseMapPair<clang::ValueDecl const*, std::unique_ptr<clang::threadSaf...
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 0x100fa0f movq (%r15), %rax movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx ne...
/llvm/ADT/DenseMap.h
llvm::iterator_range<clang::specific_attr_iterator<clang::PtGuardedByAttr, llvm::SmallVector<clang::Attr*, 4u>>> clang::Decl::specific_attrs<clang::PtGuardedByAttr>() const
bool hasAttrs() const { return HasAttrs; }
pushq %r14 pushq %rbx pushq %rax testb $0x1, 0x1d(%rdi) jne 0x10118fa xorl %ebx, %ebx jmp 0x101190c movq %rdi, %r14 callq 0x111d5e6 movq (%rax), %rbx testb $0x1, 0x1d(%r14) jne 0x1011910 xorl %edx, %edx jmp 0x1011922 movq %r14, %rdi callq 0x111d5e6 movl 0x8(%rax), %edx shlq $0x3, %rdx addq (%rax), %rdx movq %rbx, %rax ...
/clang/AST/DeclBase.h
clang::StmtVisitorBase<std::add_pointer, (anonymous namespace)::TransferFunctions, void>::Visit(clang::Stmt*)
StmtClass getStmtClass() const { return static_cast<StmtClass>(StmtBits.sClass); }
movb (%rsi), %al leal -0x77(%rax), %ecx cmpb $-0x2, %cl setb %cl testq %rsi, %rsi sete %dl orb %cl, %dl je 0x1015eca testq %rsi, %rsi sete %cl cmpb $0x4, %al setne %dl orb %cl, %dl jne 0x1015eb4 movl (%rsi), %eax movl %eax, %ecx andl $0x780000, %ecx # imm = 0x780000 cmpl $0x380000, %ecx # imm = 0x380000...
/clang/AST/Stmt.h
clang::RecursiveASTVisitor<clang::ast_matchers::MatchDescendantVisitor>::VisitOMPInReductionClause(clang::OMPInReductionClause*)
bool RecursiveASTVisitor<Derived>::VisitOMPInReductionClause( OMPInReductionClause *C) { TRY_TO(TraverseNestedNameSpecifierLoc(C->getQualifierLoc())); TRY_TO(TraverseDeclarationNameInfo(C->getNameInfo())); TRY_TO(VisitOMPClauseList(C)); TRY_TO(VisitOMPClauseWithPostUpdate(C)); for (auto *E : C->privates()...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x38(%rsi), %rsi movq 0x40(%r14), %rdx callq 0x1030140 testb %al, %al je 0x1034ec0 movq 0x58(%r14), %rax movq %rax, 0x10(%rsp) movups 0x48(%r14), %xmm0 movups %xmm0, (%rsp) movq %rbx, %rdi callq 0x103...
/clang/AST/RecursiveASTVisitor.h
UPCPreIncrementGadget::matcher()
static Matcher matcher() { // Note here we match `++Ptr` for any expression `Ptr` of pointer type. // Although currently we can only provide fix-its when `Ptr` is a DRE, we // can have the matcher be general, so long as `getClaimedVarUseSites` does // things right. return stmt(isInUnspecifiedPointer...
pushq %r15 pushq %r14 pushq %rbx subq $0x120, %rsp # imm = 0x120 movq %rdi, %rbx movl $0x10, %edi callq 0x431710 xorps %xmm0, %xmm0 movaps %xmm0, (%rax) leaq 0xd0f456(%rip), %rcx # 0x1d46f78 addq $0x10, %rcx movq %rcx, (%rax) movb $0x0, 0x18(%rsp) movabsq $0xb4000000b4, %rcx # imm = 0xB4000000B4 movq ...
/Analysis/UnsafeBufferUsage.cpp
clang::Stmt const* clang::ast_matchers::internal::BoundNodesMap::getNodeAs<clang::Stmt>(llvm::StringRef) const
const T *getNodeAs(StringRef ID) const { IDToNodeMap::const_iterator It = NodeMap.find(ID); if (It == NodeMap.end()) { return nullptr; } return It->second.get<T>(); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %r14 leaq 0x8(%rsp), %rax movq %rsi, (%rax) movq %rdx, 0x8(%rax) movq %rax, %rsi callq 0x63210a addq $0x8, %r14 cmpq %r14, %rax je 0x10397bd movq %rax, %rbx movl 0x40(%rax), %esi leaq 0x4(%rsp), %rdi movl $0xae, (%rdi) callq 0x10d11ba testb %al, %al je 0x10397bd movq 0x...
/clang/ASTMatchers/ASTMatchersInternal.h
createDataFixit(clang::ASTContext const&, clang::DeclRefExpr const*)
static inline std::optional<FixItList> createDataFixit(const ASTContext &Ctx, const DeclRefExpr *DRE) { const SourceManager &SM = Ctx.getSourceManager(); // Inserts the .data() after the DRE std::optional<SourceLocation> EndOfOperand = getPastLoc(DRE, S...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x158, %rsp # imm = 0x158 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rcx, %rdi callq 0x1156c54 movl %eax, %edi xorl %esi, %esi movq %r15, %rdx movq %r14, %rcx callq 0x1382f9c testl %eax, %eax je 0x103a500 leaq 0x5f6719(%rip), %rdx # 0x1630b89 le...
/Analysis/UnsafeBufferUsage.cpp
llvm::SmallVectorTemplateBase<clang::DeclRefExpr const*, true>::push_back(clang::DeclRefExpr const*)
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 0x103aa82 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 0x46302e movl ...
/llvm/ADT/SmallVector.h
(anonymous namespace)::DecrementGadget::getClaimedVarUseSites() const
DeclUseList getClaimedVarUseSites() const override { if (const auto *DRE = dyn_cast<DeclRefExpr>(Op->getSubExpr()->IgnoreParenImpCasts())) { return {DRE}; } return {}; }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq 0x10(%rsi), %rax movq 0x10(%rax), %rdi callq 0x1159b2a cmpb $0x46, (%rax) jne 0x103ac0d leaq 0x10(%rsp), %rdx movq %rax, -0x8(%rdx) leaq 0x10(%rbx), %rax movq %rax, (%rbx) movabsq $0x100000000, %rax # imm = 0x100000000 movq %rax, 0x8(%rbx) leaq 0x8(%rsp), %rsi movq ...
/Analysis/UnsafeBufferUsage.cpp
clang::ast_matchers::internal::VariadicOperatorMatcher<clang::ast_matchers::internal::Matcher<clang::CXXConstructExpr>>::operator clang::ast_matchers::internal::Matcher<clang::CXXConstructExpr><clang::CXXConstructExpr>() const &
operator Matcher<T>() const & { return DynTypedMatcher::constructVariadic( Op, ASTNodeKind::getFromNodeKind<T>(), getMatchers<T>(std::index_sequence_for<Ps...>())) .template unconditionalConvertTo<T>(); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movl (%rsi), %ebp leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x103c320 leaq 0x20(%rsp), %r15 movq %r15, %rdi movl %ebp, %esi movl $0x126, %edx # imm = 0x126 movq %r14, %rcx callq 0x10760ca movq %rbx, %rdi movq %r15, %rsi movl $0x126...
/clang/ASTMatchers/ASTMatchersInternal.h