Lines Matching defs:cond
102 Condition cond, Register src1,
105 BranchShort(&skip, NegateCondition(cond), src1, src2);
2459 Condition cond) {
2460 switch (cond) {
2800 #define BRANCH_ARGS_CHECK(cond, rs, rt) \
2801 DCHECK((cond == cc_always && rs == zero_reg && rt.rm() == zero_reg) || \
2802 (cond != cc_always && (rs != zero_reg || rt.rm() != zero_reg)))
2809 void TurboAssembler::Branch(int32_t offset, Condition cond, Register rs,
2811 bool is_near = BranchShortCheck(offset, nullptr, cond, rs, rt);
2832 void TurboAssembler::Branch(Label* L, Condition cond, Register rs,
2835 if (!BranchShortCheck(0, L, cond, rs, rt)) {
2836 if (cond != cc_always) {
2838 Condition neg_cond = NegateCondition(cond);
2849 if (cond != cc_always) {
2851 Condition neg_cond = NegateCondition(cond);
2860 BranchShort(L, cond, rs, rt);
2865 void TurboAssembler::Branch(Label* L, Condition cond, Register rs,
2870 Branch(L, cond, rs, Operand(scratch));
2923 bool TurboAssembler::BranchShortHelper(int32_t offset, Label* L, Condition cond,
2937 switch (cond) {
3051 bool TurboAssembler::BranchShortCheck(int32_t offset, Label* L, Condition cond,
3053 BRANCH_ARGS_CHECK(cond, rs, rt);
3057 return BranchShortHelper(offset, nullptr, cond, rs, rt);
3060 return BranchShortHelper(0, L, cond, rs, rt);
3064 void TurboAssembler::BranchShort(int32_t offset, Condition cond, Register rs,
3066 BranchShortCheck(offset, nullptr, cond, rs, rt);
3069 void TurboAssembler::BranchShort(Label* L, Condition cond, Register rs,
3071 BranchShortCheck(0, L, cond, rs, rt);
3078 void TurboAssembler::BranchAndLink(int32_t offset, Condition cond, Register rs,
3080 bool is_near = BranchAndLinkShortCheck(offset, nullptr, cond, rs, rt);
3101 void TurboAssembler::BranchAndLink(Label* L, Condition cond, Register rs,
3104 if (!BranchAndLinkShortCheck(0, L, cond, rs, rt)) {
3106 Condition neg_cond = NegateCondition(cond);
3114 Condition neg_cond = NegateCondition(cond);
3119 BranchAndLinkShortCheck(0, L, cond, rs, rt);
3143 Condition cond, Register rs,
3152 if (cond == cc_always) {
3156 Branch(kInstrSize * 2, NegateCondition(cond), rs,
3166 Condition cond, Register rs,
3168 BRANCH_ARGS_CHECK(cond, rs, rt);
3172 return BranchAndLinkShortHelper(offset, nullptr, cond, rs, rt);
3175 return BranchAndLinkShortHelper(0, L, cond, rs, rt);
3201 void TurboAssembler::Jump(Register target, Condition cond, Register rs,
3204 if (cond == cc_always) {
3208 BRANCH_ARGS_CHECK(cond, rs, rt);
3209 Branch(kInstrSize * 2, NegateCondition(cond), rs, rt);
3215 Condition cond, Register rs, const Operand& rt) {
3217 if (cond != cc_always) {
3218 Branch(&skip, NegateCondition(cond), rs, rt);
3229 void TurboAssembler::Jump(Address target, RelocInfo::Mode rmode, Condition cond,
3232 Jump(static_cast<intptr_t>(target), rmode, cond, rs, rt);
3236 Condition cond, Register rs, const Operand& rt) {
3249 if (cond != al) {
3250 Branch(&skip, NegateCondition(cond), rs, rt);
3261 Jump(t6, cond, rs, rt);
3268 Jump(t6, cond, rs, rt);
3274 Jump(static_cast<intptr_t>(target_index), rmode, cond, rs, rt);
3283 void TurboAssembler::Call(Register target, Condition cond, Register rs,
3286 if (cond == cc_always) {
3289 BRANCH_ARGS_CHECK(cond, rs, rt);
3290 Branch(kInstrSize * 2, NegateCondition(cond), rs, rt);
3310 void TurboAssembler::Call(Address target, RelocInfo::Mode rmode, Condition cond,
3313 Call(t6, cond, rs, rt);
3317 Condition cond, Register rs, const Operand& rt) {
3328 if (cond != al) {
3329 Branch(&skip, NegateCondition(cond), rs, rt);
3341 Call(t6, cond, rs, rt);
3348 Call(t6, cond, rs, rt);
3356 Call(static_cast<Address>(target_index), rmode, cond, rs, rt);
3456 void TurboAssembler::Ret(Condition cond, Register rs, const Operand& rt) {
3457 Jump(ra, cond, rs, rt);
3458 if (cond == al) {
3486 void TurboAssembler::DropAndRet(int drop, Condition cond, Register r1,
3490 if (cond != cc_always) {
3491 Branch(&skip, NegateCondition(cond), r1, r2);
3497 if (cond != cc_always) {
3502 void TurboAssembler::Drop(int count, Condition cond, Register reg,
3510 if (cond != al) {
3511 Branch(&skip, NegateCondition(cond), reg, op);
3516 if (cond != al) {