Lines Matching refs:DebugInfo
88 llvm::DIBuilder DebugInfo(Module); in runOnModule() local
89 initializeDebugInfo(DebugInfo, Module); in runOnModule()
95 attachDebugInfo(DebugInfo, *expandFunc); in runOnModule()
98 DebugInfo.finalize(); in runOnModule()
113 void initializeDebugInfo(llvm::DIBuilder &DebugInfo, in initializeDebugInfo() argument
118 DebugInfo.createCompileUnit(llvm::dwarf::DW_LANG_GOOGLE_RenderScript, in initializeDebugInfo()
123 sourceFileName = DebugInfo.createFile(DEBUG_GENERATED_FILE, DEBUG_SOURCE_PATH); in initializeDebugInfo()
124 emptyExpr = DebugInfo.createExpression(); in initializeDebugInfo()
165 indexVarType = DebugInfo.createBasicType("uint32_t", 32, 32, in initializeDebugInfo()
169 kernelTypeMD = DebugInfo.createSubroutineType(kernelPrototypeMD); in initializeDebugInfo()
180 void attachDebugInfo(llvm::DIBuilder &DebugInfo, llvm::Function &Func) { in attachDebugInfo() argument
193 llvm::DISubprogram *ExpandedFunc = DebugInfo.createFunction( in attachDebugInfo()
215 llvm::DILocalVariable *argVarDI = DebugInfo.createParameterVariable( in attachDebugInfo()
226 DebugInfo.insertDeclare(argVar, argVarDI, emptyExpr, in attachDebugInfo()
237 llvm::DILocalVariable *indexVarDI = DebugInfo.createAutoVariable( in attachDebugInfo()
243 llvm::Instruction *decl = DebugInfo.insertDeclare( in attachDebugInfo()