Lines Matching refs:scope
85 // Construct a location that has a valid scope, but no line info.
87 llvm::DIDescriptor Scope(DI->LexicalBlockStack.back());
88 Builder.SetCurrentDebugLocation(llvm::DebugLoc::get(0, 0, Scope));
105 // If we've changed files in the middle of a lexical scope go ahead
106 // and create a new lexical scope with file node if it's different
107 // from the one in the scope.
119 llvm::DIScope Scope = llvm::DIScope(LB);
120 if (Scope.isLexicalBlockFile()) {
128 } else if (Scope.isLexicalBlock() || Scope.isSubprogram()) {
130 = DBuilder.createLexicalBlockFile(Scope, getOrCreateFile(CurLoc));
804 llvm::DIDescriptor scope) {
826 return DBuilder.createMemberType(scope, name, file, line, sizeInBits,
2514 llvm::MDNode *Scope = LexicalBlockStack.back();
2518 Scope));
2545 // Emit a line table change for the current location inside the new scope.
2691 llvm::MDNode *Scope = LexicalBlockStack.back();
2713 llvm::DIDescriptor(Scope),
2720 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
2739 // Use VarDecl's Tag, Scope and Line number.
2741 DBuilder.createLocalVariable(Tag, llvm::DIDescriptor(Scope),
2749 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
2757 DBuilder.createLocalVariable(Tag, llvm::DIDescriptor(Scope),
2764 Call->setDebugLoc(llvm::DebugLoc::get(Line, Column, Scope));
3003 llvm::MDNode *scope = LexicalBlockStack.back();
3008 llvm::DIDescriptor(scope),
3018 DbgVal->setDebugLoc(llvm::DebugLoc::get(line, column, scope));
3024 DbgDecl->setDebugLoc(llvm::DebugLoc::get(line, column, scope));