Searched refs:PatchPointOpers (Results 1 – 10 of 10) sorted by relevance
37 PatchPointOpers::PatchPointOpers(const MachineInstr *MI) in PatchPointOpers() function in PatchPointOpers55 unsigned PatchPointOpers::getNextScratchIdx(unsigned StartIdx) const { in getNextScratchIdx()284 assert(PatchPointOpers(&MI).hasDef() && "Stackmap has no return value."); in recordStackMapOpers()346 PatchPointOpers opers(&MI); in recordPatchPoint()347 int64_t ID = opers.getMetaOper(PatchPointOpers::IDPos).getImm(); in recordPatchPoint()358 unsigned NArgs = opers.getMetaOper(PatchPointOpers::NArgPos).getImm(); in recordPatchPoint()
394 PatchPointOpers opers(MI); in foldPatchpoint()
41 class PatchPointOpers {50 explicit PatchPointOpers(const MachineInstr *MI);
620 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::IDPos)) && in selectStackmap()622 const auto *ID = cast<ConstantInt>(I->getOperand(PatchPointOpers::IDPos)); in selectStackmap()625 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::NBytesPos)) && in selectStackmap()628 cast<ConstantInt>(I->getOperand(PatchPointOpers::NBytesPos)); in selectStackmap()714 Value *Callee = I->getOperand(PatchPointOpers::TargetPos); in selectPatchpoint()717 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::NArgPos)) && in selectPatchpoint()720 cast<ConstantInt>(I->getOperand(PatchPointOpers::NArgPos)); in selectPatchpoint()725 unsigned NumMetaOpers = PatchPointOpers::CCPos; in selectPatchpoint()749 assert(isa<ConstantInt>(I->getOperand(PatchPointOpers::IDPos)) && in selectPatchpoint()751 const auto *ID = cast<ConstantInt>(I->getOperand(PatchPointOpers::IDPos)); in selectPatchpoint()[all …]
759 CC = Node->getConstantOperandVal(PatchPointOpers::CCPos); in EmitMachineNode()
6961 SDValue IDVal = getValue(CI.getOperand(PatchPointOpers::IDPos)); in visitStackmap()6964 SDValue NBytesVal = getValue(CI.getOperand(PatchPointOpers::NBytesPos)); in visitStackmap()7011 SDValue NArgVal = getValue(CS.getArgument(PatchPointOpers::NArgPos)); in visitPatchpoint()7016 unsigned NumMetaOpers = PatchPointOpers::CCPos; in visitPatchpoint()7041 SDValue IDVal = getValue(CS->getOperand(PatchPointOpers::IDPos)); in visitPatchpoint()7044 SDValue NBytesVal = getValue(CS->getOperand(PatchPointOpers::NBytesPos)); in visitPatchpoint()
397 PatchPointOpers Opers(&MI); in LowerPATCHPOINT()399 int64_t CallTarget = Opers.getMetaOper(PatchPointOpers::TargetPos).getImm(); in LowerPATCHPOINT()424 unsigned NumBytes = Opers.getMetaOper(PatchPointOpers::NBytesPos).getImm(); in LowerPATCHPOINT()
364 PatchPointOpers Opers(&MI); in LowerPATCHPOINT()366 int64_t CallTarget = Opers.getMetaOper(PatchPointOpers::TargetPos).getImm(); in LowerPATCHPOINT()395 unsigned NumBytes = Opers.getMetaOper(PatchPointOpers::NBytesPos).getImm(); in LowerPATCHPOINT()
1694 PatchPointOpers Opers(MI); in GetInstSizeInBytes()1695 return Opers.getMetaOper(PatchPointOpers::NBytesPos).getImm(); in GetInstSizeInBytes()
877 PatchPointOpers opers(&MI); in LowerPATCHPOINT()880 int64_t CallTarget = opers.getMetaOper(PatchPointOpers::TargetPos).getImm(); in LowerPATCHPOINT()894 unsigned NumBytes = opers.getMetaOper(PatchPointOpers::NBytesPos).getImm(); in LowerPATCHPOINT()