/external/llvm/lib/Target/AMDGPU/ |
D | R600EmitClauseMarkers.cpp | 198 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) { in canClauseLocalKillFitInClause() local 199 AluInstCount += OccupiedDwords(*UseI); in canClauseLocalKillFitInClause() 201 if (!SubstituteKCacheBank(*UseI, KCacheBanks, false)) in canClauseLocalKillFitInClause() 215 if (UseI->findRegisterUseOperandIdx(MOI->getReg())) in canClauseLocalKillFitInClause() 218 if (UseI != Def && UseI->findRegisterDefOperandIdx(MOI->getReg()) != -1) in canClauseLocalKillFitInClause()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600EmitClauseMarkers.cpp | 211 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) { in canClauseLocalKillFitInClause() local 212 AluInstCount += OccupiedDwords(*UseI); in canClauseLocalKillFitInClause() 214 if (!SubstituteKCacheBank(*UseI, KCacheBanks, false)) in canClauseLocalKillFitInClause() 229 if (UseI->readsRegister(MOI->getReg())) in canClauseLocalKillFitInClause() 233 if (UseI != Def && UseI->killsRegister(MOI->getReg())) in canClauseLocalKillFitInClause()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MIRCanonicalizerPass.cpp | 262 MachineBasicBlock::iterator UseI = BBE; in rescheduleCanonically() local 266 if (DefI != BBE && UseI != BBE) in rescheduleCanonically() 275 UseI = BBI; in rescheduleCanonically() 280 if (DefI == BBE || UseI == BBE) in rescheduleCanonically() 287 UseI->dump(); in rescheduleCanonically() 292 MBB->splice(UseI, MBB, DefI); in rescheduleCanonically() 298 auto UseI = in rescheduleCanonically() local 302 if (UseI == MBB->instr_end()) in rescheduleCanonically() 308 E.second, MBB, [&]() -> MachineBasicBlock::iterator { return UseI; }); in rescheduleCanonically()
|
D | MachineCopyPropagation.cpp | 112 const MachineInstr &UseI, unsigned UseIdx); 254 const MachineInstr &UseI, in isForwardableRegClassCopy() argument 262 UseI.getRegClassConstraint(UseIdx, TII, TRI)) in isForwardableRegClassCopy() 265 if (!UseI.isCopy()) in isForwardableRegClassCopy() 285 TRI->getMinimalPhysRegClass(UseI.getOperand(0).getReg()); in isForwardableRegClassCopy()
|
D | SplitKit.cpp | 221 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo() local 222 UseI = UseSlots.begin(); in calcLiveBlockInfo() 237 if (UseI == UseE || *UseI >= Stop) { in calcLiveBlockInfo() 246 BI.FirstInstr = *UseI; in calcLiveBlockInfo() 248 do ++UseI; in calcLiveBlockInfo() 249 while (UseI != UseE && *UseI < Stop); in calcLiveBlockInfo() 250 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSplitDouble.cpp | 231 MachineInstr *UseI = Op.getParent(); in partitionRegisters() local 232 if (isFixedInstr(UseI)) in partitionRegisters() 234 for (unsigned i = 0, n = UseI->getNumOperands(); i < n; ++i) { in partitionRegisters() 235 MachineOperand &MO = UseI->getOperand(i); in partitionRegisters() 392 MachineInstr *UseI = U->getParent(); in isProfitable() local 393 if (isFixedInstr(UseI)) { in isProfitable() 396 for (auto &Op : UseI->operands()) { in isProfitable() 407 if (UseI->isPHI()) { in isProfitable() 408 const MachineBasicBlock *PB = UseI->getParent(); in isProfitable() 415 int32_t P = profit(UseI); in isProfitable() [all …]
|
D | HexagonBitSimplify.cpp | 922 MachineInstr *UseI = I->getParent(); in isDead() local 923 if (UseI->isDebugValue()) in isDead() 925 if (UseI->isPHI()) { in isDead() 926 assert(!UseI->getOperand(0).getSubReg()); in isDead() 927 unsigned DR = UseI->getOperand(0).getReg(); in isDead() 1165 MachineInstr &UseI = *I->getParent(); in computeUsedBits() local 1166 if (UseI.isPHI() || UseI.isCopy()) { in computeUsedBits() 1167 unsigned DefR = UseI.getOperand(0).getReg(); in computeUsedBits() 1172 if (!computeUsedBits(UseI, I.getOperandNo(), Used, B)) in computeUsedBits() 2536 MachineInstr *UseI = UI->getParent(); in processLoop() local [all …]
|
D | BitTracker.cpp | 982 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()
|
D | HexagonGenPredicate.cpp | 217 MachineInstr *UseI = I->getParent(); in processPredicateGPR() local 218 if (isConvertibleToPredForm(UseI)) in processPredicateGPR() 219 PUsers.insert(UseI); in processPredicateGPR()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonSplitDouble.cpp | 254 MachineInstr *UseI = Op.getParent(); in partitionRegisters() local 255 if (isFixedInstr(UseI)) in partitionRegisters() 257 for (unsigned i = 0, n = UseI->getNumOperands(); i < n; ++i) { in partitionRegisters() 258 MachineOperand &MO = UseI->getOperand(i); in partitionRegisters() 439 MachineInstr *UseI = U->getParent(); in isProfitable() local 440 if (isFixedInstr(UseI)) { in isProfitable() 443 for (auto &Op : UseI->operands()) { in isProfitable() 454 if (UseI->isPHI()) { in isProfitable() 455 const MachineBasicBlock *PB = UseI->getParent(); in isProfitable() 461 int32_t P = profit(UseI); in isProfitable() [all …]
|
D | BitTracker.cpp | 985 for (MachineInstr &UseI : MRI.use_nodbg_instructions(Reg)) in visitUsesOf() 986 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()
|
D | HexagonBitSimplify.cpp | 978 MachineInstr *UseI = I->getParent(); in isDead() local 979 if (UseI->isDebugValue()) in isDead() 981 if (UseI->isPHI()) { in isDead() 982 assert(!UseI->getOperand(0).getSubReg()); in isDead() 983 unsigned DR = UseI->getOperand(0).getReg(); in isDead() 1222 MachineInstr &UseI = *I->getParent(); in computeUsedBits() local 1223 if (UseI.isPHI() || UseI.isCopy()) { in computeUsedBits() 1224 unsigned DefR = UseI.getOperand(0).getReg(); in computeUsedBits() 1229 if (!computeUsedBits(UseI, I.getOperandNo(), Used, B)) in computeUsedBits() 3112 MachineInstr *UseI = UI->getParent(); in processLoop() local [all …]
|
D | HexagonLoopIdiomRecognition.cpp | 582 bool classifyInst(Instruction *UseI, ValueSeq &Early, ValueSeq &Late); 1180 bool PolynomialMultiplyRecognize::classifyInst(Instruction *UseI, in classifyInst() argument 1185 if (UseI->getOpcode() == Instruction::Select) { in classifyInst() 1186 Value *TV = UseI->getOperand(1), *FV = UseI->getOperand(2); in classifyInst() 1190 Early.insert(UseI); in classifyInst() 1194 Late.insert(UseI); in classifyInst() 1201 if (UseI->getNumOperands() == 0) in classifyInst() 1205 for (auto &I : UseI->operands()) { in classifyInst() 1226 Early.insert(UseI); in classifyInst() 1228 Late.insert(UseI); in classifyInst() [all …]
|
D | HexagonGenPredicate.cpp | 237 MachineInstr *UseI = I->getParent(); in processPredicateGPR() local 238 if (isConvertibleToPredForm(UseI)) in processPredicateGPR() 239 PUsers.insert(UseI); in processPredicateGPR()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | SplitKit.cpp | 158 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo() local 159 UseI = UseSlots.begin(); in calcLiveBlockInfo() 173 if (UseI == UseE || *UseI >= Stop) { in calcLiveBlockInfo() 182 BI.FirstInstr = *UseI; in calcLiveBlockInfo() 184 do ++UseI; in calcLiveBlockInfo() 185 while (UseI != UseE && *UseI < Stop); in calcLiveBlockInfo() 186 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
|
/external/llvm/lib/CodeGen/ |
D | SplitKit.cpp | 195 SmallVectorImpl<SlotIndex>::const_iterator UseI, UseE; in calcLiveBlockInfo() local 196 UseI = UseSlots.begin(); in calcLiveBlockInfo() 211 if (UseI == UseE || *UseI >= Stop) { in calcLiveBlockInfo() 220 BI.FirstInstr = *UseI; in calcLiveBlockInfo() 222 do ++UseI; in calcLiveBlockInfo() 223 while (UseI != UseE && *UseI < Stop); in calcLiveBlockInfo() 224 BI.LastInstr = UseI[-1]; in calcLiveBlockInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopRotationUtils.cpp | 534 for (User *UseI : IVOpnd->users()) { in shouldSpeculateInstrs() 535 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRotation.cpp | 523 for (User *UseI : IVOpnd->users()) { in shouldSpeculateInstrs() 524 auto *UserInst = cast<Instruction>(UseI); in shouldSpeculateInstrs()
|
D | LoopStrengthReduce.cpp | 2801 auto UseI = std::find(Inc.UserInst->op_begin(), Inc.UserInst->op_end(), in FinalizeChain() local 2803 assert(UseI != Inc.UserInst->op_end() && "cannot find IV operand"); in FinalizeChain() 2804 IVIncSet.insert(UseI); in FinalizeChain() 2935 User::op_iterator UseI = std::find(UserInst->op_begin(), UserInst->op_end(), in CollectFixupsAndInitialFormulae() local 2937 assert(UseI != UserInst->op_end() && "cannot find IV operand"); in CollectFixupsAndInitialFormulae() 2938 if (IVIncSet.count(UseI)) in CollectFixupsAndInitialFormulae()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86CmovConversion.cpp | 330 [&](MachineInstr &UseI) { in collectCmovCandidates() argument 331 return UseI.getOpcode() == X86::SUBREG_TO_REG; in collectCmovCandidates()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LazyValueInfo.cpp | 1882 if (auto *UseI = dyn_cast<Instruction>(U)) in emitInstructionAnnot() local 1883 if (!isa<PHINode>(UseI) || DT.dominates(ParentBB, UseI->getParent())) in emitInstructionAnnot() 1884 printResult(UseI->getParent()); in emitInstructionAnnot()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 971 Instruction *UseI) { in getPostIncRangeInfo() argument 972 DefUserPair Key(Def, UseI); in getPostIncRangeInfo() 982 void updatePostIncRangeInfo(Value *Def, Instruction *UseI, ConstantRange R) { in updatePostIncRangeInfo() argument 983 DefUserPair Key(Def, UseI); in updatePostIncRangeInfo()
|
D | LoopStrengthReduce.cpp | 3079 auto UseI = find(Inc.UserInst->operands(), Inc.IVOperand); in FinalizeChain() local 3080 assert(UseI != Inc.UserInst->op_end() && "cannot find IV operand"); in FinalizeChain() 3081 IVIncSet.insert(UseI); in FinalizeChain() 3211 User::op_iterator UseI = in CollectFixupsAndInitialFormulae() local 3213 assert(UseI != UserInst->op_end() && "cannot find IV operand"); in CollectFixupsAndInitialFormulae() 3214 if (IVIncSet.count(UseI)) { in CollectFixupsAndInitialFormulae() 3215 LLVM_DEBUG(dbgs() << "Use is in profitable chain: " << **UseI << '\n'); in CollectFixupsAndInitialFormulae()
|