| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTaggingPreRA.cpp | 171 for (MachineInstr &UseI : in uncheckUsesOf() 173 if (isUncheckedLoadOrStoreOpcode(UseI.getOpcode())) { in uncheckUsesOf() 175 unsigned OpIdx = TII->getLoadStoreImmIdx(UseI.getOpcode()) - 1; in uncheckUsesOf() 176 if (UseI.getOperand(OpIdx).isReg() && in uncheckUsesOf() 177 UseI.getOperand(OpIdx).getReg() == TaggedReg) { in uncheckUsesOf() 178 UseI.getOperand(OpIdx).ChangeToFrameIndex(FI); in uncheckUsesOf() 179 UseI.getOperand(OpIdx).setTargetFlags(AArch64II::MO_TAGGED); in uncheckUsesOf() 181 } else if (UseI.isCopy() && UseI.getOperand(0).getReg().isVirtual()) { in uncheckUsesOf() 182 uncheckUsesOf(UseI.getOperand(0).getReg(), FI); in uncheckUsesOf() 270 for (auto &UseI : MRI->use_instructions(UseReg)) { in findFirstSlotCandidate() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600EmitClauseMarkers.cpp | 184 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) { in canClauseLocalKillFitInClause() local 185 AluInstCount += OccupiedDwords(*UseI); in canClauseLocalKillFitInClause() 187 if (!SubstituteKCacheBank(*UseI, KCacheBanks, false)) in canClauseLocalKillFitInClause() 202 if (UseI->readsRegister(MO.getReg(), &TRI)) in canClauseLocalKillFitInClause() 206 if (UseI != Def && UseI->killsRegister(MO.getReg(), &TRI)) in canClauseLocalKillFitInClause()
|
| H A D | GCNSubtarget.cpp | 548 MachineInstr *UseI = Use->getInstr(); in adjustSchedDependency() local 563 } else if (UseI->isBundle()) { in adjustSchedDependency() 566 MachineBasicBlock::const_instr_iterator I(UseI->getIterator()); in adjustSchedDependency() 567 MachineBasicBlock::const_instr_iterator E(UseI->getParent()->instr_end()); in adjustSchedDependency() 581 DefI, DefOpIdx, UseI, UseOpIdx)); in adjustSchedDependency()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MIRCanonicalizerPass.cpp | 231 MachineBasicBlock::iterator UseI = BBE; in rescheduleCanonically() local 235 if (DefI != BBE && UseI != BBE) in rescheduleCanonically() 244 UseI = BBI; in rescheduleCanonically() 249 if (DefI == BBE || UseI == BBE) in rescheduleCanonically() 256 UseI->dump(); in rescheduleCanonically() 261 MBB->splice(UseI, MBB, DefI); in rescheduleCanonically() 267 auto UseI = llvm::find_if(MBB->instrs(), [&](MachineInstr &MI) -> bool { in rescheduleCanonically() local 271 if (UseI == MBB->instr_end()) in rescheduleCanonically() 278 [&]() -> MachineBasicBlock::iterator { return UseI; }); in rescheduleCanonically()
|
| H A D | MachineCopyPropagation.cpp | 479 const MachineInstr &UseI, unsigned UseIdx); 481 const MachineInstr &UseI, 638 const MachineInstr &Copy, const MachineInstr &UseI, unsigned UseIdx) { in isBackwardPropagatableRegClassCopy() argument 644 UseI.getRegClassConstraint(UseIdx, TII, TRI)) in isBackwardPropagatableRegClassCopy() 656 const MachineInstr &UseI, in isForwardableRegClassCopy() argument 665 UseI.getRegClassConstraint(UseIdx, TII, TRI)) in isForwardableRegClassCopy() 668 auto UseICopyOperands = isCopyInstr(UseI, *TII, UseCopyInstr); in isForwardableRegClassCopy()
|
| H A D | SplitKit.cpp | 208 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo() local 209 UseI = UseSlots.begin(); in calcLiveBlockInfo() 224 if (UseI == UseE || *UseI >= Stop) { in calcLiveBlockInfo() 232 BI.FirstInstr = *UseI; in calcLiveBlockInfo() 234 do ++UseI; in calcLiveBlockInfo() 235 while (UseI != UseE && *UseI < Stop); in calcLiveBlockInfo() 236 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSplitDouble.cpp | 247 MachineInstr *UseI = Op.getParent(); in partitionRegisters() local 248 if (isFixedInstr(UseI)) in partitionRegisters() 250 for (MachineOperand &MO : UseI->operands()) { in partitionRegisters() 430 MachineInstr *UseI = U->getParent(); in isProfitable() local 431 if (isFixedInstr(UseI)) { in isProfitable() 434 for (auto &Op : UseI->operands()) { in isProfitable() 445 if (UseI->isPHI()) { in isProfitable() 446 const MachineBasicBlock *PB = UseI->getParent(); in isProfitable() 452 int32_t P = profit(UseI); in isProfitable() 540 const MachineInstr *UseI = I->getParent(); in collectIndRegsForLoop() local [all …]
|
| H A D | BitTracker.cpp | 980 for (MachineInstr &UseI : MRI.use_nodbg_instructions(Reg)) in visitUsesOf() 981 UseQ.push(&UseI); in visitUsesOf() 1098 MachineInstr &UseI = *UseQ.front(); in runUseQueue() local 1101 if (!InstrExec.count(&UseI)) in runUseQueue() 1103 if (UseI.isPHI()) in runUseQueue() 1104 visitPHI(UseI); in runUseQueue() 1105 else if (!UseI.isBranch()) in runUseQueue() 1106 visitNonBranch(UseI); in runUseQueue() 1108 visitBranchesFrom(UseI); in runUseQueue()
|
| H A D | HexagonBitSimplify.cpp | 982 const MachineInstr *UseI = MO.getParent(); in isDead() local 983 if (UseI->isDebugInstr()) in isDead() 985 if (UseI->isPHI()) { in isDead() 986 assert(!UseI->getOperand(0).getSubReg()); in isDead() 987 Register DR = UseI->getOperand(0).getReg(); in isDead() 1226 MachineInstr &UseI = *I->getParent(); in computeUsedBits() local 1227 if (UseI.isPHI() || UseI.isCopy()) { in computeUsedBits() 1228 Register DefR = UseI.getOperand(0).getReg(); in computeUsedBits() 1233 if (!computeUsedBits(UseI, I.getOperandNo(), Used, B)) in computeUsedBits() 3120 const MachineInstr *UseI = MO.getParent(); in processLoop() local [all …]
|
| H A D | HexagonLoopIdiomRecognition.cpp | 589 bool classifyInst(Instruction *UseI, ValueSeq &Early, ValueSeq &Late); 1179 bool PolynomialMultiplyRecognize::classifyInst(Instruction *UseI, in classifyInst() argument 1184 if (UseI->getOpcode() == Instruction::Select) { in classifyInst() 1185 Value *TV = UseI->getOperand(1), *FV = UseI->getOperand(2); in classifyInst() 1189 Early.insert(UseI); in classifyInst() 1193 Late.insert(UseI); in classifyInst() 1200 if (UseI->getNumOperands() == 0) in classifyInst() 1204 for (auto &I : UseI->operands()) { in classifyInst() 1225 Early.insert(UseI); in classifyInst() 1227 Late.insert(UseI); in classifyInst() [all …]
|
| H A D | HexagonGenPredicate.cpp | 215 MachineInstr *UseI = I->getParent(); in processPredicateGPR() local 216 if (isConvertibleToPredForm(UseI)) in processPredicateGPR() 217 PUsers.insert(UseI); in processPredicateGPR()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRegStackify.cpp | 338 const MachineInstr *UseI = Use->getParent(); in isSafeToMove() local 340 assert(UseI->getParent() == Insert->getParent()); in isSafeToMove() 363 auto E = std::next(MachineBasicBlock::const_iterator(UseI)); in isSafeToMove()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 339 [&](MachineInstr &UseI) { in collectCmovCandidates() argument 340 return UseI.getOpcode() == X86::SUBREG_TO_REG; in collectCmovCandidates()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 961 for (User *UseI : IVOpnd->users()) { in shouldSpeculateInstrs() 962 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs()
|
| H A D | SimplifyIndVar.cpp | 1095 Instruction *UseI) { in getPostIncRangeInfo() argument 1096 DefUserPair Key(Def, UseI); in getPostIncRangeInfo() 1106 void updatePostIncRangeInfo(Value *Def, Instruction *UseI, ConstantRange R) { in updatePostIncRangeInfo() argument 1107 DefUserPair Key(Def, UseI); in updatePostIncRangeInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | BareMetal.cpp | 98 bool UseI = (Arch == "rv32i") || (Arch == "rv32ic"); // ic => i in findRISCVMultilibs() local 103 addMultilibFlag(UseI, "-march=rv32i", Flags); in findRISCVMultilibs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 2122 if (auto *UseI = dyn_cast<Instruction>(U)) in emitInstructionAnnot() local 2123 if (!isa<PHINode>(UseI) || DT.dominates(ParentBB, UseI->getParent())) in emitInstructionAnnot() 2124 printResult(UseI->getParent()); in emitInstructionAnnot()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 3339 auto UseI = find(Inc.UserInst->operands(), Inc.IVOperand); in FinalizeChain() local 3340 assert(UseI != Inc.UserInst->op_end() && "cannot find IV operand"); in FinalizeChain() 3341 IVIncSet.insert(UseI); in FinalizeChain() 3517 User::op_iterator UseI = in CollectFixupsAndInitialFormulae() local 3519 assert(UseI != UserInst->op_end() && "cannot find IV operand"); in CollectFixupsAndInitialFormulae() 3520 if (IVIncSet.count(UseI)) { in CollectFixupsAndInitialFormulae() 3521 LLVM_DEBUG(dbgs() << "Use is in profitable chain: " << **UseI << '\n'); in CollectFixupsAndInitialFormulae()
|