Home
last modified time | relevance | path

Searched refs:ToConstant (Results 1 – 12 of 12) sorted by relevance

/external/v8/src/compiler/backend/
Dcode-generator-impl.h50 return ToConstant(instr_->InputAt(index)).ToInt32(); in InputInt32()
58 return ToConstant(instr_->InputAt(index)).ToInt64(); in InputInt64()
134 return ToConstant(op).ToRpoNumber(); in ToRpoNumber()
153 Constant ToConstant(InstructionOperand* op) const { in ToConstant() function
162 return ToConstant(op).ToFloat64().value(); in ToDouble()
165 float ToFloat32(InstructionOperand* op) { return ToConstant(op).ToFloat32(); } in ToFloat32()
168 return ToConstant(op).ToExternalReference(); in ToExternalReference()
172 return ToConstant(op).ToCode(); in ToCode()
Dinstruction-selector-impl.h109 sequence()->AddConstant(virtual_register, ToConstant(node)); in DefineAsConstant()
196 return sequence()->AddImmediate(ToConstant(node)); in UseImmediate()
306 static Constant ToConstant(const Node* node) { in ToConstant() function
Dcode-generator.cc1242 Constant constant = converter.ToConstant(op); in AddTranslationForOperand()
/external/v8/src/compiler/backend/ia32/
Dcode-generator-ia32.cc66 Constant constant = ToConstant(operand); in ToImmediate()
122 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
142 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
160 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
164 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
191 Constant ctant = ToConstant(instr_->InputAt(NextOffset(&offset))); in NextMemoryOperand()
721 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
771 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4799 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4824 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
[all …]
/external/v8/src/compiler/backend/arm64/
Dcode-generator-arm64.cc210 Constant constant = ToConstant(operand); in ToImmediate()
712 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
746 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
3126 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
3151 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
3179 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
3313 Constant src = g.ToConstant(source); in AssembleMove()
3328 Constant src = g.ToConstant(source); in AssembleMove()
/external/v8/src/compiler/backend/arm/
Dcode-generator-arm.cc119 Constant constant = ToConstant(operand); in ToImmediate()
777 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
812 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
3808 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
3833 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
3858 DCHECK_EQ(Constant::kInt32, g.ToConstant(additional_pop_count).type()); in AssembleReturn()
3859 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
3979 Constant src = g.ToConstant(source); in AssembleMove()
3993 Constant src = g.ToConstant(source); in AssembleMove()
/external/v8/src/compiler/backend/ppc/
Dcode-generator-ppc.cc64 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
903 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
946 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
3840 if (pop->IsImmediate() && g.ToConstant(pop).ToInt32() == 0) { in AssembleReturn()
3855 DCHECK(Constant::kInt32 == g.ToConstant(pop).type() || in AssembleReturn()
3856 Constant::kInt64 == g.ToConstant(pop).type()); in AssembleReturn()
3857 pop_count += g.ToConstant(pop).ToInt32(); in AssembleReturn()
3896 Constant src = g.ToConstant(source); in AssembleMove()
/external/v8/src/compiler/
Dcode-assembler.cc571 #define CODE_ASSEMBLER_COMPARE(Name, ArgT, VarT, ToConstant, op) \ argument
574 if (ToConstant(left, &lhs) && ToConstant(right, &rhs)) { \
/external/v8/src/compiler/backend/mips/
Dcode-generator-mips.cc73 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
678 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
711 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4062 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4087 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
4114 DCHECK_EQ(Constant::kInt32, g.ToConstant(additional_pop_count).type()); in AssembleReturn()
4115 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
4155 Constant src = g.ToConstant(source); in AssembleMove()
/external/v8/src/compiler/backend/x64/
Dcode-generator-x64.cc44 Constant constant = ToConstant(operand); in ToImmediate()
885 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
938 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4517 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4540 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
4577 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
4770 Constant src = g.ToConstant(source); in AssembleMove()
4787 Constant src = g.ToConstant(source); in AssembleMove()
/external/v8/src/compiler/backend/mips64/
Dcode-generator-mips64.cc74 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
655 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
689 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4346 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4371 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
4397 DCHECK_EQ(Constant::kInt32, g.ToConstant(additional_pop_count).type()); in AssembleReturn()
4398 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
4438 Constant src = g.ToConstant(source); in AssembleMove()
/external/v8/src/compiler/backend/s390/
Dcode-generator-s390.cc58 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
1403 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
1444 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4729 if (pop->IsImmediate() && g.ToConstant(pop).ToInt32() == 0) { in AssembleReturn()
4742 pop_count += g.ToConstant(pop).ToInt32(); in AssembleReturn()
4779 Constant src = g.ToConstant(source); in AssembleMove()