name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
bool llvm::function_ref<bool (llvm::AbstractCallSite)>::callback_fn<(anonymous namespace)::AANoRecurseFunction::updateImpl(llvm::Attributor&)::'lambda'(llvm::AbstractCallSite)>(long, llvm::AbstractCallSite)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %rdi, %rbx movq (%rsi), %rdi leaq 0x28(%rsp), %r12 movq %rdi, -0x18(%r12) movq %r12, -0x10(%r12) movq $0x0, -0x8(%r12) cmpl $0x0, 0x10(%rsi) je 0x228f373 leaq 0x18(%rsp), %r14 addq $0x8, %rsi movq %r14, %rdi callq 0xb11cb6 movq -0x8...
/llvm/ADT/STLFunctionalExtras.h
llvm::MustBeExecutedContextExplorer::checkForAllContext(llvm::Instruction const*, llvm::function_ref<bool (llvm::Instruction const*)>)
bool checkForAllContext(const Instruction *PP, function_ref<bool(const Instruction *)> Pred) { for (auto EIt = begin(PP), EEnd = end(PP); EIt != EEnd; ++EIt) if (!Pred(*EIt)) return false; return true; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rcx, %rbx movq %rdx, %r14 movq %rdi, %r12 callq 0x195c6a0 movq %rax, %r13 xorps %xmm0, %xmm0 leaq 0x40(%rsp), %r15 movaps %xmm0, (%r15) xorl %ebp, %ebp movl %ebp, 0x10(%r15) movq %r15, %rdi movq %rax, %rsi callq 0x195cb0c movups 0x...
/llvm/Analysis/MustExecute.h
bool llvm::function_ref<bool (llvm::Value&)>::callback_fn<(anonymous namespace)::AANoAliasReturned::updateImpl(llvm::Attributor&)::'lambda'(llvm::Value&)>(long, llvm::Value&)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r12 movq %rdi, %r15 movq 0x8(%rdi), %rbx movb (%rsi), %al cmpb $0x15, %al jbe 0x229671f cmpb $0x1d, %al jb 0x2296742 movzbl %al, %eax xorl %r14d, %r14d addl $-0x22, %eax cmpl $0x33, %eax ja 0x2296745 movabsq $0x8000000000041, %rcx # imm = 0x80000...
/llvm/ADT/STLFunctionalExtras.h
(anonymous namespace)::AAPotentialValuesReturned::manifest(llvm::Attributor&)
ChangeStatus manifest(Attributor &A) override { if (ReturnedArg) return ChangeStatus::UNCHANGED; SmallVector<AA::ValueAndContext> Values; if (!getAssumedSimplifiedValues(A, Values, AA::ValueScope::Intraprocedural, /* RecurseForSelectAndPHI */ true)) return Cha...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movl $0x1, %ebp cmpq $0x0, 0x158(%rdi) jne 0x22aa2f0 movq %rsi, %r14 movq %rdi, %rbx leaq 0x48(%rsp), %r13 movq %r13, -0x10(%r13) movabsq $0x300000000, %rax # imm = 0x300000000 movq %rax, -0x8(%r13) movq (%rdi), %rax leaq 0x38(%rsp)...
/Transforms/IPO/AttributorAttributes.cpp
bool llvm::function_ref<bool (llvm::Instruction const*)>::callback_fn<void (anonymous namespace)::followUsesInMBEC<(anonymous namespace)::AANoFPClassImpl, llvm::BitIntegerState<unsigned int, 1023u, 0u>>((anonymous namespace)::AANoFPClassImpl&, llvm::Attributor&, llvm::BitIntegerState<unsigned int, 1023u, 0u>&, llvm::In...
static bool classof(const Instruction *I) { return (I->getOpcode() == Instruction::Br); }
cmpb $0x1f, (%rsi) jne 0x22acb85 movl $0x7ffffff, %eax # imm = 0x7FFFFFF andl 0x4(%rsi), %eax cmpl $0x3, %eax jne 0x22acb85 pushq %rax movq (%rdi), %rdi callq 0x19ca332 addq $0x8, %rsp movb $0x1, %al retq
/llvm/IR/Instructions.h
(anonymous namespace)::AACalleeToCallSite<llvm::AANoFPClass, (anonymous namespace)::AANoFPClassImpl, llvm::BitIntegerState<unsigned int, 1023u, 0u>, false, (llvm::Attribute::AttrKind)87>::updateImpl(llvm::Attributor&)
ChangeStatus updateImpl(Attributor &A) override { auto IRPKind = this->getIRPosition().getPositionKind(); assert((IRPKind == IRPosition::IRP_CALL_SITE_RETURNED || IRPKind == IRPosition::IRP_CALL_SITE) && "Can only wrap function returned positions for call site " "returned posit...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rsi, %r15 movq %rdi, %rbx addq $0x40, %rdi callq 0xb0ecf6 movb %al, 0xb(%rsp) movq (%rbx), %rax movq %rbx, %rdi callq *0x28(%rax) movq %rax, %r14 movq 0x40(%rbx), %r8 movl %r8d, %eax notl %eax andq $-0x4, %r8 testb $0x3, %al jne 0x22acfd1 movq 0x18(%r8), %r8 leaq ...
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AAPointerInfoFloating::~AAPointerInfoFloating()
AAPointerInfoFloating(const IRPosition &IRP, Attributor &A) : AAPointerInfoImpl(IRP, A) {}
pushq %rbx movq %rdi, %rbx leaq 0x34c9d05(%rip), %rax # 0x5776ed8 addq $0x10, %rax movq %rax, 0x50(%rdi) addq $0xf0, %rdi callq 0x22ae48c movq 0xf0(%rbx), %rdi movl 0x100(%rbx), %eax shlq $0x3, %rax leaq (%rax,%rax,8), %rsi movl $0x8, %edx callq 0x1b3283e leaq 0xd8(%rbx), %rdi callq 0x22ae4dc movq 0xd8(%rbx), %rdi mo...
/Transforms/IPO/AttributorAttributes.cpp
non-virtual thunk to (anonymous namespace)::AAPointerInfoFloating::~AAPointerInfoFloating()
AAPointerInfoFloating(const IRPosition &IRP, Attributor &A) : AAPointerInfoImpl(IRP, A) {}
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 leaq -0x50(%rdi), %rbx leaq 0x34c8cf2(%rip), %rax # 0x5776ed8 addq $0x10, %rax movq %rax, (%rdi) addq $0xa0, %rdi callq 0x22ae48c movq 0xa0(%r14), %rdi movl 0xb0(%r14), %eax shlq $0x3, %rax leaq (%rax,%rax,8), %rsi movl $0x8, %edx callq 0x1b3283e leaq 0x88(%r14), %rdi ...
/Transforms/IPO/AttributorAttributes.cpp
non-virtual thunk to (anonymous namespace)::AAPointerInfoFloating::~AAPointerInfoFloating()
AAPointerInfoFloating(const IRPosition &IRP, Attributor &A) : AAPointerInfoImpl(IRP, A) {}
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 leaq -0x50(%rdi), %rbx leaq 0x34c8c66(%rip), %rax # 0x5776ed8 addq $0x10, %rax movq %rax, (%rdi) addq $0xa0, %rdi callq 0x22ae48c movq 0xa0(%r14), %rdi movl 0xb0(%r14), %eax shlq $0x3, %rax leaq (%rax,%rax,8), %rsi movl $0x8, %edx callq 0x1b3283e leaq 0x88(%r14), %rdi ...
/Transforms/IPO/AttributorAttributes.cpp
bool llvm::DenseMapBase<llvm::DenseMap<llvm::Value*, (anonymous namespace)::OffsetInfo, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPair<llvm::Value*, (anonymous namespace)::OffsetInfo>>, llvm::Value*, (anonymous namespace)::OffsetInfo, llvm::DenseMapInfo<llvm::Value*, void>, llvm::detail::DenseMapPai...
bool LookupBucketFor(const LookupKeyT &Val, const BucketT *&FoundBucket) const { const BucketT *BucketsPtr = getBuckets(); const unsigned NumBuckets = getNumBuckets(); if (NumBuckets == 0) { FoundBucket = nullptr; return false; } // FoundTombstone - Keep track of...
testl %esi, %esi je 0x22b01f0 pushq %rbx movq (%rdx), %r8 movl %r8d, %eax shrl $0x4, %eax movl %r8d, %r9d shrl $0x9, %r9d xorl %eax, %r9d decl %esi andl %esi, %r9d leaq (%r9,%r9,8), %rax leaq (%rdi,%rax,8), %rdx movq (%rdx), %rbx movb $0x1, %al cmpq %rbx, %r8 jne 0x22b01f8 popq %rbx jmp 0x22b01f4 xorl %edx, %edx xorl %...
/llvm/ADT/DenseMap.h
llvm::AAPointerInfo::RangeList::RangeList(llvm::ArrayRef<long>, long)
RangeList(ArrayRef<int64_t> Offsets, int64_t Size) { Ranges.reserve(Offsets.size()); for (unsigned i = 0, e = Offsets.size(); i != e; ++i) { assert(((i + 1 == e) || Offsets[i] < Offsets[i + 1]) && "Expected strictly ascending offsets."); Ranges.emplace_back(Offsets[i], Size); ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movq %rcx, (%rsp) leaq 0x10(%rdi), %rsi movq %rsi, (%rdi) movabsq $0x300000000, %rax # imm = 0x300000000 movq %rax, 0x8(%rdi) cmpq $0x4, %rdx jb 0x22b037a movl $0x10, %ecx movq %r14, %rdi movq %r15, %rdx callq 0x...
/llvm/Transforms/IPO/Attributor.h
(anonymous namespace)::AAPointerInfoCallSiteReturned::~AAPointerInfoCallSiteReturned()
AAPointerInfoCallSiteReturned(const IRPosition &IRP, Attributor &A) : AAPointerInfoFloating(IRP, A) {}
pushq %rbx movq %rdi, %rbx leaq 0x34c5d53(%rip), %rax # 0x5776ed8 addq $0x10, %rax movq %rax, 0x50(%rdi) addq $0xf0, %rdi callq 0x22ae48c movq 0xf0(%rbx), %rdi movl 0x100(%rbx), %eax shlq $0x3, %rax leaq (%rax,%rax,8), %rsi movl $0x8, %edx callq 0x1b3283e leaq 0xd8(%rbx), %rdi callq 0x22ae4dc movq 0xd8(%rbx), %rdi mo...
/Transforms/IPO/AttributorAttributes.cpp
non-virtual thunk to (anonymous namespace)::AAPointerInfoCallSiteArgument::~AAPointerInfoCallSiteArgument()
AAPointerInfoCallSiteArgument(const IRPosition &IRP, Attributor &A) : AAPointerInfoFloating(IRP, A) {}
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 leaq -0x50(%rdi), %rbx leaq 0x34c557e(%rip), %rax # 0x5776ed8 addq $0x10, %rax movq %rax, (%rdi) addq $0xa0, %rdi callq 0x22ae48c movq 0xa0(%r14), %rdi movl 0xb0(%r14), %eax shlq $0x3, %rax leaq (%rax,%rax,8), %rsi movl $0x8, %edx callq 0x1b3283e leaq 0x88(%r14), %rdi ...
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AAValueSimplifyImpl::manifest(llvm::Attributor&)
ChangeStatus manifest(Attributor &A) override { ChangeStatus Changed = ChangeStatus::UNCHANGED; for (auto &U : getAssociatedValue().uses()) { // Check if we need to adjust the insertion point to make sure the IR is // valid. Instruction *IP = dyn_cast<Instruction>(U.getUser()); if (auto ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 addq $0x40, %rdi callq 0xb1116a movq 0x10(%rax), %r15 movl $0x1, %ebp testq %r15, %r15 je 0x22b2ac2 xorl %r12d, %r12d movabsq $0x7fffffff8, %r13 # imm = 0x7FFFFFFF8 movq 0x18(%r15), %rdx movb (%rdx), %al cm...
/Transforms/IPO/AttributorAttributes.cpp
bool llvm::function_ref<bool (llvm::AbstractCallSite)>::callback_fn<(anonymous namespace)::AAValueSimplifyArgument::updateImpl(llvm::Attributor&)::'lambda'(llvm::AbstractCallSite)>(long, llvm::AbstractCallSite)
static Ret callback_fn(intptr_t callable, Params ...params) { return (*reinterpret_cast<Callable*>(callable))( std::forward<Params>(params)...); }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq (%rsi), %rax leaq 0x20(%rsp), %r15 movq %rax, -0x18(%r15) movq %r15, -0x10(%r15) movq $0x0, -0x8(%r15) cmpl $0x0, 0x10(%rsi) je 0x22b362e leaq 0x10(%rsp), %rdi addq $0x8, %rsi callq 0xb11cb6 leaq 0x8(%rsp), %r14 movq %rbx, %rdi movq %r14, %rsi callq...
/llvm/ADT/STLFunctionalExtras.h
(anonymous namespace)::AAIsDeadFunction::initialize(llvm::Attributor&)
void initialize(Attributor &A) override { Function *F = getAnchorScope(); assert(F && "Did expect an anchor function"); if (!isAssumedDeadInternalFunction(A)) { ToBeExploredFrom.insert(&F->getEntryBlock().front()); assumeLive(A, F->getEntryBlock()); } }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 addq $0x40, %rdi callq 0xb0ec56 movq %rax, %r15 movq %r14, %rdi movq %rbx, %rsi callq 0x22b5712 testb %al, %al jne 0x22b3be1 movq 0x50(%r15), %rax leaq -0x18(%rax), %rcx testq %rax, %rax cmovneq %rcx, %rax leaq 0x60(%r14), %rdi movq 0x38(...
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AAIsDeadFunction::isAssumedDead(llvm::Instruction const*) const
bool isAssumedDead(const Instruction *I) const override { assert(I->getParent()->getParent() == getAnchorScope() && "Instruction must be in the same anchor scope function."); if (!getAssumed()) return false; // If it is not in AssumedLiveBlocks then it for sure dead. // Otherwise, it ...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp cmpb $0x0, 0x59(%rdi) je 0x22b5556 movq %rsi, %r15 movq %rdi, %rbx addq $0x148, %rdi # imm = 0x148 movq 0x28(%rsi), %rax leaq 0x8(%rsp), %rsi movq %rax, (%rsi) leaq 0x10(%rsp), %rdx callq 0x178a9a6 movb $0x1, %r14b testb %al, %al je 0x22b5559 leaq ...
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AANoFreeImpl::getAsStr[abi:cxx11](llvm::Attributor*) const
const std::string getAsStr(Attributor *A) const override { return getAssumed() ? "nofree" : "may-free"; }
pushq %rbx movq %rdi, %rbx movzbl 0x59(%rsi), %eax leaq 0x2b318c0(%rip), %rcx # 0x4de8f57 leaq 0x2c8a7fc(%rip), %rsi # 0x4f41e9a testl %eax, %eax cmovneq %rcx, %rsi leaq 0x10(%rdi), %rcx movq %rcx, (%rdi) xorl $0x1, %eax leaq (%rsi,%rax,2), %rdx addq $0x6, %rdx callq 0x7af7d0 movq %rbx, %rax popq %rbx retq
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AAUnderlyingObjectsFloating::~AAUnderlyingObjectsFloating()
AAUnderlyingObjectsFloating(const IRPosition &IRP, Attributor &A) : AAUnderlyingObjectsImpl(IRP, A) {}
pushq %rbx movq %rdi, %rbx leaq 0x34c004d(%rip), %rax # 0x5778fc0 movq %rax, (%rdi) leaq 0x34c00cb(%rip), %rax # 0x5779048 movq %rax, 0x50(%rdi) movq 0xe0(%rdi), %rdi leaq 0xf0(%rbx), %rax cmpq %rax, %rdi je 0x22b8f99 callq 0x73a9c0 movq 0xc8(%rbx), %rdi movl 0xd8(%rbx), %esi shlq $0x3, %rsi movl $0x8, %edx callq 0...
/Transforms/IPO/AttributorAttributes.cpp
non-virtual thunk to (anonymous namespace)::AAUnderlyingObjectsFloating::~AAUnderlyingObjectsFloating()
AAUnderlyingObjectsFloating(const IRPosition &IRP, Attributor &A) : AAUnderlyingObjectsImpl(IRP, A) {}
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 leaq 0x34bff38(%rip), %rax # 0x5778fc0 movq %rax, -0x50(%rdi) leaq 0x34bffb5(%rip), %rax # 0x5779048 movq %rax, (%rdi) movq 0x90(%rdi), %rdi leaq 0xa0(%r14), %rax cmpq %rax, %rdi je 0x22b90ae callq 0x73a9c0 leaq -0x50(%r14), %rbx movq 0x78(%r14), %rdi movl 0x88(%r14)...
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AAIndirectCallInfoCallSite::foreachCallee(llvm::function_ref<bool (llvm::Function*)>) const
bool foreachCallee(function_ref<bool(Function *)> CB) const override { return isValidState() && AllCalleesKnown && all_of(AssumedCallees, CB); }
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 addq $0x50, %rdi movq 0x50(%r15), %rax callq *0x10(%rax) testb %al, %al je 0x22bad35 cmpb $0x1, 0x108(%r15) jne 0x22bad35 movq 0xd8(%r15), %rdi movl 0xe0(%r15), %eax leaq (%rdi,%rax,8), %r15 movq %r15, %rsi movq %r14, %rdx movq %rbx, %rcx ...
/Transforms/IPO/AttributorAttributes.cpp
llvm::DenseMap<llvm::Function*, std::optional<bool>, llvm::DenseMapInfo<llvm::Function*, void>, llvm::detail::DenseMapPair<llvm::Function*, std::optional<bool>>>::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
(anonymous namespace)::AAHeapToStackFunction::initialize(llvm::Attributor&)
void initialize(Attributor &A) override { AAHeapToStack::initialize(A); const Function *F = getAnchorScope(); const auto *TLI = A.getInfoCache().getTargetLibraryInfoForFunction(*F); auto AllocationIdentifierCB = [&](Instruction &I) { CallBase *CB = dyn_cast<CallBase>(&I); if (!CB) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rsi, %rbx movq %rdi, %r14 addq $0x40, %rdi callq 0xb0ec56 movq 0xa0(%rbx), %rcx movq 0xd0(%rcx), %rdi movq %rax, %rsi xorl %edx, %edx callq 0x227a3f8 leaq 0x58(%rsp), %rcx movq %rax, (%rcx) leaq 0x60(%rsp), %rdx movq %rcx, (%rdx) m...
/Transforms/IPO/AttributorAttributes.cpp
(anonymous namespace)::AAHeapToStackFunction::isAssumedHeapToStack(llvm::CallBase const&) const
bool isValidState() const override { return Assumed != getWorstState(); }
cmpb $0x0, 0x59(%rdi) je 0x22bd551 pushq %rbx movq %rdi, %rbx addq $0x60, %rdi callq 0x22bef08 movl 0x70(%rbx), %ecx shlq $0x4, %rcx addq 0x60(%rbx), %rcx cmpq %rcx, %rax je 0x22bd54d movl 0x8(%rax), %eax movq 0x78(%rbx), %rcx shlq $0x4, %rax movq 0x8(%rcx,%rax), %rax testq %rax, %rax je 0x22bd54d cmpl $0x2, 0xc(%rax) ...
/llvm/Transforms/IPO/Attributor.h
llvm::DenseMap<llvm::CallBase*, unsigned int, llvm::DenseMapInfo<llvm::CallBase*, void>, llvm::detail::DenseMapPair<llvm::CallBase*, unsigned int>>::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::SmallVectorTemplateBase<llvm::BranchInst*, true>::push_back(llvm::BranchInst*)
void push_back(ValueParamT Elt) { const T *EltPtr = reserveForParamAndGetAddress(Elt); memcpy(reinterpret_cast<void *>(this->end()), EltPtr, sizeof(T)); this->set_size(this->size() + 1); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0x22fafd0 movq (%rbx), %rax movl %edx, %ecx movq %r14, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq incq %rdx leaq 0x10(%rbx), %rsi movl $0x8, %ecx movq %rbx, %rdi callq 0x1b41f9e movl...
/llvm/ADT/SmallVector.h
llvm::DenseMapBase<llvm::DenseMap<llvm::ArrayRef<unsigned int>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::ArrayRef<unsigned int>, void>, llvm::detail::DenseSetPair<llvm::ArrayRef<unsigned int>>>, llvm::ArrayRef<unsigned int>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::ArrayRef<unsigned int>, void...
unsigned getNumBuckets() const { return NumBuckets; }
pushq %r15 pushq %r14 pushq %rbx movl 0x10(%rdi), %ebx testq %rbx, %rbx je 0x22fecb6 movq (%rdi), %r14 shlq $0x4, %rbx xorl %r15d, %r15d movq (%r14,%r15), %rdi movq 0x8(%r14,%r15), %rsi movq $-0x1, %rdx xorl %ecx, %ecx callq 0x22fb3ac testb %al, %al jne 0x22fecad movq (%r14,%r15), %rdi movq 0x8(%r14,%r15), %rsi movq $-...
/llvm/ADT/DenseMap.h
llvm::SmallVectorTemplateBase<std::pair<llvm::VTableSlotSummary, (anonymous namespace)::VTableSlotInfo>, false>::destroy_range(std::pair<llvm::VTableSlotSummary, (anonymous namespace)::VTableSlotInfo>*, std::pair<llvm::VTableSlotSummary, (anonymous namespace)::VTableSlotInfo>*)
static void destroy_range(T *S, T *E) { while (S != E) { --E; E->~T(); } }
cmpq %rdi, %rsi je 0x239b3aa pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq -0x20(%rbx), %rdi callq 0x239b2a4 movq -0x48(%rbx), %rdi testq %rdi, %rdi je 0x239b36d movq -0x38(%rbx), %rsi subq %rdi, %rsi callq 0x73a0e0 movq -0x60(%rbx), %rdi testq %rdi, %rdi je 0x239b382 movq -0x50(%rbx), %rsi subq...
/llvm/ADT/SmallVector.h
llvm::DenseMap<llvm::PHINode*, unsigned int, llvm::DenseMapInfo<llvm::PHINode*, void>, llvm::detail::DenseMapPair<llvm::PHINode*, unsigned int>>::shrink_and_clear()
void shrink_and_clear() { unsigned OldNumBuckets = NumBuckets; unsigned OldNumEntries = NumEntries; this->destroyAll(); // Reduce the number of buckets. unsigned NewNumBuckets = 0; if (OldNumEntries) NewNumBuckets = std::max(64, 1 << (Log2_32_Ceil(OldNumEntries) + 1)); if (NewNumBucke...
pushq %rbp pushq %rbx pushq %rax movq %rdi, %rbx movl 0x8(%rdi), %eax movl 0x10(%rdi), %esi testl %eax, %eax je 0x246da32 decl %eax je 0x246da36 bsrl %eax, %eax xorl $0x1f, %eax jmp 0x246da3b xorl %ebp, %ebp jmp 0x246da51 movl $0x20, %eax movb $0x21, %cl subb %al, %cl movl $0x1, %eax shll %cl, %eax cmpl $0x41, %eax mov...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::VPBlockBase*, std::unique_ptr<llvm::DomTreeNodeBase<llvm::VPBlockBase>, std::default_delete<llvm::DomTreeNodeBase<llvm::VPBlockBase>>>, llvm::DenseMapInfo<llvm::VPBlockBase*, void>, llvm::detail::DenseMapPair<llvm::VPBlockBase*, std::unique_ptr<llvm::DomTreeNodeBase<llvm::VPBlock...
value_type& FindAndConstruct(const KeyT &Key) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return *TheBucket; return *InsertIntoBucket(TheBucket, Key); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %r15, %rdx callq 0x24703f6 movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0x24703ec movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0x2470484 movq (%rbx), %rcx movq %rcx, (%rax) movq $...
/llvm/ADT/DenseMap.h
llvm::DenseMapBase<llvm::DenseMap<llvm::VPValue const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, llvm::DenseMapInfo<llvm::VPValue const*, void>, llvm::detail::DenseMapPair<llvm::VPValue const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, llvm:...
value_type& FindAndConstruct(const KeyT &Key) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return *TheBucket; return *InsertIntoBucket(TheBucket, Key); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %r15, %rdx callq 0x2471812 movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0x2471808 movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0x2471898 movq (%rbx), %rcx movq %rcx, (%rax) leaq 0...
/llvm/ADT/DenseMap.h
llvm::detail::DenseMapPair<llvm::VPValue const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>* llvm::DenseMapBase<llvm::DenseMap<llvm::VPValue const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, llvm::DenseMapInfo<llvm::VPValue const*, void>, llvm::...
BucketT *InsertIntoBucket(BucketT *TheBucket, KeyArg &&Key, ValueArgs &&... Values) { TheBucket = InsertIntoBucketImpl(Key, Key, TheBucket); TheBucket->getFirst() = std::forward<KeyArg>(Key); ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...); return ...
pushq %r14 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %rcx movq %rdx, %rsi callq 0x2471898 movq (%r14), %rcx movq %rcx, (%rax) leaq 0x18(%rax), %rdx movq %rdx, 0x8(%rax) movq (%rbx), %rsi leaq 0x10(%rbx), %rcx cmpq %rcx, %rsi je 0x2471ca0 movq %rsi, 0x8(%rax) movq (%rcx), %rdx movq %rdx, 0x18(%rax...
/llvm/ADT/DenseMap.h
std::tuple<llvm::VPBlockBase const*, llvm::VPAllSuccessorsIterator<llvm::VPBlockBase const*>, llvm::VPAllSuccessorsIterator<llvm::VPBlockBase const*>>& llvm::SmallVectorImpl<std::tuple<llvm::VPBlockBase const*, llvm::VPAllSuccessorsIterator<llvm::VPBlockBase const*>, llvm::VPAllSuccessorsIterator<llvm::VPBlockBase cons...
size_t size() const { return Size; }
movl 0x8(%rdi), %eax cmpl 0xc(%rdi), %eax jae 0x247268c movq (%rdi), %r8 leaq (%rax,%rax,4), %r9 movq (%rcx), %r10 movq %r10, (%r8,%r9,8) movq 0x8(%rcx), %rcx movq %rcx, 0x8(%r8,%r9,8) movq (%rdx), %rcx movq %rcx, 0x10(%r8,%r9,8) movq 0x8(%rdx), %rcx movq %rcx, 0x18(%r8,%r9,8) movq (%rsi), %rcx movq %rcx, 0x20(%r8,%r9,...
/llvm/ADT/SmallVector.h
llvm::DenseMap<llvm::VPRecipeBase*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::VPRecipeBase*, void>, llvm::detail::DenseSetPair<llvm::VPRecipeBase*>>::copyFrom(llvm::DenseMap<llvm::VPRecipeBase*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<llvm::VPRecipeBase*, void>, llvm::detail::DenseSetPair<llvm::VPRe...
void copyFrom(const DenseMap& other) { this->destroyAll(); deallocate_buffer(Buckets, sizeof(BucketT) * NumBuckets, alignof(BucketT)); if (allocateBuckets(other.NumBuckets)) { this->BaseT::copyFrom(other); } else { NumEntries = 0; NumTombstones = 0; } }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rdi movl 0x10(%rbx), %esi shlq $0x3, %rsi movl $0x8, %edx callq 0x1b3283e movl 0x10(%r14), %edi movl %edi, 0x10(%rbx) testq %rdi, %rdi je 0x2473c3a shlq $0x3, %rdi movl $0x8, %esi callq 0x1b32839 movq %rax, (%rbx) movq 0x8(%r14), %rcx movq %...
/llvm/ADT/DenseMap.h
(anonymous namespace)::PlainCFGBuilder::getOrCreateVPBB(llvm::BasicBlock*)
VPBasicBlock *PlainCFGBuilder::getOrCreateVPBB(BasicBlock *BB) { if (auto *VPBB = BB2VPBB.lookup(BB)) { // Retrieve existing VPBB. return VPBB; } // Create new VPBB. StringRef Name = isHeaderBB(BB, TheLoop) ? "vector.body" : BB->getName(); LLVM_DEBUG(dbgs() << "Creating VPBasicBlock for " << Name << ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r15 movq %rdi, %r14 movq %rsi, 0x10(%rsp) leaq 0x28(%rdi), %r13 leaq 0x18(%rsp), %rsi movq %r15, (%rsi) movq %rsp, %rdx movq %r13, %rdi callq 0x2475c9a testb %al, %al je 0x24751e9 movq (%rsp), %rax movq 0x8(%rax), %rbx testq ...
/Transforms/Vectorize/VPlanHCFGBuilder.cpp
llvm::VPRecipeBase::moveAfter(llvm::VPRecipeBase*)
void VPRecipeBase::moveAfter(VPRecipeBase *InsertPos) { removeFromParent(); insertAfter(InsertPos); }
leaq 0x18(%rdi), %rax movq 0x18(%rdi), %rcx movq 0x20(%rdi), %rdx movq %rcx, (%rdx) movq %rdx, 0x8(%rcx) xorps %xmm0, %xmm0 movups %xmm0, 0x18(%rdi) movq $0x0, 0x58(%rdi) movq 0x20(%rsi), %rcx movq 0x58(%rsi), %rdx movq %rdx, 0x58(%rdi) movq (%rcx), %rdx movq %rcx, 0x20(%rdi) movq %rdx, 0x18(%rdi) movq %rax, 0x8(%rdx) ...
/Transforms/Vectorize/VPlanRecipes.cpp
llvm::VPRecipeBase::moveBefore(llvm::VPBasicBlock&, llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::VPRecipeBase, false, false, void, false, void>, false, false>)
void VPRecipeBase::moveBefore(VPBasicBlock &BB, iplist<VPRecipeBase>::iterator I) { removeFromParent(); insertBefore(BB, I); }
leaq 0x18(%rdi), %rax movq 0x18(%rdi), %rcx movq 0x20(%rdi), %r8 movq %rcx, (%r8) movq %r8, 0x8(%rcx) xorps %xmm0, %xmm0 movups %xmm0, 0x18(%rdi) movq %rsi, 0x58(%rdi) movq (%rdx), %rcx movq %rdx, 0x20(%rdi) movq %rcx, 0x18(%rdi) movq %rax, 0x8(%rcx) movq %rax, (%rdx) retq nop
/Transforms/Vectorize/VPlanRecipes.cpp
llvm::DenseMapBase<llvm::DenseMap<llvm::AllocaInst*, llvm::AllocaInst*, llvm::DenseMapInfo<llvm::AllocaInst*, void>, llvm::detail::DenseMapPair<llvm::AllocaInst*, llvm::AllocaInst*>>, llvm::AllocaInst*, llvm::AllocaInst*, llvm::DenseMapInfo<llvm::AllocaInst*, void>, llvm::detail::DenseMapPair<llvm::AllocaInst*, llvm::A...
value_type& FindAndConstruct(KeyT &&Key) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return *TheBucket; return *InsertIntoBucket(TheBucket, std::move(Key)); }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 leaq 0x8(%rsp), %r15 movq %r15, %rdx callq 0x24b5ec4 movl %eax, %ecx movq (%r15), %rax testb %cl, %cl jne 0x24b5eba movq %r14, %rdi movq %rbx, %rsi movq %rbx, %rdx movq %rax, %rcx callq 0x24b5f52 movq (%rbx), %rcx movq %rcx, (%rax) movq $...
/llvm/ADT/DenseMap.h
llvm::DenseMap<llvm::AllocaInst*, llvm::AllocaInst*, llvm::DenseMapInfo<llvm::AllocaInst*, void>, llvm::detail::DenseMapPair<llvm::AllocaInst*, llvm::AllocaInst*>>::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
(anonymous namespace)::DataFlowSanitizer::getShadowOffset(llvm::Value*, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&)
Value *DataFlowSanitizer::getShadowOffset(Value *Addr, IRBuilder<> &IRB) { assert(Addr != RetvalTLS && "Reinstrumenting?"); Value *OffsetLong = IRB.CreatePointerCast(Addr, IntptrTy); uint64_t AndMask = MapParams->AndMask; if (AndMask) OffsetLong = IRB.CreateAnd(OffsetLong, ConstantInt::get(IntptrTy...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rdx, %rbx movq %rdi, %r15 movq 0x40(%rdi), %rdx leaq 0x8(%rsp), %rcx movw $0x101, 0x20(%rcx) # imm = 0x101 movq %rbx, %rdi callq 0x91418c movq %rax, %r14 movq 0x390(%r15), %rax movq (%rax), %rsi testq %rsi, %rsi je 0x24b6557 movq 0x40(%r15), %rdi notq %rsi xo...
/Transforms/Instrumentation/DataFlowSanitizer.cpp
(anonymous namespace)::VarArgHelperBase::unpoisonVAListTagForInst(llvm::IntrinsicInst&)
void unpoisonVAListTagForInst(IntrinsicInst &I) { IRBuilder<> IRB(&I); Value *VAListTag = I.getArgOperand(0); const Align Alignment = Align(8); auto [ShadowPtr, OriginPtr] = MSV.getShadowOriginPtr( VAListTag, IRB, IRB.getInt8Ty(), Alignment, /*isStore*/ true); // Unpoison the whole __va_list...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rsi, %r15 movq %rdi, %r14 leaq 0x18(%rsp), %rbx movq %rbx, %rdi xorl %edx, %edx xorl %ecx, %ecx xorl %r8d, %r8d callq 0x7ec75e movl 0x4(%r15), %eax shll $0x5, %eax subq %rax, %r15 movq (%r15), %r15 movq 0x18(%r14), %r12 movq 0x48(%rbx), %rdi callq 0x175...
/Transforms/Instrumentation/MemorySanitizer.cpp
void llvm::cl::apply<llvm::cl::opt<bool, false, llvm::cl::parser<bool>>, char [41], llvm::cl::desc, llvm::cl::OptionHidden>(llvm::cl::opt<bool, false, llvm::cl::parser<bool>>*, char const (&) [41], llvm::cl::desc const&, llvm::cl::OptionHidden const&)
void apply(Opt *O, const Mod &M, const Mods &... Ms) { applicator<Mod>::opt(M, *O); apply(O, Ms...); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq %rsi, %rdi callq 0x73a2e0 movq %r12, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x1b16ffe movups (%r14), %xmm0 movups %xmm0, 0x20(%r12) movl (%rbx), %eax movzwl 0xa(%r12), %ecx shll $0x5, %eax and...
/llvm/Support/CommandLine.h
llvm::cl::opt<bool, false, llvm::cl::parser<bool>>::opt<char [8], llvm::cl::initializer<bool>, llvm::cl::OptionHidden, llvm::cl::desc>(char const (&) [8], llvm::cl::initializer<bool> const&, llvm::cl::OptionHidden const&, llvm::cl::desc const&)
explicit opt(const Mods &... Ms) : Option(llvm::cl::Optional, NotHidden), Parser(*this) { apply(this, Ms...); done(); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %r8, %rbx movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %r14 xorl %esi, %esi xorl %edx, %edx callq 0x7bfb0c movb $0x0, 0x80(%r14) movq $0x0, 0x90(%r14) leaq 0x3119e91(%rip), %rax # 0x55f8c58 addq $0x10, %rax movq %rax, 0x88(%r14) leaq 0x32714df(...
/llvm/Support/CommandLine.h
llvm::DenseMapBase<llvm::DenseMap<llvm::Function const*, llvm::Constant*, llvm::DenseMapInfo<llvm::Function const*, void>, llvm::detail::DenseMapPair<llvm::Function const*, llvm::Constant*>>, llvm::Function const*, llvm::Constant*, llvm::DenseMapInfo<llvm::Function const*, void>, llvm::detail::DenseMapPair<llvm::Functi...
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 0x24f0d3f movq (%r15), %rax movabsq $0xfffffffffffffff, %rdx # imm = 0xFFFFFFFFFFFFFFF addq %rdx, %rcx andq %rcx, %rdx andl $0x1, %ecx ne...
/llvm/ADT/DenseMap.h
llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, false, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::opt<char [22], llvm::cl::initializer<char [1]>, llvm::cl::OptionHidden, llvm::cl::value_desc, llvm::cl::desc>(char const...
explicit opt(const Mods &... Ms) : Option(llvm::cl::Optional, NotHidden), Parser(*this) { apply(this, Ms...); done(); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %r9, (%rsp) movq %r8, %r15 movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbp movq %rdi, %r14 xorl %ebx, %ebx xorl %esi, %esi xorl %edx, %edx callq 0x7bfb0c leaq 0x90(%r14), %rax movq %rax, 0x80(%r14) movq %rbx, 0x88(%r14) movb %bl, 0x90(%r1...
/llvm/Support/CommandLine.h
canRenameComdat(llvm::Function&, std::unordered_multimap<llvm::Comdat*, llvm::GlobalValue*, std::hash<llvm::Comdat*>, std::equal_to<llvm::Comdat*>, std::allocator<std::pair<llvm::Comdat* const, llvm::GlobalValue*>>>&)
static bool canRenameComdat( Function &F, std::unordered_multimap<Comdat *, GlobalValue *> &ComdatMembers) { if (!DoComdatRenaming || !canRenameComdatFunc(F, true)) return false; // FIXME: Current only handle those Comdat groups that only containing one // function. // (1) For a Comdat group contai...
cmpb $0x1, 0x332dfd8(%rip) # 0x58277d0 jne 0x24f984e pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl $0x1, %esi callq 0x29092aa testb %al, %al je 0x24f9851 movq 0x30(%rbx), %rax movq %rsp, %rsi movq %rax, (%rsi) movq %r14, %rdi callq 0x22e2168 cmpq %rdx, %rax je 0x24f9855 movq %rax, %rcx movq 0x...
/Transforms/Instrumentation/PGOInstrumentation.cpp
void llvm::cl::apply<llvm::cl::opt<llvm::PGOViewCountsType, false, llvm::cl::parser<llvm::PGOViewCountsType>>, char [20], llvm::cl::OptionHidden, llvm::cl::desc, llvm::cl::ValuesClass>(llvm::cl::opt<llvm::PGOViewCountsType, false, llvm::cl::parser<llvm::PGOViewCountsType>>*, char const (&) [20], llvm::cl::OptionHidden ...
void apply(Opt *O, const Mod &M, const Mods &... Ms) { applicator<Mod>::opt(M, *O); apply(O, Ms...); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %r8, %rbx movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %r13 movq %rsi, %rdi callq 0x73a2e0 movq %r13, %rdi movq %r12, %rsi movq %rax, %rdx callq 0x1b16ffe movl (%r15), %eax movzwl 0xa(%r13), %ecx shll $0x5, %eax andl $0x60, %eax andl $-0x61, %ecx...
/llvm/Support/CommandLine.h
llvm::cl::opt<bool, false, llvm::cl::parser<bool>>::opt<char [40], llvm::cl::desc, llvm::cl::OptionHidden>(char const (&) [40], llvm::cl::desc const&, llvm::cl::OptionHidden const&)
explicit opt(const Mods &... Ms) : Option(llvm::cl::Optional, NotHidden), Parser(*this) { apply(this, Ms...); done(); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rcx, %r14 movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbx xorl %esi, %esi xorl %edx, %edx callq 0x7bfb0c movb $0x0, 0x80(%rbx) movq $0x0, 0x90(%rbx) leaq 0x30f5b10(%rip), %rax # 0x55f8c58 addq $0x10, %rax movq %rax, 0x88(%rbx) leaq 0x324d15e(%rip), %rax #...
/llvm/Support/CommandLine.h
void llvm::cl::apply<llvm::cl::opt<bool, false, llvm::cl::parser<bool>>, char [34], llvm::cl::desc, llvm::cl::OptionHidden>(llvm::cl::opt<bool, false, llvm::cl::parser<bool>>*, char const (&) [34], llvm::cl::desc const&, llvm::cl::OptionHidden const&)
void apply(Opt *O, const Mod &M, const Mods &... Ms) { applicator<Mod>::opt(M, *O); apply(O, Ms...); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 movq %rsi, %rdi callq 0x73a2e0 movq %r12, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x1b16ffe movups (%r14), %xmm0 movups %xmm0, 0x20(%r12) movl (%rbx), %eax movzwl 0xa(%r12), %ecx shll $0x5, %eax and...
/llvm/Support/CommandLine.h
llvm::SmallVectorTemplateBase<(anonymous namespace)::MetadataInfo const*, true>::push_back((anonymous namespace)::MetadataInfo const*)
void push_back(ValueParamT Elt) { const T *EltPtr = reserveForParamAndGetAddress(Elt); memcpy(reinterpret_cast<void *>(this->end()), EltPtr, sizeof(T)); this->set_size(this->size() + 1); }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx movl 0x8(%rdi), %edx cmpl 0xc(%rdi), %edx jae 0x250913e movq (%rbx), %rax movl %edx, %ecx movq %r14, (%rax,%rcx,8) incl 0x8(%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq incq %rdx leaq 0x10(%rbx), %rsi movl $0x8, %ecx movq %rbx, %rdi callq 0x1b41f9e movl...
/llvm/ADT/SmallVector.h
isl_union_pw_multi_aff_list_set_at
__isl_give LIST(EL) *FN(LIST(EL),set_at)(__isl_take LIST(EL) *list, int index, __isl_take EL *el) { if (!list || !el) goto error; if (FN(LIST(EL),check_index)(list, index) < 0) goto error; if (list->p[index] == el) { FN(EL,free)(el); return list; } list = FN(LIST(EL),cow)(list); if (!list) goto error; ...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r14 movq %rdi, %rbx testq %rdi, %rdi sete %al testq %rdx, %rdx sete %cl orb %al, %cl jne 0x251c534 testl %esi, %esi js 0x251c512 cmpl %esi, 0x10(%rbx) jle 0x251c512 movl %esi, %r15d movq 0x20(%rbx,%r15,8), %rdi cmpq %r14, %rdi je 0x251c54f movl (%rbx), %eax cmpl $0x1, %eax j...
/External/isl/isl_list_templ.c
isl_pw_aff_scale_val
__isl_give PW *FN(PW,scale_val)(__isl_take PW *pw, __isl_take isl_val *v) { int i; isl_size n; if (!pw || !v) goto error; if (isl_val_is_one(v)) { isl_val_free(v); return pw; } if (pw && DEFAULT_IS_ZERO && isl_val_is_zero(v)) { PW *zero; isl_space *space = FN(PW,get_space)(pw); zero = FN(PW,ZERO)(sp...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx testq %rdi, %rdi sete %al testq %rsi, %rsi sete %cl orb %al, %cl jne 0x2522dfe movq %r14, %rdi callq 0x25f9afa testl %eax, %eax je 0x2522dae movq %r14, %rdi callq 0x25f6bc0 jmp 0x2522e10 movq %r14, %rdi callq 0x25f8a66 movl 0x10(%rbx...
/External/isl/isl_pw_templ.c
isl_multi_union_pw_aff_pullback_union_pw_multi_aff
__isl_give isl_multi_union_pw_aff * isl_multi_union_pw_aff_pullback_union_pw_multi_aff( __isl_take isl_multi_union_pw_aff *mupa, __isl_take isl_union_pw_multi_aff *upma) { int i; isl_size n; mupa = isl_multi_union_pw_aff_align_params(mupa, isl_union_pw_multi_aff_get_space(upma)); upma = isl_union_pw_mult...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx testq %rsi, %rsi je 0x253b1cf movq 0x8(%r14), %rdi jmp 0x253b1d1 xorl %edi, %edi callq 0x25d5ed3 movq %rbx, %rdi movq %rax, %rsi callq 0x2537afa movq %rax, %rbx testq %rax, %rax je 0x253b1ef movq 0x8(%rbx), %rdi jmp 0x253b1f1 xorl %e...
/External/isl/isl_aff.c
generate_shifted_component_tree_base
static __isl_give isl_ast_graft_list *generate_shifted_component_tree_base( __isl_take isl_union_map *executed, __isl_take isl_ast_build *build, int isolated) { isl_bool outer_disjunction; isl_union_set *schedule_domain; isl_set *domain; isl_basic_set_list *domain_list; isl_ast_graft_list *list; enum isl_ast_lo...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %r14 movq %rsi, %rdi movl %edx, %esi callq 0x2542ba1 testl %eax, %eax js 0x254d4ce movl %eax, %ebp cmpl $0x3, %eax jne 0x254d4e5 movq %rbx, %rdi movl $0x1, %esi callq 0x2541231 movq %rax, %r15 movq %r14, %rdi c...
/External/isl/isl_ast_codegen.c
isl_map_convex_hull
__isl_give isl_basic_map *isl_map_convex_hull(__isl_take isl_map *map) { struct isl_basic_set *bset; struct isl_basic_map *model = NULL; struct isl_basic_set *affine_hull = NULL; struct isl_basic_map *convex_hull = NULL; struct isl_set *set = NULL; map = isl_map_detect_equalities(map); map = isl_map_align_divs_...
pushq %r14 pushq %rbx pushq %rax callq 0x253f99f movq %rax, %rdi callq 0x258553e testq %rax, %rax je 0x255cf1a movq %rax, %r14 cmpl $0x0, 0x28(%rax) je 0x255cf39 movq 0x38(%r14), %rdi callq 0x2579896 movq %rax, %rbx movq %r14, %rdi callq 0x2580f08 testq %rax, %rax je 0x255cf1c movq %rax, %r14 movq %rax, %rdi callq 0x25...
/External/isl/isl_convex_hull.c
isl_set_apply
__isl_give isl_set *isl_set_apply( __isl_take isl_set *set, __isl_take isl_map *map) { isl_bool ok; isl_map_align_params_set(&map, &set); ok = isl_map_compatible_domain(map, set); if (ok < 0) goto error; if (!ok) isl_die(isl_set_get_ctx(set), isl_error_invalid, "incompatible spaces", goto error); map = i...
pushq %r14 pushq %rbx subq $0x18, %rsp leaq 0x10(%rsp), %r14 movq %rdi, (%r14) leaq 0x8(%rsp), %rbx movq %rsi, (%rbx) movq %rbx, %rdi movq %r14, %rsi callq 0x2579dba movq (%rbx), %rbx movq (%r14), %r14 movq %rbx, %rdi movq %r14, %rsi callq 0x2578519 testl %eax, %eax js 0x25857ac je 0x2585781 movq %rbx, %rdi movq %r14, ...
/External/isl/isl_map.c
llvm::SmallVectorTemplateBase<std::tuple<llvm::BasicBlock*, llvm::PredIterator<llvm::BasicBlock, llvm::Value::user_iterator_impl<llvm::User>>, llvm::PredIterator<llvm::BasicBlock, llvm::Value::user_iterator_impl<llvm::User>>>, false>::grow(unsigned long)
void SmallVectorTemplateBase<T, TriviallyCopyable>::grow(size_t MinSize) { size_t NewCapacity; T *NewElts = mallocForGrow(MinSize, NewCapacity); moveElementsForGrow(NewElts); takeAllocationForGrow(NewElts, NewCapacity); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rdx movq %rdi, %rbx leaq 0x10(%rdi), %r14 movq %rsp, %r8 movl $0x18, %ecx movq %r14, %rsi callq 0x1b41e54 movq %rax, %r15 movq (%rbx), %rdi movl 0x8(%rbx), %eax testq %rax, %rax je 0x265a248 leaq (%rax,%rax,2), %rax leaq (%rdi,%rax,8), %rax xorl %ecx, %...
/llvm/ADT/SmallVector.h
std::pair<llvm::DenseMapIterator<std::pair<llvm::Function*, unsigned int>, unsigned int, llvm::DenseMapInfo<std::pair<llvm::Function*, unsigned int>, void>, llvm::detail::DenseMapPair<std::pair<llvm::Function*, unsigned int>, unsigned int>, false>, bool> llvm::DenseMapBase<llvm::DenseMap<std::pair<llvm::Function*, unsi...
std::pair<iterator, bool> try_emplace(KeyT &&Key, Ts &&... Args) { BucketT *TheBucket; if (LookupBucketFor(Key, TheBucket)) return std::make_pair(makeIterator(TheBucket, shouldReverseIterate<KeyT>() ? getBuckets() ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rsp), %r13 movq %rsi, %rdi movq %rdx, %rsi movq %r13, %rdx callq 0x28a1390 movl %eax, %ecx movq (%r13), %rax testb %cl, %cl je 0x28a133e xorl %ecx, %ecx jmp 0x28a1366 movq %r...
/llvm/ADT/DenseMap.h
llvm::object::supportsX86(unsigned long)
static bool supportsX86(uint64_t Type) { switch (Type) { case ELF::R_386_NONE: case ELF::R_386_32: case ELF::R_386_PC32: return true; default: return false; } }
cmpq $0x3, %rdi setb %al retq
/Object/RelocationResolver.cpp
(anonymous namespace)::BitcodeReader::readConstantRange(llvm::ArrayRef<unsigned long>, unsigned int&, unsigned int)
Expected<ConstantRange> readConstantRange(ArrayRef<uint64_t> Record, unsigned &OpNum, unsigned BitWidth) { if (Record.size() - OpNum < 2) return error("Too few records for range"); if (BitWidth > 64) { unsigned L...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rdi, %rbx movl (%r8), %eax movq %rcx, %rdx subq %rax, %rdx cmpq $0x1, %rdx ja 0x2a49120 addq $0x8, %rsi leaq 0x2543ff4(%rip), %rax # 0x4f8d0df leaq 0x60(%rsp), %rdx movq %rax, (%rdx) movw $0x103, 0x20(%rdx) #...
/Bitcode/Reader/BitcodeReader.cpp
WorkerCallback::WorkerCallback(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
WorkerCallback(std::string output) { if (output == "stdout") { m_output = stdout; } else if (output == "null") { m_output = NULL; } else { m_output = fopen(output.c_str(), "w"); } }
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx leaq 0x5a5d(%rip), %rax # 0xbcc8 movq %rax, (%rdi) leaq 0x2dc2(%rip), %rsi # 0x9037 movq %r14, %rdi callq 0x50b0 testl %eax, %eax je 0x62a5 leaq 0x2db6(%rip), %rsi # 0x903e movq %r14, %rdi callq 0x50b0 testl %eax, %eax je 0x62b1 movq (%r14)...
/csrg-utfsm[P]ACSflix/cmd/worker3F1S.cpp
WorkerFlow::work()
bool WorkerFlow::work() { // zmq_pollitem_t.socket = zmq obscure socket // zmq_pollitem_t.fd = socket fd // zmq_pollitem_t.events = what to poll // zmq_pollitem_t.revents = what was catched zmq_pollitem_t items[] = { { m_stream_socket, 0, ZMQ_POLLIN, 0 }, { m_notif_socket, 0,...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rdi, %rbx movq 0x8(%rdi), %rax movq %rsp, %rdi movq %rax, (%rdi) movabsq $0x100000000, %rax # imm = 0x100000000 movq %rax, 0x8(%rdi) movq 0x10(%rbx), %rcx movq %rcx, 0x10(%rdi) movq %rax, 0x18(%rdi) movl $0x2, %esi movq $-0x1, %rdx callq...
/csrg-utfsm[P]ACSflix/src/WorkerFlow.cpp
mbedtls_md_info_from_type
const mbedtls_md_info_t *mbedtls_md_info_from_type( mbedtls_md_type_t md_type ) { switch( md_type ) { #if defined(MBEDTLS_MD2_C) case MBEDTLS_MD_MD2: return( &mbedtls_md2_info ); #endif #if defined(MBEDTLS_MD4_C) case MBEDTLS_MD_MD4: return( &mbedtls_md4_info ); #endif #i...
addl $-0x3, %edi cmpl $0x6, %edi ja 0x5a91 movl %edi, %eax leaq 0xb0c4(%rip), %rcx # 0x10b50 movq (%rcx,%rax,8), %rax retq xorl %eax, %eax retq
/project-everest[P]mbedtls/library/md.c
mbedtls_internal_ripemd160_process
int mbedtls_internal_ripemd160_process( mbedtls_ripemd160_context *ctx, const unsigned char data[64] ) { uint32_t A, B, C, D, E, Ap, Bp, Cp, Dp, Ep, X[16]; GET_UINT32_LE( X[ 0], data, 0 ); GET_UINT32_LE( X[ 1], data, 4 ); GET_UINT32_LE( X[ 2], data, 8 ); G...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, (%rsp) movl (%rsi), %r11d movq %r11, -0x48(%rsp) movl 0x4(%rsi), %r14d movq %r14, -0x58(%rsp) movl 0x14(%rsi), %ebx movq %rbx, -0x60(%rsp) movl 0x8(%rdi), %ecx movl 0xc(%rdi), %r8d movl 0x10(%rdi), %eax movl 0x14(%rdi), %r9d movl 0x...
/project-everest[P]mbedtls/library/ripemd160.c
mbedtls_sha1_update_ret
int mbedtls_sha1_update_ret( mbedtls_sha1_context *ctx, const unsigned char *input, size_t ilen ) { int ret; size_t fill; uint32_t left; if( ilen == 0 ) return( 0 ); left = ctx->total[0] & 0x3F; fill = 64 - left; ctx->total...
testq %rdx, %rdx je 0x8c7c pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %ecx movl %ecx, %eax andl $0x3f, %eax movl %edx, %esi addl %ecx, %esi movl %esi, (%rdi) jae 0x8bf1 incl 0x4(%r14) xorl %ebp, %ebp testl %eax, %eax je 0x8c0d pushq $0x40 po...
/project-everest[P]mbedtls/library/sha1.c
mbedtls_sha512_starts_ret
int mbedtls_sha512_starts_ret( mbedtls_sha512_context *ctx, int is384 ) { ctx->total[0] = 0; ctx->total[1] = 0; if( is384 == 0 ) { /* SHA-512 */ ctx->state[0] = UL64(0x6A09E667F3BCC908); ctx->state[1] = UL64(0xBB67AE8584CAA73B); ctx->state[2] = UL64(0x3C6EF372FE94F82B); ...
xorps %xmm0, %xmm0 movups %xmm0, (%rdi) testl %esi, %esi je 0x9f39 movaps 0x306e(%rip), %xmm0 # 0xcf90 movaps 0x3077(%rip), %xmm1 # 0xcfa0 movaps 0x3080(%rip), %xmm2 # 0xcfb0 movaps 0x3089(%rip), %xmm3 # 0xcfc0 jmp 0x9f55 movaps 0x3010(%rip), %xmm0 # 0xcf50 movaps 0x3019(%rip), %xmm1 # 0xcf60 mo...
/project-everest[P]mbedtls/library/sha512.c
mbedtls_sha512_update_ret
int mbedtls_sha512_update_ret( mbedtls_sha512_context *ctx, const unsigned char *input, size_t ilen ) { int ret; size_t fill; unsigned int left; if( ilen == 0 ) return( 0 ); left = (unsigned int) (ctx->total[0] & 0x7F); fill...
testq %rdx, %rdx je 0xa52d pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq (%rdi), %rax movl %eax, %ecx andl $0x7f, %ecx movq %rax, %rsi addq %rdx, %rsi movq %rsi, (%rdi) jae 0xa49c incq 0x8(%r14) xorl %ebp, %ebp testl %ecx, %ecx je 0xa4ba movl $0x80, %r...
/project-everest[P]mbedtls/library/sha512.c
mbedtls_md5_starts_ret
int mbedtls_md5_starts_ret( mbedtls_md5_context *ctx ) { ctx->total[0] = 0; ctx->total[1] = 0; ctx->state[0] = 0x67452301; ctx->state[1] = 0xEFCDAB89; ctx->state[2] = 0x98BADCFE; ctx->state[3] = 0x10325476; return( 0 ); }
movaps 0x1b9b(%rip), %xmm0 # 0xc6b0 movups %xmm0, (%rdi) movabsq $0x1032547698badcfe, %rax # imm = 0x1032547698BADCFE movq %rax, 0x10(%rdi) xorl %eax, %eax retq
/project-everest[P]mbedtls/library/md5.c
mbedtls_internal_md5_process
int mbedtls_internal_md5_process( mbedtls_md5_context *ctx, const unsigned char data[64] ) { uint32_t X[16], A, B, C, D; GET_UINT32_LE( X[ 0], data, 0 ); GET_UINT32_LE( X[ 1], data, 4 ); GET_UINT32_LE( X[ 2], data, 8 ); GET_UINT32_LE( X[ 3], data, 12 ); GET_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r9 movq %rdi, -0x20(%rsp) movl (%rsi), %r11d movl 0x4(%rsi), %r13d movl 0x8(%rsi), %r12d movl 0x8(%rdi), %ebx movq %rbx, -0x8(%rsp) movl 0xc(%rdi), %esi movl 0x10(%rdi), %edx movl 0x14(%rdi), %ecx movl %ecx, %eax xorl %edx, %eax movq %rsi, %r...
/project-everest[P]mbedtls/library/md5.c
mbedtls_md5_finish_ret
int mbedtls_md5_finish_ret( mbedtls_md5_context *ctx, unsigned char output[16] ) { int ret; uint32_t last, padn; uint32_t high, low; unsigned char msglen[8]; high = ( ctx->total[0] >> 29 ) | ( ctx->total[1] << 3 ); low = ( ctx->total[0] << 3 ); PUT_U...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %rbx movq %rdi, %r14 movl (%rdi), %eax movl 0x4(%rdi), %ecx shldl $0x3, %eax, %ecx leal (,%rax,8), %edx leaq 0x8(%rsp), %r15 movb %dl, (%r15) movl %eax, %edx shrl $0x5, %edx movb %dl, 0x1(%r15) movl %eax, %edx shrl $0xd, %edx movb %dl, 0x2(%r15) movl %eax, %e...
/project-everest[P]mbedtls/library/md5.c
doit()
void doit() { char line[4096]; fgets(line, sizeof(line), stdin); // skip header int lineno = 2; VulnerabilityWeight vw; while (fgets(line, sizeof(line), stdin) != 0) { if (sscanf(line, "%d,%d,%f", &vw.areaperil_id, &vw.vulnerability_id, &vw.weight) != 3) { fprintf(stderr, "FATAL: Invalid d...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1018, %rsp # imm = 0x1018 movq 0x2c9c(%rip), %r14 # 0x3fd0 movq (%r14), %rdx leaq 0x10(%rsp), %rbx movq %rbx, %rdi movl $0x1000, %esi # imm = 0x1000 callq 0x10d0 movq (%r14), %rdx movq %rbx, %rdi movl $0x1000, %esi ...
/OasisLMF[P]ktools/src/weightstobin/weightstobin.cpp
initstreams(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
inline void initstreams(std::string inFile="", std::string outFile="") { if (outFile.length() > 0){ if (freopen(outFile.c_str(), "wb", stdout) == NULL) { fprintf(stderr, "%s: Error opening file %s\n", __func__, outFile.c_str()); exit(-1); } } if (inFile.length() > 0){ i...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpq $0x0, 0x8(%rsi) je 0x14eb movq %rsi, %r14 movq (%rsi), %rdi movq 0x2ae1(%rip), %rax # 0x3fb8 movq (%rax), %rdx leaq 0xb77(%rip), %rsi # 0x2058 callq 0x1090 testq %rax, %rax je 0x1547 cmpq $0x0, 0x8(%rbx) je 0x1510 movq (%rbx), %rdi movq 0x2ad4(%rip), %rax...
/OasisLMF[P]ktools/src/weightstobin/../include/oasis.h
cppqc::Result cppqc::quickCheckOutput<int, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type>(cppqc::Property<int, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type> const&, std::ostream&, unsigned long, unsigned l...
Result quickCheckOutput( const Property<T0, T1, T2, T3, T4>& prop, std::ostream& out = std::cout, std::size_t maxSuccess = 100, std::size_t maxDiscarded = 0, std::size_t maxSize = 0, std::chrono::duration<double> shrinkTimeout = DEFAULT_SHRINK_TIMEOUT, SeedType seed = USE_DEFAULT_SEED) { u...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1458, %rsp # imm = 0x1458 movsd %xmm0, 0x90(%rsp) movq %r9, %rbx movq %r8, %r15 movq %rcx, 0x28(%rsp) movq %rdx, %r14 movq %rsi, %r13 movq %rdi, 0x10(%rsp) leaq 0x2cbb(%rip), %rsi # 0xa18a movq %rdx, %rdi callq 0x71c0 movq %rax, %r...
/philipp-classen[P]CppQuickCheck/include/cppqc/Test.h
AxA_isGreaterThan_A::AxA_isGreaterThan_A()
AxA_isGreaterThan_A() : Property(cppqc::choose(MIN, MAX)) {}
pushq %r14 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx leaq 0x10(%rsp), %r14 pushq $0x2 popq %rsi movq %r14, %rdi movl $0x3e8, %edx # imm = 0x3E8 callq 0x7d6b movq (%r14), %rdi movq (%rdi), %rax callq *0x20(%rax) leaq 0x8(%rsp), %rsi movq %rax, (%rsi) movq %rbx, %rdi callq 0x7d94 movq 0x8(%rsp), %rdi testq %...
/philipp-classen[P]CppQuickCheck/examples/src/TestChooseGenerator.cpp
cppqc::Generator<std::tuple<int>> cppqc::tupleOf<int>(cppqc::Generator<int> const&)
Generator<std::tuple<T...>> tupleOf(const Generator<T>&... g) { return detail::TupleGenerator<T...>(g...); }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx movq (%rsi), %rdi movq (%rdi), %rax callq *0x20(%rax) leaq 0x8(%rsp), %rsi movq %rax, (%rsi) movq %rbx, %rdi callq 0x8446 movq 0x8(%rsp), %rdi testq %rdi, %rdi je 0x83ee movq (%rdi), %rax callq *0x8(%rax) movq %rbx, %rax addq $0x10, %rsp popq %rbx retq movq %rax, %rbx movq 0x...
/philipp-classen[P]CppQuickCheck/include/cppqc/Generator.h
cppqc::Generator<std::tuple<int>>::Generator<cppqc::detail::TupleGenerator<int>>(cppqc::detail::TupleGenerator<int> const&)
Generator(const Generator& g) : m_gen(g.m_gen->clone()) {}
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %r14 pushq $0x10 popq %rdi callq 0x71d0 movq %rax, %rbx movq (%r15), %rdi movq (%rdi), %rax callq *0x20(%rax) movq %rax, %r15 leaq 0x58e1(%rip), %rax # 0xdd50 movq %rax, (%rbx) movq (%r15), %rax movq %r15, %rdi callq *0x20(%rax) movq %rax, 0x8(%rbx) movq ...
/philipp-classen[P]CppQuickCheck/include/cppqc/Generator.h
cppqc::Generator<std::tuple<int>>::GenModel<cppqc::detail::TupleGenerator<int>>::clone() const
detail::GenConcept<T>* clone() const override { return new GenModel(m_obj); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r14 pushq $0x10 popq %rdi callq 0x71d0 movq %rax, %rbx movq 0x8(%r14), %rdi movq (%rdi), %rax callq *0x20(%rax) movq %rax, %r14 leaq 0x5823(%rip), %rax # 0xdd50 movq %rax, (%rbx) movq (%r14), %rax movq %r14, %rdi callq *0x20(%rax) movq %rax, 0x8(%rbx) movq (%r14), %rax ...
/philipp-classen[P]CppQuickCheck/include/cppqc/Generator.h
void cppqc::detail::TupleGeneratorHelper_shrink<0, int>::appendShrinks<std::tuple<cppqc::Generator<int>>>(std::tuple<int> const&, std::vector<std::tuple<int>, std::allocator<std::tuple<int>>>&, std::tuple<cppqc::Generator<int>> const&)
static void appendShrinks(const std::tuple<T...>& shrinkInput, std::vector<std::tuple<T...>>& shrinkOutput, const Generators& generators) { // Compute all shrink combinations for the tuple // element at the position "offset". // All other elements will...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %rbx movq %rdi, %rax movq (%rdx), %rsi movq (%rsi), %rcx leaq 0x10(%rsp), %r14 movq %r14, %rdi movq %rax, %rdx callq *0x18(%rcx) movq (%r14), %r15 movq 0x8(%r14), %r12 leaq 0xc(%rsp), %r14 cmpq %r12, %r15 je 0x8600 movl (%r15), %eax movl %eax, 0xc(...
/philipp-classen[P]CppQuickCheck/include/cppqc/Generator.h
cppqc::detail::resolveSeed(unsigned int)
inline SeedType resolveSeed(SeedType originalSeed = USE_DEFAULT_SEED) { if (originalSeed == USE_DEFAULT_SEED) { const char* seed_from_env = std::getenv(CPPQUICKCHECK_SEED_ENV); if (seed_from_env != nullptr) { try { return static_cast<uint32_t>(std::stoi(seed_from_env)); } catch (std::inval...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x198, %rsp # imm = 0x198 movl %edi, %r14d cmpl $-0x1, %edi jne 0x8883 leaq 0x1a69(%rip), %rdi # 0xa2a7 callq 0x7210 testq %rax, %rax je 0x8879 movq %rax, %rbx leaq 0x20(%rsp), %rdi movq %rsp, %rdx movq %rax, %rsi callq 0x70a0 leaq 0x20(%rsp), %rdi pushq...
/philipp-classen[P]CppQuickCheck/include/cppqc/Test.h
std::pair<unsigned long, cppqc::Property<int, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type>::Input> cppqc::detail::doShrink<int, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type, cppqc::detail::null_type>(cppqc::Property<int, cppqc::d...
std::pair<std::size_t, typename Property<T0, T1, T2, T3, T4>::Input> doShrink( const Property<T0, T1, T2, T3, T4>& prop, const typename Property<T0, T1, T2, T3, T4>::Input& in, std::chrono::duration<double> timeout, std::ostream& out = std::cout) { using Input = typename Property<T0, T1, T2, T3, T4>::...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rcx, 0x30(%rsp) movsd %xmm0, 0x8(%rsp) movq %rsi, %r15 movq %rdi, 0x28(%rsp) movl (%rdx), %eax movq %rsp, %rcx movl %eax, (%rcx) callq 0x7230 leaq 0x38(%rsp), %r13 movq %rax, (%r13) movsd 0x8(%rsp), %xmm0 movsd %xmm0, 0x8(%r13) mov...
/philipp-classen[P]CppQuickCheck/include/cppqc/Test.h
std::ostream& cppqc::printInput<int>(std::ostream&, std::tuple<int> const&)
std::ostream& printInput(std::ostream& out, const std::tuple<T0>& in) { return out << " 0: " << prettyPrint(std::get<0>(in)) << '\n' << std::flush; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx leaq 0x18cc(%rip), %rsi # 0xa41e callq 0x71c0 movq %rax, %r14 movq %rsp, %r15 movq %r15, %rdi movq %rbx, %rsi callq 0x9256 movq %r14, %rdi movq %r15, %rsi callq 0x7190 pushq $0xa popq %rsi movq %rax, %rdi callq 0x7200 movq %rax, %rdi callq 0x7140 mo...
/philipp-classen[P]CppQuickCheck/include/cppqc/Property.h
cppqc::detail::convertLabels(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, unsigned long, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator...
inline std::multimap<std::size_t, std::string> convertLabels( const std::map<std::string, std::size_t>& labelsCollected) { std::multimap<std::size_t, std::string> labels; for (const auto& elem : labelsCollected) { labels.insert(std::make_pair(elem.second, elem.first)); } return labels; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x30, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x8(%rdi), %rax andl $0x0, 0x8(%rdi) andq $0x0, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rax, 0x20(%rdi) andq $0x0, 0x28(%rdi) movq 0x18(%rsi), %r12 addq $0x8, %r14 leaq 0x10(%rsp), %r15 leaq 0x8(%rsp), %r13 cmpq ...
/philipp-classen[P]CppQuickCheck/include/cppqc/Test.h
cppqc::detail::outputLabels(std::ostream&, unsigned long, std::multimap<unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<unsigned long>, std::allocator<std::pair<unsigned long const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>>...
inline void outputLabels( std::ostream& out, std::size_t numSuccess, const std::multimap<std::size_t, std::string>& labels) { std::size_t cnt = 20; for (auto it = labels.rbegin(); it != labels.rend(); --cnt, ++it) { if (cnt == 0) { out << " ..." << std::endl; break; } if (it->s...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movq %rsi, (%rsp) movq %rdi, %rbx leaq 0x8(%rdx), %r13 pushq $-0x14 popq %r12 leaq 0x1640(%rip), %r15 # 0xa2bc cmpq 0x18(%r14), %r13 je 0x8d16 testq %r12, %r12 je 0x8d25 movq %r13, %rdi callq 0x7110 leaq 0x28(%rax), %rdi m...
/philipp-classen[P]CppQuickCheck/include/cppqc/Test.h
Map::~Map()
Map::~Map() { delete pMapTitle; delete pMapContinents; delete pMapCountries; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq (%rdi), %r14 testq %r14, %r14 je 0xd6cf movq %r14, %rdi callq 0x6220 pushq $0x20 popq %rsi movq %r14, %rdi callq 0x64c0 movq 0x8(%rbx), %r14 testq %r14, %r14 je 0xd6eb movq %r14, %rdi callq 0xe406 pushq $0x18 popq %rsi movq %r14, %rdi callq 0x64c0 movq 0x10(%rbx), %...
/WillTarte[P]COMP-345-RISK/src/Map.cpp
Map::Country::operator=(Map::Country&)
void Map::Country::operator=(Map::Country& rhs){ std::cout << "In country = operator:" << *rhs.cyName; this->cyID = rhs.cyID; this->cyName = rhs.cyName; this->cyContinent = rhs.cyContinent; this->pPlayerOwnerId = rhs.pPlayerOwnerId; this->pNumberOfTroops = rhs.pNumberOfTroops; this->pAdjCoun...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movq 0x30629(%rip), %rdi # 0x3dfa0 leaq 0x1ebfb(%rip), %rsi # 0x2c579 callq 0x64a0 movq 0x8(%rbx), %rsi movq %rax, %rdi callq 0x6460 movups (%rbx), %xmm0 movups %xmm0, (%r14) movups 0x10(%rbx), %xmm0 movups %xmm0, 0x10(%r14) movups 0x20(%rbx), %xm...
/WillTarte[P]COMP-345-RISK/src/Map.cpp
AggressiveBotStrategy::attackToCountryIndex()
int AggressiveBotStrategy::attackToCountryIndex() { Map::Country* smallestNeighbour = nullptr; unsigned int index = 0; for (unsigned long i = 0; i < from->getAdjCountries()->size(); i++) { if (smallestNeighbour == nullptr && from->getAdjCountries()->at(i)->getPlayerOwnerID() != from->getPlayerOw...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdi, %rbx xorl %r15d, %r15d xorl %ebp, %ebp xorl %r14d, %r14d movq 0x28(%rbx), %rax movq 0x28(%rax), %rdi movq 0x8(%rdi), %rax subq (%rdi), %rax sarq $0x3, %rax cmpq %rax, %r14 jae 0x18023 testq %r15, %r15 je 0x17fcf movq 0x20(%r15), %rax movl (%rax), %r12d m...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AggressiveBotStrategy::attackNumDice()
int AggressiveBotStrategy::attackNumDice() { int numDice = 0; if (from->getNumberOfTroops() > 3) { numDice = 3; } else { numDice = from->getNumberOfTroops() - 1; } return numDice; }
movq 0x28(%rdi), %rax movq 0x20(%rax), %rax movl (%rax), %eax leal -0x1(%rax), %ecx cmpl $0x4, %eax pushq $0x3 popq %rax cmovll %ecx, %eax retq nop
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AggressiveBotStrategy::defendNumDice()
int AggressiveBotStrategy::defendNumDice() { int numDice = 0; if (to->getNumberOfTroops() >= 2) { numDice = 2; } else { numDice = 1; } return numDice; }
movq 0x30(%rdi), %rax movq 0x20(%rax), %rcx xorl %eax, %eax cmpl $0x2, (%rcx) setge %al incl %eax retq nop
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AggressiveBotStrategy::fortifyFromCountryIndex()
int AggressiveBotStrategy::fortifyFromCountryIndex() { int fromCountryIndex = 0; int numTroops = 9999; for (int i = 0; i < player->getOwnedCountries()->size(); i++) { if (player->getOwnedCountries()->at(i)->getNumberOfTroops() < numTroops && player->getOwnedCountries()->at(i)->getNumberOfTroops(...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movl $0x270f, %r15d # imm = 0x270F xorl %r14d, %r14d xorl %ebp, %ebp movq 0x20(%rbx), %rax movq (%rax), %rdi movq 0x8(%rdi), %rax subq (%rdi), %rax sarq $0x3, %rax cmpq %r14, %rax jbe 0x180f0 movq %r14, %rsi callq 0x9d6c movq (%rax), %rax m...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AggressiveBotStrategy::fortifyToCountryIndex()
int AggressiveBotStrategy::fortifyToCountryIndex() { int toCountry = 0; int numTroops = 2; for (int i = 0; i < from->getAdjCountries()->size(); i++) { if (from->getAdjCountries()->at(i)->getNumberOfTroops() >= numTroops) { toCountry = i; numTroops = from->getAdjCountrie...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx pushq $0x2 popq %r15 xorl %r14d, %r14d xorl %ebp, %ebp movq 0x28(%rbx), %rax movq 0x28(%rax), %rdi movq 0x8(%rdi), %rax subq (%rdi), %rax sarq $0x3, %rax cmpq %r14, %rax jbe 0x18176 movq %r14, %rsi callq 0x9d6c movq (%rax), %rax movq 0x20(%rax), %ra...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AggressiveBotStrategy::reinforceArmyCount()
int AggressiveBotStrategy::reinforceArmyCount() { Map::Country* biggest = nullptr; for (auto* country : *player->getOwnedCountries()) { if (biggest == nullptr || country->getNumberOfTroops() > biggest->getNumberOfTroops()) { biggest = country; } } if (biggest != null...
pushq %rbx movq %rdi, %rbx movq 0x20(%rdi), %rax movq (%rax), %rax movq (%rax), %rcx movq 0x8(%rax), %rdx xorl %eax, %eax cmpq %rdx, %rcx je 0x181cb movq (%rcx), %rsi testq %rax, %rax je 0x181c2 movq 0x20(%rsi), %rdi movl (%rdi), %edi movq 0x20(%rax), %r8 cmpl (%r8), %edi jle 0x181c5 movq %rsi, %rax addq $0x8, %rcx jmp...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
AggressiveBotStrategy::numCards()
int AggressiveBotStrategy::numCards() { int count = 0; for (auto cardType : *player->getCards()->getHand()) { if ((int) cardType == *exchangingCardType) { count++; } } return count; }
movq 0x10(%rdi), %rcx movq 0x20(%rdi), %rax movq 0x8(%rax), %rax movq (%rax), %rax movq (%rax), %rdx movq 0x8(%rax), %rsi xorl %eax, %eax cmpq %rsi, %rdx je 0x18243 movl (%rdx), %edi xorl %r8d, %r8d cmpl (%rcx), %edi sete %r8b addl %r8d, %eax addq $0x4, %rdx jmp 0x1822a retq
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::yesOrNo(StrategyContext)
signed char BenevolentBotStrategy::yesOrNo(StrategyContext context) { char botChoice = 0; switch ((int) context) { case StrategyContext::ATTACK: botChoice = 'n'; break; case StrategyContext::FORTIFY: botChoice = canFortify() ? 'y' : 'n'; br...
pushq %rbx cmpl $0xa, %esi je 0x18263 movb $0x6e, %al cmpl $0x6, %esi jne 0x18265 callq 0x18282 testb %al, %al pushq $0x79 popq %rcx pushq $0x6e popq %rax cmovnel %ecx, %eax jmp 0x18265 movb $0x79, %al movzbl %al, %ebx movq 0x25d31(%rip), %rdi # 0x3dfa0 movl %ebx, %esi callq 0x6530 movq %rax, %rdi callq 0x6260 movl...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::canFortify()
bool BenevolentBotStrategy::canFortify() { bool canFortify = false; Map::Country* smallestCountry = nullptr; for (auto* country: *player->getOwnedCountries()) { if (smallestCountry == nullptr) { smallestCountry = country; } else if (smallestCountry->getNumberOfTroops() > ...
pushq %r14 pushq %rbx movq 0x20(%rdi), %rax movq (%rax), %rax movq (%rax), %rdx movq 0x8(%rax), %rsi xorl %ecx, %ecx xorl %eax, %eax cmpq %rsi, %rdx je 0x182fa movq (%rdx), %rdi testq %rcx, %rcx je 0x182f1 movq 0x20(%rcx), %r9 movq 0x20(%rdi), %r8 movl (%r8), %r8d cmpl %r8d, (%r9) jle 0x182ee movq 0x28(%rdi), %r10 movq...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::intInput(StrategyContext)
int BenevolentBotStrategy::intInput(StrategyContext context) { int count = 0; switch ((int) context) { case StrategyContext::DEFEND_DICE_COUNT: count = defendNumDice(); break; case StrategyContext::FORTIFY_FROM_COUNTRY: count = fortifyFromCountryIndex...
pushq %rbx pushq $-0x1 popq %rbx addl $-0x5, %esi cmpl $0x7, %esi ja 0x18391 leaq 0x1627b(%rip), %rax # 0x2e5cc movslq (%rax,%rsi,4), %rcx addq %rax, %rcx jmpq *%rcx movq 0x30(%rdi), %rax movq 0x20(%rax), %rax xorl %ebx, %ebx cmpl $0x2, (%rax) setge %bl incl %ebx jmp 0x18391 callq 0x18442 jmp 0x1838f callq 0x184f0 ...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::defendNumDice()
int BenevolentBotStrategy::defendNumDice() { int numDice = 0; if (to->getNumberOfTroops() >= 2) { numDice = 2; } else { numDice = 1; } return numDice; }
movq 0x30(%rdi), %rax movq 0x20(%rax), %rcx xorl %eax, %eax cmpl $0x2, (%rcx) setge %al incl %eax retq nop
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::fortifyFromCountryIndex()
int BenevolentBotStrategy::fortifyFromCountryIndex() { unsigned int fromCountryIndex = 0; int numTroops = -1; for(int i = 0; i < player->getOwnedCountries()->size(); i++){ if(player->getOwnedCountries()->at(i)->getNumberOfTroops() > numTroops){ fromCountryIndex = i; num...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx pushq $-0x1 popq %r15 xorl %r14d, %r14d xorl %ebp, %ebp movq 0x20(%rbx), %rax movq (%rax), %rdi movq 0x8(%rdi), %rax subq (%rdi), %rax sarq $0x3, %rax cmpq %r14, %rax jbe 0x18435 movq %r14, %rsi callq 0x9d6c movq (%rax), %rax movq 0x20(%rax), %rax c...
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::fortifyArmyCount()
int BenevolentBotStrategy::fortifyArmyCount() { int move = from->getNumberOfTroops(); move = (move - to->getNumberOfTroops()) / 2; //bug fix : so that it doesnt try to move a negative number of armies if(move < 0){ return 0; } return move; }
movq 0x28(%rdi), %rax movq 0x30(%rdi), %rdx movq 0x20(%rax), %rax movl (%rax), %ecx movq 0x20(%rdx), %rax subl (%rax), %ecx pushq $0x2 popq %rsi movl %ecx, %eax cltd idivl %esi xorl %edx, %edx cmpl $-0x1, %ecx cmovll %edx, %eax retq nop
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
BenevolentBotStrategy::numArmies()
int BenevolentBotStrategy::numArmies() { int count = 0; for (auto cardType : *player->getCards()->getHand()) { if ((int) cardType == *exchangingCardType) { count++; } } return count; }
movq 0x10(%rdi), %rcx movq 0x20(%rdi), %rax movq 0x8(%rax), %rax movq (%rax), %rax movq (%rax), %rdx movq 0x8(%rax), %rsi xorl %eax, %eax cmpq %rsi, %rdx je 0x185b7 movl (%rdx), %edi xorl %r8d, %r8d cmpl (%rcx), %edi sete %r8b addl %r8d, %eax addq $0x4, %rdx jmp 0x1859e retq
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp
RandomBotStrategy::chooseRandomCountry(std::mersenne_twister_engine<unsigned long, 32ul, 624ul, 397ul, 31ul, 2567483615ul, 11ul, 4294967295ul, 7ul, 2636928640ul, 15ul, 4022730752ul, 18ul, 1812433253ul>)
int RandomBotStrategy::chooseRandomCountry(std::mt19937 gen) { int numberOfCountries = this->player->getOwnedCountries()->size(); std::uniform_int_distribution<> dis(0, numberOfCountries - 1); // define the range return dis(gen); }
pushq %rax movq 0x20(%rdi), %rax movq (%rax), %rax movq 0x8(%rax), %rcx subq (%rax), %rcx shrq $0x3, %rcx decl %ecx movq %rsp, %rdi andl $0x0, (%rdi) movl %ecx, 0x4(%rdi) leaq 0x10(%rsp), %rsi callq 0xec7e popq %rcx retq
/WillTarte[P]COMP-345-RISK/src/PlayerStrategy.cpp