Searched refs:FunDef (Results 1 – 3 of 3) sorted by relevance
251 MachineInstr *FunDef) { in validateFunCallMachineDef() argument252 if (FunDef->getOpcode() != SPIRV::OpFunction) in validateFunCallMachineDef()255 for (FunDef = FunDef->getNextNode(); in validateFunCallMachineDef()256 FunDef && FunDef->getOpcode() == SPIRV::OpFunctionParameter && in validateFunCallMachineDef()258 FunDef = FunDef->getNextNode(), OpIdx++) { in validateFunCallMachineDef()259 SPIRVType *DefPtrType = DefMRI->getVRegDef(FunDef->getOperand(1).getReg()); in validateFunCallMachineDef()289 MachineInstr *FunDef = in validateFunCall() local291 if (!FunDef) in validateFunCall()293 MachineRegisterInfo *DefMRI = &FunDef->getParent()->getParent()->getRegInfo(); in validateFunCall()294 validateFunCallMachineDef(STI, DefMRI, CallMRI, GR, FunCall, FunDef); in validateFunCall()[all …]
358 if (const MachineOperand *FunDef = GR->getFunctionDefinitionByUse(FunUse)) { in collectFuncPtrs() local359 const MachineInstr *FunDefMI = FunDef->getParent(); in collectFuncPtrs()362 Register FunDefReg = FunDef->getReg(); in collectFuncPtrs()
60 static T *GetFnPtr(T *Fun, T *FunDef, const char *FnName, bool WarnIfMissing) { in GetFnPtr() argument61 if (Fun == FunDef) { in GetFnPtr()