Home
last modified time | relevance | path

Searched refs:isUse (Results 1 – 25 of 67) sorted by relevance

123

/external/llvm/lib/CodeGen/
DProcessImplicitDefs.cpp72 if (MO.isReg() && MO.isUse() && MO.readsReg()) in canTurnIntoImplicitDef()
112 if (MO.isUse()) in processImplicitDef()
DExpandPostRAPseudos.cpp74 if (!MO.isReg() || !MO.isImplicit() || MO.isUse()) in TransferImplicitDefs()
84 (MI->getOperand(2).isReg() && MI->getOperand(2).isUse()) && in LowerSubregToReg()
DMachineInstr.cpp349 if (isUndef() && isUse()) { in print()
814 if (NewMO->isUse()) { in addOperand()
1099 if (getOperand(OpIdx).isUse() && isRegTiedToDefOperand(OpIdx, &DefIdx)) in getRegClassConstraint()
1183 if (!MO.isReg() || !MO.isUse()) in findRegisterUseOperandIdx()
1215 if (MO.isUse()) in readsWritesVirtualRegister()
1295 assert(UseMO.isUse() && "UseIdx must be a use operand"); in tieOperands()
1327 if (MO.isUse()) in findTiedOperandIdx()
1332 if (UseMO.isReg() && UseMO.isUse() && UseMO.TiedTo == OpIdx + 1) in findTiedOperandIdx()
1375 if (MO.isReg() && MO.isUse()) in clearKillInfo()
1539 if (!MO.isReg() || MO.isUse()) in allDefsAreDead()
[all …]
DRegisterScavenging.cpp133 if (MO.isUse()) { in determineKillsAndDefs()
204 if (MO.isUse()) { in forward()
376 if (MO.isReg() && MO.getReg() != 0 && !(MO.isUse() && MO.isUndef()) && in scavengeRegister()
DMachineSink.cpp374 if (!MO.isReg() || !MO.isUse()) in isWorthBreakingCriticalEdge()
607 if (MO.isUse()) { in FindSuccToSinkTo()
619 if (MO.isUse()) continue; in FindSuccToSinkTo()
808 if (MO.isReg() && MO.isUse()) in SinkInstruction()
DTwoAddressInstructionPass.cpp207 if (MO.isUse() && MOReg != SavedReg) in sink3AddrInstruction()
367 if (MO.isUse() && DI->second < LastUse) in noUseAfterLastDef()
478 if (!MO.isReg() || !MO.isUse() || MO.getReg() != Reg) in isTwoAddrUse()
1057 if (MO.isUse()) { in rescheduleKillAboveMI()
1097 if (MO.isUse()) { in rescheduleKillAboveMI()
1347 if (MO.isUse()) { in tryInstructionTransform()
1426 assert(SrcReg && SrcMO.isUse() && "two address instruction invalid"); in collectTiedOperands()
1539 assert(MO.isReg() && MO.getReg() == RegB && MO.isUse() && in processTiedPairs()
1565 MO.isUse()) { in processTiedPairs()
1601 if (MO.isReg() && MO.getReg() == RegB && MO.isUse()) { in processTiedPairs()
DRegAllocFast.cpp236 if (MO.isUse() && !LR.LastUse->isRegTiedToDefOperand(LR.LastOpNum)) { in addKillFlag()
610 if (LRI->LastUse != MI || LRI->LastUse->getOperand(LRI->LastOpNum).isUse()) in defineVirtReg()
642 if (MO.isUse()) in reloadVirtReg()
742 if (MO.isUse()) { in handleThroughOperands()
931 if (MO.isUse()) { in AllocateBasicBlock()
943 if (MO.isUse()) { in AllocateBasicBlock()
979 if (MO.isUse()) { in AllocateBasicBlock()
DCriticalAntiDepBreaker.cpp227 if (MO.isUse() && Special) { in PrescanInstruction()
291 if (!MO.isUse()) continue; in ScanInstruction()
602 if (MO.isUse() && TRI->regsOverlap(AntiDepReg, Reg)) { in BreakAntiDependencies()
DMachineCSE.cpp127 if (!MO.isReg() || !MO.isUse()) in INITIALIZE_PASS_DEPENDENCY()
197 if (MO.isUse()) in isPhysDefTriviallyDead()
403 if (MO.isReg() && MO.isUse() && in isProfitableToCSE()
DDeadMachineInstructionElim.cpp159 if (MO.isReg() && MO.isUse()) { in runOnMachineFunction()
DLivePhysRegs.cpp88 assert(O->isUse()); in stepForward()
DLiveIntervalAnalysis.cpp767 if (MO.isUse()) { in addKillFlags()
841 LiveIntervals::getSpillWeight(bool isDef, bool isUse, in getSpillWeight() argument
846 return (isDef + isUse) * (Freq.getFrequency() * Scale); in getSpillWeight()
967 if (MO.isUse()) in updateAllRanges()
1062 if (MO->isReg() && MO->isUse()) in handleMoveDown()
1359 } else if (MO.isUse()) { in repairOldRegInRange()
DBranchFolding.cpp174 if (!MO.isReg() || !MO.isUse()) in OptimizeImpDefsBlock()
1648 if (MO.isUse()) { in findHoistingInsertPosAndDeps()
1679 if (!MO.isReg() || MO.isUse()) in findHoistingInsertPosAndDeps()
1713 if (MO.isUse()) { in findHoistingInsertPosAndDeps()
1842 if (!MO.isReg() || !MO.isUse() || !MO.isKill()) in HoistCommonCodeInSuccs()
DInlineSpiller.cpp874 if (MO.isReg() && MO.isUse() && MO.getReg() == VirtReg.reg) in reMaterializeFor()
925 if (MO.isReg() && MO.isUse() && MO.getReg() == VirtReg.reg) { in reMaterializeFor()
1138 if (MO->isUse()) in foldMemoryOperand()
1307 if (MO.isUse()) { in spillAroundUses()
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp265 if (MO.isUse()) { in delayHasHazard()
290 assert(Reg.isUse() && "CALL first operand is not a use."); in insertCallDefsUses()
297 assert(RegOrImm.isUse() && "CALLrr second operand is not a use."); in insertCallDefsUses()
318 if (MO.isUse()) { in insertDefsUses()
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h767 if ((!ReturnUses && op->isUse()) || in defusechain_iterator()
782 if (Op->isUse()) in advance()
869 if ((!ReturnUses && op->isUse()) || in defusechain_instr_iterator()
884 if (Op->isUse()) in advance()
DMachineOperand.h277 bool isUse() const { in isUse() function
336 return !isUndef() && !isInternalRead() && (isUse() || getSubReg()); in readsReg()
/external/llvm/lib/Target/AMDGPU/
DSIInsertWaits.cpp230 if (I->isReg() && I->isUse()) in isOpRelevant()
314 if (Op.isUse()) in pushInstruction()
420 if (Op.isUse()) in handleOperands()
/external/llvm/lib/Target/Hexagon/
DHexagonNewValueJump.cpp153 (II->getOperand(i).isUse() || II->getOperand(i).isDef())) { in INITIALIZE_PASS_DEPENDENCY()
605 if (MO.isReg() && MO.isUse()) { in runOnMachineFunction()
612 if (localMO.isReg() && localMO.isUse() && in runOnMachineFunction()
DHexagonGenPredicate.cpp240 assert(DefI->getOperand(0).isDef() && DefI->getOperand(1).isUse()); in getPredRegFor()
336 if (Mo->isReg() && Mo->isUse()) in isScalarPred()
358 if (!MO.isReg() || !MO.isUse()) in convertToPredForm()
DHexagonExpandCondsets.cpp277 if (!Op.isReg() || !Op.isUse() || Op.getReg() != Reg) in makeDefined()
366 if (!Op.isReg() || !Op.isUse() || Op.getReg() != Reg) in updateKillFlags()
514 if (!Op.isReg() || !Op.isUse() || Op.isImplicit() || Op.isUndef()) in addInstrToLiveness()
631 if (!Op.isReg() || !Op.isUse()) in removeInstrFromLiveness()
1115 if (MO.isReg() && MO.isUse() && MO.isImplicit()) in removeImplicitUses()
1142 if (MO.isReg() && MO.isUse() && MO.isImplicit() && MO.isUndef()) { in postprocessUndefImplicitUses()
DHexagonVLIWPacketizer.cpp283 if (MO.isReg() && MO.isUse() && (MO.getReg() == DepReg)) in isCallDependent()
461 if (MO.isReg() && MO.isUse() && DefRegsSet.count(MO.getReg())) in getPostIncrementOperand()
682 if (MO.isReg() && MO.isUse() && MO.isImplicit() && MO.getReg() == DepReg) in canPromoteToNewValueStore()
827 if (Op.isReg() && Op.getReg() && Op.isUse() && in getPredicatedRegister()
1537 if (Op.isReg() && Op.isUse() && Op.getReg() == DstReg) in isDependent()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyRegColoring.cpp68 weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI, in computeWeight()
DWebAssemblyRegStackify.cpp153 if (!Op.isReg() || Op.isImplicit() || !Op.isUse()) in runOnMachineFunction()
/external/llvm/lib/Target/ARM/
DThumb2ITBlockPass.cpp70 if (MO.isUse()) in TrackDefUses()

123