Home
last modified time | relevance | path

Searched refs:CurrInst (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombiner.cpp144 MachineInstr *CurrInst = WorkList.pop_back_val(); in combineMachineInstrs() local
145 LLVM_DEBUG(dbgs() << "\nTry combining " << *CurrInst;); in combineMachineInstrs()
146 Changed |= CInfo.combine(WrapperObserver, *CurrInst, B); in combineMachineInstrs()
H A DIRTranslator.cpp133 const Instruction *CurrInst = nullptr; member in __anon62c51cb60111::DILocationVerifier
139 const Instruction *getCurrentInst() const { return CurrInst; } in getCurrentInst()
140 void setCurrentInst(const Instruction *Inst) { CurrInst = Inst; } in setCurrentInst()
151 LLVM_DEBUG(dbgs() << "Checking DILocation from " << *CurrInst in createdInstr()
157 assert((CurrInst->getDebugLoc() == MI.getDebugLoc() || in createdInstr()
H A DCombinerHelper.cpp2574 MachineInstr *CurrInst = &MI; in matchCombineInsertVecElts() local
2580 CurrInst->getOperand(0).getReg(), MRI, in matchCombineInsertVecElts()
2586 CurrInst = TmpInst; in matchCombineInsertVecElts()
2589 if (CurrInst->getOpcode() == TargetOpcode::G_INSERT_VECTOR_ELT) in matchCombineInsertVecElts()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCBranchCoalescing.cpp691 MachineInstr &CurrInst = *I; in mergeCandidates() local
693 if (CurrInst.isBranch()) in mergeCandidates()
694 CurrInst.eraseFromParent(); in mergeCandidates()
H A DPPCTargetTransformInfo.cpp409 if (Instruction *CurrInst = dyn_cast<Instruction>(J)) { in mightUseCTR() local
410 for (const auto &Op : CurrInst->operands()) { in mightUseCTR()
412 CurrInst->getType()->getScalarType()->isHalfTy()) in mightUseCTR()
413 return !(ST->isISA3_0() && supportedHalfPrecisionOp(CurrInst)); in mightUseCTR()
H A DPPCMIPeephole.cpp263 MachineInstr *CurrInst = I.first; in UpdateTOCSaves() local
266 if (I.second && MDT->dominates(MI, CurrInst)) in UpdateTOCSaves()
269 if (MDT->dominates(CurrInst, MI)) { in UpdateTOCSaves()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp2508 const Instruction *CurrInst = Worklist.pop_back_val(); in getReplacementValue() local
2509 if (!Visited.insert(CurrInst).second) in getReplacementValue()
2512 const BasicBlock *CurrBB = CurrInst->getParent(); in getReplacementValue()
2516 while ((CurrInst = CurrInst->getPrevNode())) { in getReplacementValue()
2517 if (ValuesMap.count(CurrInst)) { in getReplacementValue()
2518 Optional<Value *> NewReplVal = ValuesMap.lookup(CurrInst); in getReplacementValue()
2533 Optional<Value *> NewReplVal = getValueForCall(A, *CurrInst, ICV); in getReplacementValue()