| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LexicalScopes.cpp | 75 const MachineInstr *PrevMI = nullptr; in extractLexicalScopes() local 86 PrevMI = &MInsn; in extractLexicalScopes() 92 PrevMI = &MInsn; in extractLexicalScopes() 100 InsnRange R(RangeBeginMI, PrevMI); in extractLexicalScopes() 109 PrevMI = &MInsn; in extractLexicalScopes() 114 if (RangeBeginMI && PrevMI && PrevDL) { in extractLexicalScopes() 115 InsnRange R(RangeBeginMI, PrevMI); in extractLexicalScopes()
|
| H A D | ImplicitNullChecks.cpp | 183 const MachineInstr *PrevMI) const; 329 const MachineInstr *PrevMI) const { in areMemoryOpsAliased() 331 if (!(PrevMI->mayStore() || PrevMI->mayLoad())) in areMemoryOpsAliased() 334 if (!(MI.mayStore() || PrevMI->mayStore())) in areMemoryOpsAliased() 340 if (PrevMI->memoperands_empty()) in areMemoryOpsAliased() 341 return PrevMI->mayStore() ? AR_WillAliasEverything : AR_MayAlias; in areMemoryOpsAliased() 347 for (MachineMemOperand *MMO2 : PrevMI->memoperands()) { in areMemoryOpsAliased() 468 for (auto *PrevMI : PrevInsts) { in isSuitableMemoryOp() local 469 AliasResult AR = areMemoryOpsAliased(MI, PrevMI); in isSuitableMemoryOp()
|
| H A D | TwoAddressInstructionPass.cpp | 1622 MachineBasicBlock::iterator PrevMI = MI; in processTiedPairs() local 1623 --PrevMI; in processTiedPairs() 1624 DistanceMap.insert(std::make_pair(&*PrevMI, Dist)); in processTiedPairs() 1628 LastCopyIdx = LIS->InsertMachineInstrInMaps(*PrevMI).getRegSlot(); in processTiedPairs() 1692 MachineBasicBlock::iterator PrevMI = MI; in processTiedPairs() local 1693 --PrevMI; in processTiedPairs() 1694 LV->addVirtualRegisterKilled(RegB, *PrevMI); in processTiedPairs()
|
| H A D | MachineLICM.cpp | 1516 for (MachineInstr *PrevMI : PrevMIs) in LookForDuplicate() 1517 if (TII->produceSameValue(*MI, *PrevMI, (PreRegAlloc ? MRI : nullptr))) in LookForDuplicate() 1518 return PrevMI; in LookForDuplicate()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | AntiDepBreaker.h | 81 MachineInstr *PrevMI = DV.second; in UpdateDbgValues() local 82 if ((PrevMI == ParentMI) || (PrevMI == PrevDbgMI)) { in UpdateDbgValues()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVInsertVSETVLI.cpp | 900 bool canMutatePriorConfig(const MachineInstr &PrevMI, const MachineInstr &MI, 1614 const MachineInstr &PrevMI, const MachineInstr &MI, in canMutatePriorConfig() argument 1624 if (RISCVInstrInfo::isVLPreservingConfig(PrevMI)) in canMutatePriorConfig() 1626 if (!getInfoForVSETVLI(PrevMI).hasEquallyZeroAVL(getInfoForVSETVLI(MI), in canMutatePriorConfig() 1637 VNInfo *PrevVNI = getVNInfoFromReg(AVL.getReg(), PrevMI, LIS); in canMutatePriorConfig() 1643 assert(PrevMI.getOperand(2).isImm() && MI.getOperand(2).isImm()); in canMutatePriorConfig() 1644 auto PriorVType = PrevMI.getOperand(2).getImm(); in canMutatePriorConfig()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 1464 MachineInstr *PrevMI = &MI; variable 1465 while (PrevMI != &DefMI) { 1466 Register PrevRegSrc = getArtifactSrcReg(*PrevMI); 1480 PrevMI = TmpDef; 1483 if (PrevMI == &DefMI) {
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86FloatingPoint.cpp | 455 MachineInstr *PrevMI = nullptr; in processBasicBlock() local 457 PrevMI = &*std::prev(I); in processBasicBlock() 494 MachineBasicBlock::iterator PrevI = PrevMI; in processBasicBlock() 509 (void)PrevMI; in processBasicBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIWholeQuadMode.cpp | 658 if (MachineInstr *PrevMI = MI.getPrevNode()) { in propagateInstruction() local 660 if (!PrevMI->isPHI()) { in propagateInstruction() 661 InstrInfo &PrevII = Instructions[PrevMI]; in propagateInstruction() 664 Worklist.emplace_back(PrevMI); in propagateInstruction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMLoadStoreOptimizer.cpp | 2048 MachineInstr &PrevMI = *PrevI; in MergeReturnIntoLDM() local 2049 unsigned Opcode = PrevMI.getOpcode(); in MergeReturnIntoLDM() 2053 MachineOperand &MO = PrevMI.getOperand(PrevMI.getNumOperands() - 1); in MergeReturnIntoLDM() 2059 PrevMI.setDesc(TII->get(NewOpc)); in MergeReturnIntoLDM() 2061 PrevMI.copyImplicitOps(*MBB.getParent(), *MBBI); in MergeReturnIntoLDM()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ExpandPseudoInsts.cpp | 994 MachineInstr &PrevMI = *std::prev(MBBI); in expandRestoreZA() local 995 MachineBasicBlock *SMBB = MBB.splitAt(PrevMI, /*UpdateLiveIns*/ true); in expandRestoreZA() 1093 MachineInstr &PrevMI = *std::prev(MBBI); in expandCondSMToggle() local 1094 MachineBasicBlock *SMBB = MBB.splitAt(PrevMI, /*UpdateLiveIns*/ true); in expandCondSMToggle()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 963 MachineInstr *PrevMI = nullptr; in parseBasicBlock() local 980 PrevMI->setFlag(MachineInstr::BundledSucc); in parseBasicBlock() 983 PrevMI = MI; in parseBasicBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 5945 MachineInstr *PrevMI = ScalarToVec; in selectBuildVector() local 5952 PrevMI = &*emitLaneInsert(std::nullopt, DstVec, OpReg, i - 1, RB, MIB); in selectBuildVector() 5953 DstVec = PrevMI->getOperand(0).getReg(); in selectBuildVector() 5999 PrevMI->getOperand(0).setReg(I.getOperand(0).getReg()); in selectBuildVector() 6000 constrainSelectedInstRegOperands(*PrevMI, TII, TRI, RBI); in selectBuildVector() 6002 Register DstReg = PrevMI->getOperand(0).getReg(); in selectBuildVector() 6003 if (PrevMI == ScalarToVec && DstReg.isVirtual()) { in selectBuildVector()
|