| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MacroFusion.cpp | 28 if (FirstMI == nullptr) in isArithmeticBccPair() 79 if (FirstMI == nullptr) in isArithmeticCbzPair() 127 return FirstMI == nullptr || FirstMI->getOpcode() == AArch64::AESErr; in isAESPair() 131 return FirstMI == nullptr || FirstMI->getOpcode() == AArch64::AESDrr; in isAESPair() 144 if (FirstMI == nullptr) in isCryptoEORPair() 166 if ((FirstMI == nullptr || FirstMI->getOpcode() == AArch64::ADRP) && in isLiteralsPair() 171 if ((FirstMI == nullptr || FirstMI->getOpcode() == AArch64::MOVZWi) && in isLiteralsPair() 177 if((FirstMI == nullptr || FirstMI->getOpcode() == AArch64::MOVZXi) && in isLiteralsPair() 221 if (FirstMI == nullptr) in isAddressLdStPair() 241 if (FirstMI == nullptr) in isCCSelectPair() [all …]
|
| H A D | AArch64LoadStoreOptimizer.cpp | 574 unsigned OpcA = FirstMI.getOpcode(); in isPreLdStPairCandidate() 1302 assert(!FirstMI.hasOrderedMemoryRef() && in areCandidatesToMergeOrPair() 1303 !TII->isLdStPairSuppressed(FirstMI) && in areCandidatesToMergeOrPair() 1306 unsigned OpcA = FirstMI.getOpcode(); in areCandidatesToMergeOrPair() 1337 if (isPreLdStPairCandidate(FirstMI, MI)) in areCandidatesToMergeOrPair() 1351 if (!FirstMI.mayStore()) in canRenameUpToDef() 1363 if (!getLdStRegOp(FirstMI).isKill() && in canRenameUpToDef() 1364 !any_of(FirstMI.operands(), in canRenameUpToDef() 1480 auto &MF = *FirstMI.getParent()->getParent(); in tryToFindRegisterToRename() 1527 MachineInstr &FirstMI = *I; in findMatchingInsn() local [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMMacroFusion.cpp | 22 static bool isAESPair(const MachineInstr *FirstMI, in isAESPair() argument 28 return FirstMI == nullptr || FirstMI->getOpcode() == ARM::AESE; in isAESPair() 31 return FirstMI == nullptr || FirstMI->getOpcode() == ARM::AESD; in isAESPair() 38 static bool isLiteralsPair(const MachineInstr *FirstMI, in isLiteralsPair() argument 41 if ((FirstMI == nullptr || FirstMI->getOpcode() == ARM::MOVi16) && in isLiteralsPair() 53 const MachineInstr *FirstMI, in shouldScheduleAdjacent() argument 57 if (ST.hasFuseAES() && isAESPair(FirstMI, SecondMI)) in shouldScheduleAdjacent() 59 if (ST.hasFuseLiterals() && isLiteralsPair(FirstMI, SecondMI)) in shouldScheduleAdjacent()
|
| H A D | ARMLoadStoreOptimizer.cpp | 1003 const MachineInstr *FirstMI = MemOps[0].MI; in FormCandidates() local 1004 unsigned Opcode = FirstMI->getOpcode(); in FormCandidates() 1006 unsigned Size = getLSMultipleTransferSize(FirstMI); in FormCandidates()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCMacroFusion.cpp | 66 static bool matchingRegOps(const MachineInstr &FirstMI, in matchingRegOps() argument 70 const MachineOperand &Op1 = FirstMI.getOperand(FirstMIOpIndex); in matchingRegOps() 81 const MachineInstr &FirstMI, in checkOpConstraints() argument 112 const MachineOperand &SI = FirstMI.getOperand(2); in checkOpConstraints() 146 const MachineInstr *FirstMI, in shouldScheduleAdjacent() argument 171 if (!FirstMI) in shouldScheduleAdjacent() 175 if (!Feature.hasOp1(FirstMI->getOpcode())) in shouldScheduleAdjacent() 182 if (!matchingRegOps(*FirstMI, 0, SecondMI, *DepOpIdx)) in shouldScheduleAdjacent() 187 if (checkOpConstraints(Feature.getKind(), *FirstMI, SecondMI)) in shouldScheduleAdjacent()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUMacroFusion.cpp | 28 const MachineInstr *FirstMI, in shouldScheduleAdjacent() argument 40 if (!FirstMI) in shouldScheduleAdjacent() 43 const MachineBasicBlock &MBB = *FirstMI->getParent(); in shouldScheduleAdjacent() 48 return FirstMI->definesRegister(Src2->getReg(), TRI); in shouldScheduleAdjacent()
|
| H A D | SILowerControlFlow.cpp | 662 MachineInstr *FirstMI = &*MBB->begin(); in lowerInitExec() local 667 if (DefInstr != FirstMI) { in lowerInitExec() 671 MBB->insert(FirstMI, DefInstr); in lowerInitExec() 676 FirstMI = &*std::next(FirstMI->getIterator()); in lowerInitExec() 686 auto BfeMI = BuildMI(*MBB, FirstMI, DL, TII->get(AMDGPU::S_BFE_U32), CountReg) in lowerInitExec() 690 BuildMI(*MBB, FirstMI, DL, in lowerInitExec() 694 auto CmpMI = BuildMI(*MBB, FirstMI, DL, TII->get(AMDGPU::S_CMP_EQ_U32)) in lowerInitExec() 698 BuildMI(*MBB, FirstMI, DL, in lowerInitExec()
|
| H A D | SIInstrInfo.cpp | 613 MachineInstr *FirstMI = nullptr, *LastMI = nullptr; in expandSGPRCopy() local 636 if (!FirstMI) in expandSGPRCopy() 637 FirstMI = LastMI; in expandSGPRCopy() 643 assert(FirstMI && LastMI); in expandSGPRCopy() 645 std::swap(FirstMI, LastMI); in expandSGPRCopy() 647 FirstMI->addOperand( in expandSGPRCopy()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineInstrBundle.cpp | 109 static DebugLoc getDebugLoc(MachineBasicBlock::instr_iterator FirstMI, in getDebugLoc() argument 111 for (auto MII = FirstMI; MII != LastMI; ++MII) in getDebugLoc() 124 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle() argument 126 assert(FirstMI != LastMI && "Empty bundle?"); in finalizeBundle() 127 MIBundleBuilder Bundle(MBB, FirstMI, LastMI); in finalizeBundle() 134 BuildMI(MF, getDebugLoc(FirstMI, LastMI), TII->get(TargetOpcode::BUNDLE)); in finalizeBundle() 146 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle() 229 for (auto MII = FirstMI; MII != LastMI; ++MII) { in finalizeBundle() 244 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle() argument 246 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle() [all …]
|
| H A D | XRayInstrumentation.cpp | 209 auto &FirstMI = *FirstMBB.begin(); in runOnMachineFunction() local 212 FirstMI.emitError("An attempt to perform XRay instrumentation for an" in runOnMachineFunction() 220 BuildMI(FirstMBB, FirstMI, FirstMI.getDebugLoc(), in runOnMachineFunction()
|
| H A D | VirtRegMap.cpp | 460 MachineInstr *FirstMI = MIs.back(); in expandCopyBundle() local 490 MachineInstr *BundleStart = FirstMI; in expandCopyBundle() 503 if (Indexes && BundledMI != FirstMI) in expandCopyBundle()
|
| H A D | ModuloSchedule.cpp | 1300 MachineInstr *FirstMI = nullptr; in rewrite() local 1307 if (!FirstMI) in rewrite() 1308 FirstMI = MI; in rewrite() 1310 assert(FirstMI && "Failed to find first MI in schedule"); in rewrite() 1314 for (auto I = BB->getFirstNonPHI(); I != FirstMI->getIterator();) { in rewrite()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86MacroFusion.cpp | 36 const MachineInstr *FirstMI, in shouldScheduleAdjacent() argument 49 if (FirstMI == nullptr) in shouldScheduleAdjacent() 52 const X86::FirstMacroFusionInstKind TestKind = classifyFirst(*FirstMI); in shouldScheduleAdjacent()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonStoreWidening.cpp | 314 MachineInstr *FirstMI = *Begin; in selectStores() local 315 assert(!FirstMI->memoperands_empty() && "Expecting some memory operands"); in selectStores() 316 const MachineMemOperand &FirstMMO = getStoreTarget(FirstMI); in selectStores() 319 unsigned FirstOffset = getStoreOffset(FirstMI); in selectStores() 340 OG.push_back(FirstMI); in selectStores() 341 MachineInstr *S1 = FirstMI; in selectStores()
|
| H A D | HexagonVLIWPacketizer.cpp | 1802 MachineBasicBlock::instr_iterator FirstMI(OldPacketMIs.front()); in endPacket() local 1804 finalizeBundle(*MBB, FirstMI, LastMI); in endPacket() 1805 auto BundleMII = std::prev(FirstMI); in endPacket()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstrBundle.h | 28 MachineBasicBlock::instr_iterator FirstMI, 37 MachineBasicBlock::instr_iterator FirstMI);
|
| H A D | MacroFusion.h | 32 const MachineInstr *FirstMI,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 7144 MachineInstr *FirstMI = Selects.front(); in createPHIsForSelects() local 7145 unsigned CCValid = FirstMI->getOperand(3).getImm(); in createPHIsForSelects() 7146 unsigned CCMask = FirstMI->getOperand(4).getImm(); in createPHIsForSelects()
|