name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
std::vector<clang::ast_matchers::internal::DynTypedMatcher, std::allocator<clang::ast_matchers::internal::DynTypedMatcher>> clang::ast_matchers::internal::VariadicOperatorMatcher<clang::ast_matchers::internal::Matcher<clang::Stmt>>::getMatchers<clang::Stmt, 0ul>(std::integer_sequence<unsigned long, 0ul>) const &
std::vector<DynTypedMatcher> getMatchers(std::index_sequence<Is...>) const & { return {Matcher<T>(std::get<Is>(Params))...}; }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movl 0x10(%rsi), %eax movl %eax, 0x8(%rsp) movq 0x8(%rsi), %rax movq %rax, (%rsp) movq 0x18(%rsi), %rax testq %rax, %rax je 0x103ca80 lock incl 0x8(%rax) movl 0x8(%rsp), %ecx leaq 0x28(%rsp), %rdx movl %ecx, -0x10(%rdx) movq (%rsp), %rcx movq %rcx, -0x18(%rdx) movq...
/clang/ASTMatchers/ASTMatchersInternal.h
clang::ast_matchers::internal::BindableMatcher<clang::Stmt> clang::ast_matchers::internal::VariadicFunction<clang::ast_matchers::internal::BindableMatcher<clang::Stmt>, clang::ast_matchers::internal::Matcher<clang::BinaryOperator>, &clang::ast_matchers::internal::BindableMatcher<clang::Stmt> clang::ast_matchers::intern...
ResultT operator()(const ArgT &Arg1, const ArgsT &... Args) const { return Execute(Arg1, static_cast<const ArgT &>(Args)...); }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0x18(%rsp), %r15 movq %r15, %rdi movq %rcx, %rsi callq 0x6e1a32 movq %rsp, %rsi movq %r14, (%rsi) movq %r15, 0x8(%rsi) movl $0x2, %edx movq %rbx, %rdi callq 0x665553 movq 0x10(%r15), %rdi testq %rdi, %rdi je 0x103e667 lock decl 0x8(%...
/clang/ASTMatchers/ASTMatchersInternal.h
llvm::DenseMapBase<llvm::DenseMap<clang::VarDecl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::VarDecl const*, void>, llvm::detail::DenseSetPair<clang::VarDecl const*>>, clang::VarDecl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<clang::VarDecl const*, void>, llvm::detail::DenseSetPair<clang...
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 0xb43138 testb %al, %al je 0x103ffb3 movq (%rsp), %rax movl 0x10(%rbx), %edx shlq $0x3, %rdx addq (%rbx), %rdx jmp 0x103ffc0 movl 0x10(%rbx), %eax shlq $0x3, %rax addq (%rbx), %rax movq %rax, %rdx ad...
/llvm/ADT/DenseMap.h
clang::ast_matchers::MatchFinder::addDynamicMatcher(clang::ast_matchers::internal::DynTypedMatcher const&, clang::ast_matchers::MatchFinder::MatchCallback*)
bool MatchFinder::addDynamicMatcher(const internal::DynTypedMatcher &NodeMatch, MatchCallback *Action) { if (NodeMatch.canConvertTo<Decl>()) { addMatcher(NodeMatch.convertTo<Decl>(), Action); return true; } else if (NodeMatch.canConvertTo<QualType>()) { addMatcher(Nod...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi movl $0x4c, %esi callq 0x1076672 testb %al, %al je 0x1043d02 movq %rsp, %r12 movq %r12, %rdi movq %r15, %rsi movl $0x4c, %edx callq 0x10762fc movq %rbx, %rdi movq %r12, %rsi movq %r14, %rdx callq...
/ASTMatchers/ASTMatchFinder.cpp
clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::matchesChildOf(clang::DynTypedNode const&, clang::ASTContext&, clang::ast_matchers::internal::DynTypedMatcher const&, clang::ast_matchers::internal::BoundNodesTreeBuilder*, clang::ast_matchers::internal::ASTMatchFinder::BindKind)
bool matchesChildOf(const DynTypedNode &Node, ASTContext &Ctx, const DynTypedMatcher &Matcher, BoundNodesTreeBuilder *Builder, BindKind Bind) override { if (ResultCache.size() > MaxMemoizationEntries) ResultCache.clear(); return memoizedMatchesRecursively(Node, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, %ebp movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 cmpq $0x2711, 0xc8(%rdi) # imm = 0x2711 jb 0x1044b6d movq 0xb0(%r13), %rdi callq 0x1045be4 leaq 0xa8(%r13), %rax xorl %ecx, %ecx movq %rcx, 0xb0(%r1...
/ASTMatchers/ASTMatchFinder.cpp
bool clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor::traverse<clang::TypeLoc>(clang::TypeLoc const&)
bool traverse(const T &Node) { static_assert(IsBaseType<T>::value, "traverse can only be instantiated with base type"); if (!match(Node)) return false; return baseTraverse(Node); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x70, %rsp movq %rsi, %r14 movq %rdi, %rbx movl 0x58(%rdi), %eax testl %eax, %eax je 0x1046720 cmpl 0x5c(%rbx), %eax jg 0x1046720 cmpl $0x1, 0x64(%rbx) leaq 0x18(%rsp), %rcx movabsq $0x100000000, %rax # imm = 0x100000000 jne 0x10466a2 movq 0x10(%rbx), %r...
/ASTMatchers/ASTMatchFinder.cpp
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchChildASTVisitor>::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 0x1058138 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 ...
/clang/AST/RecursiveASTVisitor.h
void clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor::match<clang::NestedNameSpecifier>(clang::NestedNameSpecifier const&)
void match(const T &Node) { matchDispatch(&Node); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, 0x8(%rsp) movq 0x40(%rdi), %rax movq 0x60(%rdi), %rcx movq 0x30(%rax), %r15 movq 0x38(%rax), %rdx movb 0x8(%rcx), %al movb %al, 0x7(%rsp) movq $0x0, 0x10(%rsp) movq %rdx, 0x28(%rsp) cmpq %rdx, %r15 je 0x105ccca movq %rdi, %r14...
/ASTMatchers/ASTMatchFinder.cpp
llvm::DenseMap<clang::ASTNodeKind, std::vector<unsigned short, std::allocator<unsigned short>>, llvm::DenseMapInfo<clang::ASTNodeKind, void>, llvm::detail::DenseMapPair<clang::ASTNodeKind, std::vector<unsigned short, std::allocator<unsigned short>>>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBu...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r15 movl 0x10(%rdi), %ebx movq (%rdi), %r14 leal -0x1(%rsi), %eax movl %eax, %ecx shrl %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x2, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x4, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x8, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x10,...
/llvm/ADT/DenseMap.h
clang::RecursiveASTVisitor<clang::ast_matchers::internal::(anonymous namespace)::MatchASTVisitor>::TraverseLambdaCapture(clang::LambdaExpr*, clang::LambdaCapture const*, clang::Expr*)
bool RecursiveASTVisitor<Derived>::TraverseLambdaCapture(LambdaExpr *LE, const LambdaCapture *C, Expr *Init) { if (LE->isInitCapture(C)) TRY_TO(TraverseDecl(C->getCapturedVar())); else TRY_TO(TraverseStmt...
pushq %r15 pushq %r14 pushq %rbx movq %rcx, %r15 movq %rdx, %rbx movq %rdi, %r14 movq %rsi, %rdi movq %rdx, %rsi callq 0x11b4b8c testb %al, %al je 0x1072a38 movq (%rbx), %rsi andq $-0x8, %rsi movq %r14, %rdi callq 0x105fbc8 testb %al, %al jne 0x1072a4b xorl %ebx, %ebx jmp 0x1072a4d xorl %ebx, %ebx movq %r14, %rdi movq ...
/clang/AST/RecursiveASTVisitor.h
void llvm::SmallVectorImpl<clang::ast_matchers::internal::BoundNodesMap>::append<clang::ast_matchers::internal::BoundNodesMap const*, void>(clang::ast_matchers::internal::BoundNodesMap const*, clang::ast_matchers::internal::BoundNodesMap const*)
void append(ItTy in_start, ItTy in_end) { this->assertSafeToAddRange(in_start, in_end); size_type NumInputs = std::distance(in_start, in_end); this->reserve(this->size() + NumInputs); this->uninitialized_copy(in_start, in_end, this->end()); this->set_size(this->size() + NumInputs); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rdx, %rax subq %rsi, %rax sarq $0x4, %rax movabsq $-0x5555555555555555, %r13 # imm = 0xAAAAAAAAAAAAAAAB imulq %rax, %r13 movl 0x8(%rdi), %eax movl 0xc(%rdi), %ecx leaq (%rax,%r13), %rsi cmpq %rcx, %rsi jbe 0x107...
/llvm/ADT/SmallVector.h
clang::ast_matchers::internal::(anonymous namespace)::IdDynMatcher::~IdDynMatcher()
IdDynMatcher(StringRef ID, IntrusiveRefCntPtr<DynMatcherInterface> InnerMatcher) : ID(ID), InnerMatcher(std::move(InnerMatcher)) {}
pushq %rbx movq %rdi, %rbx leaq 0xccfedb(%rip), %rax # 0x1d478d8 movq %rax, (%rdi) movq 0x30(%rdi), %rdi testq %rdi, %rdi je 0x1077a15 lock decl 0x8(%rdi) jne 0x1077a15 movq (%rdi), %rax callq *0x8(%rax) movq 0x10(%rbx), %rdi leaq 0x20(%rbx), %rax cmpq %rax, %rdi je 0x1077a2d movq (%rax), %rsi incq %rsi callq 0x4310...
/ASTMatchers/ASTMatchersInternal.cpp
clang::ast_matchers::internal::(anonymous namespace)::IdDynMatcher::dynMatches(clang::DynTypedNode const&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const
bool dynMatches(const DynTypedNode &DynNode, ASTMatchFinder *Finder, BoundNodesTreeBuilder *Builder) const override { bool Result = InnerMatcher->dynMatches(DynNode, Finder, Builder); if (Result) Builder->setBinding(ID, DynNode); return Result; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rcx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq 0x30(%rdi), %rdi movq (%rdi), %rax callq *0x10(%rax) movl %eax, %ebp testb %al, %al je 0x1077a6f movq 0x10(%r15), %rsi movq 0x18(%r15), %rdx movq %r14, %rdi movq %rbx, %rcx callq 0x1077a86 movl %ebp, %eax addq $0...
/ASTMatchers/ASTMatchersInternal.cpp
clang::APValue::StructData::StructData(unsigned int, unsigned int)
APValue::StructData::StructData(unsigned NumBases, unsigned NumFields) : Elts(new APValue[NumBases+NumFields]), NumBases(NumBases), NumFields(NumFields) {}
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movl %edx, %ebx movl %esi, %r15d movq %rdi, %r14 leal (%rbx,%r15), %r13d leaq (,%r13,8), %r12 addq %r13, %r12 leaq 0x8(,%r12,8), %rdi callq 0x4318b0 movq %rax, %rcx movq %r13, (%rax) addq $0x8, %rcx testl %r13d, %r13d je 0x1078e89 leaq -0x48(,%r12,8), %rax movabsq ...
/AST/APValue.cpp
clang::APValue::setLValue(clang::APValue::LValueBase, clang::CharUnits const&, clang::APValue::NoLValuePath, bool)
void APValue::setLValue(LValueBase B, const CharUnits &O, NoLValuePath, bool IsNullPtr) { assert(isLValue() && "Invalid accessor"); LV &LVal = *((LV *)(char *)&Data); LVal.Base = B; LVal.IsOnePastTheEnd = false; LVal.Offset = O; LVal.resizePath((unsigned)-1); LVal.IsNullPtr = IsNul...
pushq %r14 pushq %rbx pushq %rax movl %r8d, %ebx movq %rdi, %r14 movq %rsi, 0x8(%rdi) movq %rdx, 0x10(%rdi) movb 0x24(%rdi), %al andb $-0x3, %al movb %al, 0x24(%rdi) movq (%rcx), %rcx movq %rcx, 0x18(%rdi) movl 0x20(%rdi), %ecx cmpl $-0x1, %ecx je 0x107962f addl $-0x5, %ecx cmpl $-0x7, %ecx ja 0x1079627 movq 0x28(%r14)...
/AST/APValue.cpp
clang::APValue::getAsString[abi:cxx11](clang::ASTContext const&, clang::QualType) const
std::string APValue::getAsString(const ASTContext &Ctx, QualType Ty) const { std::string Result; llvm::raw_string_ostream Out(Result); printPretty(Out, Ctx, Ty); Out.flush(); return Result; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %r12 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) xorl %eax, %eax movq %rax, 0x8(%rdi) movb %al, 0x10(%rdi) leaq 0x8(%rsp), %r13 movl $0x0, 0x8(%r13) movb %al, 0x28(%r13) movl $0x1, 0x2c(%r13) x...
/AST/APValue.cpp
clang::APValue::setMemberPointerUninit(clang::ValueDecl const*, bool, unsigned int)
MutableArrayRef<const CXXRecordDecl *> APValue::setMemberPointerUninit(const ValueDecl *Member, bool IsDerivedMember, unsigned Size) { assert(isAbsent() && "Bad state change"); MemberPointerData *MPD = new ((void *)(char *)&Data) MemberPointerData; Kind = MemberPointer; MPD->Memb...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %ecx, %ebp movl %edx, %r15d movq %rdi, %rbx leaq 0x8(%rdi), %r14 movq $0x0, 0x8(%rdi) movl $0x0, 0x10(%rdi) movl $0xc, (%rdi) testq %rsi, %rsi je 0x107b53e movq (%rsi), %rax movq %rsi, %rdi callq *0x20(%rax) andq $-0x5, %rax movq (%r14), %rcx andl $0x3, %ecx j...
/AST/APValue.cpp
clang::ASTContext::CanonicalTemplateTemplateParm::Profile(llvm::FoldingSetNodeID&, clang::ASTContext const&, clang::TemplateTemplateParmDecl*)
void ASTContext::CanonicalTemplateTemplateParm::Profile(llvm::FoldingSetNodeID &ID, const ASTContext &C, TemplateTemplateParmDecl *Parm) { ID.AddInteger(Parm->getDepth()); ID.AddInteger(Parm->getPosition()); ID.AddBo...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %r15 movq %rsi, 0x8(%rsp) movq %rdi, %r14 movl $0xfffff, %esi # imm = 0xFFFFF andl 0x40(%rdx), %esi callq 0x497cb6 movl 0x40(%r15), %esi shrl $0x14, %esi movq %r14, %rdi callq 0x497cb6 movl 0x50(%r15), %esi shrl %esi ...
/AST/ASTContext.cpp
clang::ASTContext::InitBuiltinTypes(clang::TargetInfo const&, clang::TargetInfo const*)
void ASTContext::InitBuiltinTypes(const TargetInfo &Target, const TargetInfo *AuxTarget) { assert((!this->Target || this->Target == &Target) && "Incorrect target reinitialization"); assert(VoidTy.isNull() && "Context reinitialized?"); this->Target = &Target; this->Aux...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq %rsi, 0x4348(%rdi) movq %rdx, 0x4350(%rdi) callq 0x107d168 movq 0x4338(%rbx), %rdi movq %rax, 0x4338(%rbx) testq %rdi, %rdi je 0x1083565 movq (%rdi), %rax callq *0x8(%rax) movq 0x830(%rbx), %rax movq 0xc0(%rax), ...
/AST/ASTContext.cpp
clang::ASTContext::getFromTargetType(unsigned int) const
CanQualType ASTContext::getFromTargetType(unsigned Type) const { switch (Type) { case TargetInfo::NoInt: return {}; case TargetInfo::SignedChar: return SignedCharTy; case TargetInfo::UnsignedChar: return UnsignedCharTy; case TargetInfo::SignedShort: return ShortTy; case TargetInfo::UnsignedShort: return Uns...
movl %esi, %eax leaq 0x5ad017(%rip), %rcx # 0x1632f60 movslq (%rcx,%rax,4), %rdx addq %rcx, %rdx jmpq *%rdx movq 0x4830(%rdi), %rax retq movq 0x4868(%rdi), %rax retq movq 0x4850(%rdi), %rax retq movq 0x4860(%rdi), %rax retq movq 0x4838(%rdi), %rax retq movq 0x4848(%rdi), %rax retq movq 0x4840(%rdi), %rax retq movq 0...
/AST/ASTContext.cpp
clang::ASTContext::getTypeInfoDataSizeInChars(clang::QualType) const
TypeInfoChars ASTContext::getTypeInfoDataSizeInChars(QualType T) const { TypeInfoChars Info = getTypeInfoInChars(T); // In C++, objects can sometimes be allocated into the tail padding // of a base-class subobject. We decide whether that's possible // during class layout, so here we can just trust the layout ...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx andq $-0x10, %r15 movq (%r15), %rdx callq 0x1087a28 movq 0x830(%r14), %rax testb $0x4, 0x1(%rax) jne 0x10879ce movq %rbx, %rax popq %rbx popq %r14 popq %r15 retq movq (%r15), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %r15 te...
/AST/ASTContext.cpp
clang::ASTContext::getDependentSizedArrayType(clang::QualType, clang::Expr*, clang::ArraySizeModifier, unsigned int, clang::SourceRange) const
QualType ASTContext::getDependentSizedArrayType(QualType elementType, Expr *numElements, ArraySizeModifier ASM, unsigned elementTypeQuals, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, 0x18(%rsp) movq %rdx, %r13 movq %rdi, %rbx movq %rsi, %rax andq $-0x10, %rax movq 0x8(%rax), %rax movq %rax, %rbp orq %rsi, %rbp movq %rax, %r12 andq $-0x10, %r12 andl $0x7, %ebp testb $0x8, %al je 0x108b988 orq 0x18(%r12), %rb...
/AST/ASTContext.cpp
clang::ASTContext::getElaboratedType(clang::ElaboratedTypeKeyword, clang::NestedNameSpecifier*, clang::QualType, clang::TagDecl*) const
QualType ASTContext::getElaboratedType(ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS, QualType NamedType, TagDecl *OwnedTagDecl) const { llvm::FoldingSetNodeID ID; ElaboratedType::Profile(I...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %rdx, %r14 movl %esi, %ebx movq %rdi, %r15 leaq 0x38(%rsp), %rbp movq %rbp, -0x10(%rbp) movabsq $0x2000000000, %rax # imm = 0x2000000000 movq %rax, -0x8(%rbp) leaq 0x28(%rsp), %r13 movq %r13, %rdi movq %rcx, (%rsp) movq %r8, 0x2...
/AST/ASTContext.cpp
clang::ASTContext::applyObjCProtocolQualifiers(clang::QualType, llvm::ArrayRef<clang::ObjCProtocolDecl*>, bool&, bool) const
QualType ASTContext::applyObjCProtocolQualifiers(QualType type, ArrayRef<ObjCProtocolDecl *> protocols, bool &hasError, bool allowOnPointerType) const { hasError = false; if (const auto *objT = dyn_cast<ObjCTypeParamType>(type.getTypePtr())) { return getObjCTypeParamType(obj...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rdi, %rbx movb $0x0, (%r8) movq %rsi, %rbp andq $-0x10, %rbp movq (%rbp), %rdi movb 0x10(%rdi), %al cmpb $0x23, %al setne %cl testq %rdi, %rdi sete %dl orb %cl, %dl je 0x109ddbd testq %rdi, %rdi sete...
/AST/ASTContext.cpp
clang::DeducedTemplateSpecializationType::DeducedTemplateSpecializationType(clang::TemplateName, clang::QualType, bool)
DeducedTemplateSpecializationType(TemplateName Template, QualType DeducedAsType, bool IsDeducedAsDependent) : DeducedType(DeducedTemplateSpecialization, DeducedAsType, toTypeDependence(Template.getDependence()) | ...
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movl %ecx, %ebp movq %rdx, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %rdi movq %rsi, (%rdi) callq 0x12fdf68 cmpq $0xf, %r14 ja 0x109f44a xorl %ecx, %ecx movq %rbx, %rdx jmp 0x109f464 movq %r14, %rcx andq $-0x10, %rcx movl %r14d, %edx andl $0x7, %edx orq 0x8(%rcx), %rdx movq ...
/clang/AST/Type.h
clang::ASTContext::hasSimilarType(clang::QualType, clang::QualType)
bool ASTContext::hasSimilarType(QualType T1, QualType T2) { while (true) { Qualifiers Quals; T1 = getUnqualifiedArrayType(T1, Quals); T2 = getUnqualifiedArrayType(T2, Quals); if (hasSameType(T1, T2)) return true; if (!UnwrapSimilarTypes(T1, T2)) return false; } }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %rbp movq %rdi, %rbx leaq 0x10(%rsp), %r14 leaq 0x8(%rsp), %r15 movq %rsp, %r12 movq $0x0, 0x10(%rsp) movq %rbx, %rdi movq %r14, %rdx callq 0x10890dc movq %rax, %r13 movq %rax, 0x8(%rsp) movq %rbx, %rdi movq %rbp, %rsi movq %r...
/AST/ASTContext.cpp
clang::ASTContext::areLaxCompatibleSveTypes(clang::QualType, clang::QualType)
bool ASTContext::areLaxCompatibleSveTypes(QualType FirstType, QualType SecondType) { auto IsLaxCompatible = [this](QualType FirstType, QualType SecondType) { const auto *BT = FirstType->getAs<BuiltinType>(); if (!BT) return false; const auto *VecTy = Second...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 callq 0x10a4a88 testb %al, %al je 0x10a4a75 movb $0x1, %al popq %rbx popq %r14 popq %r15 retq movq %r15, %rdi movq %r14, %rsi movq %rbx, %rdx popq %rbx popq %r14 popq %r15 jmp 0x10a4a88
/AST/ASTContext.cpp
clang::ASTContext::areCompatibleRVVTypes(clang::QualType, clang::QualType)
bool ASTContext::areCompatibleRVVTypes(QualType FirstType, QualType SecondType) { assert( ((FirstType->isRVVSizelessBuiltinType() && SecondType->isVectorType()) || (FirstType->isVectorType() && SecondType->isRVVSizelessBuiltinType())) && "Expected RVV builtin ...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 callq 0x10a4cd2 testb %al, %al je 0x10a4cbf movb $0x1, %al popq %rbx popq %r14 popq %r15 retq movq %r15, %rdi movq %r14, %rsi movq %rbx, %rdx popq %rbx popq %r14 popq %r15 jmp 0x10a4cd2
/AST/ASTContext.cpp
clang::ASTContext::areCommonBaseCompatible(clang::ObjCObjectPointerType const*, clang::ObjCObjectPointerType const*)
QualType ASTContext::areCommonBaseCompatible( const ObjCObjectPointerType *Lptr, const ObjCObjectPointerType *Rptr) { const ObjCObjectType *LHS = Lptr->getObjectType(); const ObjCObjectType *RHS = Rptr->getObjectType(); const ObjCInterfaceDecl* LDecl = LHS->getInterface(); const ObjCInterf...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rdx, %rbx movq %rdi, %r14 movq %rsi, 0x20(%rsp) movq 0x20(%rsi), %rax andq $-0x10, %rax movq (%rax), %r13 movb 0x10(%r13), %al addb $-0x23, %al cmpb $-0x3, %al ja 0x10a5e94 movq %r13, %rdi callq 0x131cf66 movq %rax, %r13 movq 0x20(...
/AST/ASTContext.cpp
clang::ASTContext::GetBuiltinType(unsigned int, clang::ASTContext::GetBuiltinTypeError&, unsigned int*) const
QualType ASTContext::GetBuiltinType(unsigned Id, GetBuiltinTypeError &Error, unsigned *IntegerConstantArgs) const { const char *TypeStr = BuiltinInfo.getTypeString(Id); if (TypeStr[0] == '\0') { Error = GE_Missing_type; return {}; } ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xe8, %rsp movq %rcx, %r12 movq %rdx, %r15 movl %esi, %ebp movq %rdi, %rbx movq 0x4390(%rdi), %rdi callq 0x13fd428 movq 0x10(%rax), %rax movq %rax, 0x8(%rsp) cmpb $0x0, (%rax) je 0x10a9828 leaq 0x30(%rsp), %r14 movq %r14, -0x10(%r14) movabsq $0x800...
/AST/ASTContext.cpp
llvm::MapVector<clang::NamedDecl const*, unsigned int, llvm::DenseMap<clang::NamedDecl const*, unsigned int, llvm::DenseMapInfo<clang::NamedDecl const*, void>, llvm::detail::DenseMapPair<clang::NamedDecl const*, unsigned int>>, llvm::SmallVector<std::pair<clang::NamedDecl const*, unsigned int>, 0u>>::operator[](clang::...
ValueT &operator[](const KeyT &Key) { std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(Key, 0); std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair); auto &I = Result.first->second; if (Result.second) { Vector.push_back(std::make_pair(Key, ValueT())); I =...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx movq (%rsi), %rax leaq 0x8(%rsp), %rcx movq %rax, -0x8(%rcx) movl $0x0, (%rcx) leaq 0x10(%rsp), %r15 movq %rsp, %rdx movq %r15, %rdi movq %rbx, %rsi callq 0x10b7dfa movq (%r15), %r12 cmpb $0x0, 0x10(%r15) je 0x10aa5f6 leaq 0x18...
/llvm/ADT/MapVector.h
clang::ASTContext::hasSameExpr(clang::Expr const*, clang::Expr const*) const
bool ASTContext::hasSameExpr(const Expr *X, const Expr *Y) const { if (X == Y) return true; if (!X || !Y) return false; llvm::FoldingSetNodeID IDX, IDY; X->Profile(IDX, *this, /*Canonical=*/true); Y->Profile(IDY, *this, /*Canonical=*/true); return IDX == IDY; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 cmpq %rdx, %rsi je 0x10aaf2e movq %rdx, %r14 testq %rsi, %rsi sete %al testq %rdx, %rdx sete %cl orb %al, %cl jne 0x10aaf32 movq %rdi, %rbx leaq 0x18(%rsp), %r13 movq %r13, -0x10(%r13) movabsq $0x2000000000, %ra...
/AST/ASTContext.cpp
unwrapSugar(clang::SplitQualType&, clang::Qualifiers&)
static auto unwrapSugar(SplitQualType &T, Qualifiers &QTotal) { SmallVector<SplitQualType, 8> R; while (true) { QTotal.addConsistentQualifiers(T.Quals); QualType NT = T.Ty->getLocallyUnqualifiedSingleStepDesugaredType(); if (NT == QualType(T.Ty, 0)) break; R.push_back(T); T = NT.split(); ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 leaq 0x10(%rdi), %rax movq %rax, (%rdi) movabsq $0x800000000, %rax # imm = 0x800000000 movq %rax, 0x8(%rdi) movq 0x8(%rsi), %rax orq %rax, (%rdx) movq (%rsi), %rdi callq 0x131d2d4 movq %rax, %r12 movq (%r14), %rs...
/AST/ASTContext.cpp
clang::Qualifiers::removeCommonQualifiers(clang::Qualifiers&, clang::Qualifiers&)
void setPointerAuth(PointerAuthQualifier Q) { Mask = (Mask & ~PtrAuthMask) | (uint64_t(Q.getAsOpaqueValue()) << PtrAuthShift); }
movq (%rdi), %rcx movq %rcx, %rax shrq $0x20, %rax jne 0x10acc07 movq (%rsi), %r8 xorl %eax, %eax cmpq $0x8, %rcx setb %dl cmpq $0x8, %r8 setb %r9b andb %dl, %r9b cmpb $0x1, %r9b jne 0x10acc25 andq %rcx, %r8 movq %r8, %rdx notq %rdx xorq %r8, %rcx movq %r8, %rax jmp 0x10accde movq %rcx, %rax notq %rax movabsq $0xffc000...
/clang/AST/Type.h
llvm::detail::DenseMapPair<clang::QualType, unsigned int>* llvm::DenseMapBase<llvm::DenseMap<clang::QualType, unsigned int, llvm::DenseMapInfo<clang::QualType, void>, llvm::detail::DenseMapPair<clang::QualType, unsigned int>>, clang::QualType, unsigned int, llvm::DenseMapInfo<clang::QualType, void>, llvm::detail::Dense...
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 0x10af208 notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0...
/llvm/ADT/DenseMap.h
clang::QualType getCommonArrayElementType<clang::ConstantArrayType>(clang::ASTContext&, clang::ConstantArrayType const*, clang::Qualifiers&, clang::ConstantArrayType const*, clang::Qualifiers&)
static QualType getCommonArrayElementType(ASTContext &Ctx, const T *X, Qualifiers &QX, const T *Y, Qualifiers &QY) { QualType EX = X->getElementType(), EY = Y->getElementType(); QualType R = Ctx.getCommonSugaredType(EX, EY, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %rbx movq %rcx, %r15 movq %rdx, %r13 movq %rsi, %rbp movq %rcx, %rdx movl $0x1, %ecx callq 0x10ab19c movq %rax, %r14 andq $-0x10, %rax movq 0x8(%rax), %r12 testb $0x8, %r12b jne 0x10af6e7 xorl %eax, %eax jmp 0x10af6f2 movq %r12, %rax...
/AST/ASTContext.cpp
llvm::DenseMap<clang::Module*, clang::ASTContext::PerModuleInitializers*, llvm::DenseMapInfo<clang::Module*, void>, llvm::detail::DenseMapPair<clang::Module*, clang::ASTContext::PerModuleInitializers*>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBu...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r15 movl 0x10(%rdi), %ebx movq (%rdi), %r14 leal -0x1(%rsi), %eax movl %eax, %ecx shrl %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x2, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x4, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x8, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x10,...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<clang::Decl const*, llvm::SmallVector<clang::Attr*, 4u>*, llvm::DenseMapInfo<clang::Decl const*, void>, llvm::detail::DenseMapPair<clang::Decl const*, llvm::SmallVector<clang::Attr*, 4u>*>>, clang::Decl const*, llvm::SmallVector<clang::Attr*, 4u>*, llvm::DenseMapInfo<clang::Decl const*...
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 0x10b1f9d movq (%r15), %rax movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx ne...
/llvm/ADT/DenseMap.h
llvm::DenseMap<clang::UsingShadowDecl*, clang::UsingShadowDecl*, llvm::DenseMapInfo<clang::UsingShadowDecl*, void>, llvm::detail::DenseMapPair<clang::UsingShadowDecl*, clang::UsingShadowDecl*>>::grow(unsigned int)
void grow(unsigned AtLeast) { unsigned OldNumBuckets = NumBuckets; BucketT *OldBuckets = Buckets; allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1)))); assert(Buckets); if (!OldBuckets) { this->BaseT::initEmpty(); return; } this->moveFromOldBu...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r15 movl 0x10(%rdi), %ebx movq (%rdi), %r14 leal -0x1(%rsi), %eax movl %eax, %ecx shrl %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x2, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x4, %ecx orl %eax, %ecx movl %ecx, %eax shrl $0x8, %eax orl %ecx, %eax movl %eax, %ecx shrl $0x10,...
/llvm/ADT/DenseMap.h
llvm::detail::DenseMapPair<clang::ObjCMethodDecl const*, clang::ObjCMethodDecl const*>* llvm::DenseMapBase<llvm::DenseMap<clang::ObjCMethodDecl const*, clang::ObjCMethodDecl const*, llvm::DenseMapInfo<clang::ObjCMethodDecl const*, void>, llvm::detail::DenseMapPair<clang::ObjCMethodDecl const*, clang::ObjCMethodDecl con...
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 0x10b4533 notl %ecx addl %esi, %ecx subl 0xc(%rbx), %ecx movl %esi, %edx shrl $0x3, %edx cmpl %edx, %ecx jbe 0...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<clang::ObjCMethodDecl const*, clang::ObjCMethodDecl const*, llvm::DenseMapInfo<clang::ObjCMethodDecl const*, void>, llvm::detail::DenseMapPair<clang::ObjCMethodDecl const*, clang::ObjCMethodDecl const*>>, clang::ObjCMethodDecl const*, clang::ObjCMethodDecl const*, llvm::DenseMapInfo<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 0x10b4779 movq (%r15), %rax movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx ne...
/llvm/ADT/DenseMap.h
llvm::FoldingSet<clang::TypedefType>::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 %rbx movq %rdx, %rbx leaq -0x18(%rsi), %rdi testq %rsi, %rsi cmoveq %rsi, %rdi movq %rdx, %rsi callq 0x10b5ca4 movq (%rbx), %rdi movl 0x8(%rbx), %eax leaq (%rdi,%rax,4), %rsi popq %rbx jmp 0x5acf43 nop
/llvm/ADT/FoldingSet.h
clang::TemplateTypeParmType::Profile(llvm::FoldingSetNodeID&)
void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl()); }
movq %rsi, %rax movq 0x8(%rdi), %r8 movq %r8, %rcx andq $-0x10, %rcx movq (%rcx), %rcx movq 0x8(%rcx), %rcx andq $-0x10, %rcx movq (%rcx), %rcx movl 0x20(%rcx), %esi movl %esi, %edx movzwl %si, %ecx andl $0x7fff, %esi # imm = 0x7FFF shrl $0x10, %edx cmpq %rdi, %r8 je 0x10b6078 movq 0x20(%rdi), %r8 jmp 0x10b60...
/clang/AST/Type.h
llvm::FoldingSet<clang::ParenType>::NodeEquals(llvm::FoldingSetBase const*, llvm::FoldingSetBase::Node*, llvm::FoldingSetNodeID const&, unsigned int, llvm::FoldingSetNodeID&)
static bool NodeEquals(const FoldingSetBase *, Node *N, const FoldingSetNodeID &ID, unsigned IDHash, FoldingSetNodeID &TempID) { T *TN = static_cast<T *>(N); return FoldingSetTrait<T>::Equals(*TN, ID, IDHash, TempID); }
pushq %r15 pushq %r14 pushq %rbx movq %r8, %rbx movq %rdx, %r14 leaq -0x18(%rsi), %rax testq %rsi, %rsi cmoveq %rsi, %rax movq 0x20(%rax), %r15 movq %r8, %rdi movl %r15d, %esi callq 0x497cb6 shrq $0x20, %r15 movq %rbx, %rdi movl %r15d, %esi callq 0x497cb6 movq %rbx, %rdi movq %r14, %rsi popq %rbx popq %r14 popq %r15 jm...
/llvm/ADT/FoldingSet.h
(anonymous namespace)::TemplateDiff::PrintAPSInt(llvm::APSInt const&, clang::Expr*, bool, clang::QualType, bool)
void PrintAPSInt(const llvm::APSInt &Val, Expr *E, bool Valid, QualType IntType, bool PrintType) { Bold(); if (Valid) { if (HasExtraInfo(E)) { PrintExpr(E); Unbold(); OS << " aka "; Bold(); } if (PrintType) { Unbold(); OS << "(...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movl %r9d, %ebp movq %r8, %r15 movl %ecx, %r13d movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbx movq %r8, 0x10(%rsp) callq 0x10bd934 testl %r13d, %r13d je 0x10bdb6b testq %r12, %r12 je 0x10bda8c movq %r12, %rdi callq 0x115d4f4 movzbl (%r...
/AST/ASTDiagnostic.cpp
clang::ASTNodeTraverser<clang::JSONDumper, clang::JSONNodeDumper>::VisitLambdaExpr(clang::LambdaExpr const*)
void VisitLambdaExpr(const LambdaExpr *Node) { if (Traversal == TK_IgnoreUnlessSpelledInSource) { for (unsigned I = 0, N = Node->capture_size(); I != N; ++I) { const auto *C = Node->capture_begin() + I; if (!C->isExplicit()) continue; if (Node->isInitCapture(C)) Vis...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx cmpl $0x1, 0x4(%rdi) jne 0x10c04e2 movzwl 0x4(%r14), %r13d testq %r13, %r13 je 0x10c046d leaq 0x20(%r14), %rbp leaq 0x8(%rbx), %rax movq %rax, (%rsp) shll $0x4, %r13d xorl %r15d, %r15d movq %r14, %rdi callq 0x11...
/clang/AST/ASTNodeTraverser.h
void clang::NodeStreamer::AddChild<clang::ASTNodeTraverser<clang::JSONDumper, clang::JSONNodeDumper>::Visit(clang::concepts::Requirement const*)::'lambda'()>(llvm::StringRef, clang::ASTNodeTraverser<clang::JSONDumper, clang::JSONNodeDumper>::Visit(clang::concepts::Requirement const*)::'lambda'())
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 %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x90, %rsp movq %rdi, %rbx movq %rcx, (%rsp) movq %r8, 0x8(%rsp) cmpb $0x1, 0x1(%rdi) jne 0x10c20e1 movb $0x0, 0x1(%rbx) leaq 0x418(%rbx), %r14 movq %r14, %rdi callq 0x1545e4e movq %rsp, %rdi callq 0x10c228e movl 0x10(%rbx), %eax testl %eax, %eax je 0x10c20d0...
/clang/AST/JSONNodeDumper.h
void clang::JSONDumper::writeTemplateDeclSpecialization<clang::VarTemplateSpecializationDecl>(clang::VarTemplateSpecializationDecl const*, bool, bool)
void writeTemplateDeclSpecialization(const SpecializationDecl *SD, bool DumpExplicitInst, bool DumpRefOnly) { bool DumpedAny = false; for (const auto *RedeclWithBadType : SD->redecls()) { // FIXME: The redecls() range sometimes ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %ecx, 0xc(%rsp) movl %edx, 0x8(%rsp) movq %rsi, %r13 movq %rdi, %r14 testq %rsi, %rsi je 0x10c543f leaq 0x8(%r14), %rax movq %rax, 0x10(%rsp) xorl %r15d, %r15d xorl %r12d, %r12d movq %r13, %rbx movl 0x1c(%rbx), %eax andl $0x7e, %eax...
/clang/AST/JSONNodeDumper.h
clang::OMPDeclareSimdDeclAttr::printPrettyPragma(llvm::raw_ostream&, clang::PrintingPolicy const&) const
void OMPDeclareSimdDeclAttr::printPrettyPragma( raw_ostream &OS, const PrintingPolicy &Policy) const { if (getBranchState() != BS_Undefined) OS << ' ' << ConvertBranchStateTyToStr(getBranchState()); if (auto *E = getSimdlen()) { OS << " simdlen("; E->printPretty(OS, nullptr, Policy); OS << ")"; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 cmpl $0x0, 0x24(%rdi) je 0x10d1d0c movq 0x20(%r14), %rax cmpq 0x18(%r14), %rax jae 0x10d1ce8 leaq 0x1(%rax), %rcx movq %rcx, 0x20(%r14) movb $0x20, (%rax) movq %r14, %rdi jmp 0x10d1cf8 movq...
/AST/AttrImpl.cpp
clang::CodeModelAttr::ConvertStrToModel(llvm::StringRef, llvm::CodeModel::Model&)
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 0x10df24d cmpq $0x6, %rsi jne 0x10df260 movl $0x6d726f6e, %eax # imm = 0x6D726F6E xorl (%rdi), %eax movzwl 0x4(%rdi), %ecx xorl $0x6c61, %ecx # imm = 0x6C61 orl %eax, %ecx je 0x10df263 movl $0x6964656d, %eax # imm = 0x6964656D xorl (%rdi), %eax movzwl 0x4(%rdi), %ecx xorl $0x6d7...
/llvm/ADT/StringRef.h
bool llvm::DenseMapBase<llvm::DenseMap<char, clang::ComparisonCategoryInfo, llvm::DenseMapInfo<char, void>, llvm::detail::DenseMapPair<char, clang::ComparisonCategoryInfo>>, char, clang::ComparisonCategoryInfo, llvm::DenseMapInfo<char, void>, llvm::detail::DenseMapPair<char, clang::ComparisonCategoryInfo>>::LookupBucke...
unsigned getNumBuckets() const { return NumBuckets; }
movl 0x10(%rdi), %ecx testl %ecx, %ecx je 0x1106456 pushq %rbx movq (%rdi), %rdi movsbl (%rsi), %r8d leal (%r8,%r8,8), %eax leal (%r8,%rax,4), %r9d decl %ecx andl %ecx, %r9d movq %r9, %rax shlq $0x7, %rax leaq (%rdi,%rax), %rsi movb (%rdi,%rax), %bl movb $0x1, %al cmpb %bl, %r8b jne 0x110645e popq %rbx jmp 0x110645a xo...
/llvm/ADT/DenseMap.h
clang::computeDependence(clang::CXXTypeidExpr*)
constexpr intptr_t asInt() const { intptr_t R = 0; std::memcpy(&R, Data, sizeof(R)); return R; }
movq 0x10(%rdi), %rcx movq %rcx, %rax andq $-0x8, %rax testb $0x4, %cl jne 0x1107a3e movzwl 0x1(%rax), %eax shrl $0x5, %eax jmp 0x1107a5a movq (%rax), %rax andq $-0x10, %rax movq (%rax), %rax movb 0x11(%rax), %al movl %eax, %ecx shlb $0x5, %cl sarb $0x7, %cl andb $0xc, %cl andb $0x13, %al orb %cl, %al andb $0x1b, %al r...
/llvm/ADT/PointerIntPair.h
clang::computeDependence(clang::GenericSelectionExpr*, bool)
bool isExprPredicate() const { return IsExprPredicate; }
movl 0x10(%rdi), %ecx movl %ecx, %edx shrl $0x1e, %edx andl $0x1, %edx movq %rcx, %rax andq $0x7fff, %rax # imm = 0x7FFF je 0x110851b leaq (%rdi,%rdx,8), %r8 addq $0x20, %r8 leal (,%rax,8), %r9d xorl %r10d, %r10d movq (%r8,%r10), %r11 movzwl 0x1(%r11), %r11d shrl $0x5, %r11d andb $0x10, %r11b orb %r11b, %sil ...
/clang/AST/Expr.h
clang::getPrimaryMergedDecl(clang::Decl*)
Decl *clang::getPrimaryMergedDecl(Decl *D) { return D->getASTContext().getPrimaryMergedDecl(D); }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx callq 0x1118f92 leaq 0x638(%rax), %rdi leaq 0x8(%rsp), %rsi movq %rbx, (%rsi) movq %rsp, %rdx callq 0x9bc60c testb %al, %al je 0x110ca03 movq (%rsp), %rax movq 0x8(%rax), %rax jmp 0x110ca05 xorl %eax, %eax testq %rax, %rax cmovneq %rax, %rbx movq %rbx, %rax addq $0x10, %rsp p...
/AST/Decl.cpp
clang::TranslationUnitDecl::TranslationUnitDecl(clang::ASTContext&)
TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx) : Decl(TranslationUnit, nullptr, SourceLocation()), DeclContext(TranslationUnit), redeclarable_base(ctx), Ctx(ctx) {}
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx callq 0xa7dfde leaq 0x28(%r14), %rdi xorl %esi, %esi callq 0x111e850 movq %rbx, %rax orq $0x2, %rax movq %rax, 0x48(%r14) movq %r14, 0x50(%r14) leaq 0xc40856(%rip), %rax # 0x1d4d3e8 addq $0x10, %rax movq ...
/AST/Decl.cpp
clang::LinkageComputer::mergeTemplateLV(clang::LinkageInfo&, clang::ClassTemplateSpecializationDecl const*, clang::LVComputationKind)
void LinkageComputer::mergeTemplateLV( LinkageInfo &LV, const ClassTemplateSpecializationDecl *spec, LVComputationKind computation) { bool considerVisibility = shouldConsiderTemplateVisibility(spec, computation); // Merge information from the template parameters, but ignore // visibility if we're only co...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %ecx, %ebx movq %rdx, %r15 movq %rsi, 0x10(%rsp) movq %rdi, %r12 movq %rdx, %rdi callq 0x1125ae0 addl $-0x2, %eax cmpl $0x3, %eax jae 0x110d06e movb 0xb4(%r15), %al andb $0x7, %al cmpb $0x2, %al sete %al movl %ebx, %ebp andl $0x2, %...
/AST/Decl.cpp
clang::FunctionDecl::getNameForDiagnostic(llvm::raw_ostream&, clang::PrintingPolicy const&, bool) const
void FunctionDecl::getNameForDiagnostic( raw_ostream &OS, const PrintingPolicy &Policy, bool Qualified) const { NamedDecl::getNameForDiagnostic(OS, Policy, Qualified); const TemplateArgumentList *TemplateArgs = getTemplateSpecializationArgs(); if (TemplateArgs) printTemplateArgumentList(OS, TemplateArgs->...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 testl %ecx, %ecx je 0x1111848 movq %r15, %rdi movq %r14, %rsi movq %rbx, %rdx callq 0x110f04a jmp 0x1111857 movq (%r15), %rax movq %r15, %rdi movq %r14, %rsi movq %rbx, %rdx callq *0x58(%rax) movq 0x98(%r15), %rax movl %eax, %ecx andl $0x6...
/AST/Decl.cpp
clang::DeclarationNameTable::getCXXDestructorName(clang::CanQual<clang::Type>)
DeclarationName DeclarationNameTable::getCXXDestructorName(CanQualType Ty) { // The type of destructors is unqualified. Ty = Ty.getUnqualifiedType(); // Do we already have this C++ destructor name ? llvm::FoldingSetNodeID ID; ID.AddPointer(Ty.getAsOpaquePtr()); void *InsertPos = nullptr; if (auto *Name = ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rdi, %r14 andq $-0x10, %rsi movq (%rsi), %r15 movq %r15, %rbx andq $-0x10, %rbx leaq 0x18(%rsp), %rbp movq %rbp, -0x10(%rbp) movabsq $0x2000000000, %rax # imm = 0x2000000000 movq %rax, -0x8(%rbp) leaq 0x8(%rsp), %r13 movq %r13,...
/AST/DeclarationName.cpp
clang::DeclarationNameTable::getCXXSpecialName(clang::DeclarationName::NameKind, clang::CanQual<clang::Type>)
DeclarationName DeclarationNameTable::getCXXSpecialName(DeclarationName::NameKind Kind, CanQualType Ty) { switch (Kind) { case DeclarationName::CXXConstructorName: return getCXXConstructorName(Ty); case DeclarationName::CXXDestructorName: return getCXXDestructorName...
cmpl $0x5, %esi je 0x11188d2 cmpl $0x4, %esi jne 0x11188da movq %rdx, %rsi jmp 0x1118704 movq %rdx, %rsi jmp 0x11187e8 movq %rdx, %rsi jmp 0x1118620
/AST/DeclarationName.cpp
clang::DeclarationNameInfo::isInstantiationDependent() const
StoredNameKind getStoredNameKind() const { return static_cast<StoredNameKind>(Ptr & PtrMask); }
movq (%rdi), %rax movl %eax, %ecx andl $0x7, %ecx cmpl $0x7, %ecx jne 0x1118a84 movq %rax, %rcx andq $-0x8, %rcx movl (%rcx), %edx cmpl $0x3, %edx movl $0x3, %ecx cmovbl %edx, %ecx orl $0x8, %ecx addl $-0x3, %ecx cmpl $0x2, %ecx ja 0x1118ab2 movq 0x10(%rdi), %rcx testq %rcx, %rcx jne 0x1118aa0 andq $-0x8, %rax addq $0x...
/clang/AST/DeclarationName.h
clang::DeclarationNameInfo::getAsString[abi:cxx11]() const
std::string DeclarationNameInfo::getAsString() const { std::string Result; llvm::raw_string_ostream OS(Result); OS << *this; return Result; }
pushq %r15 pushq %r14 pushq %rbx subq $0x50, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) xorl %eax, %eax movq %rax, 0x8(%rdi) movb %al, 0x10(%rdi) leaq 0x18(%rsp), %r15 movl $0x0, 0x8(%r15) movb %al, 0x28(%r15) movl $0x1, 0x2c(%r15) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%r15) movq %rax,...
/AST/DeclarationName.cpp
clang::Decl::castToDeclContext(clang::Decl const*)
DeclContext *Decl::castToDeclContext(const Decl *D) { Decl::Kind DK = D->getKind(); switch(DK) { #define DECL(NAME, BASE) #define DECL_CONTEXT(NAME) \ case Decl::NAME: \ return static_cast<NAME##Dec...
movq %rdi, %rax movl 0x1c(%rdi), %ecx andl $0x7f, %ecx leaq 0x525f06(%rip), %rdx # 0x16442e0 addq (%rdx,%rcx,8), %rax retq nop
/AST/DeclBase.cpp
llvm::SmallDenseMap<clang::DeclarationName, clang::StoredDeclsList, 4u, llvm::DenseMapInfo<clang::DeclarationName, void>, llvm::detail::DenseMapPair<clang::DeclarationName, clang::StoredDeclsList>>::grow(unsigned int)
void grow(unsigned AtLeast) { if (AtLeast > InlineBuckets) AtLeast = std::max<unsigned>(64, NextPowerOf2(AtLeast-1)); if (Small) { // First move the inline buckets into a temporary storage. AlignedCharArrayUnion<BucketT[InlineBuckets]> TmpStorage; BucketT *TmpBegin = reinterpret_cast<Bu...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movl %esi, %ebp movq %rdi, %rbx cmpl $0x5, %esi jb 0x1120c9d decl %ebp movl %ebp, %eax shrl %eax orl %ebp, %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 %...
/llvm/ADT/DenseMap.h
clang::CXXRecordDecl::setBases(clang::CXXBaseSpecifier const* const*, unsigned int)
void CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases) { ASTContext &C = getASTContext(); if (!data().Bases.isOffset() && data().NumBases > 0) C.Deallocate(data().getBases()); if (NumBases) { if (!C.getLangOpts().CPlusPlus17) { // C++ [dcl.in...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a8, %rsp # imm = 0x1A8 movl %edx, %ebp movq %rsi, %r13 movq %rdi, %rbx callq 0x1118f92 movq %rax, (%rsp) movq 0x68(%rbx), %rsi leaq 0x60(%rsi), %rdi callq 0x51c232 movq 0x80(%rbx), %rax testb $0x1, 0x18(%rax) jne 0x11213eb movq 0x68(%...
/AST/DeclCXX.cpp
hasPureVirtualFinalOverrider(clang::CXXRecordDecl const&, clang::CXXFinalOverriderMap const*)
static bool hasPureVirtualFinalOverrider( const CXXRecordDecl &RD, const CXXFinalOverriderMap *FinalOverriders) { if (!FinalOverriders) { CXXFinalOverriderMap MyFinalOverriders; RD.getFinalOverriders(MyFinalOverriders); return hasPureVirtualFinalOverrider(RD, &MyFinalOverriders); } for (const CXX...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp testq %rsi, %rsi je 0x112618a movl 0x20(%rsi), %ecx testq %rcx, %rcx je 0x1126186 movq 0x18(%rsi), %rax leaq (%rcx,%rcx,2), %rcx shlq $0x4, %rcx addq %rax, %rcx movl 0x28(%rax), %esi testq %rsi, %rsi je 0x112617d movq 0x20(%rax), %rdx imulq $0x78, %rsi, %rsi xorl %edi, ...
/AST/DeclCXX.cpp
clang::UsingDecl::getSourceRange() const
SourceRange UsingDecl::getSourceRange() const { SourceLocation Begin = isAccessDeclaration() ? getQualifierLoc().getBeginLoc() : UsingLocation; return SourceRange(Begin, getNameInfo().getEndLoc()); }
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %r14 movl 0x38(%rdi), %ebx testl %ebx, %ebx jne 0x11287fc movups 0x40(%r14), %xmm0 movq %rsp, %rdi movaps %xmm0, (%rdi) callq 0x1290a5e movq %rax, %rbx movq 0x28(%r14), %rax movl 0x18(%r14), %ecx movq 0x50(%r14), %rdx movq %rsp, %rdi movq %rax, (%rdi) movl %ecx, 0x8(%rd...
/AST/DeclCXX.cpp
bool clang::Decl::hasAttr<clang::ArcWeakrefUnavailableAttr>() const
bool hasAttrs() const { return HasAttrs; }
testb $0x1, 0x1d(%rdi) jne 0x112baaf xorl %eax, %eax retq pushq %rax callq 0x111d5e6 movq (%rax), %rcx movl 0x8(%rax), %edx testq %rdx, %rdx je 0x112bae1 leaq (%rcx,%rdx,8), %rax shlq $0x3, %rdx movq (%rcx), %rsi cmpw $0x73, 0x20(%rsi) je 0x112bae4 addq $0x8, %rcx addq $-0x8, %rdx jne 0x112bac8 movq %rax, %rcx jmp 0x11...
/clang/AST/DeclBase.h
clang::ObjCCategoryImplDecl::getCategoryDecl() const
ObjCCategoryDecl *ObjCCategoryImplDecl::getCategoryDecl() const { // The class interface might be NULL if we are working with invalid code. if (const ObjCInterfaceDecl *ID = getClassInterface()) return ID->FindCategoryDeclaration(getIdentifier()); return nullptr; }
movq %rdi, %rax movq 0x58(%rdi), %rdi testq %rdi, %rdi je 0x112d2ea movq 0x28(%rax), %rax movq %rax, %rcx andq $-0x8, %rcx xorl %esi, %esi testb $0x7, %al cmoveq %rcx, %rsi jmp 0x112e702 xorl %eax, %eax retq nop
/AST/DeclObjC.cpp
clang::ObjCMethodDecl::getCanonicalDecl()
ObjCMethodDecl *ObjCMethodDecl::getCanonicalDecl() { auto *CtxD = cast<Decl>(getDeclContext()); const auto &Sel = getSelector(); if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { if (ObjCInterfaceDecl *IFD = ImplD->getClassInterface()) { // When the container is the ObjCImplementationDecl (th...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x10(%rdi), %rax movq %rax, %rdi andq $-0x8, %rdi testb $0x4, %al je 0x112d30b movq (%rdi), %rdi callq 0x111e3b4 movq %rax, %r14 movq 0x28(%rbx), %r15 movl 0x1c(%rax), %eax andl $0x7f, %eax cmpl $0x12, %eax setne %cl testq %r14, %r14 sete %dl o...
/AST/DeclObjC.cpp
clang::ObjCMethodFamilyAttr* clang::Decl::getAttr<clang::ObjCMethodFamilyAttr>() const
bool hasAttrs() const { return HasAttrs; }
testb $0x1, 0x1d(%rdi) jne 0x112d483 xorl %eax, %eax retq pushq %rax callq 0x111d5e6 movl 0x8(%rax), %edx testq %rdx, %rdx je 0x112d4d8 movq (%rax), %rcx shlq $0x3, %rdx xorl %eax, %eax xorl %esi, %esi movq (%rcx,%rsi), %rdi cmpw $0x11c, 0x20(%rdi) # imm = 0x11C je 0x112d4b3 addq $0x8, %rsi cmpq %rsi, %rdx jne 0x1...
/clang/AST/DeclBase.h
(anonymous namespace)::DeclPrinter::ProcessDeclGroup(llvm::SmallVectorImpl<clang::Decl*>&)
void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { this->Indent(); Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); Out << ";\n"; Decls.clear(); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 callq 0x11328d8 movq (%rbx), %rdi movl 0x8(%rbx), %esi movq (%r14), %rdx leaq 0x8(%r14), %rcx movl 0x20(%r14), %r8d callq 0x1132172 movq (%r14), %rdi movq 0x18(%rdi), %rcx movq 0x20(%rdi), %rax subq %rax, %rcx cmpq $0x1, %rcx ja 0x11328be leaq 0x4fa678(%r...
/AST/DeclPrinter.cpp
(anonymous namespace)::DeclPrinter::VisitFunctionDecl(clang::FunctionDecl*)
void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) { if (!D->getDescribedFunctionTemplate() && !D->isFunctionTemplateSpecialization()) { prettyPrintPragmas(D); prettyPrintAttributes(D, AttrPosAsWritten::Left); } if (D->isFunctionTemplateSpecialization()) Out << "template<> "; else if (!D->g...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rsi, %rbp movq %rdi, %r12 movq %rsi, %rdi callq 0x1111b56 testq %rax, %rax jne 0x1134b93 movq %rbp, %rdi callq 0x111365c testb %al, %al jne 0x1134b93 movq %r12, %rdi movq %rbp, %rsi callq 0x1138a10 movq %r...
/AST/DeclPrinter.cpp
(anonymous namespace)::DeclPrinter::VisitObjCCompatibleAliasDecl(clang::ObjCCompatibleAliasDecl*)
void DeclPrinter::VisitObjCCompatibleAliasDecl(ObjCCompatibleAliasDecl *AID) { Out << "@compatibility_alias " << *AID << ' ' << *AID->getClassInterface() << ";\n"; }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx leaq 0x50cd3f(%rip), %rsi # 0x1644b15 movl $0x15, %edx callq 0x45193a movq %rax, %r14 movq %rbx, %rdi movq %rax, %rsi callq 0x110ef90 movq 0x20(%r14), %rax cmpq 0x18(%r14), %rax jae 0x1137e05 leaq 0x1(%rax), %rcx movq %rcx, 0x20(%r14) movb $0x20, (%rax) jmp 0x1137e15 ...
/AST/DeclPrinter.cpp
clang::VarTemplateSpecializationDecl::getSourceRange() const
SourceRange VarTemplateSpecializationDecl::getSourceRange() const { switch (getSpecializationKind()) { case TSK_Undeclared: case TSK_ImplicitInstantiation: { llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *> Pattern = getSpecializedTemplateOrPartial()...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %r15 movzbl 0x8c(%rdi), %eax andl $0x7, %eax cmpl $0x2, %eax jb 0x113c3b6 addl $-0x3, %eax movq %r15, %rdi cmpl $0x2, %eax jae 0x113c45b callq 0x1110024 movq %rax, %rbx movq 0x78(%r15), %rax testb $0x4, %al sete %cl andq $-0x8, %rax sete %dl orb %cl, %dl...
/AST/DeclTemplate.cpp
MatchParents<clang::CXXForRangeStmt>::match(clang::DynTypedNodeList const&, clang::ParentMapContext::ParentMap*)
static std::tuple<bool, DynTypedNodeList, const T *> match(const DynTypedNodeList &NodeList, ParentMapContext::ParentMap *ParentMap) { if (const auto *TypedNode = NodeList[0].get<T>()) { auto NextParentList = ParentMap->getDynNodeFromMap(TypedNode, ParentMap->PointerParents); if (Nex...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx cmpb $0x0, 0x28(%rsi) movq %rsi, %r13 jne 0x113e064 movq (%r14), %r13 movl (%r13), %esi leaq 0x10(%rsp), %r12 movl $0x1aa, (%r12) # imm = 0x1AA movq %r12, %rdi callq 0x10d11ba testb %al, %al ...
/AST/ParentMapContext.cpp
clang::RecursiveASTVisitor<clang::ParentMapContext::ParentMap::ASTVisitor>::TraverseConceptRequirement(clang::concepts::Requirement*)
RequirementKind getKind() const { return Kind; }
movl (%rsi), %eax leal -0x1(%rax), %ecx cmpl $0x2, %ecx jb 0x115226c cmpl $0x3, %eax jne 0x115224e cmpb $0x0, 0x18(%rsi) jne 0x1152254 movq 0x8(%rsi), %rsi xorl %edx, %edx jmp 0x1143f24 cmpl $0x1, 0x10(%rsi) jne 0x1152257 movb $0x1, %al retq movq 0x8(%rsi), %rdx andq $-0x8, %rdx movq (%rdx), %rsi addq $0x8, %rdx jmp 0x...
/clang/AST/ExprConcepts.h
clang::OffsetOfExpr::OffsetOfExpr(clang::ASTContext const&, clang::QualType, clang::SourceLocation, clang::TypeSourceInfo*, llvm::ArrayRef<clang::OffsetOfNode>, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation)
OffsetOfExpr::OffsetOfExpr(const ASTContext &C, QualType type, SourceLocation OperatorLoc, TypeSourceInfo *tsi, ArrayRef<OffsetOfNode> comps, ArrayRef<Expr *> exprs, SourceLocation RParenLoc) : Expr(OffsetOfExprClass, type, VK_PRValue,...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %r9d, %ebp movq %r8, %r14 movl %ecx, %r15d movq %rdx, %r12 movq %rdi, %rbx leaq 0x50(%rsp), %r9 leaq 0x40(%rsp), %r13 movb $0x1b, (%rdi) leaq 0xde71d8(%rip), %rax # 0x1f41240 cmpb $0x1, (%rax) jne 0x115a07c movl $0x1b, %edi callq 0x12c...
/AST/Expr.cpp
clang::ExtVectorElementExpr::isArrow() const
const Expr *getBase() const { return cast<Expr>(Base); }
movq 0x10(%rdi), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rax cmpb $0x28, 0x10(%rax) sete %al retq
/clang/AST/Expr.h
clang::GenericSelectionExpr::Create(clang::ASTContext const&, clang::SourceLocation, clang::Expr*, llvm::ArrayRef<clang::TypeSourceInfo*>, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceLocation, bool, unsigned int)
GenericSelectionExpr *GenericSelectionExpr::Create( const ASTContext &Context, SourceLocation GenericLoc, Expr *ControllingExpr, ArrayRef<TypeSourceInfo *> AssocTypes, ArrayRef<Expr *> AssocExprs, SourceLocation DefaultLoc, SourceLocation RParenLoc, bool ContainsUnexpandedParameterPack, unsigned ResultI...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %r9d, %ebp movq %r8, 0x30(%rsp) movq %rcx, %r14 movq %rdx, %r15 movl %esi, %r12d movq %rdi, %r13 movq 0x78(%rsp), %rax leal 0x1(%rax), %ecx movl %eax, %eax addq %rcx, %rax leaq 0x20(,%rax,8), %rsi addq $0x850, %rdi # imm ...
/AST/Expr.cpp
clang::DesignatedInitExpr::getBeginLoc() const
llvm::MutableArrayRef<Designator> designators() { return {Designators, NumDesignators}; }
movq 0x18(%rdi), %rcx cmpl $0x0, (%rcx) je 0x1160a45 movl 0xc(%rcx), %eax retq movl 0x14(%rdi), %edx movl %edx, %eax shrl %eax andl $0x7fff, %eax # imm = 0x7FFF je 0x1160a41 andl $0x1, %edx leaq (%rcx,%rdx,4), %rdx addq $0x10, %rdx shll $0x3, %eax leaq (%rax,%rax,2), %rsi xorl %edi, %edi movl (%rdx,%rdi), %ea...
/clang/AST/Expr.h
clang::DesignatedInitExpr::ExpandDesignator(clang::ASTContext const&, unsigned int, clang::DesignatedInitExpr::Designator const*, clang::DesignatedInitExpr::Designator const*)
void DesignatedInitExpr::ExpandDesignator(const ASTContext &C, unsigned Idx, const Designator *First, const Designator *Last) { unsigned NumNewDesignators = Last - First; if (NumNewDesignators == 0) { std::copy_backward(Designat...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, %r14 movl %edx, %ebp movq %rdi, %rbx movq %r8, %r15 subq %rcx, %r15 movq %r15, %rax sarq $0x3, %rax movabsq $-0x5555555555555555, %r12 # imm = 0xAAAAAAAAAAAAAAAB imulq %rax, %r12 cmpl $0x1, %r12d je 0x1160b2f testl %r12d, %r12d jne ...
/AST/Expr.cpp
clang::UnaryExprOrTypeTraitExpr::children() const
Stmt::const_child_range UnaryExprOrTypeTraitExpr::children() const { // If this is of a type and the type is a VLA type (and not a typedef), the // size expression of the VLA needs to be treated as an executable expression. // Why isn't this weirdness documented better in StmtIterator? if (isArgumentType()) { ...
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx leaq 0x10(%rsi), %rax testb $0x20, 0x2(%rsi) jne 0x11615f9 addq $0x18, %rsi movq %rax, (%rbx) xorl %eax, %eax movq %rax, 0x8(%rbx) movq %rsi, 0x18(%rbx) movq %rax, 0x20(%rbx) jmp 0x1161656 movq (%rax), %rax movq (%rax), %rax andq $-0x10, %rax movq (%rax)...
/AST/Expr.cpp
clang::OMPArrayShapingExpr::CreateEmpty(clang::ASTContext const&, unsigned int)
OMPArrayShapingExpr *OMPArrayShapingExpr::CreateEmpty(const ASTContext &Context, unsigned NumDims) { void *Mem = Context.Allocate( totalSizeToAlloc<Expr *, SourceRange>(NumDims + 1, NumDims), alignof(OMPArrayShapingExpr)); return new (Mem) OMPArraySh...
pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx leal 0x1(%rbx), %eax movl %esi, %ecx addq %rax, %rcx leaq 0x20(,%rcx,8), %rsi addq $0x850, %rdi # imm = 0x850 movl $0x3, %edx callq 0x465442 movq %rax, %r14 movb $0x2c, (%rax) leaq 0xddf6e4(%rip), %rax # 0x1f41240 cmpb $0x1, (%rax) jne 0x1161b6b movl $0x2c,...
/AST/Expr.cpp
clang::Expr::ClassifyImpl(clang::ASTContext&, clang::SourceLocation*) const
Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const { assert(!TR->isReferenceType() && "Expressions can't have reference type."); Cl::Kinds kind = ClassifyInternal(Ctx, this); // C99 6.3.2.1: An lvalue is an expression with an object type or an // incomplete type other than void. if (!Ctx.get...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi movq %rbx, %rsi callq 0x116293b movq 0x830(%r15), %rcx movq (%rcx), %rdx btl $0xa, %edx jb 0x11627d5 movq 0x8(%rbx), %rsi movq %rsi, %rdi andq $-0x10, %rdi movq (%rdi), %rdi movq 0x8(%rdi), %rdi andq $...
/AST/ExprClassification.cpp
clang::ConceptSpecializationExpr::ConceptSpecializationExpr(clang::ASTContext const&, clang::ConceptReference*, clang::ImplicitConceptSpecializationDecl*, clang::ConstraintSatisfaction const*)
ConceptSpecializationExpr::ConceptSpecializationExpr( const ASTContext &C, ConceptReference *Loc, ImplicitConceptSpecializationDecl *SpecDecl, const ConstraintSatisfaction *Satisfaction) : Expr(ConceptSpecializationExprClass, C.BoolTy, VK_PRValue, OK_Ordinary), ConceptRef(Loc), SpecDecl(SpecDecl),...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r8, %r14 movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %r15 movq %rdi, %rbx movq 0x47f0(%rsi), %rbp movb $0x4a, (%rdi) leaq 0xdddee9(%rip), %rax # 0x1f41240 cmpb $0x1, (%rax) jne 0x1163366 movl $0x4a, %edi callq 0x12c0ac0 andw $0xfc00, 0...
/AST/ExprConcepts.cpp
clang::Expr::EvaluateAsBooleanCondition(bool&, clang::ASTContext const&, bool) const
bool Expr::EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx, bool InConstantContext) const { assert(!isValueDependent() && "Expression evaluator can't be called on a dependent expression."); ExprTimeTraceScope TimeScope(this, Ctx, "EvaluateAsBooleanCondit...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movl %ecx, %ebp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %r12 leaq 0x4e50c1(%rip), %rcx # 0x164a5a1 movq %rsp, %rdi movl $0x1a, %r8d movq %r12, %rsi callq 0x1165216 leaq 0x18(%rsp), %rbx movw $0x0, -0x10(%rbx) movq $0x0, -0x8(%rbx) movl $0x0, ...
/AST/ExprConstant.cpp
HandleConversionToBool(clang::APValue const&, bool&)
static bool HandleConversionToBool(const APValue &Val, bool &Result) { // TODO: This function should produce notes if it fails. switch (Val.getKind()) { case APValue::None: case APValue::Indeterminate: return false; case APValue::Int: Result = Val.getInt().getBoolValue(); return true; case APVal...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %eax leaq 0x4e21a7(%rip), %rcx # 0x1647724 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax xorl %eax, %eax jmp 0x1165714 movl 0x10(%r14), %ebp addq $0x8, %r14 cmpl $0x40, %ebp ja 0x11656be cmpq ...
/AST/ExprConstant.cpp
EvaluateAsInt(clang::Expr const*, clang::Expr::EvalResult&, clang::ASTContext const&, clang::Expr::SideEffectsKind, (anonymous namespace)::EvalInfo&)
static bool EvaluateAsInt(const Expr *E, Expr::EvalResult &ExprResult, const ASTContext &Ctx, Expr::SideEffectsKind AllowSideEffects, EvalInfo &Info) { assert(!E->isValueDependent()); if (!E->getType()->isIntegralOrEnumerationType()) ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rcx, %r14 movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r15 movq 0x8(%rdi), %rax andq $-0x10, %rax movq (%rax), %rax movq 0x8(%rax), %rax andq $-0x10, %rax movq (%rax), %rdi movb 0x10(%rdi), %al cmpb $0xd, %al sete %cl testq %rdi, %rdi setne %dl testb %cl, %dl ...
/AST/ExprConstant.cpp
(anonymous namespace)::LValue::moveInto(clang::APValue&) const
void moveInto(APValue &V) const { if (Designator.Invalid) V = APValue(Base, Offset, APValue::NoLValuePath(), IsNullPtr); else { assert(!InvalidBase && "APValues can't handle invalid LValue bases"); V = APValue(Base, Offset, Designator.Entries, Designator.IsOnePast...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rsi, %rbx movl 0x18(%rdi), %ebp leaq 0x10(%rdi), %r14 testb $0x1, %bpl jne 0x1166453 movq (%rdi), %rax movq %rax, 0x8(%rsp) movq 0x8(%rdi), %r12 movq 0x30(%rdi), %rax movq %rax, 0x18(%rsp) movl 0x38(%rdi), %eax movq %rax, 0x10(%rsp...
/AST/ExprConstant.cpp
clang::Expr::EvaluateAsConstantExpr(clang::Expr::EvalResult&, clang::ASTContext const&, clang::Expr::ConstantExprKind) const
bool Expr::EvaluateAsConstantExpr(EvalResult &Result, const ASTContext &Ctx, ConstantExprKind Kind) const { assert(!isValueDependent() && "Expression evaluator can't be called on a dependent expression."); bool IsConst; if (FastEvaluateAsRValue(this, Result, Ctx, IsConst...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x4c8, %rsp # imm = 0x4C8 movl %ecx, %r12d movq %rdx, %r14 movq %rsi, %r13 movq %rdi, %r15 leaq 0xf(%rsp), %rdx callq 0x1166888 testb %al, %al je 0x11664f0 movb $0x1, %bl cmpl $0x1, 0x10(%r13) ja 0x1166874 leaq 0x10(%r13), %rbp leaq 0x4e...
/AST/ExprConstant.cpp
EvaluateCPlusPlus11IntegralConstantExpr(clang::ASTContext const&, clang::Expr const*, llvm::APSInt*, clang::SourceLocation*)
static bool EvaluateCPlusPlus11IntegralConstantExpr(const ASTContext &Ctx, const Expr *E, llvm::APSInt *Value, SourceLocation *Loc) { if (!E->getType()->isIntegra...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq 0x8(%rsi), %rax andq $-0x10, %rax movq (%rax), %rdi callq 0x131f7fc testb %al, %al je 0x1167d34 movq %rsp, %r13 movl $0x0, (%r13) movq %r15, %rdi movq %r12, %rsi movq %...
/AST/ExprConstant.cpp
(anonymous namespace)::EvalInfo::getParamSlot((anonymous namespace)::CallRef, clang::ParmVarDecl const*)
APValue *getParamSlot(CallRef Call, const ParmVarDecl *PVD) { CallStackFrame *Frame = getCallFrameAndDepth(Call.CallIndex).first; return Frame ? Frame->getTemporary(Call.getOrigParam(PVD), Call.Version) : nullptr; }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl 0x80(%rdi), %eax cmpl %ebx, %eax jbe 0x1168cfd movq 0x10(%r14), %r14 movl 0x80(%r14), %eax jmp 0x1168cec cmpl %ebx, %eax jne 0x1168d3f shrq $0x20, %rbx testq %r15, %r15 je 0x1168d2d movl 0x60(%rcx), %eax shrl $0x14, %eax movl $0xff, %...
/AST/ExprConstant.cpp
EvaluateAsBooleanCondition(clang::Expr const*, bool&, (anonymous namespace)::EvalInfo&)
static bool EvaluateAsBooleanCondition(const Expr *E, bool &Result, EvalInfo &Info) { assert(!E->isValueDependent()); assert(E->isPRValue() && "missing lvalue-to-rvalue conv in bool condition"); APValue Val; if (!Evaluate(Val, Info, E)) return false; return HandleCon...
pushq %rbx subq $0x50, %rsp movq %rsi, %rbx movq %rdi, %rax leaq 0x8(%rsp), %rdi movl $0x0, (%rdi) movq %rdx, %rsi movq %rax, %rdx callq 0x1168e3b testb %al, %al je 0x117679a leaq 0x8(%rsp), %rdi movq %rbx, %rsi callq 0x1165562 movl %eax, %ebx jmp 0x117679c xorl %ebx, %ebx cmpl $0x2, 0x8(%rsp) jb 0x11767ad leaq 0x8(%rs...
/AST/ExprConstant.cpp
HandleLValueBasePath((anonymous namespace)::EvalInfo&, clang::CastExpr const*, clang::QualType, (anonymous namespace)::LValue&)
static bool HandleLValueBasePath(EvalInfo &Info, const CastExpr *E, QualType Type, LValue &Result) { for (CastExpr::path_const_iterator PathI = E->path_begin(), PathE = E->path_end(); PathI != PathE; ++PathI) { if (!HandleLValueBase(Info...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rcx, (%rsp) movq %rdx, %r13 movq %rsi, %r14 movq %rdi, %r15 movq %rsi, %rdi callq 0x115a79e movq %rax, %r12 movq %r14, %rdi callq 0x115a79e movl 0x4(%r14), %ecx leaq (%rax,%rcx,8), %rbx cmpq %rbx, %r12 je 0x11789e4 andq $-0x10, %r13 movq...
/AST/ExprConstant.cpp
(anonymous namespace)::BufferToAPValueConverter::visit(clang::BuiltinType const*, clang::CharUnits, clang::EnumType const*)
std::optional<APValue> visit(const BuiltinType *T, CharUnits Offset, const EnumType *EnumSugar = nullptr) { if (T->isNullPtrType()) { uint64_t NullValue = Info.Ctx.getTargetNullPointerValue(QualType(T, 0)); return APValue((Expr *)nullptr, /*Offset=*/Ch...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xf8, %rsp movq %r8, %r12 movq %rcx, %r13 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq 0x8(%rdx), %rax andq $-0x10, %rax movq (%rax), %rax testq %rax, %rax je 0x117a7c5 cmpb $0xd, 0x10(%rax) jne 0x117a7c5 movl $0xff80000, %ecx # imm ...
/AST/ExprConstant.cpp
llvm::SmallVectorImpl<clang::CXXRecordDecl const*>::operator=(llvm::SmallVectorImpl<clang::CXXRecordDecl const*>&&)
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 %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx cmpq %rsi, %rdi je 0x117dc34 movq %rsi, %r14 movq (%rsi), %rsi leaq 0x10(%r14), %rax cmpq %rax, %rsi je 0x117dba5 movq %rbx, %rdi movq %r14, %rsi callq 0x117dc44 jmp 0x117dc34 movl 0x8(%r14), %r15d movl 0x8(%rbx), %r12d cmpl %r15d, %r12d jae 0x117db...
/llvm/ADT/SmallVector.h
(anonymous namespace)::SubobjectDesignator::getType(clang::ASTContext&) const
QualType getType(ASTContext &Ctx) const { assert(!Invalid && "invalid designator has no subobject type"); return MostDerivedPathLength == Entries.size() ? MostDerivedType : Ctx.getRecordType(getAsBaseClass(Entries.back())); }
movl (%rdi), %ecx movl 0x20(%rdi), %eax shrl $0x4, %ecx cmpl %ecx, %eax jne 0x1181c59 movq 0x10(%rdi), %rax retq movq 0x18(%rdi), %rcx movq -0x8(%rcx,%rax,8), %rcx andq $-0x8, %rcx je 0x1181c7c movl 0x1c(%rcx), %edx andl $0x7f, %edx addl $-0x38, %edx xorl %eax, %eax cmpl $0x3, %edx cmovbq %rcx, %rax jmp 0x1181c7e xorl ...
/AST/ExprConstant.cpp
clang::OptionalDiagnostic::operator<<(llvm::APFloat const&)
OptionalDiagnostic &operator<<(const llvm::APFloat &F) { if (Diag) { // FIXME: Force the precision of the source value down so we don't // print digits which are usually useless (we don't really care here if // we truncate a digit by accident in edge cases). Ideally, // APFloat::toString wo...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx cmpq $0x0, (%rdi) je 0x1185866 movq %rsi, %r14 movq 0x8(%rsi), %rdi callq 0x48b12e imull $0x3b, %eax, %eax addl $0xc3, %eax imulq $0x5397829d, %rax, %rdx # imm = 0x5397829D shrq $0x26, %rdx leaq 0x18(%rsp), %r12 movq %r12, -0x18(%r12) movq $0x...
/clang/AST/OptionalDiagnostic.h
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::ArrayExprEvaluator>::VisitConditionalOperator(clang::ConditionalOperator const*)
bool VisitConditionalOperator(const ConditionalOperator *E) { bool IsBcpCall = false; // If the condition (ignoring parens) is a __builtin_constant_p call, // the result is a constant expression if it can be folded without // side-effects. This is an important GNU extension. See GCC PR38377 // for d...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x140, %rsp # imm = 0x140 movq %rsi, %r14 movq %rdi, %rbx movq 0x18(%rsi), %rdi callq 0x115d612 movb (%rax), %cl addb $-0x5d, %cl cmpb $-0x5, %cl jae 0x1186ddc xorl %ebp, %ebp jmp 0x1186ded movq %rax, %rdi callq 0x1159c2c cmpl $0xd3, %eax sete %bpl...
/AST/ExprConstant.cpp
(anonymous namespace)::ExprEvaluatorBase<(anonymous namespace)::ArrayExprEvaluator>::DerivedZeroInitialization(clang::Expr const*)
bool DerivedZeroInitialization(const Expr *E) { return getDerived().ZeroInitialization(E); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax movq 0x10(%rax), %rdi movq 0x8(%rsi), %rsi callq 0x1087534 testq %rax, %rax je 0x1187c62 movq %rax, %r15 movb 0x10(%rax), %al andb $-0x2, %al cmpb $0x2, %al jne 0x1187c62 movq %r15, %rax ...
/AST/ExprConstant.cpp