Home
last modified time | relevance | path

Searched refs:Src1Idx (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp542 int Src1Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src1); in tryConstantFoldOp() local
543 if (Src1Idx == -1) in tryConstantFoldOp()
548 MachineOperand *Src1 = getImmOrMaterializedImm(MRI, MI->getOperand(Src1Idx)); in tryConstantFoldOp()
567 MI->RemoveOperand(Src1Idx); in tryConstantFoldOp()
577 std::swap(Src0Idx, Src1Idx); in tryConstantFoldOp()
586 MI->RemoveOperand(Src1Idx); in tryConstantFoldOp()
590 MI->RemoveOperand(Src1Idx); in tryConstantFoldOp()
607 MI->RemoveOperand(Src1Idx); in tryConstantFoldOp()
621 MI->RemoveOperand(Src1Idx); in tryConstantFoldOp()
DR600ExpandSpecialInstrs.cpp217 int Src1Idx = TII->getOperandIdx(MI, R600::OpName::src1); in runOnMachineFunction() local
218 if (Src1Idx != -1) { in runOnMachineFunction()
219 Src1 = MI.getOperand(Src1Idx).getReg(); in runOnMachineFunction()
DSIInstrInfo.cpp1372 unsigned Src1Idx) const { in commuteInstructionImpl()
1383 static_cast<int>(Src1Idx) && in commuteInstructionImpl()
1387 MachineOperand &Src1 = MI.getOperand(Src1Idx); in commuteInstructionImpl()
1391 if (isOperandLegal(MI, Src1Idx, &Src0)) { in commuteInstructionImpl()
1394 = TargetInstrInfo::commuteInstructionImpl(MI, NewMI, Src0Idx, Src1Idx); in commuteInstructionImpl()
1402 if (isOperandLegal(MI, Src1Idx, &Src0)) in commuteInstructionImpl()
1432 int Src1Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src1); in findCommutedOpIndices() local
1433 if (Src1Idx == -1) in findCommutedOpIndices()
1436 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
2622 int Src1Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src1); in verifyInstruction() local
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp958 int Src1Idx = in commuteInstructionImpl() local
962 OpIdx1 != static_cast<unsigned>(Src1Idx)) && in commuteInstructionImpl()
963 (OpIdx0 != static_cast<unsigned>(Src1Idx) || in commuteInstructionImpl()
967 MachineOperand &Src1 = MI.getOperand(Src1Idx); in commuteInstructionImpl()
978 if (!isLegalRegOperand(MRI, InstrDesc.OpInfo[Src1Idx], Src0)) in commuteInstructionImpl()
1047 int Src1Idx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::src1); in findCommutedOpIndices() local
1048 if (Src1Idx == -1) in findCommutedOpIndices()
1051 MachineOperand &Src1 = MI.getOperand(Src1Idx); in findCommutedOpIndices()
1066 return fixCommutedOpIndices(SrcOpIdx0, SrcOpIdx1, Src0Idx, Src1Idx); in findCommutedOpIndices()
1653 int Src1Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src1); in verifyInstruction() local
[all …]
DR600ExpandSpecialInstrs.cpp280 int Src1Idx = TII->getOperandIdx(MI, AMDGPU::OpName::src1); in runOnMachineFunction() local
281 if (Src1Idx != -1) { in runOnMachineFunction()
282 Src1 = MI.getOperand(Src1Idx).getReg(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp2295 const int Src1Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src1); in validateConstantBusLimitations() local
2298 const int OpIndices[] = { Src0Idx, Src1Idx, Src2Idx }; in validateConstantBusLimitations()
2340 const int Src1Idx = AMDGPU::getNamedOperandIdx(Opcode, AMDGPU::OpName::src1); in validateEarlyClobberLimitations() local
2348 const int SrcIndices[] = { Src0Idx, Src1Idx, Src2Idx }; in validateEarlyClobberLimitations()