Lines Matching refs:MOI
207 StackMaps::parseOperand(MachineInstr::const_mop_iterator MOI, in parseOperand() argument
211 if (MOI->isImm()) { in parseOperand()
212 switch (MOI->getImm()) { in parseOperand()
221 Register Reg = (++MOI)->getReg(); in parseOperand()
222 int64_t Imm = (++MOI)->getImm(); in parseOperand()
228 int64_t Size = (++MOI)->getImm(); in parseOperand()
230 Register Reg = (++MOI)->getReg(); in parseOperand()
231 int64_t Imm = (++MOI)->getImm(); in parseOperand()
237 ++MOI; in parseOperand()
238 assert(MOI->isImm() && "Expected constant operand."); in parseOperand()
239 int64_t Imm = MOI->getImm(); in parseOperand()
259 return ++MOI; in parseOperand()
266 if (MOI->isReg()) { in parseOperand()
268 if (MOI->isImplicit()) in parseOperand()
269 return ++MOI; in parseOperand()
271 assert(MOI->getReg().isPhysical() && in parseOperand()
273 const TargetRegisterClass *RC = TRI->getMinimalPhysRegClass(MOI->getReg()); in parseOperand()
274 assert(!MOI->getSubReg() && "Physical subreg still around."); in parseOperand()
277 unsigned DwarfRegNum = getDwarfRegNum(MOI->getReg(), TRI); in parseOperand()
279 unsigned SubRegIdx = TRI->getSubRegIndex(LLVMRegNum, MOI->getReg()); in parseOperand()
285 return ++MOI; in parseOperand()
288 if (MOI->isRegLiveOut()) in parseOperand()
289 LiveOuts = parseRegisterLiveOutMask(MOI->getRegLiveOut()); in parseOperand()
291 return ++MOI; in parseOperand()
417 MachineInstr::const_mop_iterator MOI, in parseStatepointOpers() argument
423 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // CC in parseStatepointOpers()
424 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // Flags in parseStatepointOpers()
425 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); // Num Deopts in parseStatepointOpers()
433 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in parseStatepointOpers()
436 assert(MOI->isImm() && MOI->getImm() == StackMaps::ConstantOp); in parseStatepointOpers()
437 ++MOI; in parseStatepointOpers()
438 assert(MOI->isImm()); in parseStatepointOpers()
439 unsigned NumGCPointers = MOI->getImm(); in parseStatepointOpers()
440 ++MOI; in parseStatepointOpers()
446 assert(MOI - MI.operands_begin() == GCPtrIdx + 0LL); in parseStatepointOpers()
470 MOI = MOB + GCPtrIdx; in parseStatepointOpers()
474 assert(MOI < MOE); in parseStatepointOpers()
475 assert(MOI->isImm() && MOI->getImm() == StackMaps::ConstantOp); in parseStatepointOpers()
476 ++MOI; in parseStatepointOpers()
477 unsigned NumAllocas = MOI->getImm(); in parseStatepointOpers()
478 ++MOI; in parseStatepointOpers()
480 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in parseStatepointOpers()
481 assert(MOI < MOE); in parseStatepointOpers()
487 MachineInstr::const_mop_iterator MOI, in recordStackMapOpers() argument
503 parseStatepointOpers(MI, MOI, MOE, Locations, LiveOuts); in recordStackMapOpers()
505 while (MOI != MOE) in recordStackMapOpers()
506 MOI = parseOperand(MOI, MOE, Locations, LiveOuts); in recordStackMapOpers()
544 auto MOI = std::next(MI.operands_begin(), opers.getStackMapStartIdx()); in recordPatchPoint() local
545 recordStackMapOpers(L, MI, ID, MOI, MI.operands_end(), in recordPatchPoint()