Searched refs:RootI (Results 1 – 5 of 5) sorted by relevance
50 MachineInstr *RootI = MRI.getVRegDef(Root.getReg()); in isBaseWithConstantOffset() local51 if (RootI->getOpcode() != TargetOpcode::G_PTR_ADD) in isBaseWithConstantOffset()54 MachineOperand &RHS = RootI->getOperand(2); in isBaseWithConstantOffset()
410 bool identifyNodes(Instruction *RootI);1427 auto It = RootToNode.find(RootI); in identifyNodes()1437 if (ReplacementAnchor != RootI) in identifyNodes()1439 OrderedRoots.push_back(RootI); in identifyNodes()1443 auto RootNode = identifyRoot(RootI); in identifyNodes()1448 Function *F = RootI->getFunction(); in identifyNodes()1449 BasicBlock *B = RootI->getParent(); in identifyNodes()1455 RootToNode[RootI] = RootNode; in identifyNodes()1456 OrderedRoots.push_back(RootI); in identifyNodes()1641 if (auto *Intrinsic = dyn_cast<IntrinsicInst>(RootI)) { in identifyRoot()[all …]
400 auto AddCostRecursively = [&](Instruction &RootI, int Iteration) { in analyzeLoopUnrollCost() argument404 CostWorklist.push_back(&RootI); in analyzeLoopUnrollCost()406 RootI.getFunction()->hasMinSize() ? in analyzeLoopUnrollCost()
530 if (Instruction *RootI = dyn_cast<Instruction>(Root)) in materialize() local531 link(RootI, B, At); in materialize()
5026 MachineInstr *RootI = getDefIgnoringCopies(Root, MRI); in getPtrBaseWithConstantOffset() local5027 if (RootI->getOpcode() != TargetOpcode::G_PTR_ADD) in getPtrBaseWithConstantOffset()5030 MachineOperand &RHS = RootI->getOperand(2); in getPtrBaseWithConstantOffset()5035 return {RootI->getOperand(1).getReg(), MaybeOffset->Value.getSExtValue()}; in getPtrBaseWithConstantOffset()