name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
Validate::CheckIDDoesNotExceedMaxLimit(char*, long long)
int Validate::CheckIDDoesNotExceedMaxLimit(char *idName, long long initialID) { /* Check ID does not exceed maximum value for integers. */ if (initialID < MIN_ID_ || initialID > INT_MAX) { fprintf(stderr, "ERROR: %s ID %lld on line %d does not lie within" " permitted range [%d, %d]. Please reassign %s IDs...
movl 0x2008(%rdi), %ecx cmpq $0x7fffffff, %rdx # imm = 0x7FFFFFFF jg 0x2874 movslq %ecx, %rax cmpq %rdx, %rax jg 0x2874 movl %edx, %eax retq pushq %rax callq 0x22e8
/OasisLMF[P]ktools/src/include/validate.cpp
Validate::CheckIDDoesNotExceedMaxLimit(char*, unsigned long long)
unsigned int Validate::CheckIDDoesNotExceedMaxLimit(char *idName, unsigned long long initialID) { /* Check ID does not exceed maximum value for unsigned integers. */ // No need to check for negative numbers as ID is of unsigned long long data // type and therefore negative numbers should exceed the maximum value ...
movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000 leaq (%rdx,%rax), %rcx incq %rax cmpq %rax, %rcx jb 0x2893 movl %edx, %eax retq pushq %rax callq 0x2342 nopl (%rax)
/OasisLMF[P]ktools/src/include/validate.cpp
ValidateVulnerability::ScanLine()
int ValidateVulnerability::ScanLine() { /* The probability field is defined according to the data type assigned to * OASIS_FLOAT in include/oasis.h */ #ifdef OASIS_FLOAT_TYPE_DOUBLE return sscanf(line_, "%lld,%d,%d,%lf", &initialVulID_, &v_.intensity_bin_id, &v_.damage_bin_id, &v_.probability); #else return...
leaq 0x8(%rdi), %rax leaq 0x2030(%rdi), %rdx leaq 0x201b(%rdi), %rcx leaq 0x201f(%rdi), %r8 leaq 0x2023(%rdi), %r9 leaq 0x28d5(%rip), %rsi # 0x5198 movq %rax, %rdi xorl %eax, %eax jmp 0x2130 nop
/OasisLMF[P]ktools/src/validatevulnerability/validatevulnerability.cpp
ValidateVulnerability::ReadFirstVulnerabilityLine(float&)
void ValidateVulnerability::ReadFirstVulnerabilityLine(OASIS_FLOAT &totalProbability) { if (fgets(line_, sizeof(line_), stdin) != 0) { if (ScanLine() == 4) { CheckVulnerabilityID(); StoreLine(); maxDamageBin_ = v_.damage_bin_id; // Set initial value totalProbability = v_.probability; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x10, %rsp movq %rsi, %r15 movq %rdi, %rbx leaq 0x8(%rdi), %r12 movq 0x76e4(%rip), %rax # 0x9fd0 movq (%rax), %rdx movq %r12, %rdi movl $0x1000, %esi # imm = 0x1000 callq 0x2220 testq %rax, %rax je 0x2a9c leaq 0x2030(%rbx), %rdx leaq 0x201b(%rb...
/OasisLMF[P]ktools/src/validatevulnerability/validatevulnerability.cpp
ValidateVulnerability::ReadVulnerabilityFile()
void ValidateVulnerability::ReadVulnerabilityFile() { OASIS_FLOAT totalProbability = 0.0; ReadFirstVulnerabilityLine(totalProbability); // Write first vulnerability line if (convertToBin_) WriteBinVulnerabilityFile(); while (fgets(line_, sizeof(line_), stdin) != 0) { if (ScanLine() == 4) { Check...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x68, %rsp movq %rdi, %rbx leaq 0x4(%rsp), %rsi movl $0x0, (%rsi) callq 0x28ce cmpb $0x1, 0x2015(%rbx) jne 0x2b2c movq (%rbx), %rax movq %rbx, %rdi callq *(%rax) leaq 0x8(%rbx), %r14 movq 0x7499(%rip), %rbp # 0x9fd0 movq (%rbp), %rdx movq %r14...
/OasisLMF[P]ktools/src/validatevulnerability/validatevulnerability.cpp
VulnerabilityToBin::VulnerabilityToBin(int, char const*, char const*, bool, bool, bool)
VulnerabilityToBin::VulnerabilityToBin(const int maxDamageBinIdx, const char* binFileName, const char* idxFileName, const bool useIndexFile, const bool zip, const bool allIntensityBinsCheck) : ValidateVulnerability(allIntensityBinsCheck), maxDamageBinIdx_(maxDamageBinIdx)...
pushq %r15 pushq %r14 pushq %rbx movq %rcx, %r14 movq %rdi, %rbx movb 0x20(%rsp), %al movl $0x1, %ecx movl %ecx, 0x1008(%rdi) movb $0x0, 0x200c(%rdi) movl %ecx, 0x2010(%rdi) movb %al, 0x2014(%rdi) xorl %eax, %eax movl %eax, 0x2028(%rdi) movabsq $0x626172656e6c7556, %rcx # imm = 0x626172656E6C7556 movq %rcx, 0x2038(%rdi...
/OasisLMF[P]ktools/src/vulnerabilitytobin/vulnerabilitytobin.cpp
VulnerabilityToBin::~VulnerabilityToBin()
VulnerabilityToBin::~VulnerabilityToBin() { fclose(fileOutBin_); if (useIndexFile_) fclose(fileOutIdx_); }
pushq %rbx movq %rdi, %rbx leaq 0x6481(%rip), %rax # 0x9d10 movq %rax, (%rdi) movq 0x30c0(%rdi), %rdi callq 0x2140 cmpb $0x1, 0x2016(%rbx) jne 0x38b3 movq 0x30c8(%rbx), %rdi callq 0x2140 movq 0x30f0(%rbx), %rdi testq %rdi, %rdi je 0x38c4 callq 0x2120 leaq 0x64b5(%rip), %rax # 0x9d80 movq %rax, (%rbx) leaq 0x3...
/OasisLMF[P]ktools/src/vulnerabilitytobin/vulnerabilitytobin.cpp
VulnerabilityToBin::WriteIdxVulnerabilityFile()
void VulnerabilityToBin::WriteIdxVulnerabilityFile() { vIdx_.vulnerability_id = prevVulID_; vIdx_.size = rowCount_ * sizeof(VulnerabilityRow); if (zip_) { std::vector<unsigned char> zvr; zvr.resize(vulnerabilityRows_.size() * sizeof(VulnerabilityRow) + 1024); unsigned long zippedVulnerabilityRowsLe...
pushq %rbx subq $0x30, %rsp movq %rdi, %rbx movl 0x2028(%rdi), %eax movl %eax, 0x30d0(%rdi) movslq 0x30ec(%rdi), %rax shlq $0x2, %rax leaq (%rax,%rax,2), %rax movq %rax, 0x30dc(%rdi) cmpb $0x1, 0x30b8(%rdi) jne 0x3bee xorps %xmm0, %xmm0 leaq 0x10(%rsp), %rdi movaps %xmm0, (%rdi) movq $0x0, 0x10(%rdi) movq 0x30f8(%rbx),...
/OasisLMF[P]ktools/src/vulnerabilitytobin/vulnerabilitytobin.cpp
DoIt(int, char const*, char const*, bool, bool, bool, bool)
void DoIt(const int maxDamageBinIdx, const char* binFileName, const char* idxFileName, const bool useIndexFile, const bool zip, const bool validationCheck, const bool allIntensityBinsCheck) { VulnerabilityToBin vTB(maxDamageBinIdx, binFileName, idxFileName, useIndexFile, zip, allIntensityBinsCheck); vTB....
pushq %r14 pushq %rbx subq $0x3118, %rsp # imm = 0x3118 movl %r9d, %ebx movl %r8d, %r9d movl %ecx, %r8d movq %rdx, %rcx movq %rsi, %rdx movl %edi, %esi movzbl 0x3130(%rsp), %eax movl %eax, (%rsp) leaq 0x10(%rsp), %rdi callq 0x3730 leaq 0x18(%rsp), %r14 movq %r14, %rdi callq 0x280c leaq 0x10(%rsp), %rdi callq ...
/OasisLMF[P]ktools/src/vulnerabilitytobin/main.cpp
main
int main(int argc, char * argsv[]) { if (argc != 2 || strlen(argsv[1]) == 0) return 1; std::istringstream input(argsv[1]); LanguageConfiguration cfg = createDefaultLanguageConfiguration(); Lexer lex(cfg, input, "<args[1]>"); Logger log; lex.next(); Parser parser(lex); auto expr = parser.parseEx...
pushq %r15 pushq %r14 pushq %rbx subq $0x310, %rsp # imm = 0x310 movl $0x1, %eax cmpl $0x2, %edi jne 0x7373 movq 0x8(%rsi), %rsi cmpb $0x0, (%rsi) je 0x7373 leaq 0xb0(%rsp), %rdi leaq 0x38(%rsp), %rdx callq 0x7432 leaq 0x190(%rsp), %rdi leaq 0xb0(%rsp), %rsi movl $0x8, %edx callq 0x4330 leaq 0xc0(%rsp), %rax...
/federlang[P]pfederc/test/astmem.cpp
pfederc::fatal(char const*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void pfederc::fatal(const char *file, int line, const std::string &msg) noexcept { std::cerr << file << ':' << line << ": " << msg << std::endl; std::exit(1); }
pushq %rbp pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movl %esi, %ebp testq %rdi, %rdi jne 0x753a movq 0x20acf(%rip), %rax # 0x27ff0 movq (%rax), %rcx movq -0x18(%rcx), %rcx leaq (%rax,%rcx), %rdi movl 0x20(%rax,%rcx), %esi orl $0x1, %esi callq 0x4340 jmp 0x7554 movq %rdi, %r14 callq 0x40f0 movq 0x20aa7...
/federlang[P]pfederc/libs/pfederc_errors/src/errors.cpp
pfederc::LogMessage::LogMessage(pfederc::Level, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<pfederc::LogMessage, std::allocator<pfederc::LogMessage>> const&)
LogMessage::LogMessage(Level logLevel, const std::string &msg, const std::vector<LogMessage> &msgs) noexcept : logLevel{logLevel}, msg(msg), msgs(msgs) { }
pushq %r14 pushq %rbx pushq %rax movq %rcx, %rbx movq %rdi, %r14 leaq 0x1ff5d(%rip), %rax # 0x27548 movq %rax, (%rdi) movw %si, 0x8(%rdi) addq $0x10, %rdi leaq 0x20(%r14), %rax movq %rax, 0x10(%r14) movq (%rdx), %rsi movq 0x8(%rdx), %rdx addq %rsi, %rdx callq 0x7958 addq $0x30, %r14 movq %r14, %rdi movq %rbx, %rsi ...
/federlang[P]pfederc/libs/pfederc_errors/src/errors.cpp
pfederc::LogMessage::~LogMessage()
LogMessage::~LogMessage() { }
pushq %rbx movq %rdi, %rbx leaq 0x1feb5(%rip), %rax # 0x27548 movq %rax, (%rdi) addq $0x30, %rdi callq 0x7910 movq 0x10(%rbx), %rdi addq $0x20, %rbx cmpq %rbx, %rdi je 0x76b8 movq (%rbx), %rsi incq %rsi popq %rbx jmp 0x41d0 popq %rbx retq
/federlang[P]pfederc/libs/pfederc_errors/src/errors.cpp
pfederc::BaseLogger::error(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void BaseLogger::error(const std::string &msg) noexcept { err << msg << std::endl; }
pushq %rbx movq 0x10(%rdi), %rdi movq (%rsi), %rax movq 0x8(%rsi), %rdx movq %rax, %rsi callq 0x4250 movq %rax, %rbx movq (%rax), %rax movq -0x18(%rax), %rdi addq %rbx, %rdi movl $0xa, %esi callq 0x41b0 movsbl %al, %esi movq %rbx, %rdi callq 0x4030 movq %rax, %rdi callq 0x4130 popq %rbx retq movq %rax, %rdi callq 0x786...
/federlang[P]pfederc/libs/pfederc_errors/src/errors.cpp
pfederc::Lexer::getLineFromIndex[abi:cxx11](unsigned long) const
std::string Lexer::getLineFromIndex(size_t index) const noexcept { if (index > currentEndIndex) { fatal("lexer.cpp", __LINE__, "Out of bounds: " + std::to_string(index)); return ""; } size_t lineIndex = getLineNumber(index); size_t lineStartIndex = lineIndices[lineIndex]; size_t lineEndIndex = lineI...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r14 movq %rdi, %rbx cmpq %rdx, 0xa8(%rsi) jae 0x7c41 movl $0x1, %esi cmpq $0xa, %r14 jb 0x7cb3 movl $0x4, %esi movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B movq %r14, %rcx cmpq $0x63, %rcx jbe 0x7cac cmpq $0x3e7, %rcx # ...
/federlang[P]pfederc/libs/pfederc_lexer/src/lexer.cpp
pfederc::Lexer::getLineNumber(unsigned long) const
size_t Lexer::getLineNumber(size_t index) const noexcept { if (index > currentEndIndex) { fatal("lexer.cpp", __LINE__, "Out of bounds: " + std::to_string(index)); return 0; } size_t lineIndex = lineIndices.size() - 1; for (; index < lineIndices[lineIndex]; --lineIndex); return lineIndex; }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rsi, %rbx cmpq %rsi, 0xa8(%rdi) jae 0x7e1a movl $0x1, %esi cmpq $0xa, %rbx jb 0x7e43 movl $0x4, %esi movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B movq %rbx, %rcx cmpq $0x63, %rcx jbe 0x7e3c cmpq $0x3e7, %rcx # imm = 0x3E7 jbe 0x7e41 cmpq...
/federlang[P]pfederc/libs/pfederc_lexer/src/lexer.cpp
pfederc::Lexer::nextTokenNumType(unsigned long)
std::unique_ptr<Token> Lexer::nextTokenNumType(std::uint64_t num) noexcept { if (isdigit(currentChar)) return generateError(std::make_unique<LexerError>(LVL_ERROR, LexerErrorCode::LEX_ERR_NUM_UNEXPECTED_CHAR_DIGIT, Position{getCurrentCursor().line, currentEndIndex, currentEndIndex})); std::unique...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx movl 0xb0(%rsi), %eax leal -0x30(%rax), %ecx cmpl $0x9, %ecx ja 0xac57 movq %rsp, %r15 movq %r15, %rdi movq %r14, %rsi callq 0x7b8e movq (%r15), %r12 movq 0xa8(%r14), %r15 movl $0x38, %edi callq 0x41c0 movw $0x2, (%r...
/federlang[P]pfederc/libs/pfederc_lexer/src/lexer_next.cpp
pfederc::StringToken::toString[abi:cxx11](pfederc::Lexer const&) const
std::string StringToken::toString(const Lexer &lexer) const noexcept { return str; }
pushq %rbx movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq 0x30(%rsi), %rax movq 0x38(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi callq 0x7958 movq %rbx, %rax popq %rbx retq movq %rax, %rdi callq 0x786b nop
/federlang[P]pfederc/libs/pfederc_lexer/src/token.cpp
pfederc::Parser::skipToEol()
bool Parser::skipToEol() noexcept { while (*lexer.getCurrentToken() != TokenType::TOK_EOL && *lexer.getCurrentToken() != TokenType::TOK_EOF) lexer.next(); return *lexer.getCurrentToken() != TokenType::TOK_EOF; }
pushq %rbx movq %rdi, %rbx movq (%rdi), %rax movq 0xb8(%rax), %rdi movl $0x1, %esi callq 0xb78e testb %al, %al je 0xd0e9 movq (%rbx), %rax movq 0xb8(%rax), %rdi movl $0x2, %esi callq 0xb78e testb %al, %al je 0xd0e9 movq (%rbx), %rdi callq 0x9420 movq (%rbx), %rax jmp 0xd0af movq (%rbx), %rax movq 0xb8(%rax), %rdi movl ...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax.cpp
pfederc::Parser::parseExpression(unsigned char)
std::unique_ptr<Expr> Parser::parseExpression(Precedence prec) noexcept { auto primary = parsePrimary(); if (!primary) { lexer.next(); /*generateError(std::make_unique<SyntaxError>(LVL_ERROR, SyntaxErrorCode::STX_ERR_EXPECTED_EXPR, lexer.getCurrentToken()->getPosition()));*/ return nullptr; // err...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x20, %rsp movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx leaq 0x18(%rsp), %r15 movq $0x0, (%r15) leaq 0x8(%rsp), %r12 movq %r12, %rdi movq %r15, %rdx callq 0xd43a movq %r15, %rdi callq 0xdc44 movq (%r12), %rax testq %rax, %rax je 0xd40b leaq 0x10(%rsp), %r1...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax.cpp
pfederc::Parser::parseClassBody(pfederc::Token const*, bool&, std::__cxx11::list<std::unique_ptr<pfederc::BiOpExpr, std::default_delete<pfederc::BiOpExpr>>, std::allocator<std::unique_ptr<pfederc::BiOpExpr, std::default_delete<pfederc::BiOpExpr>>>>&, std::__cxx11::list<std::unique_ptr<pfederc::FuncExpr, std::default_de...
void Parser::parseClassBody(const Token *const tokId, bool &err, std::list<std::unique_ptr<BiOpExpr>> &attributes, std::list<std::unique_ptr<FuncExpr>> &functions) noexcept { // classbody while (*lexer.getCurrentToken() != TokenType::TOK_STMT && *lexer.getCurrentToken() != TokenType::TOK_EOF) { i...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %r8, %r12 movq %rcx, 0x58(%rsp) movq %rdx, 0x60(%rsp) movq %rsi, 0x68(%rsp) movq %rdi, %r14 movq (%rdi), %rax movq 0xb8(%rax), %rdi movl $0x2c, %esi callq 0xb78e testb %al, %al je 0x10074 leaq 0x10(%rsp), %r13 leaq 0x17b4e(%rip), %r...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax_class.cpp
pfederc::Parser::generateError(std::unique_ptr<pfederc::Error<pfederc::SyntaxErrorCode>, std::default_delete<pfederc::Error<pfederc::SyntaxErrorCode>>>&&)
std::unique_ptr<ErrorExpr> Parser::generateError( std::unique_ptr<SyntaxError> &&syntaxError) noexcept { const Position &pos = syntaxError->getPosition(); errors.push_back(std::move(syntaxError)); return std::make_unique<ErrorExpr>(lexer, pos); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rsi, %r15 movq %rdi, %rbx movq (%rdx), %r14 leaq 0x8(%rsi), %rdi movq %rdx, %rsi callq 0x12170 movq (%r15), %r12 movl $0x38, %edi callq 0x41c0 movq %rax, %r15 addq $0x8, %r14 movq %rax, %rdi movq %r12, %rsi movl $0x18, %edx movq %r14, %rcx callq 0x17b74 leaq ...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax_error.cpp
pfederc::Parser::parseFunction(std::unique_ptr<pfederc::Capabilities, std::default_delete<pfederc::Capabilities>>&&)
std::unique_ptr<Expr> Parser::parseFunction(std::unique_ptr<Capabilities> &&caps) noexcept { sanityExpect(TokenType::TOK_KW_FN); bool err = false; TemplateDecls templ; if (*lexer.getCurrentToken() == TokenType::TOK_OP_TEMPL_BRACKET_OPEN) { templ = parseTemplateDecl(); if (templ.empty()) err = tr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xd8, %rsp movq %rdx, %r15 movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi movl $0x15, %esi callq 0x11344 xorps %xmm0, %xmm0 movaps %xmm0, 0x30(%rsp) movq $0x0, 0x40(%rsp) movq (%r14), %rax movq 0xb8(%rax), %rdi movl $0x31, %esi callq 0xb796 testb ...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax_func.cpp
pfederc::Parser::parseLambda()
std::unique_ptr<Expr> Parser::parseLambda() noexcept { sanityExpect(TokenType::TOK_KW_LAMBDA); bool err = false; Exprs params; if (*lexer.getCurrentToken() == TokenType::TOK_OP_BRACKET_OPEN) { lexer.next(); std::unique_ptr<Expr> paramexpr(parseExpression()); if (!paramexpr) { err = true; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rsi, %r14 movq %rdi, %rbx movq %rsi, %rdi movl $0x16, %esi callq 0x11344 xorps %xmm0, %xmm0 movaps %xmm0, 0x40(%rsp) movq $0x0, 0x50(%rsp) movq (%r14), %rax movq 0xb8(%rax), %rdi movl $0x2f, %esi callq 0xb796 testb %al, %al je 0x14...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax_lambda.cpp
pfederc::Parser::parseTraitImpl(bool&, std::vector<std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>, std::allocator<std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>>>&)
void Parser::parseTraitImpl(bool &err, std::vector<std::unique_ptr<Expr>> &impltraits) noexcept { // inherit traits std::unique_ptr<Expr> expr(parseExpression()); // comma separated list of expressions while (expr && isBiOpExpr(*expr, TokenType::TOK_OP_COMMA)) { BiOpExpr &biopexpr = dynamic_cast<BiOpExp...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %rbx movq %rdi, %rsi leaq 0x8(%rsp), %r14 movq %r14, %rdi xorl %edx, %edx callq 0xd38e movq (%r14), %r15 testq %r15, %r15 je 0x174ca leaq 0x10579(%rip), %r12 # 0x27980 addq $0x10, %r12 leaq 0x10(%rsp), %r14 cmpl $0x12, 0x18(%r15) jne 0x174aa cm...
/federlang[P]pfederc/libs/pfederc_syntax/src/syntax_trait.cpp
pfederc::ProgNameExpr::toString[abi:cxx11]() const
std::string ProgNameExpr::toString() const noexcept { return "use module " + getToken().toString(getLexer()); }
pushq %r14 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx movq 0x10(%rsi), %rdx movq 0x38(%rsi), %rsi movq (%rsi), %rax leaq 0x8(%rsp), %r14 movq %r14, %rdi callq *0x10(%rax) leaq 0x60c0(%rip), %rcx # 0x1e2cf movl $0xb, %r8d movq %r14, %rdi xorl %esi, %esi xorl %edx, %edx callq 0x4230 leaq 0x10(%rbx), %rdx movq %rdx,...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::FuncExpr::toString[abi:cxx11]() const
std::string FuncExpr::toString() const noexcept { std::string result; if (caps) result += _capsToString(*caps); result += "func"; if (!templs.empty()) result += _templateToString(templs); result += ' '; result += getIdentifier().toString(getLexer()); if (!params.empty()) { result += '('; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movq 0x38(%rsi), %rsi testq %rsi, %rsi je 0x18515 leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x1882e movq (%r15), %rsi mov...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::BodyExpr::toString[abi:cxx11]() const
std::string BodyExpr::toString() const noexcept { std::string result; for (auto &expr : exprs) { result += expr->toString(); result += '\n'; } switch (rct) { case ReturnControlType::RETURN: result += "return"; break; case ReturnControlType::CONTINUE: result += "continue"; br...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movq 0x38(%rsi), %r12 movq 0x40(%rsi), %r13 cmpq %r13, %r12 je 0x18ba4 leaq 0x18(%rsp), %rbp leaq 0x8(%rsp), %r15 movq (%r...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::FuncTypeExpr::FuncTypeExpr(pfederc::Lexer const&, pfederc::Position const&, std::vector<std::unique_ptr<std::tuple<pfederc::Token const*, bool, std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>, std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>, std::unique_ptr<pfederc::Expr, ...
FuncTypeExpr::FuncTypeExpr(const Lexer &lexer, const Position &pos, std::vector<std::unique_ptr<FuncParameter>> &&params, std::unique_ptr<Expr> &&returnExpr) noexcept : Expr(lexer, ExprType::EXPR_FUNCTYPE, pos), params(std::move(params)), returnExpr(std::move(returnExpr)) { _setParameterParents(th...
xorl %eax, %eax movq %rax, 0x8(%rdi) movq %rsi, 0x10(%rdi) movl $0x5, 0x18(%rdi) movups (%rdx), %xmm0 movups %xmm0, 0x20(%rdi) movq 0x10(%rdx), %rdx movq %rdx, 0x30(%rdi) leaq 0xeb41(%rip), %rdx # 0x277b0 movq %rdx, (%rdi) movups (%rcx), %xmm0 movups %xmm0, 0x38(%rdi) movq 0x10(%rcx), %rdx movq %rdx, 0x48(%rdi) mo...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::TraitExpr::TraitExpr(pfederc::Lexer const&, pfederc::Position const&, std::unique_ptr<pfederc::Capabilities, std::default_delete<pfederc::Capabilities>>&&, pfederc::Token const*, std::vector<std::unique_ptr<pfederc::TemplateDecl, std::default_delete<pfederc::TemplateDecl>>, std::allocator<std::unique_ptr<pfede...
TraitExpr::TraitExpr(const Lexer &lexer, const Position &pos, std::unique_ptr<Capabilities> &&caps, const Token *tokId, TemplateDecls &&templs, std::vector<std::unique_ptr<Expr>> &&impltraits, std::list<std::unique_ptr<FuncExpr>> &&functions) noexcept : Expr(lexer, ExprType::EXPR_TRAIT, pos), Ca...
pushq %rax movq 0x18(%rsp), %r10 movq 0x10(%rsp), %rax xorl %r11d, %r11d movq %r11, 0x8(%rdi) movq %rsi, 0x10(%rdi) movl $0x7, 0x18(%rdi) movups (%rdx), %xmm0 movups %xmm0, 0x20(%rdi) movq 0x10(%rdx), %rdx movq %rdx, 0x30(%rdi) movq (%rcx), %rdx movq %rdx, 0x38(%rdi) movq %r11, (%rcx) leaq 0xe845(%rip), %rcx # 0x2...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ClassExpr::~ClassExpr()
ClassExpr::~ClassExpr() { }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx addq $0x90, %rdi callq 0x10248 leaq 0x78(%rbx), %rdi callq 0x10280 leaq 0x60(%rbx), %rdi callq 0x10280 leaq 0x48(%rbx), %rdi callq 0x1018a movq 0x38(%rbx), %r14 testq %r14, %r14 je 0x19570 leaq 0x20(%r14), %rdi callq 0xdbbc leaq 0x8(%r14), %rdi callq 0xdbbc movl $0x38, %...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ClassExpr::toString[abi:cxx11]() const
std::string ClassExpr::toString() const noexcept { std::string result; if (caps) result += _capsToString(*caps); result += "class"; if (!templs.empty()) { result += _templateToString(templs); } result += ' '; result += tokId->toString(getLexer()); for (auto it = constructAttributes.begin(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movq 0x38(%rsi), %rsi testq %rsi, %rsi je 0x195ff leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x1882e movq (%r15), %rsi mov...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::BiOpExpr::toString[abi:cxx11]() const
std::string BiOpExpr::toString() const noexcept { switch (getOperatorType()) { case TokenType::TOK_OP_BRACKET_OPEN: case TokenType::TOK_OP_ARR_BRACKET_OPEN: case TokenType::TOK_OP_TEMPL_BRACKET_OPEN: { std::string result; switch (getOperatorType()) { case TokenType::TOK_OP_BRACKET_OPEN: re...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %rsi, %rbp movzwl 0x40(%rsi), %eax movzwl %ax, %ecx leal -0x2f(%rcx), %edx cmpl $0x3, %edx jae 0x19a94 leaq 0x10(%rdi), %rcx movq %rcx, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) leal -0x178(,%rax,8)...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::TraitImplExpr::toString[abi:cxx11]() const
std::string TraitImplExpr::toString() const noexcept { std::string result; if (caps) result += _capsToString(*caps); result += "class trait"; if (!templs.empty()) result += _templateToString(templs); result += ' '; result += classTokId->toString(getLexer()); result += ": "; result += implTrai...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movq 0x38(%rsi), %rsi testq %rsi, %rsi je 0x1a498 movq %rsp, %r15 movq %r15, %rdi callq 0x1882e movq (%r15), %rsi movq 0x8(%r15), %rd...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::EnumExpr::EnumExpr(pfederc::Lexer const&, pfederc::Position const&, pfederc::Token const*, std::vector<std::unique_ptr<pfederc::TemplateDecl, std::default_delete<pfederc::TemplateDecl>>, std::allocator<std::unique_ptr<pfederc::TemplateDecl, std::default_delete<pfederc::TemplateDecl>>>>&&, std::vector<std::tupl...
EnumExpr::EnumExpr(const Lexer &lexer, const Position &pos, const Token *tokId, TemplateDecls &&templs, std::vector<EnumConstructor> &&constructors) noexcept : Expr(lexer, ExprType::EXPR_ENUM, pos), tokId{tokId}, templs(std::move(templs)), constructors(std::move(constructors)) { assert(this->tok...
pushq %rax xorl %eax, %eax movq %rax, 0x8(%rdi) movq %rsi, 0x10(%rdi) movl $0xa, 0x18(%rdi) movups (%rdx), %xmm0 movups %xmm0, 0x20(%rdi) movq 0x10(%rdx), %rdx movq %rdx, 0x30(%rdi) leaq 0xd24c(%rip), %rdx # 0x27878 movq %rdx, (%rdi) movq %rcx, 0x38(%rdi) movups (%r8), %xmm0 movups %xmm0, 0x40(%rdi) movq 0x10(%r8)...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ModExpr::~ModExpr()
std::string ModExpr::toString() const noexcept { std::string result = "module " + getIdentifier().toString(getLexer()) + '\n'; for (const auto &expr : exprs) { result += expr->toString(); result += '\n'; } result += ';'; return result; }
addq $0x40, %rdi jmp 0xdbbc nop
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ModExpr::toString[abi:cxx11]() const
std::string ModExpr::toString() const noexcept { std::string result = "module " + getIdentifier().toString(getLexer()) + '\n'; for (const auto &expr : exprs) { result += expr->toString(); result += '\n'; } result += ';'; return result; }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x40, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x10(%rsi), %rdx movq 0x38(%rsi), %rsi movq (%rsi), %rax leaq 0x20(%rsp), %r15 movq %r15, %rdi callq *0x10(%rax) leaq 0x3521(%rip), %rcx # 0x1e2d3 movl $0x7, %r8d movq %r15, %rdi xorl %esi, %esi xorl %edx, ...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::IfExpr::toString[abi:cxx11]() const
std::string IfExpr::toString() const noexcept { std::string result; if (isEnsure()) result += "ensure "; else result += "if "; result += std::get<0>(ifCases[0])->toString() + '\n'; result += std::get<1>(ifCases[0])->toString(); for (size_t i = 1; i < ifCases.size(); ++i) { result += "else "; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) leaq 0x386c(%rip), %rax # 0x1e9d8 cmpb $0x0, 0x58(%rsi) leaq 0x3869(%rip), %rsi # 0x1e9e0 cmovneq %rax, %rsi cal...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::LoopExpr::LoopExpr(pfederc::Lexer const&, pfederc::ExprType, pfederc::Position const&, std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>&&, std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>&&, std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>&&, std::unique_pt...
LoopExpr::LoopExpr(const Lexer &lexer, ExprType type, const Position &pos, std::unique_ptr<Expr> &&initExpr, std::unique_ptr<Expr> &&condExpr, std::unique_ptr<Expr> &&itExpr, std::unique_ptr<BodyExpr> &&bodyExpr) noexcept : Expr(lexer, type, pos), initExpr(std::move(initExpr)), condExpr(std::m...
pushq %rax movq 0x18(%rsp), %rax movq 0x10(%rsp), %r10 xorl %r11d, %r11d movq %r11, 0x8(%rdi) movq %rsi, 0x10(%rdi) movl %edx, 0x18(%rdi) movups (%rcx), %xmm0 movups %xmm0, 0x20(%rdi) movq 0x10(%rcx), %rcx movq %rcx, 0x30(%rdi) leaq 0xc4cf(%rip), %rcx # 0x27940 movq %rcx, (%rdi) movq (%r8), %rcx movq %rcx, 0x38(%r...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::LoopExpr::~LoopExpr()
LoopExpr::~LoopExpr() { }
pushq %rbx movq %rdi, %rbx movq 0x50(%rdi), %rsi testq %rsi, %rsi je 0x1b560 leaq 0x50(%rbx), %rdi callq 0x1c9ac movq $0x0, 0x50(%rbx) movq 0x48(%rbx), %rdi testq %rdi, %rdi je 0x1b577 movq (%rdi), %rax callq *0x8(%rax) movq $0x0, 0x48(%rbx) movq 0x40(%rbx), %rdi testq %rdi, %rdi je 0x1b58e movq (%rdi), %rax callq *0x8...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::BodyExpr::BodyExpr(pfederc::Lexer const&, pfederc::Position const&, std::vector<std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>, std::allocator<std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>>>&&, std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>&&, pfeder...
BodyExpr::BodyExpr(const Lexer &lex, const Position &pos, Exprs &&exprs, std::unique_ptr<Expr> &&retExpr, ReturnControlType rct) noexcept : Expr(lex, ExprType::EXPR_BODY, pos), exprs(std::move(exprs)), retExpr(std::move(retExpr)), rct{rct} { _setParents(this->exprs, this); _setParent(this->...
xorl %eax, %eax movq %rax, 0x8(%rdi) movq %rsi, 0x10(%rdi) movl $0x14, 0x18(%rdi) movups (%rdx), %xmm0 movups %xmm0, 0x20(%rdi) movq 0x10(%rdx), %rdx movq %rdx, 0x30(%rdi) leaq 0xb825(%rip), %rdx # 0x279e0 movq %rdx, (%rdi) movups (%rcx), %xmm0 movups %xmm0, 0x38(%rdi) movq 0x10(%rcx), %rdx movq %rdx, 0x48(%rdi) m...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ArrayCpyExpr::toString[abi:cxx11]() const
std::string ArrayCpyExpr::toString() const noexcept { return '[' + valueExpr->toString() + "; " + lengthExpr->toString() + ']'; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x38(%rsi), %rsi movq (%rsi), %rax leaq 0x88(%rsp), %r15 movq %r15, %rdi callq *0x10(%rax) movl $0x1, %edx movq %r15, %rdi xorl %esi, %esi movl $0x5b, %ecx callq 0x43b0 leaq 0x78(%rsp), %r15 movq %r15, -0x10(%r15) movq (%r...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ArrayLitExpr::ArrayLitExpr(pfederc::Lexer const&, pfederc::Position const&, std::__cxx11::list<std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>, std::allocator<std::unique_ptr<pfederc::Expr, std::default_delete<pfederc::Expr>>>>&&)
ArrayLitExpr::ArrayLitExpr(const Lexer &lexer, const Position &pos, std::list<std::unique_ptr<Expr>> &&exprs) noexcept : Expr(lexer, ExprType::EXPR_ARRLIT, pos), exprs(std::move(exprs)) { assert(!this->exprs.empty()); _setParents(this->exprs, this); }
pushq %rax movq $0x0, 0x8(%rdi) movq %rsi, 0x10(%rdi) movl $0x15, 0x18(%rdi) movups (%rdx), %xmm0 movups %xmm0, 0x20(%rdi) movq 0x10(%rdx), %rax movq %rax, 0x30(%rdi) leaq 0xb410(%rip), %rax # 0x27a30 movq %rax, (%rdi) leaq 0x38(%rdi), %rax movq (%rcx), %rsi movq %rsi, 0x38(%rdi) movq 0x8(%rcx), %rdx movq %rdx, 0x...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ArrayLitExpr::~ArrayLitExpr()
std::string ArrayLitExpr::toString() const noexcept { std::string result = "["; for (auto it = exprs.begin(); it != exprs.end(); ++it) { if (it != exprs.begin()) result += ", "; result += (*it)->toString(); } result += ']'; return result; }
addq $0x38, %rdi jmp 0xe994 nop
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
pfederc::ArrayLitExpr::toString[abi:cxx11]() const
std::string ArrayLitExpr::toString() const noexcept { std::string result = "["; for (auto it = exprs.begin(); it != exprs.end(); ++it) { if (it != exprs.begin()) result += ", "; result += (*it)->toString(); } result += ']'; return result; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) leaq 0x273d(%rip), %rsi # 0x1ee23 leaq 0x2737(%rip), %rdx # 0x1ee24 callq 0x7470 movq 0x38(%r14), %r13 addq $0x38, %r14 cmpq %r14, %r13 je 0x1c75f leaq 0x1...
/federlang[P]pfederc/libs/pfederc_syntax/src/expr.cpp
argvParser::addArg(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::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::function<void ()>)
argParserAdvancedConfiguration * argvParser::addArg(string argvShort, string argvLong, string help, function<void()> callBack) { if (!existArg(argvShort) && !existArg(argvLong)) { if (!existArg(argvShort) && !existArg(argvLong)) { newargconfig->push_back(new section()); } newargc...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movq %r8, 0x28(%rsp) movq %rcx, 0x30(%rsp) movq %rdx, %r12 movq %rsi, %r13 movq %rdi, %rbx leaq 0x108(%rsp), %r15 movq %r15, -0x10(%r15) movq (%rsi), %rsi movq 0x8(%r13), %rdx addq %rsi, %rdx leaq 0xf8(%rsp), %r...
/diridari[P]CPP-Argument-Parser/src/argvParser.cpp
argvParser::argvParser(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
argvParser::argvParser(string applicationNam_, string description_, bool addDefaultHelpCommand_, string commentToken_) { applicationName = applicationNam_; description = description_ + "\n"; addHelp = addDefaultHelpCommand_; commentToken = commentToken_; newargconfig = new vector<section*>(); ne...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %r8, 0x30(%rsp) movl %ecx, 0xc(%rsp) movq %rdx, %r13 movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %r12 movq %r12, (%rdi) xorl %eax, %eax movq %rax, 0x8(%rdi) movb %al, 0x10(%rdi) leaq 0x20(%rdi), %r15 leaq 0x30(%rdi), %rbp movq ...
/diridari[P]CPP-Argument-Parser/src/argvParser.cpp
double benchmark<remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>>(remora::matrix_expression<remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::cpu_tag> const&, remora...
double benchmark( matrix_expression<AMat, cpu_tag> const& A, matrix_expression<BMat, cpu_tag> const& B, matrix_expression<CMat, cpu_tag> & C ){ double minTime = std::numeric_limits<double>::max(); for(std::size_t i = 0; i != 10; ++i){ Timer time; noalias(C) += prod(A,B); minTime = std::min(minTime,t...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movsd 0x27cf(%rip), %xmm2 # 0x7038 pushq $0xa popq %r13 leaq 0x70(%rsp), %r12 leaq 0x8(%rsp), %rbp subq $0x1, %r13 jb 0x491b movq %r12, %rdi pushq $0x1 popq %rsi movsd %xmm2, (%rsp) cal...
/Shark-ML[P]Remora/examples/Benchmarks/gemm.cpp
double benchmark<remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>>(remora::matrix_expression<remora::matrix<double, remora::column_major, remora::cpu_tag>, remora::cpu_tag> const&, rem...
double benchmark( matrix_expression<AMat, cpu_tag> const& A, matrix_expression<BMat, cpu_tag> const& B, matrix_expression<CMat, cpu_tag> & C ){ double minTime = std::numeric_limits<double>::max(); for(std::size_t i = 0; i != 10; ++i){ Timer time; noalias(C) += prod(A,B); minTime = std::min(minTime,t...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movsd 0x2580(%rip), %xmm2 # 0x7038 pushq $0xa popq %r13 leaq 0x70(%rsp), %r12 leaq 0x8(%rsp), %rbp subq $0x1, %r13 jb 0x4b61 movq %r12, %rdi pushq $0x1 popq %rsi movsd %xmm2, (%rsp) cal...
/Shark-ML[P]Remora/examples/Benchmarks/gemm.cpp
double benchmark<remora::matrix<double, remora::row_major, remora::cpu_tag>, remora::matrix<double, remora::row_major, remora::cpu_tag>, remora::matrix<double, remora::column_major, remora::cpu_tag>>(remora::matrix_expression<remora::matrix<double, remora::row_major, remora::cpu_tag>, remora::cpu_tag> const&, remora::m...
double benchmark( matrix_expression<AMat, cpu_tag> const& A, matrix_expression<BMat, cpu_tag> const& B, matrix_expression<CMat, cpu_tag> & C ){ double minTime = std::numeric_limits<double>::max(); for(std::size_t i = 0; i != 10; ++i){ Timer time; noalias(C) += prod(A,B); minTime = std::min(minTime,t...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 movsd 0x2461(%rip), %xmm2 # 0x7038 pushq $0xa popq %r13 leaq 0x70(%rsp), %r12 leaq 0x50(%rsp), %rbp subq $0x1, %r13 jb 0x4c89 movq %r12, %rdi pushq $0x1 popq %rsi movsd %xmm2, (%rsp) ca...
/Shark-ML[P]Remora/examples/Benchmarks/gemm.cpp
void remora::bindings::gemm<remora::dense_matrix_adaptor<double, remora::column_major, remora::continuous_dense_tag, remora::cpu_tag>, remora::dense_matrix_adaptor<double const, remora::row_major, remora::continuous_dense_tag, remora::cpu_tag>, remora::dense_matrix_adaptor<double const, remora::row_major, remora::conti...
void gemm( matrix_expression<E1, cpu_tag> const& e1, matrix_expression<E2, cpu_tag> const& e2, matrix_expression<M, cpu_tag>& m, typename M::value_type alpha, column_major, Orientation1, Orientation2, Tag1, Tag2 ){ auto transposedM = trans(m); typedef typename Orientation1::transposed_orientation trans...
subq $0x68, %rsp movq (%rdx), %rcx movq 0x18(%rdx), %r8 leaq 0x48(%rsp), %rax movq %rcx, (%rax) movdqu 0x8(%rdx), %xmm1 pshufd $0x4e, %xmm1, %xmm1 # xmm1 = xmm1[2,3,0,1] movdqu %xmm1, 0x8(%rax) movq %r8, 0x18(%rax) movq (%rsi), %rdx movq 0x18(%rsi), %r8 leaq 0x28(%rsp), %rcx movq %rdx, (%rcx) movdqu 0x8(%rsi), %xmm...
/Shark-ML[P]Remora/include/remora/detail/../kernels/gemm.hpp
void remora::bindings::gemm<remora::dense_matrix_adaptor<double, remora::column_major, remora::continuous_dense_tag, remora::cpu_tag>, remora::dense_matrix_adaptor<double const, remora::row_major, remora::continuous_dense_tag, remora::cpu_tag>, remora::dense_matrix_adaptor<double const, remora::column_major, remora::co...
void gemm( matrix_expression<E1, cpu_tag> const& e1, matrix_expression<E2, cpu_tag> const& e2, matrix_expression<M, cpu_tag>& m, typename M::value_type alpha, column_major, Orientation1, Orientation2, Tag1, Tag2 ){ auto transposedM = trans(m); typedef typename Orientation1::transposed_orientation trans...
subq $0x68, %rsp movq (%rdx), %rcx movq 0x18(%rdx), %r8 leaq 0x48(%rsp), %rax movq %rcx, (%rax) movdqu 0x8(%rdx), %xmm1 pshufd $0x4e, %xmm1, %xmm1 # xmm1 = xmm1[2,3,0,1] movdqu %xmm1, 0x8(%rax) movq %r8, 0x18(%rax) movq (%rsi), %rdx movq 0x18(%rsi), %r8 leaq 0x28(%rsp), %rcx movq %rdx, (%rcx) movdqu 0x8(%rsi), %xmm...
/Shark-ML[P]Remora/include/remora/detail/../kernels/gemm.hpp
RadixTree::insert(unsigned long, unsigned long)
void insert(uint64_t vadd, uint64_t padd) { uint16_t p4k = p4_key(vadd); uint16_t p3k = p3_key(vadd); uint16_t p2k = p2_key(vadd); uint16_t p1k = p1_key(vadd); if(t_[p4k] == NULL) t_[p4k] = new vector< vector< vector<uint64_t>* >* >(p3_size); if((*t_[p4k])[p3k] == NULL) (*t_[p4k])[p3...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 andl $0x1ff, %r15d # imm = 0x1FF movq (%rdi), %rax movl %r15d, %ecx cmpq $0x0, (%rax,%rcx,8) jne 0x1d18 movl $0x18, %edi callq 0x1100 movq %rax, %r12 xorps %xmm0, %xmm0 movups %xmm0, (%rax) movq $0x0, 0x10(%...
/spratt[P]VirtualMemoryDataStructures/radixtree.hpp
cmCTest::GetBinaryDir[abi:cxx11]()
std::string cmCTest::GetBinaryDir() { return this->BinaryDir; }
pushq %rbx movq %rdi, %rbx leaq 0x10(%rdi), %rax movq %rax, (%rdi) movq 0x498(%rsi), %rax movq 0x4a0(%rsi), %rdx addq %rax, %rdx movq %rax, %rsi callq 0x1960c2 movq %rbx, %rax popq %rbx retq nop
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::~cmCTest()
cmCTest::~cmCTest() { cmDeleteAll(this->TestingHandlers); this->SetOutputLogFileName(CM_NULLPTR); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movq 0x90(%rdi), %rdi leaq 0x80(%rbx), %rsi callq 0x196a0b movq 0x520(%rbx), %rdi testq %rdi, %rdi je 0x184787 movq (%rdi), %rax callq *0x8(%rax) movq $0x0, 0x520(%rbx) leaq 0x530(%rbx), %rdi callq 0x195f40 leaq 0x500(%rbx), %rdi callq 0x181f88 movq...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::ReadCustomConfigurationFileTree(char const*, cmMakefile*)
int cmCTest::ReadCustomConfigurationFileTree(const char* dir, cmMakefile* mf) { bool found = false; VectorOfStrings dirs; VectorOfStrings ndirs; cmCTestLog(this, DEBUG, "* Read custom CTest configuration directory: " << dir << std::endl); std::string fname = dir; fname += "/CTestCustom.cmake...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x288, %rsp # imm = 0x288 movq %rdx, 0x68(%rsp) movq %rsi, %r15 movq %rdi, 0x8(%rsp) xorps %xmm0, %xmm0 movaps %xmm0, 0xf0(%rsp) xorl %eax, %eax movq %rax, 0x100(%rsp) movq %rax, 0xe0(%rsp) movaps %xmm0, 0xd0(%rsp) leaq 0x110(%rsp), %rdi...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::ProcessSteps()
int cmCTest::ProcessSteps() { int res = 0; bool notest = true; int update_count = 0; for (Part p = PartStart; notest && p != PartCount; p = Part(p + 1)) { notest = !this->Parts[p]; } if (this->Parts[PartUpdate] && (this->GetRemainingTimeAllowed() - 120 > 0)) { cmCTestGenericHandler* uphandler = thi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d8, %rsp # imm = 0x1D8 movq %rdi, %rbx movl $0x148, %eax # imm = 0x148 movb (%rbx,%rax), %r15b testb %r15b, %r15b jne 0x189f0f leaq 0x40(%rax), %rcx cmpq $0x3c8, %rax # imm = 0x3C8 movq %rcx, %rax jne 0x189ef7 xo...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::Run(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
int cmCTest::Run(std::vector<std::string>& args, std::string* output) { const char* ctestExec = "ctest"; bool cmakeAndTest = false; bool executeTests = true; bool SRArgumentSpecified = false; // copy the command line this->InitialCommandLineArguments.insert( this->InitialCommandLineArguments.end(), arg...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x208, %rsp # imm = 0x208 movq %rdx, %r12 movq %rsi, %r15 movq %rdi, %rbx movb $0x0, 0x7(%rsp) addq $0x500, %rdi # imm = 0x500 movq 0x508(%rbx), %rsi movq (%r15), %rdx movq 0x8(%r15), %rcx callq 0x197be8 movq $0x1, 0x8(%rsp) m...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::GenerateNotesFile(std::vector<cmsys::String, std::allocator<cmsys::String>> const&)
int cmCTest::GenerateNotesFile(const VectorOfStrings& files) { cmGeneratedFileStream ofs; if (!this->OpenOutputFile(this->CurrentTag, "Notes.xml", ofs)) { cmCTestLog(this, ERROR_MESSAGE, "Cannot open notes file" << std::endl); return 1; } cmXMLWriter xml(ofs); this->GenerateCTestNotesOutput(xml, files...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x3e8, %rsp # imm = 0x3E8 movq %rsi, %r14 movq %rdi, %rbx leaq 0x1a0(%rsp), %rdi xorl %esi, %esi callq 0x230da4 leaq 0x38(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x39f8dc(%rip), %rsi # 0x52ece8 leaq 0x39f8de(%rip), %rdx # 0x52ecf1 leaq 0x28(%rsp), %rdi ...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::SubmitExtraFiles(char const*)
bool cmCTest::SubmitExtraFiles(const char* cfiles) { if (!cfiles) { return true; } VectorOfStrings files; cmCTestLog(this, OUTPUT, "Submit extra files" << std::endl); files = cmSystemTools::SplitString(cfiles, ';'); if (files.empty()) { return true; } return this->SubmitExtraFiles(files); }
pushq %r15 pushq %r14 pushq %rbx subq $0x1d0, %rsp # imm = 0x1D0 testq %rsi, %rsi je 0x18fd32 movq %rsi, %r14 movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, (%rsp) movq $0x0, 0x10(%rsp) leaq 0x58(%rsp), %rdi callq 0x171ff0 leaq 0x39f1a0(%rip), %rsi # 0x52ed76 leaq 0x58(%rsp), %r15 movl $0x12, %edx movq ...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::HandleCommandLineArguments(unsigned long&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>...
bool cmCTest::HandleCommandLineArguments(size_t& i, std::vector<std::string>& args, std::string& errormsg) { std::string arg = args[i]; if (this->CheckArgument(arg, "-F")) { this->Failover = true; } if (this->CheckArgument(arg...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1c8, %rsp # imm = 0x1C8 movq %rcx, 0x1c0(%rsp) movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq (%rsi), %rax movq (%rdx), %rcx shlq $0x5, %rax leaq 0x10(%rsp), %rbp movq %rbp, -0x10(%rbp) movq (%rcx,%rax), %rsi movq 0x8(%rcx,%rax),...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::HandleScriptArguments(unsigned long&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, bool&)
void cmCTest::HandleScriptArguments(size_t& i, std::vector<std::string>& args, bool& SRArgumentSpecified) { std::string arg = args[i]; if (this->CheckArgument(arg, "-SP", "--script-new-process") && i < args.size() - 1) { this->RunConfigurationScript = true; i++; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r15 movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r12 movq (%rsi), %rax movq (%rdx), %rcx shlq $0x5, %rax leaq 0x18(%rsp), %rbp movq %rbp, -0x10(%rbp) movq (%rcx,%rax), %rsi movq 0x8(%rcx,%rax), %rdx addq %rsi, %rdx leaq 0x8(%r...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::RunCMakeAndTest(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*)
int cmCTest::RunCMakeAndTest(std::string* output) { this->Verbose = true; cmCTestBuildAndTestHandler* handler = static_cast<cmCTestBuildAndTestHandler*>(this->GetHandler("buildtest")); int retv = handler->ProcessHandler(); *output = handler->GetOutput(); #ifdef CMAKE_BUILD_WITH_CMAKE cmDynamicLoader::Flus...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1a0, %rsp # imm = 0x1A0 movq %rsi, %r15 movq %rdi, %r14 movb $0x1, 0x69(%rdi) leaq 0x39afc3(%rip), %rsi # 0x52e48e callq 0x189e2a movq %rax, %r12 movq (%rax), %rax movq %r12, %rdi callq *0x8(%rax) movl %eax, %ebx movq %r12, %rdi callq 0x19854e...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::ExecuteTests()
int cmCTest::ExecuteTests() { int res; // call process directory if (this->RunConfigurationScript) { if (this->ExtraVerbose) { cmCTestLog(this, OUTPUT, "* Extra verbosity turned on" << std::endl); } cmCTest::t_TestingHandlers::iterator it; for (it = this->TestingHandlers.begin(); it != this-...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %rdi, %rbx cmpb $0x1, 0x73(%rdi) jne 0x193835 cmpb $0x1, 0x6a(%rbx) jne 0x193706 leaq 0x40(%rsp), %r14 movq %r14, %rdi callq 0x171ff0 leaq 0x39bfb8(%rip), %rsi # 0x52f620 movl $0x1b, %edx movq %r14, %rdi callq 0x172100 movq 0...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::DetermineNextDayStop()
void cmCTest::DetermineNextDayStop() { struct tm* lctime; time_t current_time = time(CM_NULLPTR); lctime = gmtime(&current_time); int gm_hour = lctime->tm_hour; time_t gm_time = mktime(lctime); lctime = localtime(&current_time); int local_hour = lctime->tm_hour; int tzone_offset = local_hour - gm_hour;...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x418, %rsp # imm = 0x418 movq %rdi, %rbx xorl %edi, %edi callq 0x1717b0 leaq 0x8(%rsp), %r15 movq %rax, (%r15) movq %r15, %rdi callq 0x170740 movl 0x8(%rax), %ebp movq %rax, %rdi callq 0x170b60 movq %rax, %r14 movq %r15, %rdi callq 0x171490 movl 0x8(%rax), %...
/jdavidberger[P]CMake/Source/cmCTest.cxx
cmCTest::GetShortPathToFile[abi:cxx11](char const*)
std::string cmCTest::GetShortPathToFile(const char* cfname) { const std::string& sourceDir = cmSystemTools::CollapseFullPath( this->GetCTestConfiguration("SourceDirectory")); const std::string& buildDir = cmSystemTools::CollapseFullPath( this->GetCTestConfiguration("BuildDirectory")); std::string fname = ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx leaq 0x38(%rsp), %rbp movq %rbp, -0x10(%rbp) leaq 0x39a739(%rip), %rsi # 0x52e619 leaq 0x39a741(%rip), %rdx # 0x52e628 leaq 0x28(%rsp), %rdi callq 0x181fe4 leaq 0x48(%rsp), %rdi leaq ...
/jdavidberger[P]CMake/Source/cmCTest.cxx
void cmXMLWriter::Attribute<char [5]>(char const*, char const (&) [5])
void Attribute(const char* name, T const& value) { this->PreAttribute(); this->Output << name << "=\"" << SafeAttribute(value) << '"'; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0x2a3d0c movq (%r14), %r14 testq %r15, %r15 je 0x195773 movq %r15, %rdi callq 0x170b90 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x172100 jmp 0x19578b movq (%r14), %rax movq -0x18(%rax), %rax leaq (%r14,%...
/jdavidberger[P]CMake/Source/cmXMLWriter.h
void cmXMLWriter::Attribute<char const*>(char const*, char const* const&)
void Attribute(const char* name, T const& value) { this->PreAttribute(); this->Output << name << "=\"" << SafeAttribute(value) << '"'; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx callq 0x2a3d0c movq (%rbx), %rbx testq %r15, %r15 je 0x195811 movq %r15, %rdi callq 0x170b90 movq %rbx, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x172100 jmp 0x195828 movq (%rbx), %rax movq -0x18(%rax), %rax leaq (%rbx,%...
/jdavidberger[P]CMake/Source/cmXMLWriter.h
void cmXMLWriter::Attribute<int>(char const*, int const&)
void Attribute(const char* name, T const& value) { this->PreAttribute(); this->Output << name << "=\"" << SafeAttribute(value) << '"'; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0x2a3d0c movq (%r14), %r14 testq %r15, %r15 je 0x19593b movq %r15, %rdi callq 0x170b90 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x172100 jmp 0x195953 movq (%r14), %rax movq -0x18(%rax), %rax leaq (%r14,%...
/jdavidberger[P]CMake/Source/cmXMLWriter.h
void cmXMLWriter::Attribute<unsigned int>(char const*, unsigned int const&)
void Attribute(const char* name, T const& value) { this->PreAttribute(); this->Output << name << "=\"" << SafeAttribute(value) << '"'; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0x2a3d0c movq (%r14), %r14 testq %r15, %r15 je 0x1959c7 movq %r15, %rdi callq 0x170b90 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x172100 jmp 0x1959df movq (%r14), %rax movq -0x18(%rax), %rax leaq (%r14,%...
/jdavidberger[P]CMake/Source/cmXMLWriter.h
void cmXMLWriter::Attribute<unsigned long>(char const*, unsigned long const&)
void Attribute(const char* name, T const& value) { this->PreAttribute(); this->Output << name << "=\"" << SafeAttribute(value) << '"'; }
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rdx, %rbx movq %rsi, %r15 movq %rdi, %r14 callq 0x2a3d0c movq (%r14), %r14 testq %r15, %r15 je 0x195a53 movq %r15, %rdi callq 0x170b90 movq %r14, %rdi movq %r15, %rsi movq %rax, %rdx callq 0x172100 jmp 0x195a6b movq (%r14), %rax movq -0x18(%rax), %rax leaq (%r14,%...
/jdavidberger[P]CMake/Source/cmXMLWriter.h
void cmXMLWriter::Attribute<cmsys::String>(char const*, cmsys::String const&)
void Attribute(const char* name, T const& value) { this->PreAttribute(); this->Output << name << "=\"" << SafeAttribute(value) << '"'; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdx, %r15 movq %rsi, %rbx movq %rdi, %r14 callq 0x2a3d0c movq (%r14), %r14 testq %rbx, %rbx je 0x195b71 movq %rbx, %rdi callq 0x170b90 movq %r14, %rdi movq %rbx, %rsi movq %rax, %rdx callq 0x172100 jmp 0x195b89 movq (%r14), %rax movq -0x18(%rax), %rax l...
/jdavidberger[P]CMake/Source/cmXMLWriter.h
cmCTestBuildAndTestHandler::ProcessHandler()
int cmCTestBuildAndTestHandler::ProcessHandler() { this->Output = ""; std::string output; cmSystemTools::ResetErrorOccuredFlag(); int retv = this->RunCMakeAndTest(&this->Output); cmSystemTools::ResetErrorOccuredFlag(); return retv; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdi, %rbx leaq 0x98(%rdi), %r14 movq 0xa0(%rdi), %rdx leaq 0x3dc592(%rip), %rcx # 0x574b0e xorl %ebp, %ebp movq %r14, %rdi xorl %esi, %esi xorl %r8d, %r8d callq 0x170ee0 leaq 0x18(%rsp), %r15 movq %r15, -0x10(%r15) movq $0x0, -0...
/jdavidberger[P]CMake/Source/CTest/cmCTestBuildAndTestHandler.cxx
cmCTestP4::DescribeParser::~DescribeParser()
DescribeParser(cmCTestP4* p4, const char* prefix) : LineParser('\n', false) , P4(p4) , Section(SectionHeader) { this->SetLog(&P4->Log, prefix); this->RegexHeader.compile("^Change ([0-9]+) by (.+)@(.+) on (.*)$"); this->RegexDiff.compile("^\\.\\.\\. (.*)#[0-9]+ ([^ ]+)$"); }
pushq %rbx movq %rdi, %rbx leaq 0x472d8d(%rip), %rax # 0x687b20 movq %rax, (%rdi) addq $0x208, %rdi # imm = 0x208 callq 0x201dc8 leaq 0x1e8(%rbx), %rdi callq 0x2088a0 movq 0x1c8(%rbx), %rdi testq %rdi, %rdi je 0x214dbf callq 0x170ab0 movq 0xf8(%rbx), %rdi testq %rdi, %rdi je 0x214dd0 callq 0x170ab0 leaq 0...
/jdavidberger[P]CMake/Source/CTest/cmCTestP4.cxx
cmCTestP4::DescribeParser::NextSection()
void NextSection() { if (this->Section == SectionDiff) { this->P4->DoRevision(this->Rev, this->Changes); this->Rev = Revision(); } this->Section = SectionType((this->Section + 1) % SectionCount); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %rdi, %rbx cmpl $0x3, 0x200(%rdi) jne 0x214fbc movq 0x1e0(%rbx), %rdi leaq 0x208(%rbx), %r15 leaq 0x1e8(%rbx), %rdx movq (%rdi), %rax movq %r15, %rsi callq *0x40(%rax) leaq 0x8(%rsp), %r14 xorl %r13d, %r13d...
/jdavidberger[P]CMake/Source/CTest/cmCTestP4.cxx
cmCTestP4::DiffParser::~DiffParser()
DiffParser(cmCTestP4* p4, const char* prefix) : P4(p4) , AlreadyNotified(false) { this->SetLog(&P4->Log, prefix); this->RegexDiff.compile("^==== (.*)#[0-9]+ - (.*)"); }
pushq %rbx movq %rdi, %rbx leaq 0x47260d(%rip), %rax # 0x687b68 movq %rax, (%rdi) movq 0x128(%rdi), %rdi testq %rdi, %rdi je 0x21556f callq 0x170ab0 movq 0x50(%rbx), %rdi leaq 0x60(%rbx), %rax cmpq %rax, %rdi je 0x215587 movq (%rax), %rsi incq %rsi callq 0x1702c0 leaq 0x473a8a(%rip), %rax # 0x689018 addq $0x10, %...
/jdavidberger[P]CMake/Source/CTest/cmCTestP4.cxx
cmCTestBatchTestHandler::WriteBatchScript()
void cmCTestBatchTestHandler::WriteBatchScript() { this->Script = this->CTest->GetBinaryDir() + "/Testing/CTestBatch.txt"; cmsys::ofstream fout; fout.open(this->Script.c_str()); fout << "#!/bin/sh\n"; for (TestMap::iterator i = this->Tests.begin(); i != this->Tests.end(); ++i) { this->WriteSrunArg...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x220, %rsp # imm = 0x220 movq %rdi, %rbx movq 0x1d8(%rdi), %rsi movq %rsp, %r14 movq %r14, %rdi callq 0x1834fc leaq 0x3233bc(%rip), %rsi # 0x538b04 movq %r14, %rdi callq 0x1714b0 leaq 0x30(%rsp), %r12 movq %r12, -0x10(%r12) movq (%rax), %rdx mo...
/jdavidberger[P]CMake/Source/CTest/cmCTestBatchTestHandler.cxx
cmCTestBuildCommand::InitializeHandler()
cmCTestGenericHandler* cmCTestBuildCommand::InitializeHandler() { cmCTestGenericHandler* handler = this->CTest->GetInitializedHandler("build"); if (!handler) { this->SetError("internal CTest error. Cannot instantiate build handler"); return CM_NULLPTR; } this->Handler = (cmCTestBuildHandler*)handler; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x278, %rsp # imm = 0x278 movq %rdi, %rbx movq 0x30(%rdi), %rdi leaq 0x3195f5(%rip), %rsi # 0x52f55e callq 0x189d94 leaq 0x68(%rsp), %r12 testq %rax, %rax je 0x21614f movq %rax, %r14 movq %rax, 0xb0(%rbx) movq 0x8(%rbx), %r15 leaq 0x5...
/jdavidberger[P]CMake/Source/CTest/cmCTestBuildCommand.cxx
cmCTestConfigureCommand::cmCTestConfigureCommand()
cmCTestConfigureCommand::cmCTestConfigureCommand() { this->Arguments[ctc_OPTIONS] = "OPTIONS"; this->Arguments[ctc_LAST] = CM_NULLPTR; this->Last = ctc_LAST; }
pushq %rbx movq %rdi, %rbx callq 0x219874 leaq 0x470f4c(%rip), %rax # 0x687c78 movq %rax, (%rbx) movq 0x70(%rbx), %rax leaq 0x31ffaf(%rip), %rcx # 0x536ce9 movq %rcx, 0x38(%rax) movq 0x70(%rbx), %rax movq $0x0, 0x40(%rax) movq $0x8, 0xa0(%rbx) popq %rbx retq nop
/jdavidberger[P]CMake/Source/CTest/cmCTestConfigureCommand.cxx
cmCTestConfigureCommand::Clone()
cmCommand* Clone() CM_OVERRIDE { cmCTestConfigureCommand* ni = new cmCTestConfigureCommand; ni->CTest = this->CTest; ni->CTestScriptHandler = this->CTestScriptHandler; return ni; }
pushq %r14 pushq %rbx pushq %rax movq %rdi, %r14 movl $0xa8, %edi callq 0x1703e0 movq %rax, %rbx movq %rax, %rdi callq 0x219874 leaq 0x470257(%rip), %rax # 0x687c78 movq %rax, (%rbx) movq 0x70(%rbx), %rax leaq 0x31f2ba(%rip), %rcx # 0x536ce9 movq %rcx, 0x38(%rax) movq 0x70(%rbx), %rax movq $0x0, 0x40(%rax) movq $...
/jdavidberger[P]CMake/Source/CTest/cmCTestConfigureCommand.h
cmCTestCoverageCommand::CheckArgumentKeyword(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
bool cmCTestCoverageCommand::CheckArgumentKeyword(std::string const& arg) { // Look for arguments specific to this command. if (arg == "LABELS") { this->ArgumentDoing = ArgumentDoingLabels; this->LabelsMentioned = true; return true; } // Look for other arguments. return this->Superclass::CheckArg...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx leaq 0x32469b(%rip), %rsi # 0x53c316 movq %r14, %rdi callq 0x171e00 testl %eax, %eax je 0x217c99 movq %rbx, %rdi movq %r14, %rsi addq $0x8, %rsp popq %rbx popq %r14 jmp 0x21ae44 movl $0x3, 0x40(%rbx) movb $0x1, 0xa8(%rbx) movb $0x1, %al addq $0x8, %rsp...
/jdavidberger[P]CMake/Source/CTest/cmCTestCoverageCommand.cxx
cmCTestCurl::InitCurl()
bool cmCTestCurl::InitCurl() { if (!this->Curl) { return false; } if (this->VerifyPeerOff) { curl_easy_setopt(this->Curl, CURLOPT_SSL_VERIFYPEER, 0); } if (this->VerifyHostOff) { curl_easy_setopt(this->Curl, CURLOPT_SSL_VERIFYHOST, 0); } if (!this->HTTPProxy.empty()) { curl_easy_setopt(thi...
pushq %r14 pushq %rbx pushq %rax movq 0x8(%rdi), %rbx testq %rbx, %rbx je 0x2183c1 movq %rdi, %r14 cmpb $0x1, 0x6d(%rdi) jne 0x2182fd movq %rbx, %rdi movl $0x40, %esi xorl %edx, %edx xorl %eax, %eax callq 0x4f4440 cmpb $0x1, 0x6c(%r14) jne 0x218316 movq 0x8(%r14), %rdi movl $0x51, %esi xorl %edx, %edx xorl %eax, %eax c...
/jdavidberger[P]CMake/Source/CTest/cmCTestCurl.cxx
cmCTestEmptyBinaryDirectoryCommand::InitialPass(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, cmExecutionStatus&)
bool cmCTestEmptyBinaryDirectoryCommand::InitialPass( std::vector<std::string> const& args, cmExecutionStatus& /*unused*/) { if (args.size() != 1) { this->SetError("called with incorrect number of arguments"); return false; } if (!cmCTestScriptHandler::EmptyBinaryDirectory(args[0].c_str())) { std::...
pushq %r15 pushq %r14 pushq %rbx subq $0x1a0, %rsp # imm = 0x1A0 movq %rdi, %rbx movq (%rsi), %rax movq 0x8(%rsi), %rcx subq %rax, %rcx cmpq $0x20, %rcx jne 0x219732 movq %rsi, %r14 movq (%rax), %rdi callq 0x1d4114 movl %eax, %ecx movb $0x1, %al testb %cl, %cl jne 0x219779 leaq 0x28(%rsp), %r15 movq %r15, %r...
/jdavidberger[P]CMake/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx
cmCTestEmptyBinaryDirectoryCommand::Clone()
cmCommand* Clone() CM_OVERRIDE { cmCTestEmptyBinaryDirectoryCommand* ni = new cmCTestEmptyBinaryDirectoryCommand; ni->CTest = this->CTest; ni->CTestScriptHandler = this->CTestScriptHandler; return ni; }
pushq %rbx movq %rdi, %rbx movl $0x40, %edi callq 0x1703e0 xorl %ecx, %ecx movq %rcx, 0x8(%rax) leaq 0x20(%rax), %rdx movq %rdx, 0x10(%rax) movq %rcx, 0x18(%rax) movb $0x0, 0x20(%rax) xorps %xmm0, %xmm0 movups %xmm0, 0x30(%rax) leaq 0x46e52c(%rip), %rcx # 0x687d88 movq %rcx, (%rax) movq 0x30(%rbx), %rcx movq %rcx, 0...
/jdavidberger[P]CMake/Source/CTest/cmCTestEmptyBinaryDirectoryCommand.h
cmCTestMemCheckCommand::cmCTestMemCheckCommand()
cmCTestMemCheckCommand::cmCTestMemCheckCommand() { this->Arguments[ctm_DEFECT_COUNT] = "DEFECT_COUNT"; this->Arguments[ctm_LAST] = CM_NULLPTR; this->Last = ctm_LAST; }
pushq %rbx movq %rdi, %rbx callq 0x1e7c8c leaq 0x46ca6c(%rip), %rax # 0x687e70 movq %rax, (%rbx) movq 0x70(%rbx), %rax leaq 0x31e11f(%rip), %rcx # 0x539531 movq %rcx, 0xb0(%rax) movq 0x70(%rbx), %rax movq $0x0, 0xb8(%rax) movq $0x17, 0xa0(%rbx) popq %rbx retq nop
/jdavidberger[P]CMake/Source/CTest/cmCTestMemCheckCommand.cxx
cmCTestMultiProcessHandler::cmCTestMultiProcessHandler()
cmCTestMultiProcessHandler::cmCTestMultiProcessHandler() { this->ParallelLevel = 1; this->TestLoad = 0; this->Completed = 0; this->RunningCount = 0; this->StopTimePassed = false; this->HasCycles = false; this->SerialTestRunning = false; }
leaq 0x46c645(%rip), %rax # 0x687f00 movq %rax, (%rdi) leaq 0x10(%rdi), %rcx xorl %eax, %eax movl %eax, 0x10(%rdi) movq %rax, 0x18(%rdi) movq %rcx, 0x20(%rdi) movq %rcx, 0x28(%rdi) leaq 0x78(%rdi), %rcx movl %eax, 0x78(%rdi) movq %rax, 0x80(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x30(%rdi) movups %xmm0, 0x40(%rdi) m...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::SetTests(cmCTestMultiProcessHandler::TestMap&, cmCTestMultiProcessHandler::PropertiesMap&)
void cmCTestMultiProcessHandler::SetTests(TestMap& tests, PropertiesMap& properties) { this->Tests = tests; this->Properties = properties; this->Total = this->Tests.size(); // set test run map to false for all for (TestMap::iterator i = this->Tests.begin(); i != this-...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movq %rdi, %rbx addq $0x8, %rdi callq 0x21fc60 leaq 0x70(%rbx), %rdi movq %r14, %rsi callq 0x220100 movq 0x20(%rbx), %r14 movq 0x30(%rbx), %rax movq %rax, 0x50(%rbx) movq %rbx, (%rsp) leaq 0x10(%rbx), %rbp cmpq %rbp, %r14 je 0x...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::RunTests()
void cmCTestMultiProcessHandler::RunTests() { this->CheckResume(); if (this->HasCycles) { return; } this->TestHandler->SetMaxIndex(this->FindMaxIndex()); this->StartNextTests(); while (!this->Tests.empty()) { if (this->StopTimePassed) { return; } this->CheckOutput(); this->StartNex...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx callq 0x21c598 cmpb $0x0, 0x1e0(%rbx) je 0x21c523 addq $0x8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq movq 0x20(%rbx), %rax movq 0x1d0(%rbx), %r14 leaq 0x10(%rbx), %r15 xorl %ebp, %ebp cmpq %r15, %rax je 0x21c54b movl 0x20(%rax), %ecx cmpl ...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::StartNextTests()
void cmCTestMultiProcessHandler::StartNextTests() { size_t numToStart = 0; if (this->RunningCount < this->ParallelLevel) { numToStart = this->ParallelLevel - this->RunningCount; } if (numToStart == 0) { return; } // Don't start any new tests if one with the RUN_SERIAL property // is already runn...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x228, %rsp # imm = 0x228 movq 0x190(%rdi), %r14 xorl %ecx, %ecx movq %r14, %rax subq 0x60(%rdi), %rax cmovaeq %rax, %rcx movq %rcx, 0x28(%rsp) jbe 0x21d0c5 movq %rdi, %rbx cmpb $0x0, 0x1e2(%rdi) jne 0x21d0c5 leaq 0x80(%rsp), %rax movq %...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::GetName[abi:cxx11](int)
std::string cmCTestMultiProcessHandler::GetName(int test) { return this->Properties[test]->Name; }
pushq %rbx subq $0x10, %rsp movq %rdi, %rbx leaq 0xc(%rsp), %rax movl %edx, (%rax) leaq 0x70(%rsi), %rdi movq %rax, %rsi callq 0x1f75b6 movq (%rax), %rax leaq 0x10(%rbx), %rcx movq %rcx, (%rbx) movq (%rax), %rsi movq 0x8(%rax), %rdx addq %rsi, %rdx movq %rbx, %rdi callq 0x1960c2 movq %rbx, %rax addq $0x10, %rsp popq %r...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::StartTest(int)
bool cmCTestMultiProcessHandler::StartTest(int test) { // Check for locked resources for (std::set<std::string>::iterator i = this->Properties[test]->LockedResources.begin(); i != this->Properties[test]->LockedResources.end(); ++i) { if (this->LockedResources.find(*i) != this->LockedResources.en...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx leaq 0x4(%rsp), %r12 movl %esi, (%r12) leaq 0x70(%rdi), %r14 movq %r14, %rdi movq %r12, %rsi callq 0x1f75b6 movq (%rax), %rax movq 0x1b0(%rax), %r15 movq %r14, %rdi movq %r12, %rsi callq 0x1f75b6 movl $0x1a0, %ecx # ...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::CreateParallelTestCostList()
void cmCTestMultiProcessHandler::CreateParallelTestCostList() { TestSet alreadySortedTests; std::list<TestSet> priorityStack; priorityStack.push_back(TestSet()); TestSet& topLevel = priorityStack.back(); // In parallel test runs add previously failed tests to the front // of the cost list and queue other ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %rdi, %r14 leaq 0x80(%rsp), %rcx movl $0x0, (%rcx) xorl %eax, %eax movq %rax, 0x8(%rcx) movq %rcx, 0x10(%rcx) movq %rcx, 0x18(%rcx) movq %rax, 0x20(%rcx) leaq 0x50(%rsp), %rdi movq %rdi, 0x8(%rdi) movq %rdi, (%rdi) movq %rax, 0x10(%...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::CreateSerialTestCostList()
void cmCTestMultiProcessHandler::CreateSerialTestCostList() { TestList presortedList; for (TestMap::iterator i = this->Tests.begin(); i != this->Tests.end(); ++i) { presortedList.push_back(i->first); } TestComparator comp(this); std::stable_sort(presortedList.begin(), presortedList.end(), comp); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x88, %rsp movq %rdi, %rbx xorps %xmm0, %xmm0 movaps %xmm0, 0x10(%rsp) movq $0x0, 0x20(%rsp) movq 0x20(%rdi), %r14 leaq 0x10(%rdi), %r12 cmpq %r12, %r14 je 0x21ea0c leaq 0x10(%rsp), %r15 leaq 0x20(%r14), %rdx movq 0x18(%rsp), %rsi cmpq 0x20(%rsp), ...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestMultiProcessHandler::PrintLabels()
void cmCTestMultiProcessHandler::MarkFinished() { std::string fname = this->CTest->GetBinaryDir() + "/Testing/Temporary/CTestCheckpoint.txt"; cmSystemTools::RemoveFile(fname); }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1d8, %rsp # imm = 0x1D8 leaq 0x38(%rsp), %r14 movl $0x0, (%r14) xorl %eax, %eax movq %rax, 0x8(%r14) movq %r14, 0x10(%r14) movq %r14, 0x18(%r14) movq %rax, 0x20(%r14) movq 0x88(%rdi), %r15 movq %rdi, 0x20(%rsp) leaq 0x78(%rdi), %rax mo...
/jdavidberger[P]CMake/Source/CTest/cmCTestMultiProcessHandler.cxx
cmCTestReadCustomFilesCommand::~cmCTestReadCustomFilesCommand()
cmCTestReadCustomFilesCommand() {}
pushq %rbx movq %rdi, %rbx leaq 0x466cbb(%rip), %rax # 0x689370 addq $0x10, %rax movq %rax, (%rdi) movq 0x10(%rdi), %rdi leaq 0x20(%rbx), %rax cmpq %rax, %rdi je 0x2226d4 movq (%rax), %rsi incq %rsi callq 0x1702c0 movl $0x40, %esi movq %rbx, %rdi popq %rbx jmp 0x1702c0
/jdavidberger[P]CMake/Source/CTest/cmCTestReadCustomFilesCommand.h
cmDocumentation::PrintHelpListManuals(std::ostream&)
bool cmDocumentation::PrintHelpListManuals(std::ostream& os) { this->PrintNames(os, "manual/*"); return true; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %rbx leaq 0x10(%rsp), %r15 movq %r15, -0x10(%r15) leaq 0x30f5e6(%rip), %rsi # 0x53a50c leaq 0x30f5e7(%rip), %rdx # 0x53a514 movq %rsp, %r14 movq %r14, %rdi callq 0x181fe4 movq %rbx, %rsi movq %r14, %rdx callq 0x22d8c4 movq (%rsp), %rdi cmpq %r15, %rdi j...
/jdavidberger[P]CMake/Source/cmDocumentation.cxx
cmSetTargetPropertiesCommand::Clone()
cmCommand* Clone() CM_OVERRIDE { return new cmSetTargetPropertiesCommand; }
pushq %rax movl $0x30, %edi callq 0x1703e0 xorl %ecx, %ecx movq %rcx, 0x8(%rax) leaq 0x20(%rax), %rdx movq %rdx, 0x10(%rax) movq %rcx, 0x18(%rax) movb $0x0, 0x20(%rax) leaq 0x37a202(%rip), %rcx # 0x68b728 movq %rcx, (%rax) popq %rcx retq nop
/jdavidberger[P]CMake/Source/cmSetTargetPropertiesCommand.h
cmSetTestsPropertiesCommand::InitialPass(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, cmExecutionStatus&)
bool cmSetTestsPropertiesCommand::InitialPass( std::vector<std::string> const& args, cmExecutionStatus&) { if (args.empty()) { this->SetError("called with incorrect number of arguments"); return false; } // first collect up the list of files std::vector<std::string> propertyPairs; int numFiles = 0;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rdi, 0x28(%rsp) movq (%rsi), %r15 cmpq 0x8(%rsi), %r15 je 0x311590 movq %rsi, %r14 xorps %xmm0, %xmm0 movaps %xmm0, 0x30(%rsp) movq $0x0, 0x40(%rsp) cmpq 0x8(%rsi), %r15 je 0x3115de leaq 0x20(%r15), %r13 xorl %ebx, %ebx leaq 0x2402...
/jdavidberger[P]CMake/Source/cmSetTestsPropertiesCommand.cxx
cmSourceGroupCommand::checkTreeArgumentsPreconditions(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocato...
bool cmSourceGroupCommand::checkTreeArgumentsPreconditions( const std::vector<std::string>& args, std::string& errorMsg) const { if (args.size() == 1) { errorMsg = "TREE argument given without a root."; return false; } if (args.size() < 3) { errorMsg = "Missing FILES arguments."; return false; ...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %rbx movq (%rsi), %rdi movq 0x8(%rsi), %rax subq %rdi, %rax cmpq $0x20, %rax jne 0x3130f8 movq 0x8(%rbx), %rdx leaq 0x23ebcf(%rip), %rcx # 0x551cbc xorl %r14d, %r14d movl $0x23, %r8d jmp 0x313112 cmpq $0x40, %rax ja 0x313129 movq 0x8(%rbx), %rdx leaq 0x23e...
/jdavidberger[P]CMake/Source/cmSourceGroupCommand.cxx
(anonymous namespace)::tokenizePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
std::vector<std::string> tokenizePath(const std::string& path) { return cmSystemTools::tokenize(path, "\\/"); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x18(%rsp), %r12 movq %r12, -0x10(%r12) leaq 0x23eac9(%rip), %rsi # 0x551d6e leaq 0x23eac4(%rip), %rdx # 0x551d70 leaq 0x8(%rsp), %r15 movq %r15, %rdi callq 0x181fe4 movq %rbx, %rdi movq %r14, %rsi movq %r15, %rdx ca...
/jdavidberger[P]CMake/Source/cmSourceGroupCommand.cxx