Lines Matching defs:scope
129 // Return nullptr if the scope or type is a cyclic dependency.
130 DIScopeAttr scope = translate(node->getScope());
131 if (node->getScope() && !scope)
133 return DILabelAttr::get(context, scope,
139 // Return nullptr if the scope or type is a cyclic dependency.
140 DIScopeAttr scope = translate(node->getScope());
141 if (node->getScope() && !scope)
143 return DILexicalBlockAttr::get(context, scope, translate(node->getFile()),
149 // Return nullptr if the scope or type is a cyclic dependency.
150 DIScopeAttr scope = translate(node->getScope());
151 if (node->getScope() && !scope)
153 return DILexicalBlockFileAttr::get(context, scope, translate(node->getFile()),
175 // Return nullptr if the scope or type is a cyclic dependency.
176 DIScopeAttr scope = translate(node->getScope());
177 if (node->getScope() && !scope)
180 context, scope, getStringAttrOrNull(node->getRawName()),
230 // Return nullptr if the scope or type is invalid.
231 DIScopeAttr scope = translate(node->getScope());
232 if (node->getScope() && !scope)
268 return DISubprogramAttr::get(context, id, translate(node->getUnit()), scope,
474 // Add scope information.
475 assert(loc->getScope() && "expected non-null scope");