Lines Matching refs:scope
59 // If we've changed files in the middle of a lexical scope go ahead
60 // and create a new lexical scope with file node if it's different
61 // from the one in the scope.
73 llvm::DIScope Scope = llvm::DIScope(LB);
74 if (Scope.isLexicalBlockFile()) {
82 } else if (Scope.isLexicalBlock() || Scope.isSubprogram()) {
84 = DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc));
782 llvm::DIDescriptor scope) {
804 return DBuilder.createMemberType(scope, name, file, line, sizeInBits,
2315 llvm::MDNode *Scope = LexicalBlockStack.back();
2319 Scope));
2345 // Emit a line table change for the current location inside the new scope.
2499 llvm::MDNode *Scope = LexicalBlockStack.back();
2521 llvm::DIDescriptor(Scope),
2528 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
2537 llvm::DIDescriptor(Scope),
2544 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
2563 // Use VarDecl's Tag, Scope and Line number.
2565 DBuilder.createLocalVariable(Tag, llvm::DIDescriptor(Scope),
2573 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
2581 DBuilder.createLocalVariable(Tag, llvm::DIDescriptor(Scope),
2588 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
2810 llvm::MDNode *scope = LexicalBlockStack.back();
2815 llvm::DIDescriptor(scope),
2825 DbgVal->setDebugLoc(llvm::DebugLoc::get(line, column, scope));
2831 DbgDecl->setDebugLoc(llvm::DebugLoc::get(line, column, scope));