Lines Matching refs:MCExpr
58 const MCExpr *MCResourceInfo::getSymRefExpr(StringRef FuncName, in getSymRefExpr()
71 const MCExpr *MaxExpr = MCConstantExpr::create(RegCount, OutContext); in assignMaxRegs()
107 const MCExpr *MCResourceInfo::flattenedCycleMax(MCSymbol *RecSym, in flattenedCycleMax()
110 SmallPtrSet<const MCExpr *, 8> Seen; in flattenedCycleMax()
111 SmallVector<const MCExpr *, 8> WorkList; in flattenedCycleMax()
114 const MCExpr *RecExpr = RecSym->getVariableValue(); in flattenedCycleMax()
118 const MCExpr *CurExpr = WorkList.pop_back_val(); in flattenedCycleMax()
148 case MCExpr::ExprKind::Constant: { in flattenedCycleMax()
153 case MCExpr::ExprKind::SymbolRef: { in flattenedCycleMax()
157 const MCExpr *SymVal = SymRef.getVariableValue(); in flattenedCycleMax()
163 case MCExpr::ExprKind::Target: { in flattenedCycleMax()
189 const MCExpr *SymVal = LocalConstExpr; in assignResourceInfoExpr()
194 SmallVector<const MCExpr *, 8> ArgExprs; in assignResourceInfoExpr()
276 const MCExpr *SymRef = MCSymbolRefExpr::create(MaxSym, OutContext); in gatherResourceInfo()
279 const MCExpr *MaxWithLocal = AMDGPUMCExpr::createMax( in gatherResourceInfo()
295 SmallVector<const MCExpr *, 8> ArgExprs; in gatherResourceInfo()
329 const MCExpr *localConstExpr = in gatherResourceInfo()
375 const MCExpr *MCResourceInfo::createTotalNumVGPRs(const MachineFunction &MF, in createTotalNumVGPRs()
385 const MCExpr *MCResourceInfo::createTotalNumSGPRs(const MachineFunction &MF, in createTotalNumSGPRs()