Home
last modified time | relevance | path

Searched refs:OPERANDS_SIZE (Results 1 - 2 of 2) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dinst.h2887 constexpr size_t OPERANDS_SIZE = sizeof(DynamicOperands); in New() local
2888 static_assert((OPERANDS_SIZE % alignof(InstType)) == 0); in New()
2889 auto data = reinterpret_cast<uintptr_t>(allocator->Alloc(OPERANDS_SIZE + sizeof(InstType), DEFAULT_ALIGNMENT)); in New()
2891 auto inst = new (reinterpret_cast<void *>(data + OPERANDS_SIZE)) InstType(std::forward<Args>(args)...); in New()
2896 constexpr size_t OPERANDS_SIZE = sizeof(Operands<InstType::INPUT_COUNT>); in New() local
2898 static_assert((OPERANDS_SIZE % alignof(InstType)) == 0); in New()
2899 auto data = reinterpret_cast<uintptr_t>(allocator->Alloc(OPERANDS_SIZE + sizeof(InstType), ALIGNMENT)); in New()
2901 auto inst = new (reinterpret_cast<void *>(data + OPERANDS_SIZE)) InstType(std::forward<Args>(args)...); in New()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dinst.h7050 constexpr size_t OPERANDS_SIZE = sizeof(Operands<InstType::INPUT_COUNT>);
7052 auto operands = new (reinterpret_cast<char *>(ptr) - OPERANDS_SIZE) Operands<InstType::INPUT_COUNT>;
7073 constexpr size_t OPERANDS_SIZE = sizeof(DynamicOperands);
7074 static_assert((OPERANDS_SIZE % alignof(InstType)) == 0);
7075 operandsSize = OPERANDS_SIZE;
7078 constexpr size_t OPERANDS_SIZE = sizeof(Operands<InstType::INPUT_COUNT>);
7079 static_assert((OPERANDS_SIZE % alignof(InstType)) == 0);
7080 operandsSize = OPERANDS_SIZE;

Completed in 12 milliseconds