Lines Matching refs:hasTrait
63 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in collectValidReferencesFor()
96 if (!op.hasTrait<OpTrait::SymbolTable>()) { in walkSymbolTable()
112 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>() && in SymbolTable()
236 while (!from->hasTrait<OpTrait::SymbolTable>()) { in getNearestSymbolTable()
254 bool isSymbolTable = op->hasTrait<OpTrait::SymbolTable>(); in walkSymbolTables()
281 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>()); in lookupSymbolIn()
305 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>()); in lookupSymbolInImpl()
319 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in lookupSymbolInImpl()
326 if (!symbolTableOp || !symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in lookupSymbolInImpl()
532 if (!from->hasTrait<OpTrait::SymbolTable>()) in walkSymbolUses()
580 assert(!symbol->hasTrait<OpTrait::SymbolTable>() || symbol != limit); in collectSymbolScopes()
624 assert(limitIt->hasTrait<OpTrait::SymbolTable>()); in collectSymbolScopes()