Home
last modified time | relevance | path

Searched refs:CommuteIdx0 (Results 1 – 17 of 17) sorted by relevance

/dports/devel/llvm80/llvm-8.0.1.src/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp325 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
327 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
330 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
333 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
341 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
346 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
358 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
375 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm70/llvm-7.0.1.src/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp266 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex;
268 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1);
271 if (CommuteIdx0 == OpNo)
274 OpNo = CommuteIdx0;
281 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() ||
286 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1))
290 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1);
/dports/devel/llvm90/llvm-9.0.1.src/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp352 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
354 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
357 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
360 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
368 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
373 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
385 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
402 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp381 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
383 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
386 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
389 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
397 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
402 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
414 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
430 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp377 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
379 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
382 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
385 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
393 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
398 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
410 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
426 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm10/llvm-10.0.1.src/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp374 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
376 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
379 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
382 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
390 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
395 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
407 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
423 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp383 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
385 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
388 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
391 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
399 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
404 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
416 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
432 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm11/llvm-11.0.1.src/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp377 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
379 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
382 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
385 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
393 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
398 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
410 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
426 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp374 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
376 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
379 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
382 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
390 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
395 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
407 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
423 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp374 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
376 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
379 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
382 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
390 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
395 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
407 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
423 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp383 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
385 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
388 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
391 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
399 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
404 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
416 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
432 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp390 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
392 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
395 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
398 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
406 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
411 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
423 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
439 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/graphics/llvm-mesa/llvm-13.0.1.src/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp390 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
392 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
395 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
398 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
406 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
411 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
423 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
439 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp390 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
392 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
395 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
398 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
406 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
411 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
423 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
439 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp390 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
392 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
395 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
398 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
406 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
411 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
423 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
439 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp390 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex; in tryAddToFoldList() local
392 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
395 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
398 CommuteOpNo = CommuteIdx0; in tryAddToFoldList()
406 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() || in tryAddToFoldList()
411 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1)) in tryAddToFoldList()
423 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0; in tryAddToFoldList()
439 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1); in tryAddToFoldList()
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp390 unsigned CommuteIdx0 = TargetInstrInfo::CommuteAnyOperandIndex;
392 bool CanCommute = TII->findCommutedOpIndices(*MI, CommuteIdx0, CommuteIdx1);
395 if (CommuteIdx0 == OpNo)
398 CommuteOpNo = CommuteIdx0;
406 if (CanCommute && (!MI->getOperand(CommuteIdx0).isReg() ||
411 !TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1))
423 unsigned OtherIdx = CommuteOpNo == CommuteIdx0 ? CommuteIdx1 : CommuteIdx0;
439 TII->commuteInstruction(*MI, false, CommuteIdx0, CommuteIdx1);