Lines Matching refs:selector
29 explicit PPCOperandGenerator(InstructionSelector* selector) in PPCOperandGenerator() argument
30 : OperandGenerator(selector) {} in PPCOperandGenerator()
74 void VisitRR(InstructionSelector* selector, ArchOpcode opcode, Node* node) { in VisitRR() argument
75 PPCOperandGenerator g(selector); in VisitRR()
76 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRR()
81 void VisitRRR(InstructionSelector* selector, ArchOpcode opcode, Node* node) { in VisitRRR() argument
82 PPCOperandGenerator g(selector); in VisitRRR()
83 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRRR()
89 void VisitRRO(InstructionSelector* selector, ArchOpcode opcode, Node* node, in VisitRRO() argument
91 PPCOperandGenerator g(selector); in VisitRRO()
92 selector->Emit(opcode, g.DefineAsRegister(node), in VisitRRO()
99 void VisitTryTruncateDouble(InstructionSelector* selector, ArchOpcode opcode, in VisitTryTruncateDouble() argument
101 PPCOperandGenerator g(selector); in VisitTryTruncateDouble()
112 selector->Emit(opcode, output_count, outputs, 1, inputs); in VisitTryTruncateDouble()
119 void VisitBinop(InstructionSelector* selector, Node* node, in VisitBinop() argument
122 PPCOperandGenerator g(selector); in VisitBinop()
147 selector->Emit(cont->Encode(opcode), output_count, outputs, input_count, in VisitBinop()
154 void VisitBinop(InstructionSelector* selector, Node* node, ArchOpcode opcode, in VisitBinop() argument
157 VisitBinop<Matcher>(selector, node, opcode, operand_mode, &cont); in VisitBinop()
400 static void VisitLogical(InstructionSelector* selector, Node* node, Matcher* m, in VisitLogical() argument
403 PPCOperandGenerator g(selector); in VisitLogical()
422 selector->Emit(inv_opcode, g.DefineAsRegister(node), in VisitLogical()
435 selector->Emit(inv_opcode, g.DefineAsRegister(node), in VisitLogical()
442 VisitBinop<Matcher>(selector, node, opcode, imm_mode); in VisitLogical()
1286 void VisitCompare(InstructionSelector* selector, InstructionCode opcode, in VisitCompare() argument
1289 PPCOperandGenerator g(selector); in VisitCompare()
1292 selector->Emit(opcode, g.NoOutput(), left, right, in VisitCompare()
1296 selector->Emit(opcode, g.DefineAsRegister(cont->result()), left, right); in VisitCompare()
1302 void VisitWordCompare(InstructionSelector* selector, Node* node, in VisitWordCompare() argument
1305 PPCOperandGenerator g(selector); in VisitWordCompare()
1311 VisitCompare(selector, opcode, g.UseRegister(left), g.UseImmediate(right), in VisitWordCompare()
1315 VisitCompare(selector, opcode, g.UseRegister(right), g.UseImmediate(left), in VisitWordCompare()
1318 VisitCompare(selector, opcode, g.UseRegister(left), g.UseRegister(right), in VisitWordCompare()
1324 void VisitWord32Compare(InstructionSelector* selector, Node* node, in VisitWord32Compare() argument
1327 VisitWordCompare(selector, node, kPPC_Cmp32, cont, false, mode); in VisitWord32Compare()
1332 void VisitWord64Compare(InstructionSelector* selector, Node* node, in VisitWord64Compare() argument
1335 VisitWordCompare(selector, node, kPPC_Cmp64, cont, false, mode); in VisitWord64Compare()
1341 void VisitFloat32Compare(InstructionSelector* selector, Node* node, in VisitFloat32Compare() argument
1343 PPCOperandGenerator g(selector); in VisitFloat32Compare()
1346 VisitCompare(selector, kPPC_CmpDouble, g.UseRegister(left), in VisitFloat32Compare()
1352 void VisitFloat64Compare(InstructionSelector* selector, Node* node, in VisitFloat64Compare() argument
1354 PPCOperandGenerator g(selector); in VisitFloat64Compare()
1357 VisitCompare(selector, kPPC_CmpDouble, g.UseRegister(left), in VisitFloat64Compare()
1363 void VisitWordCompareZero(InstructionSelector* selector, Node* user, in VisitWordCompareZero() argument
1366 while (selector->CanCover(user, value)) { in VisitWordCompareZero()
1379 return VisitWord32Compare(selector, value, cont); in VisitWordCompareZero()
1383 return VisitWord32Compare(selector, value, cont); in VisitWordCompareZero()
1386 return VisitWord32Compare(selector, value, cont); in VisitWordCompareZero()
1389 return VisitWord32Compare(selector, value, cont); in VisitWordCompareZero()
1392 return VisitWord32Compare(selector, value, cont); in VisitWordCompareZero()
1396 return VisitWord64Compare(selector, value, cont); in VisitWordCompareZero()
1399 return VisitWord64Compare(selector, value, cont); in VisitWordCompareZero()
1402 return VisitWord64Compare(selector, value, cont); in VisitWordCompareZero()
1405 return VisitWord64Compare(selector, value, cont); in VisitWordCompareZero()
1408 return VisitWord64Compare(selector, value, cont); in VisitWordCompareZero()
1412 return VisitFloat32Compare(selector, value, cont); in VisitWordCompareZero()
1415 return VisitFloat32Compare(selector, value, cont); in VisitWordCompareZero()
1418 return VisitFloat32Compare(selector, value, cont); in VisitWordCompareZero()
1421 return VisitFloat64Compare(selector, value, cont); in VisitWordCompareZero()
1424 return VisitFloat64Compare(selector, value, cont); in VisitWordCompareZero()
1427 return VisitFloat64Compare(selector, value, cont); in VisitWordCompareZero()
1439 if (result == nullptr || selector->IsDefined(result)) { in VisitWordCompareZero()
1444 selector, node, kPPC_AddWithOverflow32, kInt16Imm, cont); in VisitWordCompareZero()
1447 return VisitBinop<Int32BinopMatcher>(selector, node, in VisitWordCompareZero()
1453 return VisitBinop<Int64BinopMatcher>(selector, node, kPPC_Add, in VisitWordCompareZero()
1457 return VisitBinop<Int64BinopMatcher>(selector, node, kPPC_Sub, in VisitWordCompareZero()
1467 return VisitWord32Compare(selector, value, cont); in VisitWordCompareZero()
1470 return VisitWordCompare(selector, value, kPPC_Tst32, cont, true, in VisitWordCompareZero()
1482 return VisitWord64Compare(selector, value, cont); in VisitWordCompareZero()
1485 return VisitWordCompare(selector, value, kPPC_Tst64, cont, true, in VisitWordCompareZero()
1503 PPCOperandGenerator g(selector); in VisitWordCompareZero()
1504 VisitCompare(selector, opcode, g.UseRegister(value), g.TempImmediate(0), in VisitWordCompareZero()
1509 void VisitWord32CompareZero(InstructionSelector* selector, Node* user, in VisitWord32CompareZero() argument
1511 VisitWordCompareZero(selector, user, value, kPPC_Cmp32, cont); in VisitWord32CompareZero()
1516 void VisitWord64CompareZero(InstructionSelector* selector, Node* user, in VisitWord64CompareZero() argument
1518 VisitWordCompareZero(selector, user, value, kPPC_Cmp64, cont); in VisitWord64CompareZero()