Home
last modified time | relevance | path

Searched refs:UseI (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/AMDGPU/
DR600EmitClauseMarkers.cpp196 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) { in canClauseLocalKillFitInClause() local
197 AluInstCount += OccupiedDwords(UseI); in canClauseLocalKillFitInClause()
199 if (!SubstituteKCacheBank(UseI, KCacheBanks, false)) in canClauseLocalKillFitInClause()
213 if (UseI->findRegisterUseOperandIdx(MOI->getReg())) in canClauseLocalKillFitInClause()
216 if (UseI != Def && UseI->findRegisterDefOperandIdx(MOI->getReg()) != -1) in canClauseLocalKillFitInClause()
/external/llvm/lib/Target/Hexagon/
DHexagonSplitDouble.cpp244 MachineInstr *UseI = Op.getParent(); in partitionRegisters() local
245 if (isFixedInstr(UseI)) in partitionRegisters()
247 for (unsigned i = 0, n = UseI->getNumOperands(); i < n; ++i) { in partitionRegisters()
248 MachineOperand &MO = UseI->getOperand(i); in partitionRegisters()
405 MachineInstr *UseI = U->getParent(); in isProfitable() local
406 if (isFixedInstr(UseI)) { in isProfitable()
409 for (auto &Op : UseI->operands()) { in isProfitable()
420 if (UseI->isPHI()) { in isProfitable()
421 const MachineBasicBlock *PB = UseI->getParent(); in isProfitable()
428 int32_t P = profit(UseI); in isProfitable()
[all …]
DHexagonBitSimplify.cpp930 MachineInstr *UseI = I->getParent(); in isDead() local
931 if (UseI->isDebugValue()) in isDead()
933 if (UseI->isPHI()) { in isDead()
934 assert(!UseI->getOperand(0).getSubReg()); in isDead()
935 unsigned DR = UseI->getOperand(0).getReg(); in isDead()
1173 MachineInstr &UseI = *I->getParent(); in computeUsedBits() local
1174 if (UseI.isPHI() || UseI.isCopy()) { in computeUsedBits()
1175 unsigned DefR = UseI.getOperand(0).getReg(); in computeUsedBits()
1180 if (!computeUsedBits(UseI, I.getOperandNo(), Used, B)) in computeUsedBits()
2531 MachineInstr *UseI = UI->getParent(); in processLoop() local
[all …]
DHexagonGenPredicate.cpp219 MachineInstr *UseI = I->getParent(); in processPredicateGPR() local
220 if (isConvertibleToPredForm(UseI)) in processPredicateGPR()
221 PUsers.insert(UseI); in processPredicateGPR()
DBitTracker.cpp982 MachineInstr *UseI = I->getParent(); in visitUsesOf() local
983 if (!InstrExec.count(UseI)) in visitUsesOf()
985 if (UseI->isPHI()) in visitUsesOf()
986 visitPHI(UseI); in visitUsesOf()
987 else if (!UseI->isBranch()) in visitUsesOf()
988 visitNonBranch(UseI); in visitUsesOf()
990 visitBranchesFrom(UseI); in visitUsesOf()
/external/llvm/lib/CodeGen/
DSplitKit.cpp175 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo() local
176 UseI = UseSlots.begin(); in calcLiveBlockInfo()
191 if (UseI == UseE || *UseI >= Stop) { in calcLiveBlockInfo()
200 BI.FirstInstr = *UseI; in calcLiveBlockInfo()
202 do ++UseI; in calcLiveBlockInfo()
203 while (UseI != UseE && *UseI < Stop); in calcLiveBlockInfo()
204 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp455 for (User *UseI : IVOpnd->users()) { in shouldSpeculateInstrs()
456 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs()
DLoopStrengthReduce.cpp2820 auto UseI = std::find(Inc.UserInst->op_begin(), Inc.UserInst->op_end(), in FinalizeChain() local
2822 assert(UseI != Inc.UserInst->op_end() && "cannot find IV operand"); in FinalizeChain()
2823 IVIncSet.insert(UseI); in FinalizeChain()
2954 User::op_iterator UseI = std::find(UserInst->op_begin(), UserInst->op_end(), in CollectFixupsAndInitialFormulae() local
2956 assert(UseI != UserInst->op_end() && "cannot find IV operand"); in CollectFixupsAndInitialFormulae()
2957 if (IVIncSet.count(UseI)) in CollectFixupsAndInitialFormulae()