| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/ |
| H A D | AArch64StackTaggingPreRA.cpp | 178 for (MachineInstr &UseI : in uncheckUsesOf() 180 if (isUncheckedLoadOrStoreOpcode(UseI.getOpcode())) { in uncheckUsesOf() 182 unsigned OpIdx = TII->getLoadStoreImmIdx(UseI.getOpcode()) - 1; in uncheckUsesOf() 183 if (UseI.getOperand(OpIdx).isReg() && in uncheckUsesOf() 184 UseI.getOperand(OpIdx).getReg() == TaggedReg) { in uncheckUsesOf() 185 UseI.getOperand(OpIdx).ChangeToFrameIndex(FI); in uncheckUsesOf() 186 UseI.getOperand(OpIdx).setTargetFlags(AArch64II::MO_TAGGED); in uncheckUsesOf() 188 } else if (UseI.isCopy() && UseI.getOperand(0).getReg().isVirtual()) { in uncheckUsesOf() 189 uncheckUsesOf(UseI.getOperand(0).getReg(), FI); in uncheckUsesOf() 277 for (auto &UseI : MRI->use_instructions(UseReg)) { in findFirstSlotCandidate() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | R600EmitClauseMarkers.cpp | 195 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) { in canClauseLocalKillFitInClause() local 196 AluInstCount += OccupiedDwords(*UseI); in canClauseLocalKillFitInClause() 198 if (!SubstituteKCacheBank(*UseI, KCacheBanks, false)) in canClauseLocalKillFitInClause() 213 if (UseI->readsRegister(MOI->getReg(), &TRI)) in canClauseLocalKillFitInClause() 217 if (UseI != Def && UseI->killsRegister(MOI->getReg(), &TRI)) in canClauseLocalKillFitInClause()
|
| H A D | AMDGPUSubtarget.cpp | 825 MachineInstr *UseI = Use->getInstr(); in adjustSchedDependency() local 840 } else if (UseI->isBundle()) { in adjustSchedDependency() 843 MachineBasicBlock::const_instr_iterator I(UseI->getIterator()); in adjustSchedDependency() 844 MachineBasicBlock::const_instr_iterator E(UseI->getParent()->instr_end()); in adjustSchedDependency() 858 DefI, DefOpIdx, UseI, UseOpIdx)); in adjustSchedDependency()
|
| H A D | GCNSchedStrategy.cpp | 1254 MachineInstr *UseI = &*DAG.MRI.use_instr_nodbg_begin(Reg); in collectRematerializableInstructions() local 1255 if (Def->getParent() == UseI->getParent()) in collectRematerializableInstructions() 1266 RematerializableInsts[I][Def] = UseI; in collectRematerializableInstructions()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MIRCanonicalizerPass.cpp | 230 MachineBasicBlock::iterator UseI = BBE; in rescheduleCanonically() local 234 if (DefI != BBE && UseI != BBE) in rescheduleCanonically() 243 UseI = BBI; in rescheduleCanonically() 248 if (DefI == BBE || UseI == BBE) in rescheduleCanonically() 255 UseI->dump(); in rescheduleCanonically() 260 MBB->splice(UseI, MBB, DefI); in rescheduleCanonically() 266 auto UseI = llvm::find_if(MBB->instrs(), [&](MachineInstr &MI) -> bool { in rescheduleCanonically() local 270 if (UseI == MBB->instr_end()) in rescheduleCanonically() 277 [&]() -> MachineBasicBlock::iterator { return UseI; }); in rescheduleCanonically()
|
| H A D | MachineCopyPropagation.cpp | 332 const MachineInstr &UseI, unsigned UseIdx); 334 const MachineInstr &UseI, 443 const MachineInstr &Copy, const MachineInstr &UseI, unsigned UseIdx) { in isBackwardPropagatableRegClassCopy() argument 449 UseI.getRegClassConstraint(UseIdx, TII, TRI)) in isBackwardPropagatableRegClassCopy() 461 const MachineInstr &UseI, in isForwardableRegClassCopy() argument 470 UseI.getRegClassConstraint(UseIdx, TII, TRI)) in isForwardableRegClassCopy() 473 auto UseICopyOperands = isCopyInstr(UseI, *TII, UseCopyInstr); in isForwardableRegClassCopy()
|
| H A D | SplitKit.cpp | 206 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo() local 207 UseI = UseSlots.begin(); in calcLiveBlockInfo() 222 if (UseI == UseE || *UseI >= Stop) { in calcLiveBlockInfo() 230 BI.FirstInstr = *UseI; in calcLiveBlockInfo() 232 do ++UseI; in calcLiveBlockInfo() 233 while (UseI != UseE && *UseI < Stop); in calcLiveBlockInfo() 234 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonSplitDouble.cpp | 253 MachineInstr *UseI = Op.getParent(); in partitionRegisters() local 254 if (isFixedInstr(UseI)) in partitionRegisters() 256 for (unsigned i = 0, n = UseI->getNumOperands(); i < n; ++i) { in partitionRegisters() 257 MachineOperand &MO = UseI->getOperand(i); in partitionRegisters() 437 MachineInstr *UseI = U->getParent(); in isProfitable() local 438 if (isFixedInstr(UseI)) { in isProfitable() 441 for (auto &Op : UseI->operands()) { in isProfitable() 452 if (UseI->isPHI()) { in isProfitable() 453 const MachineBasicBlock *PB = UseI->getParent(); in isProfitable() 459 int32_t P = profit(UseI); in isProfitable() [all …]
|
| H A D | BitTracker.cpp | 986 for (MachineInstr &UseI : MRI.use_nodbg_instructions(Reg)) in visitUsesOf() 987 UseQ.push(&UseI); in visitUsesOf() 1104 MachineInstr &UseI = *UseQ.front(); in runUseQueue() local 1107 if (!InstrExec.count(&UseI)) in runUseQueue() 1109 if (UseI.isPHI()) in runUseQueue() 1110 visitPHI(UseI); in runUseQueue() 1111 else if (!UseI.isBranch()) in runUseQueue() 1112 visitNonBranch(UseI); in runUseQueue() 1114 visitBranchesFrom(UseI); in runUseQueue()
|
| H A D | HexagonBitSimplify.cpp | 1004 const MachineInstr *UseI = MO.getParent(); in isDead() local 1005 if (UseI->isDebugValue()) in isDead() 1007 if (UseI->isPHI()) { in isDead() 1008 assert(!UseI->getOperand(0).getSubReg()); in isDead() 1009 Register DR = UseI->getOperand(0).getReg(); in isDead() 1248 MachineInstr &UseI = *I->getParent(); in computeUsedBits() local 1249 if (UseI.isPHI() || UseI.isCopy()) { in computeUsedBits() 1250 Register DefR = UseI.getOperand(0).getReg(); in computeUsedBits() 1255 if (!computeUsedBits(UseI, I.getOperandNo(), Used, B)) in computeUsedBits() 3151 const MachineInstr *UseI = MO.getParent(); in processLoop() local [all …]
|
| H A D | HexagonLoopIdiomRecognition.cpp | 599 bool classifyInst(Instruction *UseI, ValueSeq &Early, ValueSeq &Late); 1198 bool PolynomialMultiplyRecognize::classifyInst(Instruction *UseI, in classifyInst() argument 1203 if (UseI->getOpcode() == Instruction::Select) { in classifyInst() 1204 Value *TV = UseI->getOperand(1), *FV = UseI->getOperand(2); in classifyInst() 1208 Early.insert(UseI); in classifyInst() 1212 Late.insert(UseI); in classifyInst() 1219 if (UseI->getNumOperands() == 0) in classifyInst() 1223 for (auto &I : UseI->operands()) { in classifyInst() 1244 Early.insert(UseI); in classifyInst() 1246 Late.insert(UseI); in classifyInst() [all …]
|
| H A D | HexagonGenPredicate.cpp | 238 MachineInstr *UseI = I->getParent(); in processPredicateGPR() local 239 if (isConvertibleToPredForm(UseI)) in processPredicateGPR() 240 PUsers.insert(UseI); in processPredicateGPR()
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/ |
| H A D | BareMetal.cpp | 75 bool UseI = (Arch == "rv32i") || (Arch == "rv32ic"); // ic => i in findRISCVMultilibs() local 80 addMultilibFlag(UseI, "march=rv32i", Flags); in findRISCVMultilibs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyRegStackify.cpp | 317 const MachineInstr *UseI = Use->getParent(); in isSafeToMove() local 319 assert(UseI->getParent() == Insert->getParent()); in isSafeToMove() 342 auto E = std::next(MachineBasicBlock::const_iterator(UseI)); in isSafeToMove()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | LoopRotationUtils.cpp | 741 for (User *UseI : IVOpnd->users()) { in shouldSpeculateInstrs() 742 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs()
|
| H A D | SimplifyIndVar.cpp | 1034 Instruction *UseI) { in getPostIncRangeInfo() argument 1035 DefUserPair Key(Def, UseI); in getPostIncRangeInfo() 1045 void updatePostIncRangeInfo(Value *Def, Instruction *UseI, ConstantRange R) { in updatePostIncRangeInfo() argument 1046 DefUserPair Key(Def, UseI); in updatePostIncRangeInfo()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86CmovConversion.cpp | 338 [&](MachineInstr &UseI) { in collectCmovCandidates() argument 339 return UseI.getOpcode() == X86::SUBREG_TO_REG; in collectCmovCandidates()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | LazyValueInfo.cpp | 2027 if (auto *UseI = dyn_cast<Instruction>(U)) in emitInstructionAnnot() local 2028 if (!isa<PHINode>(UseI) || DT.dominates(ParentBB, UseI->getParent())) in emitInstructionAnnot() 2029 printResult(UseI->getParent()); in emitInstructionAnnot()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | LoopStrengthReduce.cpp | 3165 auto UseI = find(Inc.UserInst->operands(), Inc.IVOperand); in FinalizeChain() local 3166 assert(UseI != Inc.UserInst->op_end() && "cannot find IV operand"); in FinalizeChain() 3167 IVIncSet.insert(UseI); in FinalizeChain() 3307 User::op_iterator UseI = in CollectFixupsAndInitialFormulae() local 3309 assert(UseI != UserInst->op_end() && "cannot find IV operand"); in CollectFixupsAndInitialFormulae() 3310 if (IVIncSet.count(UseI)) { in CollectFixupsAndInitialFormulae() 3311 LLVM_DEBUG(dbgs() << "Use is in profitable chain: " << **UseI << '\n'); in CollectFixupsAndInitialFormulae()
|