Home
last modified time | relevance | path

Searched refs:CanBeImmediate (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc23 bool CanBeImmediate(Node* node) { in CanBeImmediate() function in v8::internal::compiler::X64OperandGenerator
43 DCHECK(CanBeImmediate(node)); in GetImmediateIntegerValue()
181 if (m.displacement() == nullptr || CanBeImmediate(m.displacement())) { in GetEffectiveAddressMemoryOperand()
202 if (CanBeImmediate(index)) { in GetEffectiveIndexOperand()
381 g.CanBeImmediate(value) ? g.UseImmediate(value) : g.UseRegister(value); in VisitStore()
402 g.CanBeImmediate(value) ? g.UseImmediate(value) : g.UseRegister(value); in VisitProtectedStore()
437 } else if (g.CanBeImmediate(right)) { in VisitBinop()
548 if (g.CanBeImmediate(right)) { in VisitWord32Shift()
567 if (g.CanBeImmediate(right)) { in VisitWord64Shift()
592 if (!g.CanBeImmediate(right) || in TryVisitWordShift()
[all …]
/external/v8/src/compiler/s390/
Dinstruction-selector-s390.cc89 if (CanBeImmediate(node, mode)) { in UseOperand()
112 bool CanBeImmediate(Node* node, OperandModes mode) { in CanBeImmediate() function in v8::internal::compiler::S390OperandGenerator
120 return CanBeImmediate(value, mode); in CanBeImmediate()
123 bool CanBeImmediate(int64_t value, OperandModes mode) { in CanBeImmediate() function in v8::internal::compiler::S390OperandGenerator
223 CanBeImmediate(m.displacement(), immediate_mode))) { in GetEffectiveAddressMemoryOperand()
457 g.CanBeImmediate(right, operand_mode)) { in GenerateRightOperands()
635 !g.CanBeImmediate(right, operand_mode) && in VisitBinOp()
736 if (g.CanBeImmediate(offset, OperandMode::kInt20Imm)) { in VisitStore()
1210 if (g.CanBeImmediate(right, OperandMode::kInt32Imm) && in TryMatchShiftFromMul()
1659 if ((!g.CanBeImmediate(right, immediate_mode) && in VisitWordCompare()
[all …]
/external/v8/src/compiler/ppc/
Dinstruction-selector-ppc.cc33 if (CanBeImmediate(node, mode)) { in UseOperand()
39 bool CanBeImmediate(Node* node, ImmediateMode mode) { in CanBeImmediate() function in v8::internal::compiler::PPCOperandGenerator
47 return CanBeImmediate(value, mode); in CanBeImmediate()
50 bool CanBeImmediate(int64_t value, ImmediateMode mode) { in CanBeImmediate() function in v8::internal::compiler::PPCOperandGenerator
237 if (g.CanBeImmediate(offset, mode)) { in VisitLoad()
240 } else if (g.CanBeImmediate(base, mode)) { in VisitLoad()
274 if (g.CanBeImmediate(offset, kInt16Imm) in VisitStore()
276 && g.CanBeImmediate(offset, kInt16Imm_4ByteAligned) in VisitStore()
348 if (g.CanBeImmediate(offset, mode)) { in VisitStore()
351 } else if (g.CanBeImmediate(base, mode)) { in VisitStore()
[all …]
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc62 bool CanBeImmediate(Node* node) { in CanBeImmediate() function in v8::internal::compiler::IA32OperandGenerator
156 if ((m.displacement() == nullptr || CanBeImmediate(m.displacement()))) { in GetEffectiveAddressMemoryOperand()
169 if (CanBeImmediate(index)) { in GetEffectiveIndexOperand()
402 if (g.CanBeImmediate(value)) { in VisitStore()
460 } else if (g.CanBeImmediate(right)) { in VisitBinop()
535 if (g.CanBeImmediate(right)) { in VisitShift()
702 if (g.CanBeImmediate(shift)) { in VisitWord32PairShift()
841 (m.displacement() == nullptr || g.CanBeImmediate(m.displacement()))) { in VisitInt32Add()
886 if (g.CanBeImmediate(right)) { in VisitInt32Mul()
1013 InstructionOperand value = g.CanBeImmediate(node) in EmitPrepareArguments()
[all …]
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc21 bool CanBeImmediate(int32_t value) const { in CanBeImmediate() function in v8::internal::compiler::ArmOperandGenerator
25 bool CanBeImmediate(uint32_t value) const { in CanBeImmediate() function in v8::internal::compiler::ArmOperandGenerator
26 return CanBeImmediate(bit_cast<int32_t>(value)); in CanBeImmediate()
29 bool CanBeImmediate(Node* node, InstructionCode opcode) { in CanBeImmediate() function in v8::internal::compiler::ArmOperandGenerator
38 return CanBeImmediate(value) || CanBeImmediate(~value); in CanBeImmediate()
44 return CanBeImmediate(value) || CanBeImmediate(-value); in CanBeImmediate()
51 return CanBeImmediate(value); in CanBeImmediate()
243 if (g.CanBeImmediate(node, *opcode_return)) { in TryMatchImmediateOrShift()
373 if (g.CanBeImmediate(index, opcode)) { in EmitLoad()
392 if (g.CanBeImmediate(index, opcode)) { in EmitStore()
[all …]
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc28 if (CanBeImmediate(node, opcode)) { in UseOperand()
71 bool CanBeImmediate(Node* node, InstructionCode mode) { in CanBeImmediate() function in v8::internal::compiler::Mips64OperandGenerator
73 CanBeImmediate(GetIntegerConstantValue(node), mode); in CanBeImmediate()
76 bool CanBeImmediate(int64_t value, InstructionCode opcode) { in CanBeImmediate() function in v8::internal::compiler::Mips64OperandGenerator
221 if (g.CanBeImmediate(offset, opcode_)) { in Initialize()
227 matches_ = g.CanBeImmediate(immediate_, kMips64Lw); in Initialize()
256 if (g.CanBeImmediate(node, *opcode_return)) { in TryMatchImmediate()
348 if (g.CanBeImmediate(index, opcode)) { in EmitLoad()
483 if (g.CanBeImmediate(index, opcode)) { in VisitStore()
1749 if (g.CanBeImmediate(index, opcode)) { in VisitUnalignedLoad()
[all …]
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc28 if (CanBeImmediate(node, opcode)) { in UseOperand()
67 bool CanBeImmediate(Node* node, InstructionCode opcode) { in CanBeImmediate() function in v8::internal::compiler::MipsOperandGenerator
162 if (g.CanBeImmediate(node, *opcode_return)) { in TryMatchImmediate()
288 if (g.CanBeImmediate(index, opcode)) { in VisitLoad()
377 if (g.CanBeImmediate(index, opcode)) { in VisitStore()
1258 if (g.CanBeImmediate(index, opcode)) { in VisitUnalignedLoad()
1310 if (g.CanBeImmediate(index, opcode)) { in VisitUnalignedStore()
1372 if (g.CanBeImmediate(right, opcode)) { in VisitWordCompare()
1400 } else if (g.CanBeImmediate(left, opcode)) { in VisitWordCompare()
1727 if (g.CanBeImmediate(index, opcode)) { in VisitWord32AtomicLoad()
[all …]
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc35 if (CanBeImmediate(node, mode)) { in UseOperand()
97 bool CanBeImmediate(Node* node, ImmediateMode mode) { in CanBeImmediate() function in v8::internal::compiler::Arm64OperandGenerator
99 CanBeImmediate(GetIntegerConstantValue(node), mode); in CanBeImmediate()
102 bool CanBeImmediate(int64_t value, ImmediateMode mode) { in CanBeImmediate() function in v8::internal::compiler::Arm64OperandGenerator
232 matches_ = g.CanBeImmediate(immediate_, kLoadStoreImm32); in Initialize()
442 if (g.CanBeImmediate(right_node, operand_mode)) { in VisitBinop()
445 } else if (can_commute && g.CanBeImmediate(left_node, operand_mode)) { in VisitBinop()
509 g.CanBeImmediate(-m.right().Value(), kArithmeticImm)) { in VisitAddSub()
586 if (g.CanBeImmediate(index, immediate_mode)) { in EmitLoad()
679 if (g.CanBeImmediate(index, kArithmeticImm) && in VisitStore()
[all …]