Home
last modified time | relevance | path

Searched refs:getScope (Results 1 – 25 of 28) sorted by relevance

12

/NextBSD/contrib/llvm/lib/IR/
HDDebugInfo.cpp130 processScope(DIG->getScope()); in processModule()
147 processScope(NS->getScope()); in processModule()
149 processScope(M->getScope()); in processModule()
159 processScope(Loc->getScope()); in processLocation()
166 processScope(DT->getScope().resolve(TypeIdentifierMap)); in processType()
203 processScope(LB->getScope()); in processScope()
205 processScope(NS->getScope()); in processScope()
207 processScope(M->getScope()); in processScope()
214 processScope(SP->getScope().resolve(TypeIdentifierMap)); in processSubprogram()
238 processScope(DV->getScope()); in processDeclare()
[all …]
HDDebugLoc.cpp36 MDNode *DebugLoc::getScope() const { in getScope() function in DebugLoc
38 return get()->getScope(); in getScope()
91 auto *Scope = cast<DIScope>(getScope()); in print()
HDDebugInfoMetadata.cpp128 DIScopeRef DIScope::getScope() const { in getScope() function in DIScope
130 return T->getScope(); in getScope()
133 return SP->getScope(); in getScope()
136 return DIScopeRef(LB->getScope()); in getScope()
139 return DIScopeRef(NS->getScope()); in getScope()
142 return DIScopeRef(M->getScope()); in getScope()
339 return Block->getScope()->getSubprogram(); in getSubprogram()
HDDIBuilder.cpp750 assert(DL->getScope()->getSubprogram() == in insertDeclare()
751 VarInfo->getScope()->getSubprogram() && in insertDeclare()
769 assert(DL->getScope()->getSubprogram() == in insertDeclare()
770 VarInfo->getScope()->getSubprogram() && in insertDeclare()
796 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
797 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
819 assert(DL->getScope()->getSubprogram() == in insertDbgValueIntrinsic()
820 VarInfo->getScope()->getSubprogram() && in insertDbgValueIntrinsic()
HDVerifier.cpp786 Assert(isScopeRef(N, N.getScope()), "invalid scope", &N, N.getScope()); in visitDIDerivedTypeBase()
3507 &DII, BB, F, Var, Var->getScope()->getSubprogram(), Loc, in visitDbgIntrinsic()
3508 Loc->getScope()->getSubprogram()); in visitDbgIntrinsic()
/NextBSD/contrib/llvm/lib/CodeGen/
HDLexicalScopes.cpp110 DILocalScope *Scope = DL->getScope(); in findLexicalScope()
117 Scope = File->getScope(); in findLexicalScope()
144 Scope = File->getScope(); in getOrCreateRegularScope()
153 Parent = getOrCreateLexicalScope(Block->getScope()); in getOrCreateRegularScope()
179 Parent = getOrCreateInlinedScope(Block->getScope(), InlinedAt); in getOrCreateInlinedScope()
197 Scope = File->getScope(); in getOrCreateAbstractScope()
205 Parent = getOrCreateAbstractScope(Block->getScope()); in getOrCreateAbstractScope()
HDLiveDebugVariables.cpp365 auto *Scope = cast<DIScope>(DL.getScope()); in printDebugLoc()
/NextBSD/contrib/llvm/tools/opt/
HDBreakpointPrinter.cpp35 getContextName(NS->getScope(), N); in getContextName()
40 getContextName(TY->getScope().resolve(TypeIdentifierMap), N); in getContextName()
59 getContextName(SP->getScope().resolve(TypeIdentifierMap), Name); in runOnModule()
/NextBSD/contrib/llvm/include/llvm/IR/
HDDebugInfoMetadata.h418 DIScopeRef getScope() const;
543 DIScopeRef getScope() const { return DIScopeRef(getRawScope()); }
711 getScope(), getBaseType(), getSizeInBits(),
874 getScope(), getBaseType(), getSizeInBits(),
1160 return getTemporary(getContext(), getLine(), getColumn(), getScope(),
1182 DILocalScope *getScope() const { return cast<DILocalScope>(getRawScope()); }
1187 DIFile *getFile() const { return getScope()->getFile(); }
1188 StringRef getFilename() const { return getScope()->getFilename(); }
1189 StringRef getDirectory() const { return getScope()->getDirectory(); }
1198 return getScope();
[all …]
HDDebugLoc.h95 MDNode *getScope() const;
/NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/
HDDwarfCompileUnit.cpp111 auto *GVContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
122 DeclContext = resolve(SDMDecl->getScope()); in getOrCreateGlobalVariableDIE()
129 DeclContext = GV->getScope(); in getOrCreateGlobalVariableDIE()
620 ContextDIE = getOrCreateContextDIE(resolve(SP->getScope())); in constructAbstractSubprogramScopeDIE()
652 addSourceLine(*IMDie, Module->getLine(), Module->getScope()->getFilename(), in constructImportedEntityDIE()
653 Module->getScope()->getDirectory()); in constructImportedEntityDIE()
810 auto *Context = resolve(SPDecl ? SPDecl->getScope() : SP->getScope()); in applySubprogramAttributesToDefinition()
HDDwarfUnit.cpp331 addSourceLine(Die, V->getLine(), V->getScope()->getFilename(), in addSourceLine()
332 V->getScope()->getDirectory()); in addSourceLine()
692 auto *Context = resolve(Ty->getScope()); in createTypeDIE()
721 auto *Context = resolve(Ty->getScope()); in getOrCreateTypeDIE()
788 if (Context->getScope()) in getParentContextString()
789 Context = resolve(Context->getScope()); in getParentContextString()
1055 DIE *ContextDIE = getOrCreateContextDIE(NS->getScope()); in getOrCreateNameSpace()
1067 addGlobalName(Name, NDie, NS->getScope()); in getOrCreateNameSpace()
1075 DIE *ContextDIE = getOrCreateContextDIE(M->getScope()); in getOrCreateModule()
1083 addGlobalName(M->getName(), MDie, M->getScope()); in getOrCreateModule()
[all …]
HDDwarfDebug.cpp311 return isSubprogramContext(resolve(T->getScope())); in isSubprogramContext()
426 if (DIE *D = TheCU.getOrCreateContextDIE(N->getScope())) in constructAndAddImportedEntityDIE()
452 ScopesWithImportedEntities.push_back(std::make_pair(IE->getScope(), IE)); in beginModule()
899 Scope = LScopes.findInlinedScope(IV.first->getScope(), IA); in collectVariableInfo()
901 Scope = LScopes.findLexicalScope(IV.first->getScope()); in collectVariableInfo()
939 if (LexicalScope *Scope = LScopes.findLexicalScope(DV->getScope())) in collectVariableInfo()
976 const MDNode *Scope = DL.getScope(); in beginInstruction()
1131 getDISubprogram(DIVar->getScope())->describes(MF->getFunction())) { in beginFunction()
1223 DV->getScope()); in endFunction()
HDWinCodeViewLineTables.cpp83 const MDNode *Scope = DL.getScope(); in maybeRecordLocation()
HDAsmPrinter.cpp674 if (auto *SP = dyn_cast<DISubprogram>(V->getScope())) { in emitDebugValueComment()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDAddDiscriminators.cpp196 auto *Scope = FirstDIL->getScope(); in runOnFunction()
HDInlineFunction.cpp858 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in updateInlinedAtInfo()
863 return DebugLoc::get(DL.getLine(), DL.getCol(), DL.getScope(), Last); in updateInlinedAtInfo()
881 InlinedAtNode->getScope(), InlinedAtNode->getInlinedAt()); in fixupLineNumbers()
/NextBSD/contrib/llvm/lib/Bitcode/Writer/
HDBitcodeWriter.cpp802 Record.push_back(VE.getMetadataID(N->getScope())); in WriteDILocation()
879 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDIDerivedType()
901 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDICompositeType()
971 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDISubprogram()
1000 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDILexicalBlock()
1015 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDILexicalBlockFile()
1028 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDINamespace()
1082 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDIGlobalVariable()
1104 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDILocalVariable()
1154 Record.push_back(VE.getMetadataOrNullID(N->getScope())); in WriteDIImportedEntity()
[all …]
/NextBSD/contrib/llvm/include/llvm/CodeGen/
HDLexicalScopes.h208 return DL ? getOrCreateLexicalScope(DL->getScope(), DL->getInlinedAt()) in getOrCreateLexicalScope()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSemaInternal.h218 Scope *getScope() const { return S; } in getScope() function
/NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/
HDAnalysisContext.h385 const ScopeContext *getScope(AnalysisDeclContext *ctx,
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDAnalysisDeclContext.cpp376 LocationContextManager::getScope(AnalysisDeclContext *ctx, in getScope() function in LocationContextManager
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAGDumper.cpp539 if (auto *Scope = L->getScope()) in print_details()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDGCOVProfiling.cpp542 if (SP != getDISubprogram(Loc.getScope())) in emitProfileNotes()
/NextBSD/contrib/llvm/lib/Target/NVPTX/
HDNVPTXAsmPrinter.cpp133 auto *Scope = cast_or_null<DIScope>(curLoc.getScope()); in emitLineNumberAsDotLoc()

12