Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
idx
int64
0
2.11M
name
stringlengths
1
118k
code
stringlengths
6
516k
asm
stringlengths
21
4.64M
file
stringlengths
39
143
opt
stringclasses
1 value
path
stringlengths
20
133
0
hitvmiss_measurement
uint64_t hitvmiss_measurement(struct cache_t cache) { int8_t dummyMem[5 * cache.size]; uint64_t alignedMem = ((uint64_t)&dummyMem + cache.size) & cache.mask_Tag; uint8_t dummyVar = 0; uint64_t start, end; uint64_t data_index = 0; volatile uint8_t* current_addr= 0; FILE *f = fopen(DATAFILE,...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp leaq 0x10(%rbp), %rcx movq %rcx, -0x90(%rbp) movl 0x8(%rcx), %edx movl %edx, %eax leal (%rax,%rax,4), %eax movl %eax, %edx movq %rsp, %rax movq %rax, -0x8(%rbp) movq %rdx, %rsi addq $0xf, %rsi andq $-0x10, %rsi movq %rsp, %rax subq %rsi, %rax movq %rax, %rsp movq %rdx, -0x10(...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/hitvsmiss_datacollect.c
1
main
int main() { struct cache_t cache = getL1DCache(); uint64_t datasize = 0; // FILE *f = fopen(DATAFILE, 'w'); // Destroy the DATAFILE if it already exists. // fclose(f); printf("\nChecking hit vs miss cache read times.\n"); datasize = hitvmiss_measurement(cache); printf("\tCollected %d...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movl $0x0, -0x4(%rbp) leaq -0x50(%rbp), %rdi movb $0x0, %al callq 0x402590 movq $0x0, -0x58(%rbp) leaq 0xb92df(%rip), %rdi # 0x4bb01b movb $0x0, %al callq 0x40d1b0 movq -0x10(%rbp), %rcx movq %rsp, %rax movq %rcx, 0x40(%rax) movups -0x50(%rbp), %xmm0 movups -0x40(%rbp), %...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/hitvsmiss_datacollect.c
2
x86_64_rdtsc
static inline uint64_t _x86_64_rdtsc() { unsigned int lo, hi; asm volatile( "rdtsc" : "=a" (lo), "=d" (hi) ); char *msg = malloc(100); sprintf(msg, "cycles: %ld", ((uint64_t)hi << 32) | lo); debug_msg(msg); return ((uint64_t)hi << 32) | lo; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp rdtsc movl %eax, -0x4(%rbp) movl %edx, -0x8(%rbp) movl $0x64, %edi callq 0x429410 movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rdi movl -0x8(%rbp), %eax movl %eax, %edx shlq $0x20, %rdx movl -0x4(%rbp), %eax orq %rax, %rdx leaq 0xb929c(%rip), %rsi # 0x4bb0a4 movb $0x0, %al c...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.h
3
get_numCaches
int get_numCaches(int hart_id) { DIR *dirp; struct dirent *dir; int count = 0; char target[50]; sprintf(target, "/sys/devices/system/cpu/cpu%d/cache/", hart_id); DIR* d = opendir(target); if(d==NULL) { printf("Number of caches could not be determined from device tree. Are you in an...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x8(%rbp) movl $0x0, -0x1c(%rbp) leaq -0x50(%rbp), %rdi movl -0x8(%rbp), %edx leaq 0xb925e(%rip), %rsi # 0x4bb0be movb $0x0, %al callq 0x40d280 leaq -0x50(%rbp), %rdi callq 0x45c400 movq %rax, -0x58(%rbp) cmpq $0x0, -0x58(%rbp) jne 0x401ea0 leaq 0xb9261(%rip),...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
4
get_numCPUOnline
int get_numCPUOnline() { char sysfile[] = "/sys/devices/system/cpu/online"; char *online = get_StringFromSysFile(sysfile); int numCPU = 0; if (strcmp(online, "0") == 0) { return 1; } char *ptr; ptr = strtok(online, "-"); while (ptr != NULL) { ptr = strtok(NULL, "-")...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq 0xb9361(%rip), %rax # 0x4bb270 movq %rax, -0x30(%rbp) movq 0xb935e(%rip), %rax # 0x4bb278 movq %rax, -0x28(%rbp) movq 0xb935b(%rip), %rax # 0x4bb280 movq %rax, -0x20(%rbp) movl 0xb9359(%rip), %eax # 0x4bb288 movl %eax, -0x18(%rbp) movw 0xb9353(%rip), %ax ...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
5
get_CacheParameters
struct cache_t get_CacheParameters(int hart_id, int cache_index) { struct cache_t cache; char buff[200]; char *buff_ptr; char *workingdir; sprintf(buff, "/sys/devices/system/cpu/cpu%d/cache/index%d/", hart_id, cache_index); workingdir = calloc(strlen(buff), sizeof(char)); strcp...
pushq %rbp movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movq %rdi, -0x110(%rbp) movq %rdi, -0x108(%rbp) movl %esi, -0x4(%rbp) movl %edx, -0x8(%rbp) leaq -0xd0(%rbp), %rdi movl -0x4(%rbp), %edx movl -0x8(%rbp), %ecx leaq 0xb915c(%rip), %rsi # 0x4bb15f movb $0x0, %al callq 0x40d280 leaq -0xd0(%rbp), %rd...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
6
get_CPUParameters
struct cpu_t get_CPUParameters(int hart_id) { struct cpu_t cpu; cpu.hart = hart_id; cpu.numCaches = get_numCaches(hart_id); // printf("[get_CPUParameters] Hart cpu%d has %d caches.\n", hart_id, // cpu.numCaches); cpu.cache = calloc(cpu.numCaches, sizeof(struct cache_t)); for(int cache...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movl %edi, -0x14(%rbp) movl -0x14(%rbp), %eax movl %eax, -0x10(%rbp) movl -0x14(%rbp), %edi callq 0x401e40 movl %eax, -0xc(%rbp) movslq -0xc(%rbp), %rdi movl $0x48, %esi callq 0x42a860 movq %rax, -0x8(%rbp) movl $0x0, -0x18(%rbp) movl -0x18(%rbp), %eax cmpl -0xc(%rbp), %eax j...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
7
initialize_cpu
struct cpu_t * initialize_cpu() { int numCPU = get_numCPUOnline(); if (numCPU == -1) { return NULL; } struct cpu_t *cpu; cpu = malloc(numCPU * sizeof(struct cpu_t)); for(int i=0; i<numCPU; i++) { cpu[i] = get_CPUParameters(i); } return cpu; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp callq 0x401f00 movl %eax, -0xc(%rbp) cmpl $-0x1, -0xc(%rbp) jne 0x402510 movq $0x0, -0x8(%rbp) jmp 0x40257c movslq -0xc(%rbp), %rdi shlq $0x4, %rdi callq 0x429410 movq %rax, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movl -0x1c(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0x402574 movq -0x1...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
8
getL1DCache
struct cache_t getL1DCache() { int numCPU = get_numCPUOnline(); struct cpu_t *cpu = initialize_cpu(); int currCPU = get_hartid(); struct cache_t cache = cpu[currCPU].cache[0]; if (strcmp(cache.type, "Instruction") == 0) { cache = cpu[currCPU].cache[1]; } return cache; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x20(%rbp) movq %rdi, -0x28(%rbp) callq 0x401f00 movl %eax, -0x4(%rbp) callq 0x4024f0 movq %rax, -0x10(%rbp) movb $0x0, %al callq 0x402b40 movq -0x20(%rbp), %rdi movl %eax, -0x14(%rbp) movq -0x10(%rbp), %rax movslq -0x14(%rbp), %rcx shlq $0x4, %rcx addq %rcx, %rax...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
9
notimplemented
void notimplemented() { debug_msg("Not implemented."); }
pushq %rbp movq %rsp, %rbp leaq 0xb8c12(%rip), %rdi # 0x4bb24d leaq 0xb8c1a(%rip), %rsi # 0x4bb25c callq 0x402cc0 popq %rbp retq nopl (%rax)
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/low.c
10
concat
char* concat(char *s1, char *s2) { char *result = malloc(strlen(s1) + strlen(s2) + 1); strcpy(result, s1); strcat(result, s2); return result; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi callq 0x4010e0 movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x4010e0 movq -0x20(%rbp), %rdi addq %rax, %rdi addq $0x1, %rdi callq 0x429410 movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi movq -0x8(%rbp), ...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/util.c
11
get_StringFromSysFile
char* get_StringFromSysFile(char filename[]){ FILE *fp; char *buff = malloc(100); // TODO: allocate this better fp = fopen(filename, "r"); if (fp == NULL) { return NULL; } fscanf(fp, "%s", buff); fclose(fp); // printf("about to return from sysstring reader, buff is %s\n", buff); ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movl $0x64, %edi callq 0x429410 movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi leaq 0xd4a12(%rip), %rsi # 0x4d7507 callq 0x41baa0 movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) jne 0x402b0f movq $0x0, -0x8(%rbp) jmp 0x402b36 movq -0x18(%rbp), %rdi mov...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/util.c
12
get_hartid
int get_hartid() { FILE *fp = fopen("/proc/self/stat", "r"); long to_read = 8192; char buff[to_read]; int read = fread(buff, sizeof(char), to_read, fp); fclose(fp); char* line = strtok(buff, " "); for (int i=1; i<38; i++) { line = strtok(NULL, " "); } line = strtok(NULL, " ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp leaq 0xb9041(%rip), %rdi # 0x4bbb90 leaq 0xd49b1(%rip), %rsi # 0x4d7507 callq 0x41baa0 movq %rax, -0x8(%rbp) movq $0x2000, -0x10(%rbp) # imm = 0x2000 movq -0x10(%rbp), %rax movq %rsp, %rcx movq %rcx, -0x18(%rbp) movq %rax, %rcx addq $0xf, %rcx andq $-0x10, %rcx mov...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/util.c
13
int_to_binary_string
char* int_to_binary_string(long long num, int numbits) { char *binary_string = malloc((numbits+1) * sizeof(char)); binary_string[numbits] = '\0'; for (int i=numbits-1; i>=0; i--) { binary_string[i] = (num % 2) ? '1' : '0'; num = num / 2; } return binary_string; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0xc(%rbp), %eax addl $0x1, %eax movslq %eax, %rdi shlq $0x0, %rdi callq 0x429410 movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movslq -0xc(%rbp), %rcx movb $0x0, (%rax,%rcx) movl -0xc(%rbp), %eax subl $0x1, %eax movl %eax, -0x...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/util.c
14
debug_msg
void _debug_msg(char const * caller_name, char msg[]) { if (g_DEBUG) { printf("DEBUG: [%s] %s\n", caller_name, msg); } }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq $0x4ef3f0, %rax # imm = 0x4EF3F0 cmpb $0x0, (%rax) je 0x402cf2 movq -0x8(%rbp), %rsi movq -0x10(%rbp), %rdx leaq 0xb8eb5(%rip), %rdi # 0x4bbba0 movb $0x0, %al callq 0x40d1b0 addq $0x10, %rsp popq %rbp retq nopl (%r...
bradley-evans[P]riscv-uarch-attacks[P]build_O0[P]bin[P]hitvsmiss_datacollect.asm_src.json
O0
bradley-evans[P]riscv-uarch-attacks/src/debug_log.c
15
main
int main() { key_t key; int msgid; size_t len = 0; // ftok to generate unique key key = ftok("progfile", 65); // msgget creates a message queue // and returns identifier msgid = msgget(key, 0666 | IPC_CREAT); message.mesg_type = 1; printf("Write Data : "); ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl $0x0, -0x4(%rbp) movq $0x0, -0x18(%rbp) leaq 0xe66(%rip), %rdi # 0x2004 movl $0x41, %esi callq 0x1070 movl %eax, -0x8(%rbp) movl -0x8(%rbp), %edi movl $0x3b6, %esi # imm = 0x3B6 callq 0x1030 movl %eax, -0xc(%rbp) movq $0x1, 0x2e92(%rip) # 0x4058 leaq 0xe...
ADVRHumanoids[P]RT-NRT_IPC_Xenomai[P]build_O0[P]message_queue_writer.asm_src.json
O0
ADVRHumanoids[P]RT-NRT_IPC_Xenomai/src/ipc/message_queue_writer.c
16
_cxx_global_var_init
int main() { std::vector<int32_t> fib_seq; fibonacci(0, 1, fib_seq, 100); print("fib:", fib_seq); return 0; }
pushq %rbp movq %rsp, %rbp leaq 0x3ece(%rip), %rdi # 0x6149 callq 0x21c0 movq 0x3d71(%rip), %rdi # 0x5ff8 leaq 0x3ebb(%rip), %rsi # 0x6149 leaq 0x3ea3(%rip), %rdx # 0x6138 callq 0x2110 popq %rbp retq nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
vocasle[P]principles_and_practice_using_cpp/part_1_the_basics/chapter_8/problem_3.cpp
17
GLOBAL__sub_I_problem_3.cpp
int main() { std::vector<int32_t> fib_seq; fibonacci(0, 1, fib_seq, 100); print("fib:", fib_seq); return 0; }
pushq %rbp movq %rsp, %rbp callq 0x2270 popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
vocasle[P]principles_and_practice_using_cpp/part_1_the_basics/chapter_8/problem_3.cpp
18
error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void error(const std::string& msg) { throw std::runtime_error(msg); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl $0x10, %edi callq 0x2080 movq %rax, %rdi movq %rdi, %rax movq %rax, -0x20(%rbp) movq -0x8(%rbp), %rsi callq 0x21d0 jmp 0x23cb movq -0x20(%rbp), %rdi movq 0x3c1a(%rip), %rsi # 0x5ff0 movq 0x3beb(%rip), %rdx # 0x5fc8 callq 0x2200 movq -0x20(...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
vocasle[P]principles_and_practice_using_cpp/part_1_the_basics/chapter_8/chapter_8.h
19
fibonacci(int, int, std::vector<int, std::allocator<int>>&, int)
void fibonacci(int32_t first, int32_t second, std::vector<int32_t>& numbers, int32_t numOfElements) { // Fn = Fn-1 + Fn-2 if (first < 0 || second < 0 || numOfElements < 0) error("'first' or 'second' or 'numOfElements' must be nonnegative"); if (numOfElements == 0) return; numbers.push_back(first); numbers.push...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x4(%rbp) movl %esi, -0x8(%rbp) movq %rdx, -0x10(%rbp) movl %ecx, -0x14(%rbp) cmpl $0x0, -0x4(%rbp) jl 0x2427 cmpl $0x0, -0x8(%rbp) jl 0x2427 cmpl $0x0, -0x14(%rbp) jge 0x2497 leaq -0x39(%rbp), %rdi movq %rdi, -0x60(%rbp) callq 0x2230 movq -0x60(%rbp), %rdx leaq 0...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
vocasle[P]principles_and_practice_using_cpp/part_1_the_basics/chapter_8/problem_3.h
20
main
int main() { std::vector<int32_t> fib_seq; fibonacci(0, 1, fib_seq, 100); print("fib:", fib_seq); return 0; }
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movl $0x0, -0x4(%rbp) leaq -0x20(%rbp), %rdi movq %rdi, -0x60(%rbp) callq 0x2730 movq -0x60(%rbp), %rdx xorl %edi, %edi movl $0x1, %esi movl $0x64, %ecx callq 0x2400 jmp 0x2543 leaq -0x51(%rbp), %rdi movq %rdi, -0x68(%rbp) callq 0x2230 movq -0x68(%rbp), %rdx leaq 0x1ae4(%rip)...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
vocasle[P]principles_and_practice_using_cpp/part_1_the_basics/chapter_8/problem_3.cpp
21
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::basic_string<std::allocator<char>>(char const*, std::allocator<char> const&)
basic_string(const _CharT* __s, const _Alloc& __a = _Alloc()) : _M_dataplus(_M_local_data(), __a) { const _CharT* __end = __s ? __s + traits_type::length(__s) // We just need a non-null pointer here to get an exception: : reinterpret_cast<const _CharT*>(__alignof__(_CharT)); _M_construct(__s, __end,...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x38(%rbp) callq 0x20f0 movq -0x38(%rbp), %rdi movq %rax, %rsi movq -0x18(%rbp), %rdx callq 0x2150 cmpq $0x0, -0x10(%rbp) je 0x264c movq -0x10(%rbp), %rdi movq %rdi, -0x48(%r...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h
22
std::vector<int, std::allocator<int>>::push_back(int const&)
void push_back(const value_type& __x) { if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage) { _GLIBCXX_ASAN_ANNOTATE_GROW(1); _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, __x); ++this->_M_impl._M_finish; _GLIBCXX_ASAN_ANNOTATE_GREW(1); } e...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x20(%rbp) movq 0x8(%rcx), %rax cmpq 0x10(%rcx), %rax je 0x26e5 movq -0x20(%rbp), %rdi movq 0x8(%rdi), %rsi movq -0x10(%rbp), %rdx callq 0x2ba0 movq -0x20(%rbp), %rax movq 0x8(%rax), %rcx addq $0x4...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
23
std::vector<int, std::allocator<int>>::size() const
size_type size() const _GLIBCXX_NOEXCEPT { return size_type(this->_M_impl._M_finish - this->_M_impl._M_start); }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rcx movq 0x8(%rcx), %rax movq (%rcx), %rcx subq %rcx, %rax sarq $0x2, %rax popq %rbp retq nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
24
std::vector<int, std::allocator<int>>::vector()
vector() = default;
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x2850 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
25
void print<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<int, std::allocator<int>> const&)
void print(const std::string& label, const std::vector<T>& vec) { for (auto&& el : vec) std::cout << label << ' ' << el << '\n'; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x3470 movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rdi callq 0x34a0 movq %rax, -0x28(%rbp) leaq -0x20(%rbp), %rdi leaq -0x28(%rbp), %rsi callq 0x34d0 testb $0...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
vocasle[P]principles_and_practice_using_cpp/part_1_the_basics/chapter_8/chapter_8.h
26
std::vector<int, std::allocator<int>>::~vector()
~vector() _GLIBCXX_NOEXCEPT { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, _M_get_Tp_allocator()); _GLIBCXX_ASAN_ANNOTATE_BEFORE_DEALLOC; }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x20(%rbp) movq (%rdi), %rax movq %rax, -0x18(%rbp) movq 0x8(%rdi), %rax movq %rax, -0x10(%rbp) callq 0x2f90 movq -0x18(%rbp), %rdi movq -0x10(%rbp), %rsi movq %rax, %rdx callq 0x3370 jmp 0x282a movq -0x20(%rbp), %rdi ca...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
27
std::_Vector_base<int, std::allocator<int>>::_Vector_base()
_Vector_base() = default;
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x2870 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
28
std::_Vector_base<int, std::allocator<int>>::_Vector_impl::_Vector_impl()
_GLIBCXX_NOEXCEPT_IF( is_nothrow_default_constructible<_Tp_alloc_type>::value) : _Tp_alloc_type() { }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) callq 0x28a0 movq -0x10(%rbp), %rdi callq 0x28c0 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
29
std::allocator<int>::allocator()
_GLIBCXX20_CONSTEXPR allocator() _GLIBCXX_NOTHROW { }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x28f0 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/allocator.h
30
std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data::_Vector_impl_data()
_Vector_impl_data() _GLIBCXX_NOEXCEPT : _M_start(), _M_finish(), _M_end_of_storage() { }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq $0x0, (%rax) movq $0x0, 0x8(%rax) movq $0x0, 0x10(%rax) popq %rbp retq nopw %cs:(%rax,%rax) nop
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
31
_gnu_cxx::new_allocator<int>::new_allocator()
_GLIBCXX20_CONSTEXPR new_allocator() _GLIBCXX_USE_NOEXCEPT { }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) popq %rbp retq nopw (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h
32
std::char_traits<char>::length(char const*)
static _GLIBCXX17_CONSTEXPR size_t length(const char_type* __s) { #if __cplusplus >= 201703L if (__constant_string_p(__s)) return __gnu_cxx::char_traits<char_type>::length(__s); #endif return __builtin_strlen(__s); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x18(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x8(%rbp) xorl %eax, %eax testb $0x1, %al jne 0x291c jmp 0x292b movq -0x18(%rbp), %rdi callq 0x2a80 movq %rax, -0x10(%rbp) jmp 0x2938 movq -0x18(%rbp), %rdi callq 0x2070 movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax ad...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/char_traits.h
33
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_Alloc_hider::~_Alloc_hider()
_Alloc_hider(pointer __dat, const _Alloc& __a = _Alloc()) : allocator_type(__a), _M_p(__dat) { }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x2030 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/basic_string.h
34
_gnu_cxx::char_traits<char>::eq(char const&, char const&)
static _GLIBCXX_CONSTEXPR bool eq(const char_type& __c1, const char_type& __c2) { return __c1 == __c2; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax movq -0x10(%rbp), %rcx movsbl (%rcx), %ecx cmpl %ecx, %eax sete %al andb $0x1, %al popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/char_traits.h
35
bool __gnu_cxx::__is_null_pointer<char const>(char const*)
inline bool __is_null_pointer(_Type* __ptr) { return __ptr == 0; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) cmpq $0x0, -0x8(%rbp) sete %al andb $0x1, %al popq %rbp retq nopw %cs:(%rax,%rax) nop
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/type_traits.h
36
void std::allocator_traits<std::allocator<int>>::construct<int, int const&>(std::allocator<int>&, int*, int const&)
static _GLIBCXX20_CONSTEXPR void construct(allocator_type& __a __attribute__((__unused__)), _Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { #if __cplusplus <= 201703L __a.construct(__p, std::forward<_Args>(__args)...); #else std::construct_at(__p, std::forward<_...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi movq -0x18(%rbp), %rdx callq 0x2d80 addq $0x20, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h
37
void std::vector<int, std::allocator<int>>::_M_realloc_insert<int const&>(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>, int const&)
void vector<_Tp, _Alloc>:: _M_realloc_insert(iterator __position, const _Tp& __x) #endif { const size_type __len = _M_check_len(size_type(1), "vector::_M_realloc_insert"); pointer __old_start = this->_M_impl._M_start; pointer __old_finish = this->_M_impl._M_finish; const size_type _...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rsi, -0x8(%rbp) movq %rdi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rdi movq %rdi, -0x58(%rbp) movl $0x1, %esi leaq 0x1473(%rip), %rdx # 0x406e callq 0x2da0 movq -0x58(%rbp), %rdi movq %rax, -0x20(%rbp) movq (%rdi), %rax movq %rax, -0x28(%rbp) movq 0x8...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/vector.tcc
38
std::vector<int, std::allocator<int>>::end()
iterator end() _GLIBCXX_NOEXCEPT { return iterator(this->_M_impl._M_finish); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rsi addq $0x8, %rsi leaq -0x8(%rbp), %rdi callq 0x3150 movq -0x8(%rbp), %rax addq $0x10, %rsp popq %rbp retq nopw (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
39
void __gnu_cxx::new_allocator<int>::construct<int, int const&>(int*, int const&)
void construct(_Up* __p, _Args&&... __args) noexcept(std::is_nothrow_constructible<_Up, _Args...>::value) { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq -0x18(%rbp), %rcx movl (%rcx), %ecx movl %ecx, (%rax) popq %rbp retq nop
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h
40
std::vector<int, std::allocator<int>>::_M_check_len(unsigned long, char const*) const
size_type _M_check_len(size_type __n, const char* __s) const { if (max_size() - size() < __n) __throw_length_error(__N(__s)); const size_type __len = size() + (std::max)(size(), __n); return (__len < size() || __len > max_size()) ? max_size() : __len; }
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x38(%rbp) callq 0x2fe0 movq -0x38(%rbp), %rdi movq %rax, -0x30(%rbp) callq 0x2710 movq %rax, %rcx movq -0x30(%rbp), %rax subq %rcx, %rax cmpq -0x10(%rbp), %rax jae 0x2de7 mo...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
41
std::vector<int, std::allocator<int>>::begin()
iterator begin() _GLIBCXX_NOEXCEPT { return iterator(this->_M_impl._M_start); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rsi leaq -0x8(%rbp), %rdi callq 0x3150 movq -0x8(%rbp), %rax addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
42
std::_Vector_base<int, std::allocator<int>>::_M_allocate(unsigned long)
pointer _M_allocate(size_t __n) { typedef __gnu_cxx::__alloc_traits<_Tp_alloc_type> _Tr; return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer(); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x10(%rbp) je 0x2f22 movq -0x18(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x3170 movq %rax, -0x20(%rbp) jmp 0x2f2a xorl %eax, %eax movq %rax, -0x20(%rbp) jmp 0x2f2a movq -0x20...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
43
std::vector<int, std::allocator<int>>::_S_relocate(int*, int*, int*, std::allocator<int>&)
static pointer _S_relocate(pointer __first, pointer __last, pointer __result, _Tp_alloc_type& __alloc) noexcept { using __do_it = __bool_constant<_S_use_relocate()>; return _S_do_relocate(__first, __last, __result, __alloc, __do_it{}); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi movq -0x18(%rbp), %rdx movq -0x20(%rbp), %rcx callq 0x3200 addq $0x30, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
44
std::_Vector_base<int, std::allocator<int>>::_M_get_Tp_allocator()
const _Tp_alloc_type& _M_get_Tp_allocator() const _GLIBCXX_NOEXCEPT { return this->_M_impl; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax popq %rbp retq nop
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
45
std::_Vector_base<int, std::allocator<int>>::_M_deallocate(int*, unsigned long)
void _M_deallocate(pointer __p, size_t __n) { typedef __gnu_cxx::__alloc_traits<_Tp_alloc_type> _Tr; if (__p) _Tr::deallocate(_M_impl, __p, __n); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x20(%rbp) cmpq $0x0, -0x10(%rbp) je 0x2fd4 movq -0x20(%rbp), %rdi movq -0x10(%rbp), %rsi movq -0x18(%rbp), %rdx callq 0x3310 addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
46
std::vector<int, std::allocator<int>>::max_size() const
size_type max_size() const _GLIBCXX_NOEXCEPT { return _S_max_size(_M_get_Tp_allocator()); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x30a0 movq %rax, %rdi callq 0x3050 addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
47
std::vector<int, std::allocator<int>>::_S_max_size(std::allocator<int> const&)
static size_type _S_max_size(const _Tp_alloc_type& __a) _GLIBCXX_NOEXCEPT { // std::distance(begin(), end()) cannot be greater than PTRDIFF_MAX, // and realistically we can't store more than PTRDIFF_MAX/sizeof(T) // (even if std::allocator_traits::max_size says we can). const size_t __diffmax = __gnu...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movabsq $0x1fffffffffffffff, %rax # imm = 0x1FFFFFFFFFFFFFFF movq %rax, -0x10(%rbp) movq -0x8(%rbp), %rdi callq 0x30b0 movq %rax, -0x18(%rbp) leaq -0x10(%rbp), %rdi leaq -0x18(%rbp), %rsi callq 0x30d0 movq %rax, -0x20(%rbp) jmp 0x308a movq -0x20(%rbp), %...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
48
std::_Vector_base<int, std::allocator<int>>::_M_get_Tp_allocator() const
const _Tp_alloc_type& _M_get_Tp_allocator() const _GLIBCXX_NOEXCEPT { return this->_M_impl; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax popq %rbp retq nop
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
49
std::allocator_traits<std::allocator<int>>::max_size(std::allocator<int> const&)
static _GLIBCXX20_CONSTEXPR size_type max_size(const allocator_type& __a __attribute__((__unused__))) noexcept { #if __cplusplus <= 201703L return __a.max_size(); #else return size_t(-1) / sizeof(value_type); #endif }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x3110 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h
50
_gnu_cxx::new_allocator<int>::max_size() const
size_type max_size() const _GLIBCXX_USE_NOEXCEPT { return _M_max_size(); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x3130 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h
51
_gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int>>>::__normal_iterator(int* const&)
explicit _GLIBCXX20_CONSTEXPR __normal_iterator(const _Iterator& __i) _GLIBCXX_NOEXCEPT : _M_current(__i) { }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq -0x10(%rbp), %rcx movq (%rcx), %rcx movq %rcx, (%rax) popq %rbp retq nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h
52
std::allocator_traits<std::allocator<int>>::allocate(std::allocator<int>&, unsigned long)
pointer allocate(allocator_type& __a, size_type __n) { return __a.allocate(__n); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi xorl %eax, %eax movl %eax, %edx callq 0x31a0 addq $0x10, %rsp popq %rbp retq nopw (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h
53
_gnu_cxx::new_allocator<int>::allocate(unsigned long, void const*)
_GLIBCXX_NODISCARD _Tp* allocate(size_type __n, const void* = static_cast<const void*>(0)) { #if __cplusplus >= 201103L // _GLIBCXX_RESOLVE_LIB_DEFECTS // 3308. std::allocator<void>().allocate(n) static_assert(sizeof(_Tp) != 0, "cannot allocate incomplete types"); #endif if (__builtin_expect(__n > t...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) callq 0x3130 movq %rax, %rcx movq -0x20(%rbp), %rax cmpq %rcx, %rax jbe 0x31eb movabsq $0x3fffffffffffffff, %rax # imm = 0x3FFFFFFFFFFFFFFF ...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h
54
std::vector<int, std::allocator<int>>::_S_do_relocate(int*, int*, int*, std::allocator<int>&, std::integral_constant<bool, true>)
static pointer _S_do_relocate(pointer __first, pointer __last, pointer __result, _Tp_alloc_type& __alloc, true_type) noexcept { return std::__relocate_a(__first, __last, __result, __alloc); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi movq -0x20(%rbp), %rdx movq -0x28(%rbp), %rcx callq 0x3240 addq $0x30, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
55
int* std::__relocate_a<int*, int*, std::allocator<int>>(int*, int*, int*, std::allocator<int>&)
inline _ForwardIterator __relocate_a(_InputIterator __first, _InputIterator __last, _ForwardIterator __result, _Allocator& __alloc) noexcept(noexcept(__relocate_a_1(std::__niter_base(__first), std::__niter_base(__last), std::__niter_base(__result), __alloc))) { return __relocate_a...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rdi callq 0x3300 movq %rax, -0x30(%rbp) movq -0x10(%rbp), %rdi callq 0x3300 movq %rax, -0x28(%rbp) movq -0x18(%rbp), %rdi callq 0x3300 movq -0x30(%rbp), %rdi movq -0x2...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_uninitialized.h
56
std::enable_if<std::__is_bitwise_relocatable<int>::value, int*>::type std::__relocate_a_1<int, int>(int*, int*, int*, std::allocator<int>&)
inline __enable_if_t<std::__is_bitwise_relocatable<_Tp>::value, _Tp*> __relocate_a_1(_Tp* __first, _Tp* __last, _Tp* __result, allocator<_Up>&) noexcept { ptrdiff_t __count = __last - __first; if (__count > 0) __builtin_memmove(__result, __first, __count * sizeof(_Tp)); return __result +...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x10(%rbp), %rax movq -0x8(%rbp), %rcx subq %rcx, %rax sarq $0x2, %rax movq %rax, -0x28(%rbp) cmpq $0x0, -0x28(%rbp) jle 0x32e7 movq -0x18(%rbp), %rdi movq -0x8(%rbp), %rsi movq -...
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_uninitialized.h
57
std::allocator_traits<std::allocator<int>>::deallocate(std::allocator<int>&, int*, unsigned long)
static _GLIBCXX20_CONSTEXPR void deallocate(allocator_type& __a, pointer __p, size_type __n) { __a.deallocate(__p, __n); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi movq -0x18(%rbp), %rdx callq 0x3340 addq $0x20, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h
58
void std::_Destroy<int*, int>(int*, int*, std::allocator<int>&)
inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last, allocator<_Tp>&) { _Destroy(__first, __last); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x33e0 addq $0x20, %rsp popq %rbp retq nopw (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/alloc_traits.h
59
std::_Vector_base<int, std::allocator<int>>::~_Vector_base()
~_Vector_base() _GLIBCXX_NOEXCEPT { _M_deallocate(_M_impl._M_start, _M_impl._M_end_of_storage - _M_impl._M_start); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) movq (%rdi), %rsi movq 0x10(%rdi), %rdx subq %rsi, %rdx sarq $0x2, %rdx callq 0x2fa0 jmp 0x33c9 movq -0x10(%rbp), %rdi callq 0x3420 addq $0x10, %rsp popq %rbp retq movq %rax, %rdi callq 0x2b60
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
60
void std::_Destroy<int*>(int*, int*)
_GLIBCXX20_CONSTEXPR inline void _Destroy(_ForwardIterator __first, _ForwardIterator __last) { typedef typename iterator_traits<_ForwardIterator>::value_type _Value_type; #if __cplusplus >= 201103L // A deleted destructor is trivial, this ensures we reject such types: st...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x3410 addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h
61
void std::_Destroy_aux<true>::__destroy<int*>(int*, int*)
static void __destroy(_ForwardIterator, _ForwardIterator) { }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) popq %rbp retq nop
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_construct.h
62
std::_Vector_base<int, std::allocator<int>>::_Vector_impl::~_Vector_impl()
_GLIBCXX_NOEXCEPT_IF( is_nothrow_default_constructible<_Tp_alloc_type>::value) : _Tp_alloc_type() { }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x3440 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
63
std::allocator<int>::~allocator()
[[nodiscard,__gnu__::__always_inline__]] constexpr _Tp* allocate(size_t __n) { #ifdef __cpp_lib_is_constant_evaluated if (std::is_constant_evaluated()) return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp))); #endif return __allocator_base<_Tp>::allocate(__n, 0); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x3460 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/allocator.h
64
_gnu_cxx::new_allocator<int>::~new_allocator()
~new_allocator() _GLIBCXX_USE_NOEXCEPT { }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) popq %rbp retq nopw (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/ext/new_allocator.h
65
std::vector<int, std::allocator<int>>::begin() const
const_iterator begin() const _GLIBCXX_NOEXCEPT { return const_iterator(this->_M_impl._M_start); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rsi leaq -0x8(%rbp), %rdi callq 0x3550 movq -0x8(%rbp), %rax addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
66
std::vector<int, std::allocator<int>>::end() const
const_iterator end() const _GLIBCXX_NOEXCEPT { return const_iterator(this->_M_impl._M_finish); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rsi addq $0x8, %rsi leaq -0x8(%rbp), %rdi callq 0x3550 movq -0x8(%rbp), %rax addq $0x10, %rsp popq %rbp retq nopw (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_vector.h
67
_gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>::operator*() const
_GLIBCXX20_CONSTEXPR pointer operator->() const _GLIBCXX_NOEXCEPT { return _M_current; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq (%rax), %rax popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax,%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h
68
_gnu_cxx::__normal_iterator<int const*, std::vector<int, std::allocator<int>>>::__normal_iterator(int const* const&)
explicit _GLIBCXX20_CONSTEXPR __normal_iterator(const _Iterator& __i) _GLIBCXX_NOEXCEPT : _M_current(__i) { }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq -0x10(%rbp), %rcx movq (%rcx), %rcx movq %rcx, (%rax) popq %rbp retq nopl (%rax)
vocasle[P]principles_and_practice_using_cpp[P]build_O0[P]part_1_the_basics[P]chapter_8[P]p1c8pr3.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_iterator.h
69
Omega_h::UserTransfer::out_of_line_virtual_method()
void UserTransfer::out_of_line_virtual_method() {}
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) popq %rbp retq nopw (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
70
Omega_h::TransferOpts::TransferOpts()
TransferOpts::TransferOpts() {}
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) callq 0x1c7c50 movq -0x10(%rbp), %rdi addq $0x30, %rdi callq 0x1cc000 movq -0x10(%rbp), %rdi addq $0x60, %rdi callq 0x1cc000 movq -0x10(%rbp), %rdi addq $0x90, %rdi callq 0x1cc000 movq -0x10(%rbp), %rdi addq $...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
71
Omega_h::TransferOpts::validate(Omega_h::Mesh*) const
void TransferOpts::validate(Mesh* mesh) const { for (auto& pair : type_map) { auto& name = pair.first; bool tag_exists = false; for (Int d = 0; d <= mesh->dim(); ++d) { if (mesh->has_tag(d, name)) tag_exists = true; } if (!tag_exists) { Omega_h_fail("Field \"%s\" needs to be transferre...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0xa8(%rbp) movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rdi callq 0x1cd0c0 movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rdi callq 0x1daae0 movq %rax, -0x28(%rbp) leaq -0x20(%rbp...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
72
Omega_h::AdaptOpts::AdaptOpts(int)
AdaptOpts::AdaptOpts(Int dim) { min_length_desired = 1.0 / std::sqrt(2.0); max_length_desired = std::sqrt(2.0); max_length_allowed = max_length_desired * 2.0; if (dim == 3) { min_quality_allowed = 0.20; min_quality_desired = 0.30; } else if (dim == 2) { min_quality_allowed = 0.30; min_quality_...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x28(%rbp) addq $0x50, %rdi movq %rdi, -0x30(%rbp) callq 0x1e36e0 movsd 0x4441e4(%rip), %xmm0 # 0x62b000 callq 0x1c8900 movq -0x28(%rbp), %rax movaps %xmm0, %xmm1 movsd 0x4441d8(%rip), %xmm0 # 0...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
73
Omega_h::min_fixable_quality(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
Real min_fixable_quality(Mesh* mesh, AdaptOpts const& opts) { return get_min(mesh->comm(), get_fixable_qualities(mesh, opts)); }
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rsi leaq -0x20(%rbp), %rdi callq 0x1be0a0 movq -0x8(%rbp), %rsi movq -0x10(%rbp), %rdx leaq -0x30(%rbp), %rdi callq 0x1e6ff0 jmp 0x1e6f80 leaq -0x20(%rbp), %rdi leaq -0x30(%rbp), %rsi callq 0x1df0f0 movsd %xmm0, -...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
74
Omega_h::get_fixable_qualities(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static Reals get_fixable_qualities(Mesh* mesh, AdaptOpts const&) { /* This used to be an attempt to continue adapting when certain elements were constrained to by geometry to have small dihedral angles. We'll leave it here as a placeholder for reimplementing such a system in the future, but for now it ...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, %rax movq %rax, -0x20(%rbp) movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rsi callq 0x1d9c20 movq -0x20(%rbp), %rax addq $0x20, %rsp popq %rbp retq nop
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
75
Omega_h::AdaptOpts::AdaptOpts(Omega_h::Mesh*)
AdaptOpts::AdaptOpts(Mesh* mesh) : AdaptOpts(mesh->dim()) {}
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x1ddc00 movq -0x18(%rbp), %rdi movl %eax, %esi callq 0x1c3320 addq $0x20, %rsp popq %rbp retq nopw %cs:(%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
76
Omega_h::print_adapt_status(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
bool print_adapt_status(Mesh* mesh, AdaptOpts const& opts) { OMEGA_H_TIME_FUNCTION; auto qualstats = get_minmax(mesh->comm(), get_fixable_qualities(mesh, opts)); auto lenstats = get_minmax(mesh->comm(), mesh->ask_lengths()); if (opts.verbosity > SILENT) { adapt_summary(mesh, opts, qualstats, lenstats); } ...
pushq %rbp movq %rsp, %rbp subq $0x160, %rsp # imm = 0x160 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x79(%rbp), %rdi movq %rdi, -0x138(%rbp) callq 0x1dfbb0 movq -0x138(%rbp), %rdx leaq 0x444021(%rip), %rsi # 0x62b0b2 leaq -0x78(%rbp), %rdi callq 0x1d5e00 jmp 0x1e709c leaq 0x4441d2(%rip), %rdx ...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
77
Omega_h::adapt_summary(Omega_h::Mesh*, Omega_h::AdaptOpts const&, Omega_h::MinMax<double>, Omega_h::MinMax<double>)
static void adapt_summary(Mesh* mesh, AdaptOpts const& opts, MinMax<Real> qualstats, MinMax<Real> lenstats) { print_goal_stats(mesh, "quality", mesh->dim(), get_fixable_qualities(mesh, opts), {opts.min_quality_allowed, opts.min_quality_desired}, qualstats); print_goal_stats(mesh, "length", EDGE, mes...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movsd %xmm0, -0x10(%rbp) movsd %xmm1, -0x8(%rbp) movsd %xmm2, -0x20(%rbp) movsd %xmm3, -0x18(%rbp) movq %rdi, -0x28(%rbp) movq %rsi, -0x30(%rbp) movq -0x28(%rbp), %rdi movq %rdi, -0xb8(%rbp) callq 0x1ddc00 movl %eax, -0xac(%rbp) movq -0x28(%rbp), %rsi movq -0x30(%rbp), %rdx l...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
78
Omega_h::print_adapt_histograms(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
void print_adapt_histograms(Mesh* mesh, AdaptOpts const& opts) { auto qh = get_histogram(mesh, mesh->dim(), opts.nquality_histogram_bins, 0.0, 1.0, mesh->ask_qualities()); auto lh = get_histogram(mesh, EDGE, opts.nlength_histogram_bins, opts.length_histogram_min, opts.length_histogram_max, mesh->a...
pushq %rbp movq %rsp, %rbp subq $0x1d0, %rsp # imm = 0x1D0 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x150(%rbp) callq 0x1ddc00 movl %eax, -0x148(%rbp) movq -0x10(%rbp), %rax movl 0x44(%rax), %eax movl %eax, -0x144(%rbp) movq -0x8(%rbp), %rsi leaq -0x48(%rbp), %rdi movq %...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
79
Omega_h::adapt(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
bool adapt(Mesh* mesh, AdaptOpts const& opts) { ScopedTimer adapt_timer("adapt"); OMEGA_H_CHECK(mesh->family() == OMEGA_H_SIMPLEX); auto t0 = now(); if (!pre_adapt(mesh, opts)) return false; setup_conservation_tags(mesh, opts); auto t1 = now(); satisfy_lengths(mesh, opts); auto t2 = now(); snap_and_sa...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) leaq 0x44d3bd(%rip), %rsi # 0x634e87 xorl %eax, %eax movl %eax, %edx leaq -0x19(%rbp), %rdi callq 0x1dc4d0 movq -0x10(%rbp), %rdi callq 0x1e0020 movl %eax, -0x8c(%rbp) jmp 0x1e7ae8 movl -0x8c(%rbp), %eax cmpl $0x0, %eax jne 0x1...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
80
Omega_h::pre_adapt(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static bool pre_adapt(Mesh* mesh, AdaptOpts const& opts) { validate(mesh, opts); opts.xfer_opts.validate(mesh); if (opts.verbosity >= EACH_ADAPT && !mesh->comm()->rank()) { std::cout << "before adapting:\n"; } if (print_adapt_status(mesh, opts)) return false; if (opts.verbosity >= EXTRA_STATS) { pri...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0x1e8690 movq -0x18(%rbp), %rdi addq $0x50, %rdi movq -0x10(%rbp), %rsi callq 0x1c0330 movq -0x18(%rbp), %rax movl 0x2c(%rax), %ecx movb $0x0, -0x29(%rbp) xorl %eax, %eax cmpl $0...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
81
Omega_h::satisfy_lengths(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static void satisfy_lengths(Mesh* mesh, AdaptOpts const& opts) { OMEGA_H_TIME_FUNCTION; bool did_anything; do { did_anything = false; if (opts.should_refine && refine_by_size(mesh, opts)) { post_rebuild(mesh, opts); did_anything = true; } if (opts.should_coarsen && coarsen_by_size(mesh...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq -0x79(%rbp), %rdi movq %rdi, -0xc0(%rbp) callq 0x1dfbb0 movq -0xc0(%rbp), %rdx leaq 0x443201(%rip), %rsi # 0x62b0b2 leaq -0x78(%rbp), %rdi callq 0x1d5e00 jmp 0x1e7ebc leaq 0x4433b2(%rip), %rdx # 0x62b275 leaq -0x58(%rbp)...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
82
Omega_h::snap_and_satisfy_quality(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static void snap_and_satisfy_quality(Mesh* mesh, AdaptOpts const& opts) { #ifdef OMEGA_H_USE_EGADS if (opts.egads_model) { ScopedTimer snap_timer("snap"); mesh->set_parting(OMEGA_H_GHOSTED); auto warp = egads_get_snap_warp( mesh, opts.egads_model, opts.verbosity >= EACH_REBUILD); if (opts.shou...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x1e88e0 addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
83
Omega_h::post_adapt(Omega_h::Mesh*, Omega_h::AdaptOpts const&, Omega_h::Now, Omega_h::Now, Omega_h::Now, Omega_h::Now, Omega_h::Now)
static void post_adapt( Mesh* mesh, AdaptOpts const& opts, Now t0, Now t1, Now t2, Now t3, Now t4) { if (opts.verbosity == EACH_ADAPT) { if (!mesh->comm()->rank()) std::cout << "after adapting:\n"; print_adapt_status(mesh, opts); } if (opts.verbosity >= EXTRA_STATS) print_adapt_histograms(mesh, opts);...
pushq %rbp movq %rsp, %rbp subq $0x190, %rsp # imm = 0x190 movq 0x10(%rbp), %rax movq %rdx, -0x8(%rbp) movq %rcx, -0x10(%rbp) movq %r8, -0x18(%rbp) movq %r9, -0x20(%rbp) movq %rax, -0x28(%rbp) movq %rdi, -0x30(%rbp) movq %rsi, -0x38(%rbp) movq -0x38(%rbp), %rax cmpl $0x1, 0x2c(%rax) jne 0x1e81be movq -0x30(%...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
84
Omega_h::validate(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static void validate(Mesh* mesh, AdaptOpts const& opts) { OMEGA_H_CHECK(0.0 <= opts.min_quality_allowed); OMEGA_H_CHECK(opts.min_quality_allowed <= opts.min_quality_desired); OMEGA_H_CHECK(opts.min_quality_desired <= 1.0); OMEGA_H_CHECK(opts.nsliver_layers >= 0); OMEGA_H_CHECK(opts.nsliver_layers < 100); au...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax movsd 0x18(%rax), %xmm0 xorps %xmm1, %xmm1 ucomisd %xmm1, %xmm0 jb 0x1e86b4 jmp 0x1e86d5 leaq 0x4429ad(%rip), %rdi # 0x62b068 leaq 0x442bfa(%rip), %rsi # 0x62b2bc leaq 0x4429e9(%rip), %rdx # 0x62b0b2...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
85
Omega_h::post_rebuild(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static void post_rebuild(Mesh* mesh, AdaptOpts const& opts) { if (opts.verbosity >= EACH_REBUILD) print_adapt_status(mesh, opts); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x10(%rbp), %rax cmpl $0x2, 0x2c(%rax) jl 0x1e88d7 movq -0x8(%rbp), %rdi movq -0x10(%rbp), %rsi callq 0x1dfd20 addq $0x10, %rsp popq %rbp retq nopl (%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
86
Omega_h::satisfy_quality(Omega_h::Mesh*, Omega_h::AdaptOpts const&)
static bool satisfy_quality(Mesh* mesh, AdaptOpts const& opts) { OMEGA_H_TIME_FUNCTION; if (min_fixable_quality(mesh, opts) >= opts.min_quality_desired) return true; if ((opts.verbosity >= EACH_REBUILD) && can_print(mesh)) { std::cout << "addressing element qualities\n"; } do { if (opts.should_swap &&...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) leaq -0x81(%rbp), %rdi movq %rdi, -0xc8(%rbp) callq 0x1dfbb0 movq -0xc8(%rbp), %rdx leaq 0x44279e(%rip), %rsi # 0x62b0b2 leaq -0x80(%rbp), %rdi callq 0x1d5e00 jmp 0x1e891f leaq 0x44294f(%rip), %rdx # 0x62b275 leaq -0x60(%rbp...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_adapt.cpp
87
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Omega_h_Transfer, 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<char>> const, Omega_h_Tra...
map() = default;
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x1d2910 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
88
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, st...
map() = default;
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x1dbb20 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
89
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Omega_h::VarCompareOpts, 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<char>> const, Omeg...
map() = default;
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x1c5d60 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
90
std::shared_ptr<Omega_h::UserTransfer>::shared_ptr()
constexpr shared_ptr() noexcept : __shared_ptr<_Tp>() { }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x1c7060 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr.h
91
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Omega_h_Transfer, 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<char>> const, Omega_h_Tra...
const_iterator begin() const _GLIBCXX_NOEXCEPT { return _M_t.begin(); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x1e3c80 movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
92
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, Omega_h_Transfer, 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<char>> const, Omega_h_Tra...
const_iterator end() const _GLIBCXX_NOEXCEPT { return _M_t.end(); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rdi callq 0x1cbe90 movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax addq $0x10, %rsp popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
93
std::operator!=(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, Omega_h_Transfer>> const&, std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, Omega_h_Transfer>> const&)
bool operator!=(const _Self& __x, const _Self& __y) _GLIBCXX_NOEXCEPT { return __x._M_node != __y._M_node; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq (%rax), %rax movq -0x10(%rbp), %rcx cmpq (%rcx), %rax setne %al andb $0x1, %al popq %rbp retq nopw %cs:(%rax,%rax) nopl (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_tree.h
94
std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, Omega_h_Transfer>>::operator*() const
reference operator*() const _GLIBCXX_NOEXCEPT { return *static_cast<_Link_type>(_M_node)->_M_valptr(); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq (%rax), %rdi callq 0x1d4f30 movq %rax, -0x10(%rbp) jmp 0x1e8d4e movq -0x10(%rbp), %rax addq $0x10, %rsp popq %rbp retq movq %rax, %rdi callq 0x1e9370
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_tree.h
95
Omega_h::Mesh::dim() const
inline Int dim() const { OMEGA_H_CHECK(0 <= dim_ && dim_ <= 3); return dim_; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x10(%rbp) xorl %eax, %eax cmpl 0x4(%rcx), %eax jg 0x1e8d87 movq -0x10(%rbp), %rax cmpl $0x3, 0x4(%rax) jg 0x1e8d87 jmp 0x1e8da8 leaq 0x4422da(%rip), %rdi # 0x62b068 leaq 0x442461(%rip), %rsi # 0x62b1f6 leaq 0x4424...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
gahansen[P]omega_h/src/Omega_h_mesh.hpp
96
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, st...
size_type count(const key_type& __x) const { return _M_t.find(__x) == _M_t.end() ? 0 : 1; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x28(%rbp) movq -0x10(%rbp), %rsi callq 0x1da930 movq -0x28(%rbp), %rdi movq %rax, -0x18(%rbp) callq 0x1d04b0 movq %rax, -0x20(%rbp) leaq -0x18(%rbp), %rdi leaq -0x20(%rbp), %rsi callq 0x1d4630 mov...
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
97
std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, st...
const_iterator find(const key_type& __x) const { return _M_t.find(__x); }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0x1da930 movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax addq $0x20, %rsp popq %rbp retq nopl (%rax,%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_map.h
98
std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::operator->() const
pointer operator->() const _GLIBCXX_NOEXCEPT { return static_cast<_Link_type>(_M_node)->_M_valptr(); }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq (%rax), %rdi callq 0x1c7d40 addq $0x10, %rsp popq %rbp retq nop
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_tree.h
99
std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, Omega_h_Transfer>>::operator++()
_Self& operator++() _GLIBCXX_NOEXCEPT { _M_node = _Rb_tree_increment(_M_node); return *this; }
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x10(%rbp) movq (%rax), %rdi callq 0x1d1740 movq %rax, %rcx movq -0x10(%rbp), %rax movq %rcx, (%rax) addq $0x10, %rsp popq %rbp retq nopl (%rax)
gahansen[P]omega_h[P]build_O0[P]src[P]libomega_h.so.asm_src.json
O0
/usr/lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/stl_tree.h
End of preview. Expand in Data Studio

The raw data for decompile-bench, with 100M items. Please refer to LLM4Decompile for details.

Downloads last month
15