Home
last modified time | relevance | path

Searched refs:Branch (Results 1 – 25 of 167) sorted by relevance

1234567

/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp98 MachineInstr *Branch; member
114 TerminatorInfo() : Branch(nullptr), Size(0), TargetBlock(0), in TerminatorInfo()
251 Terminator.Branch = MI; in describeTerminator()
307 if (!Terminator.Branch) in mustRelaxBranch()
384 MachineInstr *Branch = Terminator.Branch; in relaxBranch() local
385 switch (Branch->getOpcode()) { in relaxBranch()
387 Branch->setDesc(TII->get(SystemZ::JG)); in relaxBranch()
390 Branch->setDesc(TII->get(SystemZ::BRCL)); in relaxBranch()
393 splitBranchOnCount(Branch, SystemZ::AHI); in relaxBranch()
396 splitBranchOnCount(Branch, SystemZ::AGHI); in relaxBranch()
[all …]
DSystemZElimCompare.cpp182 MachineInstr *Branch = CCUsers[0]; in convertToBRCT() local
183 if (Branch->getOpcode() != SystemZ::BRC || in convertToBRCT()
184 Branch->getOperand(0).getImm() != SystemZ::CCMASK_ICMP || in convertToBRCT()
185 Branch->getOperand(1).getImm() != SystemZ::CCMASK_CMP_NE) in convertToBRCT()
192 MachineBasicBlock::iterator MBBI = Compare, MBBE = Branch; in convertToBRCT()
198 MachineOperand Target(Branch->getOperand(2)); in convertToBRCT()
199 Branch->RemoveOperand(2); in convertToBRCT()
200 Branch->RemoveOperand(1); in convertToBRCT()
201 Branch->RemoveOperand(0); in convertToBRCT()
202 Branch->setDesc(TII->get(BRCT)); in convertToBRCT()
[all …]
DSystemZInstrInfo.cpp267 SystemZII::Branch Branch(getBranchInfo(I)); in AnalyzeBranch() local
268 if (!Branch.Target->isMBB()) in AnalyzeBranch()
272 if (Branch.Type != SystemZII::BranchNormal) in AnalyzeBranch()
275 if (Branch.CCMask == SystemZ::CCMASK_ANY) { in AnalyzeBranch()
278 TBB = Branch.Target->getMBB(); in AnalyzeBranch()
290 if (MBB.isLayoutSuccessor(Branch.Target->getMBB())) { in AnalyzeBranch()
298 TBB = Branch.Target->getMBB(); in AnalyzeBranch()
306 TBB = Branch.Target->getMBB(); in AnalyzeBranch()
307 Cond.push_back(MachineOperand::CreateImm(Branch.CCValid)); in AnalyzeBranch()
308 Cond.push_back(MachineOperand::CreateImm(Branch.CCMask)); in AnalyzeBranch()
[all …]
/external/v8/src/mips64/
Dcode-stubs-mips64.cc176 __ Branch(&error, ne, scratch, Operand(zero_reg)); in Generate() local
178 __ Branch(&done); in Generate() local
199 __ Branch(&done, eq, scratch, Operand(zero_reg)); in Generate() local
208 __ Branch(&normal_exponent, le, result_reg, Operand(zero_reg)); in Generate() local
210 __ Branch(&done); in Generate() local
225 __ Branch(&high_shift_needed, lt, scratch, Operand(32)); in Generate() local
227 __ Branch(&high_shift_done); in Generate() local
245 __ Branch(&pos_shift, ge, scratch, Operand(zero_reg)); in Generate() local
250 __ Branch(&shift_done); in Generate() local
288 __ Branch(&max_negative_int, eq, the_int(), Operand(0x80000000u)); in Generate() local
[all …]
Dbuiltins-mips64.cc167 __ Branch(&no_arguments, eq, a0, Operand(zero_reg)); in Generate_StringConstructCode() local
236 __ Branch(&convert_argument, ne, a4, Operand(zero_reg)); in Generate_StringConstructCode() local
239 __ Branch(&argument_is_string); in Generate_StringConstructCode() local
252 __ Branch(&argument_is_string); in Generate_StringConstructCode() local
259 __ Branch(&argument_is_string); in Generate_StringConstructCode() local
309 __ Branch(&ok, hs, sp, Operand(a4)); in Generate_InOptimizationQueue() local
365 __ Branch(&rt_call, ne, a2, Operand(zero_reg)); in Generate_JSConstructStubHelper() local
372 __ Branch(&rt_call, ne, t0, Operand(MAP_TYPE)); in Generate_JSConstructStubHelper() local
380 __ Branch(&rt_call, eq, a3, Operand(JS_FUNCTION_TYPE)); in Generate_JSConstructStubHelper() local
388 __ Branch(&allocate, in Generate_JSConstructStubHelper() local
[all …]
Dregexp-macro-assembler-mips64.cc255 __ Branch(&backtrack_non_equal, ne, current_input_offset(), Operand(a0)); in CheckGreedyLoop() local
274 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); in CheckNotBackReferenceIgnoreCase() local
302 __ Branch(&loop_check, eq, a4, Operand(a3)); in CheckNotBackReferenceIgnoreCase() local
307 __ Branch(&fail, ne, a4, Operand(a3)); in CheckNotBackReferenceIgnoreCase() local
309 __ Branch(&loop_check, ls, a3, Operand('z' - 'a')); in CheckNotBackReferenceIgnoreCase() local
313 __ Branch(&fail, hi, a3, Operand(254 - 224)); in CheckNotBackReferenceIgnoreCase() local
315 __ Branch(&fail, eq, a3, Operand(247 - 224)); in CheckNotBackReferenceIgnoreCase() local
318 __ Branch(&loop, lt, a0, Operand(a1)); in CheckNotBackReferenceIgnoreCase() local
391 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); in CheckNotBackReference() local
417 __ Branch(&loop, lt, a0, Operand(a1)); in CheckNotBackReference() local
[all …]
Dfull-codegen-mips64.cc142 __ Branch(&ok, ne, a2, Operand(at)); in Generate() local
167 __ Branch(&ok, hs, t1, Operand(a2)); in Generate() local
185 __ Branch(&loop_header, ne, a2, Operand(zero_reg)); in Generate() local
311 __ Branch(&ok, hs, sp, Operand(at)); in Generate() local
400 __ Branch(&return_label_); in EmitReturnSequence() local
420 __ Branch(&ok, ge, a3, Operand(zero_reg)); in EmitReturnSequence() local
510 if (false_label_ != fall_through_) __ Branch(false_label_); in Plug() local
512 if (true_label_ != fall_through_) __ Branch(true_label_); in Plug() local
544 if (false_label_ != fall_through_) __ Branch(false_label_); in Plug() local
546 if (true_label_ != fall_through_) __ Branch(true_label_); in Plug() local
[all …]
Dmacro-assembler-mips64.cc84 Branch(2, NegateCondition(cond), src1, src2); in LoadRoot()
99 Branch(2, NegateCondition(cond), src1, src2); in StoreRoot()
163 Branch(branch, cc, scratch, in InNewSpace()
196 Branch(&ok, eq, t8, Operand(zero_reg)); in RecordWriteField()
265 Branch(&ok, eq, at, Operand(zero_reg)); in RecordWriteForMap()
398 Branch(&done, eq, t8, Operand(zero_reg)); in RememberedSetHelper()
454 Branch(&same_contexts, eq, scratch, Operand(at)); in CheckAccessGlobalProxy()
482 Branch(miss, ne, scratch, Operand(at)); in CheckAccessGlobalProxy()
591 Branch(&done, eq, key, Operand(at)); in LoadFromNumberDictionary()
593 Branch(miss, ne, key, Operand(at)); in LoadFromNumberDictionary()
[all …]
Dlithium-codegen-mips64.cc128 __ Branch(&ok, ne, a2, Operand(at)); in GeneratePrologue() local
162 __ Branch(&loop, ne, a0, Operand(sp)); in GeneratePrologue() local
319 __ Branch(&needs_frame); in GenerateJumpTable() local
791 __ Branch(&no_deopt, ne, a1, Operand(zero_reg)); in DeoptimizeIf() local
805 __ Branch(&skip, NegateCondition(condition), src1, src2); in DeoptimizeIf() local
829 __ Branch(&jump_table_.last().label, condition, src1, src2); in DeoptimizeIf() local
1065 __ Branch(&dividend_is_not_negative, ge, dividend, Operand(zero_reg)); in DoModByPowerOf2I() local
1072 __ Branch(USE_DELAY_SLOT, &done); in DoModByPowerOf2I() local
1101 __ Branch(&remainder_not_zero, ne, result, Operand(zero_reg)); in DoModByConstI() local
1128 __ Branch(&no_overflow_possible, ne, left_reg, Operand(kMinInt)); in DoModI() local
[all …]
/external/v8/src/mips/
Dcode-stubs-mips.cc178 __ Branch(&error, ne, scratch, Operand(zero_reg)); in Generate() local
180 __ Branch(&done); in Generate() local
203 __ Branch(&done, eq, scratch, Operand(zero_reg)); in Generate() local
212 __ Branch(&normal_exponent, le, result_reg, Operand(zero_reg)); in Generate() local
214 __ Branch(&done); in Generate() local
229 __ Branch(&high_shift_needed, lt, scratch, Operand(32)); in Generate() local
231 __ Branch(&high_shift_done); in Generate() local
249 __ Branch(&pos_shift, ge, scratch, Operand(zero_reg)); in Generate() local
254 __ Branch(&shift_done); in Generate() local
292 __ Branch(&max_negative_int, eq, the_int(), Operand(0x80000000u)); in Generate() local
[all …]
Dbuiltins-mips.cc168 __ Branch(&no_arguments, eq, a0, Operand(zero_reg)); in Generate_StringConstructCode() local
237 __ Branch(&convert_argument, ne, t0, Operand(zero_reg)); in Generate_StringConstructCode() local
240 __ Branch(&argument_is_string); in Generate_StringConstructCode() local
253 __ Branch(&argument_is_string); in Generate_StringConstructCode() local
260 __ Branch(&argument_is_string); in Generate_StringConstructCode() local
310 __ Branch(&ok, hs, sp, Operand(t0)); in Generate_InOptimizationQueue() local
365 __ Branch(&rt_call, ne, a2, Operand(zero_reg)); in Generate_JSConstructStubHelper() local
372 __ Branch(&rt_call, ne, t4, Operand(MAP_TYPE)); in Generate_JSConstructStubHelper() local
380 __ Branch(&rt_call, eq, a3, Operand(JS_FUNCTION_TYPE)); in Generate_JSConstructStubHelper() local
388 __ Branch(&allocate, eq, t2, Operand(JSFunction::kNoSlackTracking)); in Generate_JSConstructStubHelper() local
[all …]
Dmacro-assembler-mips.cc81 Branch(2, NegateCondition(cond), src1, src2); in LoadRoot()
96 Branch(2, NegateCondition(cond), src1, src2); in StoreRoot()
160 Branch(branch, cc, scratch, in InNewSpace()
193 Branch(&ok, eq, t8, Operand(zero_reg)); in RecordWriteField()
262 Branch(&ok, eq, at, Operand(zero_reg)); in RecordWriteForMap()
394 Branch(&done, eq, t8, Operand(zero_reg)); in RememberedSetHelper()
450 Branch(&same_contexts, eq, scratch, Operand(at)); in CheckAccessGlobalProxy()
478 Branch(miss, ne, scratch, Operand(at)); in CheckAccessGlobalProxy()
586 Branch(&done, eq, key, Operand(at)); in LoadFromNumberDictionary()
588 Branch(miss, ne, key, Operand(at)); in LoadFromNumberDictionary()
[all …]
Dregexp-macro-assembler-mips.cc219 __ Branch(&backtrack_non_equal, ne, current_input_offset(), Operand(a0)); in CheckGreedyLoop() local
238 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); in CheckNotBackReferenceIgnoreCase() local
266 __ Branch(&loop_check, eq, t0, Operand(a3)); in CheckNotBackReferenceIgnoreCase() local
271 __ Branch(&fail, ne, t0, Operand(a3)); in CheckNotBackReferenceIgnoreCase() local
273 __ Branch(&loop_check, ls, a3, Operand('z' - 'a')); in CheckNotBackReferenceIgnoreCase() local
277 __ Branch(&fail, hi, a3, Operand(254 - 224)); in CheckNotBackReferenceIgnoreCase() local
279 __ Branch(&fail, eq, a3, Operand(247 - 224)); in CheckNotBackReferenceIgnoreCase() local
282 __ Branch(&loop, lt, a0, Operand(a1)); in CheckNotBackReferenceIgnoreCase() local
355 __ Branch(&fallthrough, eq, a1, Operand(zero_reg)); in CheckNotBackReference() local
381 __ Branch(&loop, lt, a0, Operand(a1)); in CheckNotBackReference() local
[all …]
Dfull-codegen-mips.cc142 __ Branch(&ok, ne, a2, Operand(at)); in Generate() local
170 __ Branch(&ok, hs, t5, Operand(a2)); in Generate() local
188 __ Branch(&loop_header, ne, a2, Operand(zero_reg)); in Generate() local
317 __ Branch(&ok, hs, sp, Operand(at)); in Generate() local
404 __ Branch(&return_label_); in EmitReturnSequence() local
424 __ Branch(&ok, ge, a3, Operand(zero_reg)); in EmitReturnSequence() local
514 if (false_label_ != fall_through_) __ Branch(false_label_); in Plug() local
516 if (true_label_ != fall_through_) __ Branch(true_label_); in Plug() local
548 if (false_label_ != fall_through_) __ Branch(false_label_); in Plug() local
550 if (true_label_ != fall_through_) __ Branch(true_label_); in Plug() local
[all …]
Dlithium-codegen-mips.cc153 __ Branch(&ok, ne, a2, Operand(at)); in GeneratePrologue() local
187 __ Branch(&loop, ne, a0, Operand(sp)); in GeneratePrologue() local
352 __ Branch(&needs_frame); in GenerateJumpTable() local
377 if (need_branch) __ Branch(&call_deopt_entry); in GenerateJumpTable() local
841 __ Branch(&no_deopt, ne, a1, Operand(zero_reg)); in DeoptimizeIf() local
855 __ Branch(&skip, NegateCondition(condition), src1, src2); in DeoptimizeIf() local
879 __ Branch(&jump_table_.last().label, condition, src1, src2); in DeoptimizeIf() local
1115 __ Branch(&dividend_is_not_negative, ge, dividend, Operand(zero_reg)); in DoModByPowerOf2I() local
1122 __ Branch(USE_DELAY_SLOT, &done); in DoModByPowerOf2I() local
1151 __ Branch(&remainder_not_zero, ne, result, Operand(zero_reg)); in DoModByConstI() local
[all …]
/external/v8/src/ic/mips/
Dic-mips.cc30 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_OBJECT_TYPE)); in GenerateGlobalInstanceTypeCheck() local
31 __ Branch(global_object, eq, type, Operand(JS_BUILTINS_OBJECT_TYPE)); in GenerateGlobalInstanceTypeCheck() local
32 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_PROXY_TYPE)); in GenerateGlobalInstanceTypeCheck() local
75 __ Branch(miss, ne, at, Operand(zero_reg)); in GenerateDictionaryLoad() local
123 __ Branch(miss, ne, at, Operand(zero_reg)); in GenerateDictionaryStore() local
151 __ Branch(slow, ne, at, Operand(zero_reg)); in GenerateKeyedLoadReceiverCheck() local
158 __ Branch(slow, lt, scratch, Operand(JS_OBJECT_TYPE)); in GenerateKeyedLoadReceiverCheck() local
196 __ Branch(not_fast_array, ne, scratch1, Operand(at)); in GenerateFastArrayLoad() local
203 __ Branch(out_of_range, hs, key, Operand(scratch1)); in GenerateFastArrayLoad() local
217 __ Branch(out_of_range, eq, scratch2, Operand(at)); in GenerateFastArrayLoad() local
[all …]
/external/v8/src/ic/mips64/
Dic-mips64.cc30 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_OBJECT_TYPE)); in GenerateGlobalInstanceTypeCheck() local
31 __ Branch(global_object, eq, type, Operand(JS_BUILTINS_OBJECT_TYPE)); in GenerateGlobalInstanceTypeCheck() local
32 __ Branch(global_object, eq, type, Operand(JS_GLOBAL_PROXY_TYPE)); in GenerateGlobalInstanceTypeCheck() local
75 __ Branch(miss, ne, at, Operand(zero_reg)); in GenerateDictionaryLoad() local
122 __ Branch(miss, ne, at, Operand(zero_reg)); in GenerateDictionaryStore() local
150 __ Branch(slow, ne, at, Operand(zero_reg)); in GenerateKeyedLoadReceiverCheck() local
157 __ Branch(slow, lt, scratch, Operand(JS_OBJECT_TYPE)); in GenerateKeyedLoadReceiverCheck() local
195 __ Branch(not_fast_array, ne, scratch1, Operand(at)); in GenerateFastArrayLoad() local
202 __ Branch(out_of_range, hs, key, Operand(scratch1)); in GenerateFastArrayLoad() local
216 __ Branch(out_of_range, eq, scratch2, Operand(at)); in GenerateFastArrayLoad() local
[all …]
/external/skia/src/core/
DSkRTree.h65 struct Branch { struct
76 Branch fChildren[kMaxChildren]; argument
82 Branch bulkLoad(SkTDArray<Branch>* branches, int level = 0);
92 Branch fRoot;
DSkRTree.cpp23 SkTDArray<Branch> branches; in insert()
32 Branch* b = branches.push(); in insert()
103 SkRTree::Branch SkRTree::bulkLoad(SkTDArray<Branch>* branches, int level) { in bulkLoad()
146 Branch b; in bulkLoad()
/external/v8/test/cctest/compiler/
Dtest-branch-combine.cc32 m.Branch(m.Word32Equal(p0, m.Int32Constant(0)), &blocka, &blockb); in TEST()
59 m.Branch(cond, &blocka, &blockb); in TEST()
83 m.Branch(m.Int32LessThan(p0, m.Int32Constant(0)), &blocka, &blockb); in TEST()
105 m.Branch(m.Uint32LessThan(p0, m.Int32Constant(100)), &blocka, &blockb); in TEST()
127 m.Branch(m.Uint32LessThanOrEqual(p0, m.Int32Constant(100)), &blocka, &blockb); in TEST()
149 m.Branch(m.Int32LessThan(m.Int32Constant(0), p0), &blocka, &blockb); in TEST()
171 m.Branch(m.Int32GreaterThan(p0, m.Int32Constant(0)), &blocka, &blockb); in TEST()
194 m.Branch(m.Word32Equal(p0, p1), &blocka, &blockb); in TEST()
224 if (left == 1) m.Branch(m.Word32Equal(p0, p1), &blocka, &blockb); in TEST()
225 if (left == 0) m.Branch(m.Word32Equal(p1, p0), &blocka, &blockb); in TEST()
[all …]
/external/llvm/docs/
DBranchWeightMetadata.rst2 LLVM Branch Weight Metadata
11 Branch Weight Metadata represents branch weights as its likeliness to be taken
17 Branch weights might be fetch from the profiling file, or generated based on
43 Branch weights are assigned to every case (including the ``default`` case which
57 Branch weights are assigned to every destination.
70 Other terminator instructions are not allowed to contain Branch Weight Metadata.
115 Branch Weight Metatada is not proof against CFG changes. If terminator operands'
/external/clang/include/clang/Analysis/Analyses/
DUninitializedValues.h32 struct Branch { struct
52 SmallVector<Branch, 2> UninitBranches; argument
59 void addUninitBranch(Branch B) { in addUninitBranch()
93 typedef SmallVectorImpl<Branch>::const_iterator branch_iterator;
/external/llvm/test/CodeGen/R600/
Dstructurize.ll19 ; === Branch instruction (IF):
28 ; === Branch instruction (ELSE):
32 ; === Branch instruction (IF):
36 ; === Branch instruction (ELSE):
40 ; === Branch instruction (ENDIF):
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java1065 if (where < ((Branch)jumps.get(i)).orgPos) { in addLdcW()
1118 ((Branch)jumps.get(i)).shift(where, gapLength, exclusive); in insertGap2w()
1126 Branch b = (Branch)jumps.get(i); in insertGap2w()
1133 ((Branch)jumps.get(j)).shift(p, delta, false); in insertGap2w()
1139 Branch b = (Branch)jumps.get(i); in insertGap2w()
1146 ((Branch)jumps.get(j)).shift(p, diff, false); in insertGap2w()
1167 Branch b; in makeJumpList()
1222 Branch b = (Branch)jumps.get(i); in makeExapndedCode()
1229 Branch b; in makeExapndedCode()
1232 b = (Branch)jumps.get(0); in makeExapndedCode()
[all …]
/external/skia/src/animator/
DSkScript2.h187 struct Branch { struct
188 Branch() { in Branch() function
191 Branch(Op op, int depth, size_t offset) in Branch() argument
250 void resolveBranch(Branch& );
255 SkTDStack<Branch> fBranchStack; // logical operators, slot to store forward branch

1234567