Home
last modified time | relevance | path

Searched refs:branch_type (Results 1 – 10 of 10) sorted by relevance

/external/vixl/src/aarch64/
Dinstructions-aarch64.cc263 int Instruction::GetImmBranchRangeBitwidth(ImmBranchType branch_type) { in GetImmBranchRangeBitwidth() argument
264 switch (branch_type) { in GetImmBranchRangeBitwidth()
280 int32_t Instruction::GetImmBranchForwardRange(ImmBranchType branch_type) { in GetImmBranchForwardRange() argument
281 int32_t encoded_max = 1 << (GetImmBranchRangeBitwidth(branch_type) - 1); in GetImmBranchForwardRange()
286 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type, in IsValidImmPCOffset() argument
288 return IsIntN(GetImmBranchRangeBitwidth(branch_type), offset); in IsValidImmPCOffset()
Dinstructions-aarch64.h376 static int GetImmBranchRangeBitwidth(ImmBranchType branch_type);
379 static int ImmBranchRangeBitwidth(ImmBranchType branch_type)) { in ImmBranchRangeBitwidth() argument
380 return GetImmBranchRangeBitwidth(branch_type); in ImmBranchRangeBitwidth()
383 static int32_t GetImmBranchForwardRange(ImmBranchType branch_type);
386 static int32_t ImmBranchForwardRange(ImmBranchType branch_type)) {
387 return GetImmBranchForwardRange(branch_type);
390 static bool IsValidImmPCOffset(ImmBranchType branch_type, int64_t offset);
Dmacro-assembler-aarch64.h200 BranchInfo(ptrdiff_t offset, Label* label, ImmBranchType branch_type) in BranchInfo() argument
201 : pc_offset_(offset), label_(label), branch_type_(branch_type) { in BranchInfo()
257 ImmBranchType branch_type);
404 static int BranchIndexFromType(ImmBranchType branch_type) { in BranchIndexFromType() argument
405 switch (branch_type) { in BranchIndexFromType()
418 bool IsValidBranchType(ImmBranchType branch_type) { in IsValidBranchType() argument
419 return (branch_type != UnknownBranchType) && in IsValidBranchType()
420 (branch_type != UncondBranchType); in IsValidBranchType()
3708 bool LabelIsOutOfRange(Label* label, ImmBranchType branch_type) { in LabelIsOutOfRange() argument
3709 return !Instruction::IsValidImmPCOffset(branch_type, in LabelIsOutOfRange()
Dmacro-assembler-aarch64.cc206 ImmBranchType branch_type) { in RegisterUnresolvedBranch() argument
208 BranchInfo branch_info = BranchInfo(branch_pos, label, branch_type); in RegisterUnresolvedBranch()
/external/v8/src/codegen/arm64/
Dinstructions-arm64.h311 static int ImmBranchRangeBitwidth(ImmBranchType branch_type) { in ImmBranchRangeBitwidth() argument
312 switch (branch_type) { in ImmBranchRangeBitwidth()
327 static int32_t ImmBranchRange(ImmBranchType branch_type) { in ImmBranchRange() argument
328 return (1 << (ImmBranchRangeBitwidth(branch_type) + kInstrSizeLog2)) / 2 - in ImmBranchRange()
419 static bool IsValidImmPCOffset(ImmBranchType branch_type, ptrdiff_t offset);
Dinstructions-arm64.cc213 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type, in IsValidImmPCOffset() argument
216 return is_intn(offset / kInstrSize, ImmBranchRangeBitwidth(branch_type)); in IsValidImmPCOffset()
Dmacro-assembler-arm64.h1421 ImmBranchType branch_type);
/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c676 block->branch_type = vtn_handle_branch(b, cf_parent, branch_block); in vtn_process_block()
678 if (block->branch_type == vtn_branch_type_none) in vtn_process_block()
686 block->branch_type = vtn_branch_type_return; in vtn_process_block()
691 block->branch_type = vtn_branch_type_discard; in vtn_process_block()
696 block->branch_type = vtn_branch_type_terminate; in vtn_process_block()
713 block->branch_type = vtn_handle_branch(b, cf_parent, then_block); in vtn_process_block()
715 if (block->branch_type == vtn_branch_type_none) in vtn_process_block()
929 vtn_emit_branch(struct vtn_builder *b, enum vtn_branch_type branch_type, in vtn_emit_branch() argument
932 switch (branch_type) { in vtn_emit_branch()
1073 if (block->branch_type != vtn_branch_type_none) { in vtn_emit_cf_list_structured()
[all …]
Dvtn_private.h229 enum vtn_branch_type branch_type; member
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc2807 TEST(branch_type) { in TEST() argument