Home
last modified time | relevance | path

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

/third_party/node/deps/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.h111 sequence()->AddConstant(virtual_register, ToConstant(node)); in DefineAsConstant()
212 return sequence()->AddImmediate(ToConstant(node)); in UseImmediate()
322 static Constant ToConstant(const Node* node) { in ToConstant() function
Dcode-generator.cc1215 Constant constant = converter.ToConstant(op); in AddTranslationForOperand()
/third_party/node/deps/v8/src/compiler/backend/ia32/
Dcode-generator-ia32.cc71 Constant constant = ToConstant(operand); in ToImmediate()
129 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
149 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
167 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
171 Constant ctant = ToConstant(instr_->InputAt(NextOffset(offset))); in MemoryOperand()
198 Constant ctant = ToConstant(instr_->InputAt(NextOffset(&offset))); in NextMemoryOperand()
725 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
741 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4144 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4166 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
[all …]
/third_party/node/deps/v8/src/compiler/backend/loong64/
Dcode-generator-loong64.cc77 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
588 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
600 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
2349 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleConstructFrame()
2371 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleConstructFrame()
2395 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleConstructFrame()
2435 Constant src = g.ToConstant(source); in AssembleConstructFrame()
/third_party/node/deps/v8/src/compiler/backend/arm/
Dcode-generator-arm.cc122 Constant constant = ToConstant(operand); in ToImmediate()
699 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
712 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
3839 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleConstructFrame()
3860 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleConstructFrame()
3889 DCHECK_EQ(Constant::kInt32, g.ToConstant(additional_pop_count).type()); in AssembleConstructFrame()
3890 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleConstructFrame()
4010 Constant src = g.ToConstant(source); in AssembleConstructFrame()
4024 Constant src = g.ToConstant(source); in AssembleConstructFrame()
/third_party/node/deps/v8/src/compiler/backend/arm64/
Dcode-generator-arm64.cc213 Constant constant = ToConstant(operand); in ToImmediate()
712 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
725 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
3241 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
3262 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
3291 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
3424 Constant src = g.ToConstant(source); in AssembleMove()
3439 Constant src = g.ToConstant(source); in AssembleMove()
/third_party/node/deps/v8/src/compiler/backend/riscv64/
Dcode-generator-riscv64.cc55 Constant constant = ToConstant(instr_->InputAt(index)); in InputOrZeroRegister()
88 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
658 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
685 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4007 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4029 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
4057 DCHECK_LE(g.ToConstant(additional_pop_count).type(), Constant::kInt64); in AssembleReturn()
4058 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
4108 Constant src = g.ToConstant(source); in AssembleMove()
/third_party/node/deps/v8/src/compiler/backend/s390/
Dcode-generator-s390.cc61 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
1195 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
1209 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
3536 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleConstructFrame()
3558 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleConstructFrame()
3591 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleConstructFrame()
3632 Constant src = g.ToConstant(source); in AssembleConstructFrame()
/third_party/node/deps/v8/src/compiler/backend/x64/
Dcode-generator-x64.cc54 Constant constant = ToConstant(operand); in ToImmediate()
1223 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
1239 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4815 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleReturn()
4834 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleReturn()
4872 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleReturn()
5099 Constant src = g.ToConstant(source); in AssembleMove()
5116 Constant src = g.ToConstant(source); in AssembleMove()
/third_party/node/deps/v8/src/compiler/backend/mips/
Dcode-generator-mips.cc76 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
640 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
652 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4100 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleConstructFrame()
4121 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleConstructFrame()
4146 DCHECK_EQ(Constant::kInt32, g.ToConstant(additional_pop_count).type()); in AssembleConstructFrame()
4147 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleConstructFrame()
4186 Constant src = g.ToConstant(source); in AssembleConstructFrame()
/third_party/node/deps/v8/src/compiler/backend/ppc/
Dcode-generator-ppc.cc66 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
832 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
851 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4186 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleConstructFrame()
4208 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleConstructFrame()
4241 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleConstructFrame()
4291 Constant src = g.ToConstant(source); in AssembleConstructFrame()
/third_party/node/deps/v8/src/compiler/
Dcode-assembler.cc596 #define CODE_ASSEMBLER_COMPARE(Name, ArgT, VarT, ToConstant, op) \ argument
599 if (ToConstant(left, &lhs) && ToConstant(right, &rhs)) { \
/third_party/node/deps/v8/src/compiler/backend/mips64/
Dcode-generator-mips64.cc77 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate()
604 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
617 Constant constant = i.ToConstant(instr->InputAt(0)); in AssembleArchInstruction()
4304 DCHECK_EQ(g.ToConstant(additional_pop_count).ToInt32(), 0); in AssembleConstructFrame()
4326 g.ToConstant(additional_pop_count).ToInt32() == 0) { in AssembleConstructFrame()
4350 int additional_count = g.ToConstant(additional_pop_count).ToInt32(); in AssembleConstructFrame()
4389 Constant src = g.ToConstant(source); in AssembleConstructFrame()