Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c389 block->branch_type = vtn_get_branch_type(b, branch_block, in vtn_cfg_walk_blocks()
393 if (block->branch_type != vtn_branch_type_none) in vtn_cfg_walk_blocks()
402 block->branch_type = vtn_branch_type_return; in vtn_cfg_walk_blocks()
406 block->branch_type = vtn_branch_type_discard; in vtn_cfg_walk_blocks()
437 block->branch_type = if_stmt->then_type; in vtn_cfg_walk_blocks()
438 if (block->branch_type == vtn_branch_type_none) { in vtn_cfg_walk_blocks()
567 enum vtn_branch_type branch_type = in vtn_cfg_walk_blocks() local
571 if (branch_type != vtn_branch_type_none) { in vtn_cfg_walk_blocks()
576 vtn_assert(branch_type == vtn_branch_type_loop_continue); in vtn_cfg_walk_blocks()
664 vtn_emit_branch(struct vtn_builder *b, enum vtn_branch_type branch_type, in vtn_emit_branch() argument
[all …]
Dvtn_private.h203 enum vtn_branch_type branch_type; member
/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.h315 static int GetImmBranchRangeBitwidth(ImmBranchType branch_type);
318 static int ImmBranchRangeBitwidth(ImmBranchType branch_type)) { in ImmBranchRangeBitwidth() argument
319 return GetImmBranchRangeBitwidth(branch_type); in ImmBranchRangeBitwidth()
322 static int32_t GetImmBranchForwardRange(ImmBranchType branch_type);
325 static int32_t ImmBranchForwardRange(ImmBranchType branch_type)) {
326 return GetImmBranchForwardRange(branch_type);
329 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()
3602 bool LabelIsOutOfRange(Label* label, ImmBranchType branch_type) { in LabelIsOutOfRange() argument
3603 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/arm64/
Dinstructions-arm64.h315 static int ImmBranchRangeBitwidth(ImmBranchType branch_type) { in ImmBranchRangeBitwidth() argument
316 switch (branch_type) { in ImmBranchRangeBitwidth()
331 static int32_t ImmBranchRange(ImmBranchType branch_type) { in ImmBranchRange() argument
332 return (1 << (ImmBranchRangeBitwidth(branch_type) + kInstrSizeLog2)) / 2 - in ImmBranchRange()
400 static bool IsValidImmPCOffset(ImmBranchType branch_type, ptrdiff_t offset);
Dinstructions-arm64.cc220 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type, in IsValidImmPCOffset() argument
222 return is_intn(offset, ImmBranchRangeBitwidth(branch_type)); in IsValidImmPCOffset()
Dmacro-assembler-arm64.h1247 ImmBranchType branch_type);
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc3044 TEST(branch_type) { in TEST() argument