name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
clang::DependentScopeDeclRefExpr::CreateEmpty(clang::ASTContext const&, bool, unsigned int)
DependentScopeDeclRefExpr * DependentScopeDeclRefExpr::CreateEmpty(const ASTContext &Context, bool HasTemplateKWAndArgsInfo, unsigned NumTemplateArgs) { assert(NumTemplateArgs == 0 || HasTemplateKWAndArgsInfo); std::size_t Size = to...
pushq %r14 pushq %rbx subq $0x28, %rsp movl %esi, %ebx movl %edx, %eax shlq $0x5, %rax movl %esi, %ecx shll $0x4, %ecx leaq (%rcx,%rax), %rsi addq $0x38, %rsi addq $0x850, %rdi # imm = 0x850 movl $0x3, %edx callq 0x4ddea6 movq %rax, %r14 xorl %eax, %eax leaq 0x10(%rsp), %r9 movq %rax, 0x10(%r9) xorps %xmm0, ...
/AST/ExprCXX.cpp
clang::CXXDynamicCastExpr::Create(clang::ASTContext const&, clang::QualType, clang::ExprValueKind, clang::CastKind, clang::Expr*, llvm::SmallVector<clang::CXXBaseSpecifier*, 4u> const*, clang::TypeSourceInfo*, clang::SourceLocation, clang::SourceLocation, clang::SourceRange)
CXXDynamicCastExpr *CXXDynamicCastExpr::Create(const ASTContext &C, QualType T, ExprValueKind VK, CastKind K, Expr *Op, const CXXCastPath *BasePath, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, %rbx movq %r8, (%rsp) movl %ecx, %r12d movl %edx, %r13d movq %rsi, %r15 testq %r9, %r9 je 0x82cb73 movl 0x8(%rbx), %ebp jmp 0x82cb75 xorl %ebp, %ebp movl %ebp, %eax leaq 0x30(,%rax,8), %rsi addq $0x850, %rdi # imm = 0x850 ...
/AST/ExprCXX.cpp
clang::CXXDefaultInitExpr::CreateEmpty(clang::ASTContext const&, bool)
CXXDefaultInitExpr *CXXDefaultInitExpr::CreateEmpty(const ASTContext &C, bool HasRewrittenInit) { size_t Size = totalSizeToAlloc<Expr *>(HasRewrittenInit); auto *Mem = C.Allocate(Size, alignof(CXXDefaultInitExpr)); return new (Mem) CXXDefaultInitExpr(EmptyShell(...
pushq %r14 pushq %rbx pushq %rax movl %esi, %ebx movl %esi, %eax leaq 0x20(,%rax,8), %rsi addq $0x850, %rdi # imm = 0x850 movl $0x3, %edx callq 0x4ddea6 movq %rax, %r14 movb $0x6e, (%rax) leaq 0x3080336(%rip), %rax # 0x38adbd0 cmpb $0x1, (%rax) jne 0x82d8a9 movl $0x6e, %edi callq 0x9050be movq $0x0, 0x8(%r...
/AST/ExprCXX.cpp
clang::ObjCMessageExpr::alloc(clang::ASTContext const&, llvm::ArrayRef<clang::Expr*>, clang::SourceLocation, llvm::ArrayRef<clang::SourceLocation>, clang::Selector, clang::SelectorLocationsKind&)
ObjCMessageExpr *ObjCMessageExpr::alloc(const ASTContext &C, ArrayRef<Expr *> Args, SourceLocation RBraceLoc, ArrayRef<SourceLocation> SelLocs, Selector Sel, ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %r9, %r14 movl %ecx, %r9d movq %rdx, %r15 movq %rsi, %rcx movq %rdi, %rbx movq 0x38(%rsp), %r12 movq 0x30(%rsp), %rdi movq %r8, %rsi movq %r14, %rdx movq %r15, %r8 callq 0x9038d9 movl %eax, (%r12) movl %r14d, %ecx shlq $0x2, %rcx leaq 0x8(,%r15,8), %rdx movabs...
/AST/ExprObjC.cpp
clang::interp::Block::invokeCtor()
void invokeCtor() { assert(!IsInitialized); std::memset(rawData(), 0, Desc->getAllocSize()); if (Desc->CtorFn) Desc->CtorFn(this, data(), Desc->IsConst, Desc->IsMutable, /*isActive=*/true, Desc); IsInitialized = true; }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx leaq 0x28(%rdi), %r15 movq 0x20(%rdi), %r14 movl 0x14(%r14), %edx movq %r15, %rdi xorl %esi, %esi callq 0x4ba210 movq 0x38(%r14), %rax testq %rax, %rax je 0x832365 movl 0x10(%r14), %ecx addq %rcx, %r15 movzbl 0x30(%r14), %edx movzbl 0x31(%r14), %ecx movq %rbx, %rdi movq ...
/AST/Interp/InterpBlock.h
clang::interp::Pointer::isConst() const
bool isConst() const { if (isIntegralPointer()) return true; return isRoot() ? getDeclDesc()->IsConst : getInlineDesc()->IsConst; }
movb $0x1, %al cmpl $0x1, 0x28(%rdi) je 0x83271f pushq %rbx movq %rdi, %rbx callq 0x875de0 testb %al, %al je 0x832711 leaq 0x18(%rbx), %rax movq 0x18(%rbx), %rcx addq $0x20, %rcx cmpl $0x1, 0x28(%rbx) cmoveq %rax, %rcx movq (%rcx), %rax movb 0x30(%rax), %al jmp 0x83271e movl 0x20(%rbx), %eax movq 0x18(%rbx), %rcx movb ...
/AST/Interp/Pointer.h
bool clang::interp::AllocCN<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Descriptor const*, bool)
inline bool AllocCN(InterpState &S, CodePtr OpPC, const Descriptor *ElementDesc, bool IsNoThrow) { if (!CheckDynamicMemoryAllocation(S, OpPC)) return false; SizeT NumElements = S.Stk.pop<SizeT>(); if (!CheckArraySize(S, OpPC, &NumElements, ElementDesc->getSize(), IsN...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %ebp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0x8b58fe testb %al, %al je 0x83481d movq 0xb0(%r14), %r12 movl $0x8, %esi movq %r12, %rdi callq 0x8c8e40 movzwl (%rax), %r13d movl $0x8, %esi movq %r12, %rdi callq 0x8c8e74 ...
/AST/Interp/Interp.h
bool clang::interp::AllocN<(clang::interp::PrimType)7, clang::interp::Integral<64u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::PrimType, clang::Expr const*, bool)
inline bool AllocN(InterpState &S, CodePtr OpPC, PrimType T, const Expr *Source, bool IsNoThrow) { if (!CheckDynamicMemoryAllocation(S, OpPC)) return false; SizeT NumElements = S.Stk.pop<SizeT>(); if (!CheckArraySize(S, OpPC, &NumElements, primSize(T), IsNoThrow)) { if (!IsNoThrow) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movl %r8d, %r15d movq %rcx, %r14 movl %edx, %ebp movq %rsi, %r12 movq %rdi, %rbx callq 0x8b58fe testb %al, %al je 0x8358e4 movq %r14, 0x8(%rsp) movq 0xb0(%rbx), %r13 movl $0x8, %esi movq %r13, %rdi callq 0x8c8e40 movq (%rax), %r14 movl $...
/AST/Interp/Interp.h
bool clang::interp::ArrayElemPtrPop<(clang::interp::PrimType)4, clang::interp::Integral<32u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool ArrayElemPtrPop(InterpState &S, CodePtr OpPC) { const T &Offset = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.pop<Pointer>(); if (!Ptr.isZero()) { if (!CheckArray(S, OpPC, Ptr)) return false; } if (!OffsetHelper<T, ArithOp::Add>(S, OpPC, Offset, Ptr)) return false; return NarrowP...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x98, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movl %ebp, 0x4(%rsp) movq 0xb0(%rbx), %rsi leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x8326a...
/AST/Interp/Interp.h
bool clang::interp::GetGlobalUnchecked<(clang::interp::PrimType)6, clang::interp::Integral<64u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool GetGlobalUnchecked(InterpState &S, CodePtr OpPC, uint32_t I) { const Pointer &Ptr = S.P.getPtrGlobal(I); if (!Ptr.isInitialized()) return false; S.Stk.push<T>(Ptr.deref<T>()); return true; }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %r14 movq 0xa8(%rdi), %rsi movq %rsp, %rbx movq %rbx, %rdi callq 0x8ccd48 movq %rbx, %rdi callq 0x8ca018 movl %eax, %ebx testb %al, %al je 0x84da3f movq 0xb0(%r14), %r14 movq %rsp, %rdi callq 0x832dc6 movq %rax, %r15 movl $0x8, %esi movq %r14, %rdi callq 0x8c...
/AST/Interp/Interp.h
bool clang::interp::Init<(clang::interp::PrimType)6, clang::interp::Integral<64u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Init(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.peek<Pointer>(); if (!CheckInit(S, OpPC, Ptr)) { assert(false); return false; } Ptr.initialize(); new (&Ptr.deref<T>()) T(Value); return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0xb0(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movq (%rax), %r12 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 movq 0xb0(%r15), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, %rbx movq %r15, %rdi movq %r14, %r...
/AST/Interp/Interp.h
bool clang::interp::InitGlobal<(clang::interp::PrimType)1, clang::interp::Integral<8u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool InitGlobal(InterpState &S, CodePtr OpPC, uint32_t I) { const Pointer &P = S.P.getGlobal(I); P.deref<T>() = S.Stk.pop<T>(); P.initialize(); return true; }
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdi, %r14 movq 0xa8(%rdi), %rax movl %edx, %ecx movq 0xe0(%rax), %rax movq (%rax,%rcx,8), %rsi movq %rsp, %rbx movq %rbx, %rdi callq 0x8c937c movq 0xb0(%r14), %r14 movl $0x8, %esi movq %r14, %rdi callq 0x8c8e40 movb (%rax), %bpl movl $0x8, %esi movq %r14, %rdi cal...
/AST/Interp/Interp.h
bool clang::interp::InitGlobalTemp<(clang::interp::PrimType)7, clang::interp::Integral<64u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)
bool InitGlobalTemp(InterpState &S, CodePtr OpPC, uint32_t I, const LifetimeExtendedTemporaryDecl *Temp) { const Pointer &Ptr = S.P.getGlobal(I); const T Value = S.Stk.peek<T>(); APValue APV = Value.toAPValue(S.getCtx()); APValue *Cached = Temp->getOrCreateValue(true); *Cached = APV; a...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rcx, %r15 movq %rdi, %r14 movq 0xa8(%rdi), %rax movl %edx, %ecx movq 0xe0(%rax), %rax movq (%rax,%rcx,8), %rsi leaq 0x8(%rsp), %rbx movq %rbx, %rdi callq 0x8c937c movq 0xb0(%r14), %rdi movl $0x8, %esi callq 0x8c8e40 movq (%rax), %rax movq %rs...
/AST/Interp/Interp.h
bool clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::IntegralAP<false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)
bool InitGlobalTemp(InterpState &S, CodePtr OpPC, uint32_t I, const LifetimeExtendedTemporaryDecl *Temp) { const Pointer &Ptr = S.P.getGlobal(I); const T Value = S.Stk.peek<T>(); APValue APV = Value.toAPValue(S.getCtx()); APValue *Cached = Temp->getOrCreateValue(true); *Cached = APV; a...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x88, %rsp movq %rcx, %r14 movq %rdi, %rbx movq 0xa8(%rdi), %rax movl %edx, %ecx movq 0xe0(%rax), %rax movq (%rax,%rcx,8), %rsi leaq 0x10(%rsp), %rdi callq 0x8c937c movq 0xb0(%rbx), %rdi movl $0x10, %esi callq 0x8c8e40 movl 0x8(%rax), %ecx movl %ecx, 0x8(%rsp) cmpl $0x4...
/AST/Interp/Interp.h
bool clang::interp::InitPop<(clang::interp::PrimType)4, clang::interp::Integral<32u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool InitPop(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.pop<Pointer>(); if (!CheckInit(S, OpPC, Ptr)) return false; Ptr.initialize(); new (&Ptr.deref<T>()) T(Value); return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movq 0xb0(%r14), %rsi leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x8326a6 movq %r14, %rdi mov...
/AST/Interp/Interp.h
bool clang::interp::InitPop<(clang::interp::PrimType)14, clang::interp::MemberPointer>(clang::interp::InterpState&, clang::interp::CodePtr)
bool InitPop(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.pop<Pointer>(); if (!CheckInit(S, OpPC, Ptr)) return false; Ptr.initialize(); new (&Ptr.deref<T>()) T(Value); return true; }
pushq %r15 pushq %r14 pushq %rbx subq $0x70, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %rsi leaq 0x30(%rsp), %rdi callq 0x8761fc movq 0xb0(%r14), %rsi movq %rsp, %r15 movq %r15, %rdi callq 0x8326a6 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq 0x8b5355 movl %eax, %ebx testb %al, %al je 0x85870b movq...
/AST/Interp/Interp.h
bool clang::interp::InitThisBitField<(clang::interp::PrimType)0, clang::interp::Integral<8u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Record::Field const*, unsigned int)
bool InitThisBitField(InterpState &S, CodePtr OpPC, const Record::Field *F, uint32_t FieldOffset) { assert(F->isBitField()); if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const P...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movl %ecx, %ebp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x858a4f movq 0xc0(%r14), %r12 addq $0x28, %r12 movq %r14, %rdi movq %r15, %rsi movq %r12, %rdx callq 0x8b5...
/AST/Interp/Interp.h
bool clang::interp::InitThisBitField<(clang::interp::PrimType)3, clang::interp::Integral<16u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Record::Field const*, unsigned int)
bool InitThisBitField(InterpState &S, CodePtr OpPC, const Record::Field *F, uint32_t FieldOffset) { assert(F->isBitField()); if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const P...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movl %ecx, %ebp movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x858d05 movq 0xc0(%r15), %r12 addq $0x28, %r12 movq %r15, %rdi movq %rbx, %rsi movq %r12, %rdx callq 0x8b5...
/AST/Interp/Interp.h
bool clang::interp::InitThisBitField<(clang::interp::PrimType)5, clang::interp::Integral<32u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Record::Field const*, unsigned int)
bool InitThisBitField(InterpState &S, CodePtr OpPC, const Record::Field *F, uint32_t FieldOffset) { assert(F->isBitField()); if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const P...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x30, %rsp movl %ecx, %ebp movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x858ecc movq 0xc0(%r15), %r12 addq $0x28, %r12 movq %r15, %rdi movq %rbx, %rsi movq %r12, %rdx callq 0x8b5...
/AST/Interp/Interp.h
bool clang::interp::InitThisBitField<(clang::interp::PrimType)7, clang::interp::Integral<64u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Record::Field const*, unsigned int)
bool InitThisBitField(InterpState &S, CodePtr OpPC, const Record::Field *F, uint32_t FieldOffset) { assert(F->isBitField()); if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const P...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %ecx, %ebp movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x8590a7 movq 0xc0(%r15), %r12 addq $0x28, %r12 movq %r15, %rdi movq %rbx, %rsi movq %r12, %rdx ...
/AST/Interp/Interp.h
bool clang::interp::InitThisField<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool InitThisField(InterpState &S, CodePtr OpPC, uint32_t I) { if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const Pointer &Field = This.atField(I); Field.deref<T>() = S.Stk.pop<T>(); Field.initiali...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x8597f0 movq 0xc0(%r14), %r15 addq $0x28, %r15 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq 0x8b56a2 testb %al, %al je 0x859...
/AST/Interp/Interp.h
bool clang::interp::InitThisField<(clang::interp::PrimType)7, clang::interp::Integral<64u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool InitThisField(InterpState &S, CodePtr OpPC, uint32_t I) { if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const Pointer &Field = This.atField(I); Field.deref<T>() = S.Stk.pop<T>(); Field.initiali...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x859b07 movq 0xc0(%r14), %r15 addq $0x28, %r15 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq 0x8b56a2 testb %al, %al je 0x859...
/AST/Interp/Interp.h
bool clang::interp::InitThisFieldActive<(clang::interp::PrimType)1, clang::interp::Integral<8u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool InitThisFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) { if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const Pointer &Field = This.atField(I); Field.deref<T>() = S.Stk.pop<T>(); Field.ac...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x85a128 movq 0xc0(%r14), %r15 addq $0x28, %r15 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq 0x8b56a2 testb %al, %al je 0x85a...
/AST/Interp/Interp.h
bool clang::interp::InitThisFieldActive<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool InitThisFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) { if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const Pointer &Field = This.atField(I); Field.deref<T>() = S.Stk.pop<T>(); Field.ac...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x85a1cf movq 0xc0(%r14), %r15 addq $0x28, %r15 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq 0x8b56a2 testb %al, %al je 0x85a...
/AST/Interp/Interp.h
bool clang::interp::InitThisFieldActive<(clang::interp::PrimType)5, clang::interp::Integral<32u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool InitThisFieldActive(InterpState &S, CodePtr OpPC, uint32_t I) { if (S.checkingPotentialConstantExpression()) return false; const Pointer &This = S.Current->getThis(); if (!CheckThis(S, OpPC, This)) return false; const Pointer &Field = This.atField(I); Field.deref<T>() = S.Stk.pop<T>(); Field.ac...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0x18(%rdi), %rdi movq (%rdi), %rax callq *0x18(%rax) testb %al, %al jne 0x85a3c0 movq 0xc0(%r14), %r15 addq $0x28, %r15 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx callq 0x8b56a2 testb %al, %al je 0x85a...
/AST/Interp/Interp.h
bool clang::interp::Load<(clang::interp::PrimType)12, clang::interp::Pointer>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Load(InterpState &S, CodePtr OpPC) { const Pointer &Ptr = S.Stk.peek<Pointer>(); if (!CheckLoad(S, OpPC, Ptr)) return false; if (!Ptr.isBlockPointer()) return false; S.Stk.push<T>(Ptr.deref<T>()); return true; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, %r15 movq %r14, %rdi movq %rbx, %rsi movq %rax, %rdx xorl %ecx, %ecx callq 0x8b4d01 cmpl $0x0, 0x28(%r15) sete %bl andb %al, %bl cmpb $0x1, %bl jne 0x85bc32 movq 0xb0(%r14), %r14 movq %r15, ...
/AST/Interp/Interp.h
bool clang::interp::Load<(clang::interp::PrimType)11, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Load(InterpState &S, CodePtr OpPC) { const Pointer &Ptr = S.Stk.peek<Pointer>(); if (!CheckLoad(S, OpPC, Ptr)) return false; if (!Ptr.isBlockPointer()) return false; S.Stk.push<T>(Ptr.deref<T>()); return true; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, %r15 movq %r14, %rdi movq %rbx, %rsi movq %rax, %rdx xorl %ecx, %ecx callq 0x8b4d01 cmpl $0x0, 0x28(%r15) sete %bl andb %al, %bl cmpb $0x1, %bl jne 0x85bda0 movq 0xb0(%r14), %r14 movq %r15, ...
/AST/Interp/Interp.h
bool clang::interp::LoadPop<(clang::interp::PrimType)14, clang::interp::MemberPointer>(clang::interp::InterpState&, clang::interp::CodePtr)
bool LoadPop(InterpState &S, CodePtr OpPC) { const Pointer &Ptr = S.Stk.pop<Pointer>(); if (!CheckLoad(S, OpPC, Ptr)) return false; if (!Ptr.isBlockPointer()) return false; S.Stk.push<T>(Ptr.deref<T>()); return true; }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %rsi movq %rsp, %r15 movq %r15, %rdi callq 0x8326a6 movq %r14, %rdi movq %rbx, %rsi movq %r15, %rdx xorl %ecx, %ecx callq 0x8b4d01 cmpl $0x0, 0x28(%r15) sete %bl andb %al, %bl cmpb $0x1, %bl jne 0x85c677 movq 0xb0(%r14), ...
/AST/Interp/Interp.h
bool clang::interp::Mulc<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Mulc(InterpState &S, CodePtr OpPC) { const Pointer &RHS = S.Stk.pop<Pointer>(); const Pointer &LHS = S.Stk.pop<Pointer>(); const Pointer &Result = S.Stk.peek<Pointer>(); if constexpr (std::is_same_v<T, Floating>) { APFloat A = LHS.atIndex(0).deref<Floating>().getAPFloat(); APFloat B = LHS.a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rdi, %rbx movq 0xb0(%rdi), %rsi leaq 0x78(%rsp), %rbp movq %rbp, %rdi callq 0x8326a6 movq 0xb0(%rbx), %rsi leaq 0x48(%rsp), %r12 movq %r12, %rdi callq 0x8326a6 movq 0xb0(%rbx), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, (%rsp)...
/AST/Interp/Interp.h
clang::interp::EvalEmitter::emitNESint64(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x85f43a pushq %rax movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x320(%rdi), %rsi addq $0x180, %rdi # imm = 0x180 leaq 0x2848c(%rip), %rdx # 0x8878b8 leaq 0x7(%rsp), %rcx callq 0x88266c addq $0x8, %rsp retq nop
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitNEIntAP(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x85f4ba pushq %rax movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x320(%rdi), %rsi addq $0x180, %rdi # imm = 0x180 leaq 0x28418(%rip), %rdx # 0x8878c4 leaq 0x7(%rsp), %rcx callq 0x8827b4 addq $0x8, %rsp retq nop
/AST/Interp/EvalEmitter.h
bool clang::interp::Neg<(clang::interp::PrimType)3, clang::interp::Integral<16u, false>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Neg(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); T Result; if (!T::neg(Value, &Result)) { S.Stk.push<T>(Result); return true; } assert(isIntegralType(Name) && "don't expect other types to fail at constexpr negation"); S.Stk.push<T>(Result); APSInt NegatedValue ...
pushq %rbp pushq %r14 pushq %rbx movq %rdi, %rbx movq 0xb0(%rdi), %r14 movl $0x8, %esi movq %r14, %rdi callq 0x8c8e40 xorl %ebp, %ebp subw (%rax), %bp movl $0x8, %esi movq %r14, %rdi callq 0x8c8e74 movq 0xb0(%rbx), %rdi movl $0x8, %esi callq 0x8c8dc4 movw %bp, (%rax) movb $0x1, %al popq %rbx popq %r14 popq %rbp retq
/AST/Interp/Interp.h
bool clang::interp::Neg<(clang::interp::PrimType)11, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Neg(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); T Result; if (!T::neg(Value, &Result)) { S.Stk.push<T>(Result); return true; } assert(isIntegralType(Name) && "don't expect other types to fail at constexpr negation"); S.Stk.push<T>(Result); APSInt NegatedValue ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %rsi leaq 0xa8(%rsp), %r15 movq %r15, %rdi callq 0x875f04 leaq 0x88(%rsp), %r12 xorps %xmm0, %xmm0 movq %r12, %rdi callq 0x5f93e8 movq %r15, %rdi movq %r12, %rsi callq 0x887ae2 movl %eax, ...
/AST/Interp/Interp.h
clang::interp::EvalEmitter::emitNullMemberPtr(clang::interp::Descriptor const*, clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x860d54 pushq %rax movq (%rdx), %rax movq %rax, 0x328(%rdi) movq 0x230(%rdi), %rdi movl $0x40, %esi callq 0x8c8dc4 xorps %xmm0, %xmm0 movups %xmm0, (%rax) xorl %ecx, %ecx movq %rcx, 0x10(%rax) movl $0x1, 0x28(%rax) movups %xmm0, 0x18(%rax) movq %rcx, 0x30(%rax) movl $0...
/AST/Interp/EvalEmitter.h
bool clang::interp::OffsetOf<(clang::interp::PrimType)9, clang::interp::IntegralAP<true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::OffsetOfExpr const*)
inline bool OffsetOf(InterpState &S, CodePtr OpPC, const OffsetOfExpr *E) { llvm::SmallVector<int64_t> ArrayIndices; for (size_t I = 0; I != E->getNumExpressions(); ++I) ArrayIndices.emplace_back(S.Stk.pop<int64_t>()); int64_t Result; if (!InterpretOffsetOf(S, OpPC, E, ArrayIndices, Result)) return fal...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdx, %r14 movq %rdi, %rbx leaq 0x38(%rsp), %r15 movq %r15, -0x10(%r15) movabsq $0x600000000, %rax # imm = 0x600000000 movq %rax, -0x8(%r15) cmpl $0x0, 0x24(%rdx) je 0x8617d7 movq %rsi, 0x8(%rsp) xorl %r15d, %r15d leaq 0x18(%rs...
/AST/Interp/Interp.h
clang::interp::EvalEmitter::emitPopSint16(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x8619d7 pushq %rbx movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x230(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 popq %rbx movb $0x1, %al retq
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitPopUint16(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x861a15 pushq %rbx movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x230(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 popq %rbx movb $0x1, %al retq
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitPopSint32(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x861a53 pushq %rbx movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x230(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 popq %rbx movb $0x1, %al retq
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitPopUint32(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x861a91 pushq %rbx movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x230(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 popq %rbx movb $0x1, %al retq
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitPopUint64(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x861b0d pushq %rbx movq (%rsi), %rax movq %rax, 0x328(%rdi) movq 0x230(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 popq %rbx movb $0x1, %al retq
/AST/Interp/EvalEmitter.h
bool clang::interp::SetField<(clang::interp::PrimType)3, clang::interp::Integral<16u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool SetField(InterpState &S, CodePtr OpPC, uint32_t I) { const T &Value = S.Stk.pop<T>(); const Pointer &Obj = S.Stk.peek<Pointer>(); if (!CheckNull(S, OpPC, Obj, CSK_Field)) return false; if (!CheckRange(S, OpPC, Obj, CSK_Field)) return false; const Pointer &Field = Obj.atField(I); if (!CheckStore...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movzwl (%rax), %r13d movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movq 0xb0(%r14), %rdi movl $0x30, %esi callq 0x8c8e4...
/AST/Interp/Interp.h
bool clang::interp::SetField<(clang::interp::PrimType)12, clang::interp::Pointer>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool SetField(InterpState &S, CodePtr OpPC, uint32_t I) { const T &Value = S.Stk.pop<T>(); const Pointer &Obj = S.Stk.peek<Pointer>(); if (!CheckNull(S, OpPC, Obj, CSK_Field)) return false; if (!CheckRange(S, OpPC, Obj, CSK_Field)) return false; const Pointer &Field = Obj.atField(I); if (!CheckStore...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x60, %rsp movl %edx, %ebp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %rsi leaq 0x30(%rsp), %rdi callq 0x8326a6 movq 0xb0(%r14), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, %r15 movq %r14, %rdi movq %rbx, %rsi movq %rax, %rdx movl $0x2, %ecx callq 0...
/AST/Interp/Interp.h
bool clang::interp::EvalEmitter::emitSetLocal<(clang::interp::PrimType)13>(unsigned int, clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %eax cmpl 0x338(%rdi), %eax jne 0x864754 pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x4(%rsp), %rax movl %esi, (%rax) addq $0x308, %rdi # imm = 0x308 movq %rax, %rsi callq 0x875e4a movq 0x8(%rax), %r14 movq 0x230(%rbx), %rbx movl $0x10, %esi movq %rbx, %rdi ...
/AST/Interp/EvalEmitter.h
bool clang::interp::SetParam<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)
bool SetParam(InterpState &S, CodePtr OpPC, uint32_t I) { S.Current->setParam<T>(I, S.Stk.pop<T>()); return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %edx, %ebx movq 0xc0(%rdi), %r14 movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movzwl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 leaq 0x6(%rsp), %rdx movw %bp, (%rdx) movq %r14, %rdi movl %ebx, %esi callq 0x887ece movb $...
/AST/Interp/Interp.h
clang::interp::EvalEmitter::emitShlSint8Uint8(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x866138 pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq 0x8c8e40 m...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShlSint16Sint8(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x866c3e pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq 0x8c8e40 m...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShlSint16Sint64(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x86705e pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShlUint32Sint16(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x867fc9 pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq 0x8c8e40 m...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShlSint64Uint8(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x868442 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShlSint64Sint16(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x8684f7 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShlUint64Sint8(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x868ad6 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq...
/AST/Interp/EvalEmitter.h
bool clang::interp::Shl<(clang::interp::PrimType)3, (clang::interp::PrimType)1>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shl(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Left>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movb (%rax), %bpl movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movb %bpl, 0xd(%rsp) movq 0xb0(%rbx), %r15 movl $0x8, %esi movq %r15, %rdi callq 0...
/AST/Interp/Interp.h
bool clang::interp::Shl<(clang::interp::PrimType)5, (clang::interp::PrimType)7>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shl(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Left>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movq (%rax), %r12 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movq %r12, 0x8(%rsp) movq 0xb0(%rbx), %r15 movl $0x8, %esi movq %r15, %rdi callq 0...
/AST/Interp/Interp.h
bool clang::interp::Shl<(clang::interp::PrimType)8, (clang::interp::PrimType)9>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shl(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Left>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %r12 movl $0x10, %esi movq %r12, %rdi callq 0x8c8e40 movl 0x8(%rax), %ecx leaq 0x8(%rsp), %r15 movl %ecx, 0x8(%r15) movq (%rax), %rcx movq %rcx, (%r15) xorl %ebp, %ebp movl %ebp, 0x8(%rax)...
/AST/Interp/Interp.h
clang::interp::EvalEmitter::emitShrSint16Sint8(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x86c064 pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq 0x8c8e40 m...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShrSint32Sint64(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x86cb62 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq...
/AST/Interp/EvalEmitter.h
clang::interp::EvalEmitter::emitShrSint64Sint32(clang::interp::SourceInfo const&)
bool isActive() const { return CurrentLabel == ActiveLabel; }
movl 0x334(%rdi), %ecx movb $0x1, %al cmpl 0x338(%rdi), %ecx jne 0x86d39f pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %r15 movq (%rsi), %rax movq %rax, 0x328(%rdi) leaq 0x180(%rdi), %rbx movq 0x320(%rdi), %r14 movq 0x230(%rdi), %r12 movl $0x8, %esi movq %r12, %rdi callq...
/AST/Interp/EvalEmitter.h
bool clang::interp::Shr<(clang::interp::PrimType)3, (clang::interp::PrimType)5>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shr(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Right>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movl %ebp, 0xc(%rsp) movq 0xb0(%rbx), %r15 movl $0x8, %esi movq %r15, %rdi callq 0...
/AST/Interp/Interp.h
bool clang::interp::Shr<(clang::interp::PrimType)6, (clang::interp::PrimType)3>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shr(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Right>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movzwl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movw %bp, 0x6(%rsp) movq 0xb0(%rbx), %r15 movl $0x8, %esi movq %r15, %rdi callq ...
/AST/Interp/Interp.h
bool clang::interp::Shr<(clang::interp::PrimType)7, (clang::interp::PrimType)3>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shr(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Right>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movzwl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movw %bp, 0x6(%rsp) movq 0xb0(%rbx), %r15 movl $0x8, %esi movq %r15, %rdi callq ...
/AST/Interp/Interp.h
bool clang::interp::Shr<(clang::interp::PrimType)8, (clang::interp::PrimType)8>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool Shr(InterpState &S, CodePtr OpPC) { using LT = typename PrimConv<NameL>::T; using RT = typename PrimConv<NameR>::T; auto RHS = S.Stk.pop<RT>(); auto LHS = S.Stk.pop<LT>(); return DoShift<LT, RT, ShiftDir::Right>(S, OpPC, LHS, RHS); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %r12 movl $0x10, %esi movq %r12, %rdi callq 0x8c8e40 movl 0x8(%rax), %ecx leaq 0x8(%rsp), %r15 movl %ecx, 0x8(%r15) movq (%rax), %rcx movq %rcx, (%r15) xorl %ebp, %ebp movl %ebp, 0x8(%rax)...
/AST/Interp/Interp.h
bool clang::interp::Store<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Store(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.peek<Pointer>(); if (!CheckStore(S, OpPC, Ptr)) return false; if (Ptr.canBeInitialized()) Ptr.initialize(); Ptr.deref<T>() = Value; return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0xb0(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movzwl (%rax), %r12d movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 movq 0xb0(%r15), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, %rbx movq %r15, %rdi movq %r14,...
/AST/Interp/Interp.h
bool clang::interp::Store<(clang::interp::PrimType)6, clang::interp::Integral<64u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool Store(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.peek<Pointer>(); if (!CheckStore(S, OpPC, Ptr)) return false; if (Ptr.canBeInitialized()) Ptr.initialize(); Ptr.deref<T>() = Value; return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %r15 movq 0xb0(%rdi), %rbx movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e40 movq (%rax), %r12 movl $0x8, %esi movq %rbx, %rdi callq 0x8c8e74 movq 0xb0(%r15), %rdi movl $0x30, %esi callq 0x8c8e40 movq %rax, %rbx movq %r15, %rdi movq %r14, %r...
/AST/Interp/Interp.h
bool clang::interp::StoreBitFieldPop<(clang::interp::PrimType)6, clang::interp::Integral<64u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool StoreBitFieldPop(InterpState &S, CodePtr OpPC) { const T &Value = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.pop<Pointer>(); if (!CheckStore(S, OpPC, Ptr)) return false; if (Ptr.canBeInitialized()) Ptr.initialize(); if (const auto *FD = Ptr.getField()) Ptr.deref<T>() = Value.truncate(FD->getB...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movq (%rax), %r12 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 movq 0xb0(%r14), %rsi leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x8326a6 movq %r14, %rdi mov...
/AST/Interp/Interp.h
bool clang::interp::SubOffset<(clang::interp::PrimType)2, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
bool SubOffset(InterpState &S, CodePtr OpPC) { const T &Offset = S.Stk.pop<T>(); const Pointer &Ptr = S.Stk.pop<Pointer>(); return OffsetHelper<T, ArithOp::Sub>(S, OpPC, Offset, Ptr); }
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rsi, %rbx movq %rdi, %r14 movq 0xb0(%rdi), %r15 movl $0x8, %esi movq %r15, %rdi callq 0x8c8e40 movzwl (%rax), %ebp movl $0x8, %esi movq %r15, %rdi callq 0x8c8e74 leaq 0xe(%rsp), %r15 movw %bp, (%r15) movq 0xb0(%r14), %rsi leaq 0x10(%rsp), %r1...
/AST/Interp/Interp.h
bool clang::interp::SubPtr<(clang::interp::PrimType)0, clang::interp::Integral<8u, true>>(clang::interp::InterpState&, clang::interp::CodePtr)
inline bool SubPtr(InterpState &S, CodePtr OpPC) { const Pointer &LHS = S.Stk.pop<Pointer>(); const Pointer &RHS = S.Stk.pop<Pointer>(); if (RHS.isZero()) { S.Stk.push<T>(T::from(LHS.getIndex())); return true; } if (!Pointer::hasSameBase(LHS, RHS) && S.getLangOpts().CPlusPlus) { // TODO: Diagnos...
pushq %r15 pushq %r14 pushq %rbx subq $0x70, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0xb0(%rdi), %rsi leaq 0x40(%rsp), %rdi callq 0x8326a6 movq 0xb0(%rbx), %rsi leaq 0x10(%rsp), %r15 movq %r15, %rdi callq 0x8326a6 cmpl $0x0, 0x28(%r15) je 0x8747f1 movq 0x10(%rsp), %rax orq 0x30(%rsp), %rax jne 0x8747f9 movq 0xb0(%rbx...
/AST/Interp/Interp.h
clang::interp::Pointer::getFieldDesc() const
const Descriptor *getFieldDesc() const { if (isIntegralPointer()) return asIntPointer().Desc; if (isRoot()) return getDeclDesc(); return getInlineDesc()->Desc; }
pushq %rbx movq %rdi, %rbx cmpl $0x1, 0x28(%rdi) jne 0x876040 addq $0x18, %rbx jmp 0x876074 movq %rbx, %rdi callq 0x875de0 testb %al, %al je 0x876065 movq 0x18(%rbx), %rax addq $0x20, %rax cmpl $0x1, 0x28(%rbx) leaq 0x18(%rbx), %rcx cmoveq %rcx, %rax movq %rax, %rbx jmp 0x876074 movl 0x20(%rbx), %eax movq 0x18(%rbx), %...
/AST/Interp/Pointer.h
clang::interp::Pointer::getIndex() const
int64_t getIndex() const { if (!isBlockPointer()) return 0; if (isZero()) return 0; // narrow()ed element in a composite array. if (asBlockPointer().Base > sizeof(InlineDescriptor) && asBlockPointer().Base == Offset) return 0; if (auto ElemSize = elemSize()) return...
xorl %eax, %eax cmpl $0x0, 0x28(%rdi) jne 0x87666e pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpq $0x0, 0x18(%rdi) je 0x876667 movl 0x20(%rbx), %eax cmpq $0x11, %rax jb 0x876644 cmpq %rax, (%rbx) je 0x876665 movq %rbx, %rdi callq 0x87607a testq %rax, %rax je 0x876665 movq %rax, %r14 movq %rbx, %rdi callq 0x87680...
/AST/Interp/Pointer.h
clang::interp::Pointer::getOffset() const
unsigned getOffset() const { assert(Offset != PastEndMark && "invalid offset"); if (asBlockPointer().Base == RootPtrMark) return Offset; unsigned Adjust = 0; if (Offset != asBlockPointer().Base) { if (getFieldDesc()->ElemDesc) Adjust = sizeof(InlineDescriptor); else Ad...
movl 0x20(%rdi), %ecx movl $0xffffffff, %edx # imm = 0xFFFFFFFF movq (%rdi), %rax cmpq %rdx, %rcx je 0x876844 cmpq %rcx, %rax jne 0x87681d xorl %edx, %edx jmp 0x87683e pushq %rbx movq %rdi, %rbx callq 0x876030 xorl %edx, %edx cmpq $0x0, 0x20(%rax) setne %dl shll $0x4, %edx orq $-0x20, %rdx movq (%rbx), %rax movl ...
/AST/Interp/Pointer.h
clang::interp::Integral<8u, true>::toAPSInt(unsigned int) const
APSInt toAPSInt(unsigned NumBits) const { if constexpr (Signed) return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed); else return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movzbl (%rsi), %eax leaq 0x8(%rsp), %r14 movl $0x8, 0x8(%r14) movq %rax, (%r14) xorl %ebp, %ebp movb %bpl, 0xc(%r14) leaq 0x18(%rsp), %r15 movq %r15, %rdi movq %r14, %rsi callq 0x758192 movl 0x8(%r15), %eax movl %eax, 0x8(%rbx) movq (%r15), %r...
/AST/Interp/Integral.h
clang::interp::Integral<64u, true>::toAPSInt(unsigned int) const
APSInt toAPSInt(unsigned NumBits) const { if constexpr (Signed) return APSInt(toAPSInt().sextOrTrunc(NumBits), !Signed); else return APSInt(toAPSInt().zextOrTrunc(NumBits), !Signed); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq (%rsi), %rax leaq 0x8(%rsp), %r14 movl $0x40, 0x8(%r14) movq %rax, (%r14) xorl %ebp, %ebp movb %bpl, 0xc(%r14) leaq 0x18(%rsp), %r15 movq %r15, %rdi movq %r14, %rsi callq 0x758192 movl 0x8(%r15), %eax movl %eax, 0x8(%rbx) movq (%r15), %ra...
/AST/Interp/Integral.h
bool clang::interp::CheckArraySize<clang::interp::Integral<8u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<8u, false>*, unsigned int, bool)
bool CheckArraySize(InterpState &S, CodePtr OpPC, SizeT *NumElements, unsigned ElemSize, bool IsNoThrow) { // FIXME: Both the SizeT::from() as well as the // NumElements.toAPSInt() in this function are rather expensive. // FIXME: GH63562 // APValue stores array extents as unsigned, // so ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %r8d, %ebp movl %ecx, %r12d movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movb (%rdx), %al testb %al, %al je 0x87bc94 movzbl %al, %eax bsrq %rax, %rax xorq $0x3f, %rax jmp 0x87bc99 movl $0x40, %eax movl $0x40, %r13d subl %eax, %r1...
/AST/Interp/Interp.h
bool clang::interp::CheckArraySize<clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, true>*, unsigned int, bool)
bool CheckArraySize(InterpState &S, CodePtr OpPC, SizeT *NumElements, unsigned ElemSize, bool IsNoThrow) { // FIXME: Both the SizeT::from() as well as the // NumElements.toAPSInt() in this function are rather expensive. // FIXME: GH63562 // APValue stores array extents as unsigned, // so ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movl %r8d, %ebp movl %ecx, %r12d movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movzwl (%rdx), %eax testw %ax, %ax je 0x87be2a movzwl %ax, %eax bsrq %rax, %rax xorq $0x3f, %rax jmp 0x87be2f movl $0x40, %eax movl $0x40, %r13d subl %eax, ...
/AST/Interp/Interp.h
clang::interp::Integral<32u, true>::toDiagnosticString[abi:cxx11](clang::ASTContext const&) const
std::string toDiagnosticString(const ASTContext &Ctx) const { std::string NameStr; llvm::raw_string_ostream OS(NameStr); OS << V; return NameStr; }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %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 0x8(%rsp), %r15 movl $0x0, 0x8(%r15) movb %al, 0x28(%r15) movl $0x1, 0x2c(%r15) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%r15) movq %rax, ...
/AST/Interp/Integral.h
bool clang::interp::CheckArraySize<clang::interp::IntegralAP<true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::IntegralAP<true>*, unsigned int, bool)
bool CheckArraySize(InterpState &S, CodePtr OpPC, SizeT *NumElements, unsigned ElemSize, bool IsNoThrow) { // FIXME: Both the SizeT::from() as well as the // NumElements.toAPSInt() in this function are rather expensive. // FIXME: GH63562 // APValue stores array extents as unsigned, // so ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %r8d, %ebp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 movl $0xffffffcf, %eax # imm = 0xFFFFFFCF xorl %edx, %edx divl %ecx leaq 0x18(%rsp), %rdi movl %eax, %esi xorl %edx, %edx callq 0x87cb20 movl 0x8(%rbx), %edx leaq 0x28...
/AST/Interp/Interp.h
clang::interp::IntegralAP<false>::bitAnd(clang::interp::IntegralAP<false>, clang::interp::IntegralAP<false>, unsigned int, clang::interp::IntegralAP<false>*)
static bool bitAnd(IntegralAP A, IntegralAP B, unsigned OpBits, IntegralAP *R) { *R = IntegralAP(A.V & B.V); return false; }
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rcx, %rbx movq %rsi, %r14 movq %rdi, %rsi movl 0x8(%rdi), %eax movl %eax, 0x8(%rsp) cmpl $0x41, %eax jb 0x87cc8b movq %rsp, %r15 movq %r15, %rdi callq 0x756b0a movl 0x8(%r15), %eax movq %r15, %rsi cmpl $0x40, %eax ja 0x87cd10 movq (%rsi), %rcx andq (%r14), %rcx mo...
/AST/Interp/IntegralAP.h
clang::interp::FunctionPointer::toDiagnosticString[abi:cxx11](clang::ASTContext const&) const
std::string toDiagnosticString(const ASTContext &Ctx) const { if (!Func) return "nullptr"; return toAPValue(Ctx).getAsString(Ctx, Func->getDecl()->getType()); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, %rbx cmpq $0x0, (%rsi) je 0x87d3a9 movq %rdx, %r14 movq %rsi, %r15 movq %rsp, %r12 movq %r12, %rdi callq 0x8331a6 movq (%r15), %rax movq 0x10(%rax), %rax movq 0x30(%rax), %rcx movq %rbx, %rdi movq %r12, %rsi movq %r14, %rdx callq 0x94d562 cmpl $0x2...
/AST/Interp/FunctionPointer.h
bool clang::interp::IntegralAP<false>::truncateCast<bool, false>(llvm::APInt const&)
static T truncateCast(const APInt &V) { constexpr unsigned BitSize = sizeof(T) * 8; if (BitSize >= V.getBitWidth()) { APInt Extended; if constexpr (InputSigned) Extended = V.sext(BitSize); else Extended = V.zext(BitSize); return std::is_signed_v<T> ? Extended.getSExtValue...
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rsi cmpl $0x8, 0x8(%rdi) ja 0x87d724 leaq 0x8(%rsp), %r14 movq %r14, %rdi movl $0x8, %edx callq 0x75731a movq (%r14), %rbx cmpl $0x41, 0x8(%r14) jb 0x87d756 movq (%rbx), %r14 movq %rbx, %rdi callq 0x4ba260 movq %r14, %rbx jmp 0x87d756 leaq 0x8(%rsp), %rbx movq %rbx, %r...
/AST/Interp/IntegralAP.h
clang::interp::IntegralAP<false> clang::interp::IntegralAP<false>::from<16u, false>(clang::interp::Integral<16u, false>, unsigned int)
static IntegralAP from(Integral<Bits, InputSigned> I, unsigned BitWidth) { APInt Copy = APInt(BitWidth, static_cast<uint64_t>(I), InputSigned); return IntegralAP<Signed>(Copy); }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movzwl %si, %eax leaq 0x18(%rsp), %r14 movq %r14, %rdi movl %edx, %esi movq %rax, %rdx xorl %ecx, %ecx callq 0x6585b2 movl 0x8(%r14), %ecx movl %ecx, 0x10(%rsp) cmpl $0x40, %ecx ja 0x87dd3d movq 0x18(%rsp), %rax movq %rax, 0x8(%rsp) movl %ecx, 0x8(%rbx) jmp 0x87dd6...
/AST/Interp/IntegralAP.h
clang::interp::Floating::fromIntegral(llvm::APSInt, llvm::fltSemantics const&, llvm::RoundingMode, clang::interp::Floating&)
static APFloat::opStatus fromIntegral(APSInt Val, const llvm::fltSemantics &Sem, llvm::RoundingMode RM, Floating &Result) { APFloat F = APFloat(Sem); APFloat::opStatus Status = F.convertFromAP...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x48, %rsp movq %rcx, %r14 movl %edx, %ebp movq %rdi, %r15 leaq 0x10(%rsp), %rbx movq %rbx, %rdi callq 0x4f321a movzbl 0xc(%r15), %edx xorl $0x1, %edx leaq 0x8(%rsp), %rdi movq %r15, %rsi movl %ebp, %ecx callq 0x755354 movl %eax, %ebp leaq 0x30(%rsp), %r15 movq %r15, %r...
/AST/Interp/Floating.h
clang::interp::IntegralAP<false>::comp(clang::interp::IntegralAP<false>, clang::interp::IntegralAP<false>*)
static bool comp(IntegralAP A, IntegralAP *R) { *R = IntegralAP(~A.V); return false; }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %rsi movl 0x8(%rdi), %eax movl %eax, 0x10(%rsp) cmpl $0x40, %eax ja 0x87e963 movq (%rsi), %rax movq %rax, 0x8(%rsp) jmp 0x87e96d leaq 0x8(%rsp), %rdi callq 0x756b0a leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x755ec0 movl 0x8(%r14), %ecx movl %ecx, 0x30(...
/AST/Interp/IntegralAP.h
clang::interp::IntegralAP<true>::comp(clang::interp::IntegralAP<true>, clang::interp::IntegralAP<true>*)
static bool comp(IntegralAP A, IntegralAP *R) { *R = IntegralAP(~A.V); return false; }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %rbx movq %rdi, %rsi movl 0x8(%rdi), %eax movl %eax, 0x10(%rsp) cmpl $0x40, %eax ja 0x87ea35 movq (%rsi), %rax movq %rax, 0x8(%rsp) jmp 0x87ea3f leaq 0x8(%rsp), %rdi callq 0x756b0a leaq 0x8(%rsp), %r14 movq %r14, %rdi callq 0x755ec0 movl 0x8(%r14), %ecx movl %ecx, 0x30(...
/AST/Interp/IntegralAP.h
bool clang::interp::IncDecHelper<clang::interp::Integral<32u, true>, (clang::interp::IncDecOp)1, (clang::interp::PushVal)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Pointer const&)
bool IncDecHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { assert(!Ptr.isDummy()); if constexpr (std::is_same_v<T, Boolean>) { if (!S.getLangOpts().CPlusPlus14) return Invalid(S, OpPC); } const T &Value = Ptr.deref<T>(); T Result; if constexpr (DoPush == PushVal::Yes) S.Stk.push<...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq %rdx, %rdi callq 0x832cb2 movl (%rax), %ebp decl %ebp jno 0x880789 leaq 0x10(%rsp), %r15 movl $0x1, 0x8(%r15) movq $0x0, (%r15) movb $0x0, 0xc(%r15) leaq 0x50(%rsp), %r12 movq %r12, %r...
/AST/Interp/Interp.h
bool clang::interp::IncDecHelper<clang::interp::Integral<64u, true>, (clang::interp::IncDecOp)1, (clang::interp::PushVal)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Pointer const&)
bool IncDecHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { assert(!Ptr.isDummy()); if constexpr (std::is_same_v<T, Boolean>) { if (!S.getLangOpts().CPlusPlus14) return Invalid(S, OpPC); } const T &Value = Ptr.deref<T>(); T Result; if constexpr (DoPush == PushVal::Yes) S.Stk.push<...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq %rdx, %rdi callq 0x832dc6 movq (%rax), %r12 decq %r12 jno 0x8809e8 leaq 0x10(%rsp), %r15 movl $0x1, 0x8(%r15) movq $0x0, (%r15) movb $0x0, 0xc(%r15) leaq 0x50(%rsp), %r12 movq %r12, %r...
/AST/Interp/Interp.h
bool clang::interp::IncDecHelper<clang::interp::Integral<8u, true>, (clang::interp::IncDecOp)0, (clang::interp::PushVal)1>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Pointer const&)
bool IncDecHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { assert(!Ptr.isDummy()); if constexpr (std::is_same_v<T, Boolean>) { if (!S.getLangOpts().CPlusPlus14) return Invalid(S, OpPC); } const T &Value = Ptr.deref<T>(); T Result; if constexpr (DoPush == PushVal::Yes) S.Stk.push<...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq %rdx, %rdi callq 0x832a82 movq %rax, %r12 movq 0xb0(%rbx), %rdi movl $0x8, %esi callq 0x8c8dc4 movb (%r12), %bpl movb %bpl, (%rax) incb %bpl jno 0x8842ac leaq 0x10(%rsp), %r15 movl $0x...
/AST/Interp/Interp.h
bool clang::interp::IncDecHelper<clang::interp::IntegralAP<false>, (clang::interp::IncDecOp)0, (clang::interp::PushVal)1>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Pointer const&)
bool IncDecHelper(InterpState &S, CodePtr OpPC, const Pointer &Ptr) { assert(!Ptr.isDummy()); if constexpr (std::is_same_v<T, Boolean>) { if (!S.getLangOpts().CPlusPlus14) return Invalid(S, OpPC); } const T &Value = Ptr.deref<T>(); T Result; if constexpr (DoPush == PushVal::Yes) S.Stk.push<...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbx movq %rdx, %rdi callq 0x832ede movq %rax, %r15 movl $0x3, 0x18(%rsp) movq $0x7, 0x10(%rsp) movq 0xb0(%rbx), %rdi movq %rax, %rsi callq 0x87f8e6 movl 0x8(%r15), %eax movl %eax, 0x38(%rsp) cm...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::Integral<8u, false>, clang::interp::Integral<16u, true>, (clang::interp::ShiftDir)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<8u, false>&, clang::interp::Integral<16u, true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq 0x8d0916 testb $0x40, 0x2f(%rax) movzwl (%r14), %eax jne 0x88ba26 testw %ax, %ax jns 0x88ba2d movq 0xc0(%rbx), %rdi movq %r12, %rsi callq 0x8c8888 leaq 0x20(%rsp), %rs...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::Integral<8u, false>, clang::interp::Integral<32u, true>, (clang::interp::ShiftDir)1>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<8u, false>&, clang::interp::Integral<32u, true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq 0x8d0916 testb $0x40, 0x2f(%rax) movl (%r14), %eax jne 0x88bfb9 testl %eax, %eax jns 0x88bfbf movq 0xc0(%rbx), %rdi movq %r12, %rsi callq 0x8c8888 leaq 0x20(%rsp), %rs...
/AST/Interp/Interp.h
bool clang::interp::CheckShift<clang::interp::Integral<16u, true>, clang::interp::Integral<8u, false>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, true> const&, clang::interp::Integral<8u, false> const&, unsigned int)
bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, unsigned Bits) { if (RHS.isNegative()) { const SourceInfo &Loc = S.Current->getSource(OpPC); S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); if (!S.noteUndefinedBehavior()) return false...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx cmpl $0x2, %r8d jb 0x88db74 movl %r8d, %ebp cmpb %bpl, (%r14) jb 0x88db74 movq %r15, 0x18(%rsp) movq 0xc0(%rbx), %rdi movq %r12, %rsi callq 0x8c88ea movzbl (%r14), %ecx leaq...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::Integral<16u, true>, clang::interp::Integral<16u, true>, (clang::interp::ShiftDir)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, true>&, clang::interp::Integral<16u, true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq 0x8d0916 testb $0x40, 0x2f(%rax) movzwl (%r14), %eax jne 0x88dd29 testw %ax, %ax jns 0x88dd30 movq 0xc0(%rbx), %rdi movq %r12, %rsi callq 0x8c8888 leaq 0x20(%rsp), %rs...
/AST/Interp/Interp.h
bool clang::interp::CheckShift<clang::interp::Integral<16u, false>, clang::interp::Integral<8u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, false> const&, clang::interp::Integral<8u, true> const&, unsigned int)
bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, unsigned Bits) { if (RHS.isNegative()) { const SourceInfo &Loc = S.Current->getSource(OpPC); S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); if (!S.noteUndefinedBehavior()) return false...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %r8d, %ebp movq %rcx, %r14 movq %rsi, %r15 movq %rdi, %rbx movb (%rcx), %al testb %al, %al jns 0x8908aa movq 0xc0(%rbx), %rdi movq %r15, %rsi callq 0x8c8888 leaq 0x10(%rsp), %rsi movq %rax, (%rsi) movq %rbx, %rdi movl $0x8c0, %edx #...
/AST/Interp/Interp.h
bool clang::interp::CheckShift<clang::interp::Integral<16u, false>, clang::interp::Integral<16u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, false> const&, clang::interp::Integral<16u, true> const&, unsigned int)
bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, unsigned Bits) { if (RHS.isNegative()) { const SourceInfo &Loc = S.Current->getSource(OpPC); S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); if (!S.noteUndefinedBehavior()) return false...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %r8d, %ebp movq %rcx, %r14 movq %rsi, %r15 movq %rdi, %rbx movzwl (%rcx), %eax testw %ax, %ax jns 0x890d1d movq 0xc0(%rbx), %rdi movq %r15, %rsi callq 0x8c8888 leaq 0x10(%rsp), %rsi movq %rax, (%rsi) movq %rbx, %rdi movl $0x8c0, %edx ...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::Integral<16u, false>, clang::interp::IntegralAP<true>, (clang::interp::ShiftDir)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, false>&, clang::interp::IntegralAP<true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx callq 0x8d0916 testb $0x40, 0x2f(%rax) je 0x891ef7 movl 0x8(%r14), %edx movl %edx, 0x8(%rsp) cmpl $0x40, %edx ja 0x891e99 movq (%r14), %rax movq %rax, (%rsp) jmp 0x891ea8 mo...
/AST/Interp/Interp.h
bool clang::interp::CheckShift<clang::interp::Integral<16u, false>, clang::interp::IntegralAP<true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<16u, false> const&, clang::interp::IntegralAP<true> const&, unsigned int)
bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, unsigned Bits) { if (RHS.isNegative()) { const SourceInfo &Loc = S.Current->getSource(OpPC); S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); if (!S.noteUndefinedBehavior()) return false...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movl %r8d, %ebp movq %rcx, %r14 movq %rsi, (%rsp) movq %rdi, %rbx movl 0x8(%rcx), %eax leal -0x1(%rax), %ecx movl %ecx, %edx shrl $0x3, %edx andl $-0x8, %edx addq (%r14), %rdx cmpl $0x41, %eax cmovbq %r14, %rdx movq (%rdx), %rax btq %rcx...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::Integral<64u, true>, clang::interp::IntegralAP<true>, (clang::interp::ShiftDir)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<64u, true>&, clang::interp::IntegralAP<true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rcx, %r14 movq %rdx, %rbp movq %rsi, %r12 movq %rdi, %rbx callq 0x8d0916 testb $0x40, 0x2f(%rax) je 0x899b82 movl 0x8(%r14), %edx movl %edx, 0x18(%rsp) cmpl $0x40, %edx ja 0x899b1f movq (%r14), %rax movq %rax, 0x10(%rsp) jmp 0x899b...
/AST/Interp/Interp.h
bool clang::interp::CheckShift<clang::interp::Integral<64u, false>, clang::interp::Integral<8u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Integral<64u, false> const&, clang::interp::Integral<8u, true> const&, unsigned int)
bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, unsigned Bits) { if (RHS.isNegative()) { const SourceInfo &Loc = S.Current->getSource(OpPC); S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); if (!S.noteUndefinedBehavior()) return false...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %r8d, %ebp movq %rcx, %r14 movq %rsi, %r15 movq %rdi, %rbx movb (%rcx), %al testb %al, %al jns 0x89a64e movq 0xc0(%rbx), %rdi movq %r15, %rsi callq 0x8c8888 leaq 0x10(%rsp), %rsi movq %rax, (%rsi) movq %rbx, %rdi movl $0x8c0, %edx #...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::IntegralAP<false>, clang::interp::Integral<64u, true>, (clang::interp::ShiftDir)1>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::IntegralAP<false>&, clang::interp::Integral<64u, true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa0, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r13 movq %rdi, %rbx movl 0x8(%rdx), %r12d callq 0x8d0916 testb $0x40, 0x2f(%rax) movq (%r14), %rax jne 0x89f48f testq %rax, %rax jns 0x89f49a movq 0xc0(%rbx), %rdi movq %r13, %rsi callq 0x8c8888 leaq 0x68...
/AST/Interp/Interp.h
bool clang::interp::CheckShift<clang::interp::IntegralAP<true>, clang::interp::Integral<8u, true>>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::IntegralAP<true> const&, clang::interp::Integral<8u, true> const&, unsigned int)
bool CheckShift(InterpState &S, CodePtr OpPC, const LT &LHS, const RT &RHS, unsigned Bits) { if (RHS.isNegative()) { const SourceInfo &Loc = S.Current->getSource(OpPC); S.CCEDiag(Loc, diag::note_constexpr_negative_shift) << RHS.toAPSInt(); if (!S.noteUndefinedBehavior()) return false...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movl %r8d, %ebp movq %rcx, %r14 movq %rdx, %r13 movq %rsi, %r12 movq %rdi, %rbx movb (%rcx), %al testb %al, %al jns 0x8a1d11 movq 0xc0(%rbx), %rdi movq %r12, %rsi callq 0x8c8888 leaq 0x20(%rsp), %rsi movq %rax, (%rsi) movq %rbx, %rdi mov...
/AST/Interp/Interp.h
bool clang::interp::DoShift<clang::interp::IntegralAP<true>, clang::interp::IntegralAP<true>, (clang::interp::ShiftDir)0>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::IntegralAP<true>&, clang::interp::IntegralAP<true>&)
inline bool DoShift(InterpState &S, CodePtr OpPC, LT &LHS, RT &RHS) { const unsigned Bits = LHS.bitWidth(); // OpenCL 6.3j: shift values are effectively % word size of LHS. if (S.getLangOpts().OpenCL) RT::bitAnd(RHS, RT::from(LHS.bitWidth() - 1, RHS.bitWidth()), RHS.bitWidth(), &RHS); if (R...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r13 movq %rdi, %rbx movl 0x8(%rdx), %r12d callq 0x8d0916 testb $0x40, 0x2f(%rax) je 0x8a6978 movl 0x8(%r14), %edx movl %edx, 0x68(%rsp) cmpl $0x40, %edx ja 0x8a690f movq (%r14), %rax movq %rax,...
/AST/Interp/Interp.h
bool clang::interp::OffsetHelper<clang::interp::Boolean, (clang::interp::ArithOp)1>(clang::interp::InterpState&, clang::interp::CodePtr, clang::interp::Boolean const&, clang::interp::Pointer const&)
bool OffsetHelper(InterpState &S, CodePtr OpPC, const T &Offset, const Pointer &Ptr) { // A zero offset does not change the pointer. if (Offset.isZero()) { S.Stk.push<Pointer>(Ptr); return true; } if (!CheckNull(S, OpPC, Ptr, CSK_ArrayIndex)) { // The CheckNull will have emitted a...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rcx, %rbx movq %rdi, %r14 movq %rsi, 0x18(%rsp) cmpb $0x0, (%rdx) je 0x8aa906 movq %rdx, %r15 movq %rsi, %r12 movq %r14, %rdi movq %rbx, %rdx movl $0x4, %ecx callq 0x8b43a2 testb %al, %al jne 0x8aa81f movq %r14, %rdi callq 0x8d0916 testb $0x4, 0x1(%rax)...
/AST/Interp/Interp.h