| /arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/ |
| D | interference_graph.h | 40 … ColorNode(unsigned number, T alloc) : cs_point_set_(alloc), number_(number), physical_(), fixed_() in ColorNode() 44 unsigned GetNumber() const noexcept in GetNumber() 106 unsigned GetCallsiteIntersectCount() const noexcept in GetCallsiteIntersectCount() 114 unsigned number_; 124 void SetCapacity(unsigned capacity) in SetCapacity() 131 bool AddEdge(unsigned a, unsigned b); 133 bool HasEdge(unsigned a, unsigned b) const in HasEdge() 138 bool AddAffinityEdge(unsigned a, unsigned b); 140 bool HasAffinityEdge(unsigned a, unsigned b) const in HasAffinityEdge() 145 unsigned GetCapacity() const noexcept in GetCapacity() [all …]
|
| D | interference_graph.cpp | 24 bool GraphMatrix::AddEdge(unsigned a, unsigned b) in AddEdge() 32 bool GraphMatrix::AddAffinityEdge(unsigned a, unsigned b) in AddAffinityEdge() 44 unsigned cur = nodes_.size(); in AllocNode() 61 void InterferenceGraph::AddEdge(unsigned a, unsigned b) in AddEdge() 66 bool InterferenceGraph::HasEdge(unsigned a, unsigned b) const in HasEdge() 71 void InterferenceGraph::AddAffinityEdge(unsigned a, unsigned b) in AddAffinityEdge() 76 bool InterferenceGraph::HasAffinityEdge(unsigned a, unsigned b) const in HasAffinityEdge() 86 ArenaVector<unsigned> InterferenceGraph::LexBFS() const in LexBFS() 89 unsigned num = nodes_.size(); in LexBFS() 90 ArenaVector<unsigned> out(num, nodes_.get_allocator()); in LexBFS() [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | reg_alloc_interference_graph_test.cpp | 26 constexpr unsigned DEFAULT_CAPACITY1 = 10; 27 unsigned test_edges1[2][2] = {{0, 1}, {7, 4}}; 28 auto IsInSet = [](unsigned a, unsigned b) { in __anon92a0531b0202() 44 for (unsigned i = 0; i < DEFAULT_CAPACITY1; i++) { in TEST_F() 45 for (unsigned j = 0; j < DEFAULT_CAPACITY1; j++) { in TEST_F() 58 for (unsigned i = 0; i < DEFAULT_CAPACITY1; i++) { in TEST_F() 59 for (unsigned j = 0; j < DEFAULT_CAPACITY1; j++) { in TEST_F() 117 const unsigned DEFAULT_CAPACITY2 = 5; 118 const unsigned DEFAULT_EDGES2 = 6; 119 ::std::pair<unsigned, unsigned> test_edges2[DEFAULT_EDGES2] = {{0, 1}, {1, 2}, {2, 0}, {0, 3}, {2, … [all …]
|
| /arkcompiler/runtime_core/libpandabase/ |
| D | globals.h | 23 static constexpr unsigned BITS_PER_BYTE = 8; 24 static constexpr unsigned BITS_PER_UINT16 = sizeof(uint16_t) * BITS_PER_BYTE; 25 static constexpr unsigned BITS_PER_UINT32 = sizeof(uint32_t) * BITS_PER_BYTE; 26 static constexpr unsigned BITS_PER_UINT64 = sizeof(uint64_t) * BITS_PER_BYTE; 27 static constexpr unsigned BITS_PER_INTPTR = sizeof(intptr_t) * BITS_PER_BYTE; 29 static constexpr unsigned BITS_PER_BYTE_LOG2 = 3;
|
| /arkcompiler/runtime_core/runtime/ |
| D | thread_manager.h | 58 …void EnumerateThreads(const Callback &cb, unsigned int mask = static_cast<unsigned int>(Enumeratio… 59 … unsigned int xor_mask = static_cast<unsigned int>(EnumerationFlag::NONE)) const 68 … unsigned int inc_mask = static_cast<unsigned int>(EnumerationFlag::ALL), 69 … unsigned int xor_mask = static_cast<unsigned int>(EnumerationFlag::NONE)) const 194 bool SatisfyTheMask(MTManagedThread *t, unsigned int mask) const in SatisfyTheMask() 196 if ((mask & static_cast<unsigned int>(EnumerationFlag::ALL)) != 0) { in SatisfyTheMask() 207 if ((mask & static_cast<unsigned int>(EnumerationFlag::MANAGED_CODE_THREAD)) != 0) { in SatisfyTheMask() 209 if ((mask & static_cast<unsigned int>(EnumerationFlag::NON_CORE_THREAD)) != 0) { in SatisfyTheMask() 216 if ((mask & static_cast<unsigned int>(EnumerationFlag::VM_THREAD)) != 0) { in SatisfyTheMask()
|
| /arkcompiler/runtime_core/libpandafile/ |
| D | types.yaml | 31 - unsigned 47 - unsigned 63 - unsigned 79 - unsigned 111 - unsigned
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | visitor.inc | 21 TABLE[static_cast<unsigned>(inst->GetOpcode())](this, inst); 31 TABLE[static_cast<unsigned>(inst->GetOpcode())](this, inst); 39 TABLE[static_cast<unsigned>(inst->GetOpcode())](this, inst); 43 TABLE[static_cast<unsigned>(inst->GetOpcode())](this, inst); 55 static constexpr VisitFunc TABLE[static_cast<unsigned>(Opcode::NUM_OPCODES)] = {
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | divu2.yaml | 29 prefix: unsigned 67 prefix: unsigned 114 prefix: unsigned 161 prefix: unsigned 208 prefix: unsigned 255 prefix: unsigned 313 prefix: unsigned 362 prefix: unsigned 394 prefix: unsigned 423 prefix: unsigned [all …]
|
| D | modu2.yaml | 29 prefix: unsigned 67 prefix: unsigned 114 prefix: unsigned 161 prefix: unsigned 208 prefix: unsigned 255 prefix: unsigned 313 prefix: unsigned 362 prefix: unsigned 394 prefix: unsigned 423 prefix: unsigned [all …]
|
| D | ucmp.yaml | 19 …description: Perform specified signed or unsigned integer comparison between register and accumula… 28 prefix: unsigned 59 prefix: unsigned 92 prefix: unsigned 125 prefix: unsigned 139 prefix: unsigned 247 prefix: unsigned
|
| D | ucmp.64.yaml | 19 …description: Perform specified signed or unsigned integer comparison between register and accumula… 28 prefix: unsigned 59 prefix: unsigned 95 prefix: unsigned 131 prefix: unsigned 145 prefix: unsigned 253 prefix: unsigned
|
| D | modu2.64.yaml | 29 prefix: unsigned 67 prefix: unsigned 114 prefix: unsigned 161 prefix: unsigned 208 prefix: unsigned 255 prefix: unsigned 313 prefix: unsigned 363 prefix: unsigned 457 prefix: unsigned
|
| D | divu2.64.yaml | 29 prefix: unsigned 67 prefix: unsigned 114 prefix: unsigned 161 prefix: unsigned 208 prefix: unsigned 255 prefix: unsigned 313 prefix: unsigned 363 prefix: unsigned 457 prefix: unsigned
|
| D | ldstatic.yaml | 244 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz… 245 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field … 284 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz… 285 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field … 323 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz… 324 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field … 356 …most significant bits are sign or unsigned extended based on the field type to fit accumulator siz… 357 …If field size is less then 32, result will be sign or unsigned extended to i32 depedning on field …
|
| /arkcompiler/runtime_core/platforms/windows/libpandabase/ |
| D | mem.cpp | 42 if (static_cast<unsigned>(prot) == MMAP_PROT_NONE) { in mem_protection_flags_for_page() 46 if ((static_cast<unsigned>(prot) & MMAP_PROT_EXEC) != 0) { in mem_protection_flags_for_page() 47 …flags = ((static_cast<unsigned>(prot) & MMAP_PROT_WRITE) != 0) ? PAGE_EXECUTE_READWRITE : PAGE_EXE… in mem_protection_flags_for_page() 49 … flags = ((static_cast<unsigned>(prot) & MMAP_PROT_WRITE) != 0) ? PAGE_READWRITE : PAGE_READONLY; in mem_protection_flags_for_page() 71 if ((static_cast<unsigned>(prot) & MMAP_PROT_READ) != 0) { in mem_protection_flags_for_file() 74 if ((static_cast<unsigned>(prot) & MMAP_PROT_WRITE) != 0) { in mem_protection_flags_for_file() 77 if ((static_cast<unsigned>(prot) & MMAP_PROT_EXEC) != 0) { in mem_protection_flags_for_file() 105 … if (len == 0 || (static_cast<unsigned>(flags) & MMAP_FLAG_FIXED) != 0 || prot == MMAP_PROT_EXEC) { in mmap() 110 HANDLE h = ((static_cast<unsigned>(flags) & MMAP_FLAG_ANONYMOUS) == 0) in mmap() 113 if ((static_cast<unsigned>(flags) & MMAP_FLAG_ANONYMOUS) == 0 && h == INVALID_HANDLE_VALUE) { in mmap()
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | bit_helper.h | 59 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CountLeadingZeros() 97 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in CountTrailingZeros() 109 inline constexpr unsigned CountTrailingZeros32(uint32_t value) in CountTrailingZeros32() 114 inline constexpr unsigned CountTrailingZeros64(uint64_t value) in CountTrailingZeros64() 119 inline constexpr unsigned CountTrailingOnes32(uint32_t value) in CountTrailingOnes32() 124 inline constexpr unsigned CountTrailingOnes64(uint64_t value) in CountTrailingOnes64()
|
| /arkcompiler/runtime_core/libpandabase/utils/ |
| D | bit_field.h | 29 static constexpr unsigned BITS_PER_BYTE = 8; 38 static constexpr unsigned START_BIT = start; 39 static constexpr unsigned END_BIT = start + bits_num; 40 static constexpr unsigned SIZE = bits_num; 64 template <typename T2, unsigned bits_num2>
|
| D | bit_utils.h | 50 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in Clz() 66 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in Ctz() 82 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in Popcount() 107 static_assert(std::is_unsigned_v<T>, "T must be unsigned"); in MinimumBitsToStore() 121 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in Ffs() 173 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in GetByteFrom() 276 static_assert(std::is_unsigned<T>::value, "T must be unsigned"); in ExtractBits()
|
| /arkcompiler/runtime_core/runtime/tooling/inspector/tests/ |
| D | test_logger.h | 30 enum Flag : unsigned { 36 explicit TestLogger(unsigned flags = 0); 58 unsigned flags_;
|
| D | server_test.cpp | 48 unsigned serverConnected = 0; in TEST_F() 49 unsigned clientConnected = 0; in TEST_F() 50 unsigned clientFailed = 0; in TEST_F() 88 unsigned connected = 0; in TEST_F()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | mem_common.h | 52 constexpr uint64_t operator"" _KB(unsigned long long count) 63 constexpr uint64_t operator"" _MB(unsigned long long count) 74 constexpr uint64_t operator"" _GB(unsigned long long count)
|
| /arkcompiler/runtime_core/verification/util/parser/tests/ |
| D | charset_test.cpp | 25 std::vector<unsigned char> str {'s', 't', 'r', '1', '\0', '\0'}; in TEST() 26 charset<unsigned char> cs1 {&(str[0])}; in TEST() 29 charset<unsigned char> cs2 {&(str[0])}; in TEST()
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | dumper.cpp | 30 … unsigned(static_cast<std::underlying_type<panda::panda_file::LiteralTag>::type>(literal.tag_)) << in DumpLiterals() 33 if constexpr (std::is_same_v<decltype(element), unsigned char &>) { in DumpLiterals() 34 std::cout << " val: " << unsigned(element) << std::endl; in DumpLiterals()
|
| D | base64.cpp | 85 firstChar = decodeTable[static_cast<unsigned char>(base64String[i])]; in Base64Decode() 86 secondChar = decodeTable[static_cast<unsigned char>(base64String[i + 1])]; in Base64Decode() 87 thirdChar = decodeTable[static_cast<unsigned char>(base64String[i + 2])]; in Base64Decode() 88 fourthChar = decodeTable[static_cast<unsigned char>(base64String[i + 3])]; in Base64Decode()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
| D | assembler_aarch64.cpp | 36 unsigned int size = static_cast<uint32_t>(width); in Create() 48 unsigned int cto = 0; in Create() 49 unsigned int i = 0; in Create() 72 unsigned immr = (size - i) & (size - 1); in Create() 84 unsigned int n = ((nImms >> 6) & 1) ^ 1; in Create() 370 const unsigned int HWORDSIZE = 16; in Mov() 372 unsigned int allOneHalfWords = 0; in Mov() 373 unsigned int allZeroHalfWords = 0; in Mov() 374 unsigned int regSize = rd.IsW() ? RegWSize : RegXSize; in Mov() 375 unsigned int halfWords = regSize / HWORDSIZE; in Mov() [all …]
|