Home
last modified time | relevance | path

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

/third_party/node/deps/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.h1510 ImmBranchType branch_type);
/third_party/mesa3d/src/compiler/spirv/
Dvtn_cfg.c724 block->branch_type = vtn_handle_branch(b, cf_parent, branch_block); in vtn_process_block()
726 if (block->branch_type == vtn_branch_type_none) in vtn_process_block()
734 block->branch_type = vtn_branch_type_return; in vtn_process_block()
738 block->branch_type = vtn_branch_type_discard; in vtn_process_block()
742 block->branch_type = vtn_branch_type_terminate_invocation; in vtn_process_block()
746 block->branch_type = vtn_branch_type_ignore_intersection; in vtn_process_block()
750 block->branch_type = vtn_branch_type_terminate_ray; in vtn_process_block()
977 vtn_emit_branch(struct vtn_builder *b, enum vtn_branch_type branch_type, in vtn_emit_branch() argument
980 switch (branch_type) { in vtn_emit_branch()
1122 if (block->branch_type != vtn_branch_type_none) { in vtn_emit_cf_list_structured()
[all …]
Dvtn_private.h239 enum vtn_branch_type branch_type; member
/third_party/vixl/src/aarch64/
Dinstructions-aarch64.h515 static int GetImmBranchRangeBitwidth(ImmBranchType branch_type);
518 static int ImmBranchRangeBitwidth(ImmBranchType branch_type)) { in ImmBranchRangeBitwidth() argument
519 return GetImmBranchRangeBitwidth(branch_type); in ImmBranchRangeBitwidth()
522 static int32_t GetImmBranchForwardRange(ImmBranchType branch_type);
525 static int32_t ImmBranchForwardRange(ImmBranchType branch_type)) {
526 return GetImmBranchForwardRange(branch_type);
529 static bool IsValidImmPCOffset(ImmBranchType branch_type, int64_t offset);
Dinstructions-aarch64.cc869 int Instruction::GetImmBranchRangeBitwidth(ImmBranchType branch_type) { in GetImmBranchRangeBitwidth() argument
870 switch (branch_type) { in GetImmBranchRangeBitwidth()
886 int32_t Instruction::GetImmBranchForwardRange(ImmBranchType branch_type) { in GetImmBranchForwardRange() argument
887 int32_t encoded_max = 1 << (GetImmBranchRangeBitwidth(branch_type) - 1); in GetImmBranchForwardRange()
892 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type, in IsValidImmPCOffset() argument
894 return IsIntN(GetImmBranchRangeBitwidth(branch_type), offset); in IsValidImmPCOffset()
Dmacro-assembler-aarch64.h217 BranchInfo(ptrdiff_t offset, Label* label, ImmBranchType branch_type) in BranchInfo() argument
218 : pc_offset_(offset), label_(label), branch_type_(branch_type) { in BranchInfo()
274 ImmBranchType branch_type);
436 static int BranchIndexFromType(ImmBranchType branch_type) { in BranchIndexFromType() argument
437 switch (branch_type) { in BranchIndexFromType()
450 bool IsValidBranchType(ImmBranchType branch_type) { in IsValidBranchType() argument
451 return (branch_type != UnknownBranchType) && in IsValidBranchType()
452 (branch_type != UncondBranchType); in IsValidBranchType()
7999 bool LabelIsOutOfRange(Label* label, ImmBranchType branch_type) { in LabelIsOutOfRange() argument
8000 return !Instruction::IsValidImmPCOffset(branch_type, in LabelIsOutOfRange()
Dmacro-assembler-aarch64.cc233 ImmBranchType branch_type) { in RegisterUnresolvedBranch() argument
235 BranchInfo branch_info = BranchInfo(branch_pos, label, branch_type); in RegisterUnresolvedBranch()
/third_party/vixl/test/aarch64/
Dtest-assembler-aarch64.cc2807 TEST(branch_type) { in TEST() argument