/third_party/vixl/src/aarch64/ |
H A D | assembler-sve-aarch64.cc | 34 VIXL_ASSERT(*shift == -1); in ResolveSVEImm8Shift() 44 VIXL_ASSERT(IsInt8(*imm8)); in ResolveSVEImm8Shift() 45 VIXL_ASSERT((*shift == 0) || (*shift == 8)); in ResolveSVEImm8Shift() 51 VIXL_ASSERT(CPUHas(CPUFeatures::kSVE)); in adr() 52 VIXL_ASSERT(addr.IsVectorPlusVector()); in adr() 53 VIXL_ASSERT( in adr() 57 VIXL_ASSERT((lane_size == kSRegSize) || (lane_size == kDRegSize)); in adr() 60 VIXL_ASSERT((shift_amount >= 0) && (shift_amount <= 3)); in adr() 67 VIXL_ASSERT(lane_size == kDRegSize); in adr() 71 VIXL_ASSERT(lane_siz in adr() [all...] |
H A D | assembler-aarch64.cc | 46 VIXL_ASSERT((deletion_policy == kManuallyDeleted) || (literal_pool_ != NULL)); in RawLiteral() 62 VIXL_ASSERT((offset >= 0) && (offset <= GetBuffer()->GetCursorOffset())); in BindToOffset() 63 VIXL_ASSERT(offset % kInstructionSize == 0); in BindToOffset() 112 VIXL_ASSERT(!literal->IsPlaced()); in place() 121 VIXL_ASSERT(ldr->IsLoadLiteral()); in place() 124 VIXL_ASSERT(imm19 <= 0); in place() 143 VIXL_ASSERT(literal->GetSize() == kQRegSizeInBytes); in place() 153 VIXL_ASSERT(IsWordAligned(GetCursorOffset())); in LinkAndGetWordOffsetTo() 160 VIXL_ASSERT((literal->GetOffset() - GetCursorOffset()) <= 0); in LinkAndGetWordOffsetTo() 182 VIXL_ASSERT(x in br() [all...] |
H A D | macro-assembler-aarch64.h | 242 VIXL_ASSERT(IsValidComparison(*this, other)); in operator ==() 246 VIXL_ASSERT(IsValidComparison(*this, other)); in operator <() 250 VIXL_ASSERT(IsValidComparison(*this, other)); in operator <=() 254 VIXL_ASSERT(IsValidComparison(*this, other)); in operator >() 375 VIXL_ASSERT(IsValidBranchType(type)); in insert() 496 VIXL_ASSERT(!Done()); in Advance() 514 VIXL_ASSERT(!Done()); in AdvanceToNextType() 615 VIXL_ASSERT(AreSameLaneSize(dst, src)); in ShouldGenerateMovprfx() 622 VIXL_ASSERT(pg.IsMerging() || pg.IsZeroing()); in ShouldGenerateMovprfx() 1094 VIXL_ASSERT(multiplie in ClaimVL() [all...] |
H A D | operands-aarch64.h | 49 VIXL_ASSERT(AreSameSizeAndType(reg1, reg2, reg3, reg4)); in CPURegList() 50 VIXL_ASSERT(IsValid()); in CPURegList() 56 VIXL_ASSERT(IsValid()); in CPURegList() 65 VIXL_ASSERT( in CPURegList() 69 VIXL_ASSERT(last_reg >= first_reg); in CPURegList() 72 VIXL_ASSERT(IsValid()); in CPURegList() 99 VIXL_ASSERT(IsValid()); in GetType() 114 VIXL_ASSERT(IsValid()); in Combine() 115 VIXL_ASSERT(other.GetType() == type_); in Combine() 116 VIXL_ASSERT(othe in Combine() [all...] |
H A D | operands-aarch64.cc | 37 VIXL_ASSERT(((static_cast<RegList>(1) << index) & list) != 0); in PopLowestIndex() 48 VIXL_ASSERT(((static_cast<RegList>(1) << index) & list) != 0); in PopHighestIndex() 77 VIXL_ASSERT(GetType() == CPURegister::kNoRegister); in RemoveCalleeSaved() 78 VIXL_ASSERT(IsEmpty()); in RemoveCalleeSaved() 116 VIXL_ASSERT(size == static_cast<unsigned>(kCalleeSaved.GetRegisterSizeInBits())); in GetCalleeSaved() 122 VIXL_ASSERT(size == static_cast<unsigned>(kCalleeSavedV.GetRegisterSizeInBits())); in GetCalleeSavedV() 128 VIXL_ASSERT(size == static_cast<unsigned>(kCallerSaved.GetRegisterSizeInBits())); in GetCallerSaved() 134 VIXL_ASSERT(size == static_cast<unsigned>(kCallerSavedV.GetRegisterSizeInBits())); in GetCallerSavedV() 158 VIXL_ASSERT(shift != MSL); in Operand() 159 VIXL_ASSERT(re in Operand() [all...] |
H A D | macro-assembler-aarch64.cc | 38 VIXL_ASSERT(masm_->GetCursorOffset() < checkpoint_); in Release() 67 VIXL_ASSERT(!IsBlocked()); 69 VIXL_ASSERT(IsEmpty()); 131 VIXL_ASSERT(!IsBlocked()); in Emit() 132 VIXL_ASSERT(!IsEmpty()); in Emit() 143 VIXL_ASSERT(emit_size % kInstructionSize == 0); in Emit() 160 VIXL_ASSERT((pool_size % kWRegSizeInBytes) == 0); in Emit() 172 VIXL_ASSERT((*it)->IsUsed()); in Emit() 190 VIXL_ASSERT(masm_->GetCursorOffset() == literal->GetLastUse()); in AddEntry() 193 VIXL_ASSERT(masm in AddEntry() [all...] |
H A D | macro-assembler-sve-aarch64.cc | 36 VIXL_ASSERT(imm.FitsInLane(zd)); in AddSubHelper() 41 VIXL_ASSERT((option == kAddImmediate) || (option == kSubImmediate)); in AddSubHelper() 52 VIXL_ASSERT(n_imm.IsPositiveOrZero()); in AddSubHelper() 73 VIXL_ASSERT(imm.FitsInLane(zd)); in TrySingleAddSub() 132 VIXL_ASSERT(allow_macro_instructions_); in Mul() 141 VIXL_ASSERT(allow_macro_instructions_); in Smin() 142 VIXL_ASSERT(imm.FitsInSignedLane(zd)); in Smin() 151 VIXL_ASSERT(allow_macro_instructions_); in Smax() 152 VIXL_ASSERT(imm.FitsInSignedLane(zd)); in Smax() 161 VIXL_ASSERT(allow_macro_instructions in Umax() [all...] |
H A D | registers-aarch64.h | 105 VIXL_ASSERT(IsValid()); in CPURegister() 122 VIXL_ASSERT(code_ < kRegListSizeInBits); in GetBit() 144 VIXL_ASSERT(HasLaneSize()); 156 VIXL_ASSERT(log2_delta >= 0); 295 VIXL_ASSERT(IsNone() || IsZRegister() || IsPRegister()); 393 VIXL_ASSERT(HasSize()); 405 VIXL_ASSERT(HasSize()); 560 VIXL_ASSERT(IsValid()); \ 574 VIXL_ASSERT(IsValidRegister()); 592 VIXL_ASSERT(IsValidVRegiste [all...] |
H A D | decoder-aarch64.cc | 47 VIXL_ASSERT((*it)->IsConstVisitor()); in Decode() 49 VIXL_ASSERT(compiled_decoder_root_ != NULL); in Decode() 122 VIXL_ASSERT(*it == registered_visitor); in InsertVisitorBefore() 143 VIXL_ASSERT(*it == registered_visitor); in InsertVisitorAfter() 169 VIXL_ASSERT(n != NULL); in CompileNodeForBits() 173 VIXL_ASSERT(n->IsCompiled()); in CompileNodeForBits() 443 VIXL_ASSERT(bits.size() == GetPatternLength(pattern_table_[0].pattern)); in TryCompileOptimisedDecodeTable() 495 VIXL_ASSERT(compiled_node_ != NULL); in Compile() 504 VIXL_ASSERT(compiled_node_->GetNodeForBits(bits) == NULL); in Compile() 519 VIXL_ASSERT(compiled_node in Compile() [all...] |
/third_party/vixl/src/aarch32/ |
H A D | macro-assembler-aarch32.h | 80 VIXL_ASSERT(GetBuffer()->Is16bitAligned()); 82 VIXL_ASSERT(GetBuffer()->Is32bitAligned()); 84 VIXL_ASSERT(pool_end_ == NULL); 113 VIXL_ASSERT(n % nop_size == 0); 159 VIXL_ASSERT((count_ > 0) && (count_ < kMaxRecursion)); in Down() 176 VIXL_ASSERT(masm_->AllowMacroInstructions()); in ContextScope() 233 VIXL_ASSERT(!cond_.Is(al)); in ITScope() 234 VIXL_ASSERT(masm_->IsUsingT32()); in ITScope() 235 VIXL_ASSERT(!can_use_it_); in ITScope() 236 VIXL_ASSERT(masm in ITScope() [all...] |
H A D | operands-aarch32.h | 67 VIXL_ASSERT(rm_.IsValid()); in Operand() 75 VIXL_ASSERT(rm_.IsValid()); in Operand() 76 VIXL_ASSERT(shift_.IsRRX()); in Operand() 85 VIXL_ASSERT(rm_.IsValid()); in Operand() 86 VIXL_ASSERT(!shift_.IsRRX()); in Operand() 90 VIXL_ASSERT(amount_ <= 31); in Operand() 93 VIXL_ASSERT(amount_ <= 31); in Operand() 97 VIXL_ASSERT(amount_ <= 32); in Operand() 113 VIXL_ASSERT(rm_.IsValid() && rs_.IsValid()); in Operand() 114 VIXL_ASSERT(!shift in Operand() [all...] |
H A D | macro-assembler-aarch32.cc | 47 VIXL_ASSERT(masm_ == NULL); in Open() 48 VIXL_ASSERT(masm != NULL); in Open() 77 VIXL_ASSERT(masm_ != NULL); in IsAvailable() 78 VIXL_ASSERT(reg.IsValid()); in IsAvailable() 84 VIXL_ASSERT(masm_ != NULL); in IsAvailable() 85 VIXL_ASSERT(reg.IsValid()); in IsAvailable() 91 VIXL_ASSERT(masm_ != NULL); in Acquire() 115 VIXL_ASSERT(masm_ != NULL); in AcquireQ() 125 VIXL_ASSERT(masm_ != NULL); in AcquireD() 135 VIXL_ASSERT(masm in AcquireS() [all...] |
H A D | instructions-aarch32.h | 92 VIXL_ASSERT(code < kNumberOfRegisters); in CPURegister() 93 VIXL_ASSERT(size == kRegSizeInBits); in CPURegister() 96 VIXL_ASSERT(code < kNumberOfSRegisters); in CPURegister() 97 VIXL_ASSERT(size == kSRegSizeInBits); in CPURegister() 100 VIXL_ASSERT(code < kMaxNumberOfDRegisters); in CPURegister() 101 VIXL_ASSERT(size == kDRegSizeInBits); in CPURegister() 104 VIXL_ASSERT(code < kNumberOfQRegisters); in CPURegister() 105 VIXL_ASSERT(size == kQRegSizeInBits); in CPURegister() 142 VIXL_ASSERT(GetCode() < kNumberOfRegisters); 158 VIXL_ASSERT(code [all...] |
/third_party/vixl/test/aarch64/ |
H A D | test-utils-aarch64.h | 97 VIXL_ASSERT(sizeof(dump_.d_[0]) == kDRegSizeInBytes); in RegisterDump() 98 VIXL_ASSERT(sizeof(dump_.s_[0]) == kSRegSizeInBytes); in RegisterDump() 99 VIXL_ASSERT(sizeof(dump_.h_[0]) == kHRegSizeInBytes); in RegisterDump() 100 VIXL_ASSERT(sizeof(dump_.d_[0]) == kXRegSizeInBytes); in RegisterDump() 101 VIXL_ASSERT(sizeof(dump_.s_[0]) == kWRegSizeInBytes); in RegisterDump() 102 VIXL_ASSERT(sizeof(dump_.x_[0]) == kXRegSizeInBytes); in RegisterDump() 103 VIXL_ASSERT(sizeof(dump_.w_[0]) == kWRegSizeInBytes); in RegisterDump() 104 VIXL_ASSERT(sizeof(dump_.q_[0]) == kQRegSizeInBytes); in RegisterDump() 121 VIXL_ASSERT(RegAliasesMatch(code)); in wreg() 129 VIXL_ASSERT(RegAliasesMatc in xreg() [all...] |
/third_party/vixl/src/ |
H A D | invalset-vixl.h | 238 VIXL_ASSERT(monitor_ >= 0); in Release() 353 VIXL_ASSERT(monitor_ == 0); 378 VIXL_ASSERT(monitor() == 0); in insert() 379 VIXL_ASSERT(IsValid(element)); in insert() 380 VIXL_ASSERT(Search(element) == NULL); in insert() 415 VIXL_ASSERT(monitor() == 0); in erase() 416 VIXL_ASSERT(IsValid(element)); in erase() 429 VIXL_ASSERT(monitor() == 0); in Search() 460 VIXL_ASSERT(monitor() == 0); in clear() 472 VIXL_ASSERT(monito in GetMinElement() [all...] |
H A D | pool-manager.h | 117 VIXL_ASSERT(size > 0); in LocationBase() 118 VIXL_ASSERT(size <= kMaxObjectSize); in LocationBase() 119 VIXL_ASSERT(IsPowerOf2(size)); in LocationBase() 129 VIXL_ASSERT(size > 0); in LocationBase() 130 VIXL_ASSERT(size <= kMaxObjectSize); in LocationBase() 131 VIXL_ASSERT(IsPowerOf2(alignment)); in LocationBase() 132 VIXL_ASSERT(alignment <= size); in LocationBase() 187 VIXL_ASSERT(UsePoolObjectEmissionMargin() == false); in GetPoolObjectEmissionMargin() 205 VIXL_ASSERT(!is_bound_); in SetLocation() 213 VIXL_ASSERT(!is_bound in MarkBound() [all...] |
H A D | code-buffer-vixl.cc | 57 VIXL_ASSERT(IsWordAligned(buffer_)); in CodeBuffer() 69 VIXL_ASSERT(buffer_ != NULL); in CodeBuffer() 74 // VIXL_ASSERT(!IsDirty()); // Use own allocator - not applied 82 VIXL_ASSERT(res == 0); 129 VIXL_ASSERT(HasSpaceFor(len)); in EmitString() 138 VIXL_ASSERT(HasSpaceFor(size)); in EmitData() 148 VIXL_ASSERT(dst + size <= cursor_); in UpdateData() 156 VIXL_ASSERT(padding_size <= 4); in Align() 180 VIXL_ASSERT(managed_); in Grow() 181 VIXL_ASSERT(new_capacit in Grow() [all...] |
H A D | pool-manager-impl.h | 46 VIXL_ASSERT(IsAligned(masm->AsAssemblerBase() in Emit() 52 VIXL_ASSERT(!IsBlocked()); in Emit() 67 // VIXL_ASSERT(pc == AlignUp(pc, alignment_)); in Emit() 97 VIXL_ASSERT(pc >= current.min_location_); in Emit() 98 VIXL_ASSERT(pc <= current.max_location_); in Emit() 108 VIXL_ASSERT(!current.label_base_->ShouldDeletePoolObjectOnPlacement()); in Emit() 110 VIXL_ASSERT(current.alignment_ >= label_base->GetPoolObjectAlignment()); in Emit() 143 VIXL_ASSERT(new_object != NULL); in ShouldSkipObject() 177 VIXL_ASSERT(pc <= checkpoint); in CheckCurrentPC() 203 VIXL_ASSERT(label_bas in MustEmit() [all...] |
H A D | utils-vixl.h | 222 VIXL_ASSERT(bits <= 64); in GetUintMask() 228 VIXL_ASSERT(bits <= 64); in GetSignMask() 235 VIXL_ASSERT((0 < n) && (n <= 32)); in IsIntN() 239 VIXL_ASSERT((0 < n) && (n <= 32)); in IsIntN() 245 VIXL_ASSERT((0 < n) && (n <= 64)); in IsIntN() 249 VIXL_ASSERT((0 < n) && (n <= 64)); in IsIntN() 259 VIXL_ASSERT((0 < n) && (n <= 32)); in IsUintN() 264 VIXL_ASSERT((0 < n) && (n < 32)); in IsUintN() 269 VIXL_ASSERT((0 < n) && (n <= 64)); in IsUintN() 274 VIXL_ASSERT(( in IsUintN() [all...] |
H A D | code-buffer-vixl.h | 77 VIXL_ASSERT((offset >= 0) && (offset <= cursor_offset)); in GetOffsetFrom() 92 VIXL_ASSERT((buffer_ <= rewound_cursor) && (rewound_cursor <= cursor_)); in Rewind() 99 VIXL_ASSERT((offset >= 0) && (offset <= (cursor_ - buffer_))); in GetOffsetAddress() 116 VIXL_ASSERT((cursor_ >= buffer_) && (cursor_ <= (buffer_ + capacity_))); in GetRemainingBytes() 124 VIXL_ASSERT((cursor_ >= buffer_) && (cursor_ <= (buffer_ + capacity_))); in GetSizeInBytes() 146 VIXL_ASSERT(HasSpaceFor(sizeof(value))); in Emit() 184 VIXL_ASSERT(has_grown != NULL); in EnsureSpaceFor()
|
H A D | code-generation-scopes-vixl.h | 94 VIXL_ASSERT(!initialised_); in Open() 95 VIXL_ASSERT(assembler != NULL); in Open() 123 VIXL_ASSERT(assembler_->GetSizeOfCodeGenerated() == limit_); in Close() 126 VIXL_ASSERT(assembler_->GetSizeOfCodeGenerated() <= limit_); in Close() 204 VIXL_ASSERT(!initialised_); in Close() 232 VIXL_ASSERT(initialised_); in Open() 308 VIXL_ASSERT(size_policy != kNoAssert); in Open()
|
H A D | compiler-intrinsics-vixl.cc | 35 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingSignBitsFallBack() 36 if (width < 64) VIXL_ASSERT(IsIntN(width, value)); in CountLeadingSignBitsFallBack() 46 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingZerosFallBack() 81 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountSetBitsFallBack() 116 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountTrailingZerosFallBack()
|
/third_party/vixl/test/aarch32/ |
H A D | test-utils-aarch32.h | 105 VIXL_ASSERT(sizeof(dump_.r_[0]) == kRegSizeInBytes); in RegisterDump() 119 VIXL_ASSERT(IsComplete()); in reg() 121 VIXL_ASSERT(code != kPcCode); in reg() 127 VIXL_ASSERT(IsComplete()); in GetQRegisterBits() 128 VIXL_ASSERT(code < kNumberOfQRegisters); in GetQRegisterBits() 135 VIXL_ASSERT(IsComplete()); 136 VIXL_ASSERT(code < kMaxNumberOfDRegisters); 142 VIXL_ASSERT(IsComplete()); 143 VIXL_ASSERT(code < kNumberOfSRegisters); 158 VIXL_ASSERT(IsComplet [all...] |
/third_party/vixl/test/ |
H A D | test-pool-manager.cc | 108 VIXL_ASSERT(ref->LocationIsEncodable(location)); 185 VIXL_ASSERT(ref->LocationIsEncodable(location)); 421 VIXL_ASSERT(!pool_manager.MustEmit(pc - 1)); in TEST() 493 VIXL_ASSERT(!pool_manager.MustEmit(pc - 1)); in TEST() 558 VIXL_ASSERT(pc == 4); in TEST() 572 VIXL_ASSERT(pc == 4); in TEST() 587 VIXL_ASSERT(pc == 4); in TEST() 618 VIXL_ASSERT(new_pc == min_location + object_size); in TEST() 650 VIXL_ASSERT(new_pc == AlignUp(pc, object_alignment) + object_size); in TEST() 672 VIXL_ASSERT(!pool_manage in AddNBranches() [all...] |
H A D | test-code-generation-scopes.cc | 629 VIXL_ASSERT(!masm.AllowAssembler()); in TEST_A32() 630 VIXL_ASSERT(masm.AllowMacroInstructions()); in TEST_A32() 634 VIXL_ASSERT(masm.AllowAssembler()); in TEST_A32() 635 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST_A32() 640 VIXL_ASSERT(masm.AllowAssembler()); in TEST_A32() 641 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST_A32() 645 VIXL_ASSERT(masm.AllowAssembler()); in TEST_A32() 646 VIXL_ASSERT(!masm.AllowMacroInstructions()); in TEST_A32() 649 VIXL_ASSERT(!masm.AllowAssembler()); in TEST_A32() 650 VIXL_ASSERT(mas in TEST_A32() [all...] |