Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_cfg.c310 block->branch_type = vtn_get_branch_type(branch_block, in vtn_cfg_walk_blocks()
314 if (block->branch_type != vtn_branch_type_none) in vtn_cfg_walk_blocks()
323 block->branch_type = vtn_branch_type_return; in vtn_cfg_walk_blocks()
327 block->branch_type = vtn_branch_type_discard; in vtn_cfg_walk_blocks()
446 enum vtn_branch_type branch_type = in vtn_cfg_walk_blocks() local
450 if (branch_type != vtn_branch_type_none) { in vtn_cfg_walk_blocks()
455 assert(branch_type == vtn_branch_type_loop_continue); in vtn_cfg_walk_blocks()
544 vtn_emit_branch(struct vtn_builder *b, enum vtn_branch_type branch_type, in vtn_emit_branch() argument
547 switch (branch_type) { in vtn_emit_branch()
603 if (block->branch_type != vtn_branch_type_none) { in vtn_emit_cf_list()
[all …]
Dvtn_private.h144 enum vtn_branch_type branch_type; member
/external/v8/src/arm64/
Dinstructions-arm64.h291 static int ImmBranchRangeBitwidth(ImmBranchType branch_type) { in ImmBranchRangeBitwidth() argument
292 switch (branch_type) { in ImmBranchRangeBitwidth()
308 static int32_t ImmBranchRange(ImmBranchType branch_type) { in ImmBranchRange() argument
310 (1 << (ImmBranchRangeBitwidth(branch_type) + kInstructionSizeLog2)) / 2 - in ImmBranchRange()
372 static bool IsValidImmPCOffset(ImmBranchType branch_type, ptrdiff_t offset);
Dinstructions-arm64.cc211 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type, in IsValidImmPCOffset() argument
213 return is_intn(offset, ImmBranchRangeBitwidth(branch_type)); in IsValidImmPCOffset()
Dmacro-assembler-arm64.h2022 ImmBranchType branch_type);
/external/vixl/src/aarch64/
Dinstructions-aarch64.cc260 int Instruction::GetImmBranchRangeBitwidth(ImmBranchType branch_type) { in GetImmBranchRangeBitwidth() argument
261 switch (branch_type) { in GetImmBranchRangeBitwidth()
277 int32_t Instruction::GetImmBranchForwardRange(ImmBranchType branch_type) { in GetImmBranchForwardRange() argument
278 int32_t encoded_max = 1 << (GetImmBranchRangeBitwidth(branch_type) - 1); in GetImmBranchForwardRange()
283 bool Instruction::IsValidImmPCOffset(ImmBranchType branch_type, in IsValidImmPCOffset() argument
285 return IsIntN(GetImmBranchRangeBitwidth(branch_type), offset); in IsValidImmPCOffset()
Dinstructions-aarch64.h314 static int GetImmBranchRangeBitwidth(ImmBranchType branch_type);
317 static int ImmBranchRangeBitwidth(ImmBranchType branch_type)) { in ImmBranchRangeBitwidth() argument
318 return GetImmBranchRangeBitwidth(branch_type); in ImmBranchRangeBitwidth()
321 static int32_t GetImmBranchForwardRange(ImmBranchType branch_type);
324 static int32_t ImmBranchForwardRange(ImmBranchType branch_type)) {
325 return GetImmBranchForwardRange(branch_type);
328 static bool IsValidImmPCOffset(ImmBranchType branch_type, int64_t offset);
Dmacro-assembler-aarch64.h197 BranchInfo(ptrdiff_t offset, Label* label, ImmBranchType branch_type) in BranchInfo() argument
198 : pc_offset_(offset), label_(label), branch_type_(branch_type) { in BranchInfo()
254 ImmBranchType branch_type);
401 static int BranchIndexFromType(ImmBranchType branch_type) { in BranchIndexFromType() argument
402 switch (branch_type) { in BranchIndexFromType()
415 bool IsValidBranchType(ImmBranchType branch_type) { in IsValidBranchType() argument
416 return (branch_type != UnknownBranchType) && in IsValidBranchType()
417 (branch_type != UncondBranchType); in IsValidBranchType()
3188 bool LabelIsOutOfRange(Label* label, ImmBranchType branch_type) { in LabelIsOutOfRange() argument
3189 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/crankshaft/arm64/
Dlithium-codegen-arm64.h201 BranchType branch_type, Register reg = NoReg,
Dlithium-codegen-arm64.cc855 LInstruction* instr, DeoptimizeReason deopt_reason, BranchType branch_type, in DeoptimizeBranch() argument
900 __ B(&dont_trap, InvertBranchType(branch_type), reg, bit); in DeoptimizeBranch()
909 if (branch_type == always && in DeoptimizeBranch()
924 __ B(&jump_table_.last()->label, branch_type, reg, bit); in DeoptimizeBranch()
/external/valgrind/VEX/priv/
Dguest_arm64_toIR.c6770 UInt branch_type = INSN(22,21); in dis_ARM64_branch_etc() local
6772 if (branch_type == BITS2(1,0) /* RET */) { in dis_ARM64_branch_etc()
6779 if (branch_type == BITS2(0,1) /* CALL */) { in dis_ARM64_branch_etc()
6789 if (branch_type == BITS2(0,0) /* JMP */) { in dis_ARM64_branch_etc()
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc2457 TEST(branch_type) { in TEST() argument