Lines Matching refs:RenderScriptRuntime
49 LLDB_PLUGIN_DEFINE(RenderScriptRuntime)
53 char RenderScriptRuntime::ID = 0;
490 struct RenderScriptRuntime::ScriptDetails {
511 struct RenderScriptRuntime::Element {
594 struct RenderScriptRuntime::AllocationDetails {
653 RenderScriptRuntime::Element element;
680 ConstString RenderScriptRuntime::Element::GetFallbackStructName() { in GetFallbackStructName()
685 uint32_t RenderScriptRuntime::AllocationDetails::ID = 1;
687 const char *RenderScriptRuntime::AllocationDetails::RsDataKindToString[] = {
693 const char *RenderScriptRuntime::AllocationDetails::RsDataTypeToString[][4] = {
738 const uint32_t RenderScriptRuntime::AllocationDetails::RSTypeToFormat[][3] = {
780 RenderScriptRuntime::CreateInstance(Process *process, in CreateInstance()
784 return new RenderScriptRuntime(process); in CreateInstance()
960 void RenderScriptRuntime::Initialize() { in Initialize()
966 void RenderScriptRuntime::Terminate() { in Terminate()
970 RenderScriptRuntime::ModuleKind
971 RenderScriptRuntime::GetModuleKind(const lldb::ModuleSP &module_sp) { in GetModuleKind()
995 bool RenderScriptRuntime::IsRenderScriptModule( in IsRenderScriptModule()
1000 void RenderScriptRuntime::ModulesDidLoad(const ModuleList &module_list) { in ModulesDidLoad()
1012 bool RenderScriptRuntime::GetDynamicTypeAndAddress( in GetDynamicTypeAndAddress()
1020 RenderScriptRuntime::FixUpDynamicType(const TypeAndOrName &type_and_or_name, in FixUpDynamicType()
1025 bool RenderScriptRuntime::CouldHaveDynamicValue(ValueObject &in_value) { in CouldHaveDynamicValue()
1030 RenderScriptRuntime::CreateExceptionResolver(const lldb::BreakpointSP &bp, in CreateExceptionResolver()
1036 const RenderScriptRuntime::HookDefn RenderScriptRuntime::s_runtimeHookDefns[] =
1043 0, RenderScriptRuntime::eModuleKindDriver,
1044 &lldb_private::RenderScriptRuntime::CaptureScriptInit},
1050 0, RenderScriptRuntime::eModuleKindDriver,
1051 &lldb_private::RenderScriptRuntime::CaptureScriptInvokeForEachMulti},
1056 0, RenderScriptRuntime::eModuleKindDriver,
1057 &lldb_private::RenderScriptRuntime::CaptureSetGlobalVar},
1064 0, RenderScriptRuntime::eModuleKindDriver,
1065 &lldb_private::RenderScriptRuntime::CaptureAllocationInit},
1071 0, RenderScriptRuntime::eModuleKindDriver, nullptr},
1076 0, RenderScriptRuntime::eModuleKindDriver,
1077 &lldb_private::RenderScriptRuntime::CaptureAllocationDestroy},
1085 0, RenderScriptRuntime::eModuleKindImpl,
1086 &lldb_private::RenderScriptRuntime::CaptureDebugHintScriptGroup2}};
1088 const size_t RenderScriptRuntime::s_runtimeHookCount =
1091 bool RenderScriptRuntime::HookCallback(void *baton, in HookCallback()
1098 RenderScriptRuntime *lang_rt = llvm::cast<RenderScriptRuntime>( in HookCallback()
1107 void RenderScriptRuntime::HookCallback(RuntimeHook *hook, in HookCallback()
1118 void RenderScriptRuntime::CaptureDebugHintScriptGroup2( in CaptureDebugHintScriptGroup2()
1256 void RenderScriptRuntime::CaptureScriptInvokeForEachMulti( in CaptureScriptInvokeForEachMulti()
1345 if (lldb_private::RenderScriptRuntime::ScriptDetails *script = in CaptureScriptInvokeForEachMulti()
1356 void RenderScriptRuntime::CaptureSetGlobalVar(RuntimeHook *hook, in CaptureSetGlobalVar()
1403 void RenderScriptRuntime::CaptureAllocationInit(RuntimeHook *hook, in CaptureAllocationInit()
1431 void RenderScriptRuntime::CaptureAllocationDestroy(RuntimeHook *hook, in CaptureAllocationDestroy()
1468 void RenderScriptRuntime::CaptureScriptInit(RuntimeHook *hook, in CaptureScriptInit()
1529 void RenderScriptRuntime::LoadRuntimeHooks(lldb::ModuleSP module, in LoadRuntimeHooks()
1619 void RenderScriptRuntime::FixupScriptDetails(RSModuleDescriptorSP rsmodule_sp) { in FixupScriptDetails()
1676 bool RenderScriptRuntime::EvalRSExpression(const char *expr, in EvalRSExpression()
1823 bool RenderScriptRuntime::JITDataPointer(AllocationDetails *alloc, in JITDataPointer()
1859 bool RenderScriptRuntime::JITTypePointer(AllocationDetails *alloc, in JITTypePointer()
1894 bool RenderScriptRuntime::JITTypePacked(AllocationDetails *alloc, in JITTypePacked()
1954 bool RenderScriptRuntime::JITElementPacked(Element &elem, in JITElementPacked()
1990 elem.type = static_cast<RenderScriptRuntime::Element::DataType>(results[0]); in JITElementPacked()
1992 static_cast<RenderScriptRuntime::Element::DataKind>(results[1]); in JITElementPacked()
2011 bool RenderScriptRuntime::JITSubelements(Element &elem, in JITSubelements()
2095 bool RenderScriptRuntime::JITAllocationSize(AllocationDetails *alloc, in JITAllocationSize()
2161 bool RenderScriptRuntime::JITAllocationStride(AllocationDetails *alloc, in JITAllocationStride()
2194 bool RenderScriptRuntime::RefreshAllocation(AllocationDetails *alloc, in RefreshAllocation()
2222 void RenderScriptRuntime::FindStructTypeName(Element &elem, in FindStructTypeName()
2307 void RenderScriptRuntime::SetElementSize(Element &elem) { in SetElementSize()
2350 RenderScriptRuntime::GetAllocationData(AllocationDetails *alloc, in GetAllocationData()
2397 bool RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id, in LoadAllocation()
2559 size_t RenderScriptRuntime::PopulateElementHeaders( in PopulateElementHeaders()
2581 for (const RenderScriptRuntime::Element &child : elem.children) { in PopulateElementHeaders()
2602 size_t RenderScriptRuntime::CalculateElementHeaderSize(const Element &elem) { in CalculateElementHeaderSize()
2618 bool RenderScriptRuntime::SaveAllocation(Stream &strm, const uint32_t alloc_id, in SaveAllocation()
2739 bool RenderScriptRuntime::LoadModule(const lldb::ModuleSP &module_sp) { in LoadModule()
2775 LoadRuntimeHooks(m_libRSDriver, RenderScriptRuntime::eModuleKindDriver); in LoadModule()
2782 LoadRuntimeHooks(m_libRSCpuRef, RenderScriptRuntime::eModuleKindImpl); in LoadModule()
2826 void RenderScriptRuntime::Update() { in Update()
3067 void RenderScriptRuntime::DumpStatus(Stream &strm) const { in DumpStatus()
3094 void RenderScriptRuntime::DumpContexts(Stream &strm) const { in DumpContexts()
3123 void RenderScriptRuntime::DumpKernels(Stream &strm) const { in DumpKernels()
3138 RenderScriptRuntime::AllocationDetails *
3139 RenderScriptRuntime::FindAllocByID(Stream &strm, const uint32_t alloc_id) { in FindAllocByID()
3168 bool RenderScriptRuntime::DumpAllocation(Stream &strm, StackFrame *frame_ptr, in DumpAllocation()
3321 bool RenderScriptRuntime::RecomputeAllAllocations(Stream &strm, in RecomputeAllAllocations()
3344 void RenderScriptRuntime::ListAllocations(Stream &strm, StackFrame *frame_ptr, in ListAllocations()
3443 void RenderScriptRuntime::BreakOnModuleKernels( in BreakOnModuleKernels()
3457 void RenderScriptRuntime::SetBreakAllKernels(bool do_break, TargetSP target) { in SetBreakAllKernels()
3485 RenderScriptRuntime::CreateKernelBreakpoint(ConstString name) { in CreateKernelBreakpoint()
3511 RenderScriptRuntime::CreateReductionBreakpoint(ConstString name, in CreateReductionBreakpoint()
3541 bool RenderScriptRuntime::GetFrameVarAsUnsigned(const StackFrameSP frame_sp, in GetFrameVarAsUnsigned()
3576 bool RenderScriptRuntime::GetKernelCoordinate(RSCoordinate &coord, in GetKernelCoordinate()
3644 bool RenderScriptRuntime::KernelBreakpointHit(void *baton, in KernelBreakpointHit()
3694 void RenderScriptRuntime::SetConditional(BreakpointSP bp, Stream &messages, in SetConditional()
3717 bool RenderScriptRuntime::PlaceBreakpointOnKernel(TargetSP target, in PlaceBreakpointOnKernel()
3741 RenderScriptRuntime::CreateScriptGroupBreakpoint(ConstString name, in CreateScriptGroupBreakpoint()
3768 bool RenderScriptRuntime::PlaceBreakpointOnScriptGroup(TargetSP target, in PlaceBreakpointOnScriptGroup()
3779 bool RenderScriptRuntime::PlaceBreakpointOnReduction(TargetSP target, in PlaceBreakpointOnReduction()
3801 void RenderScriptRuntime::DumpModules(Stream &strm) const { in DumpModules()
3811 RenderScriptRuntime::ScriptDetails *
3812 RenderScriptRuntime::LookUpScript(addr_t address, bool create) { in LookUpScript()
3827 RenderScriptRuntime::AllocationDetails *
3828 RenderScriptRuntime::LookUpAllocation(addr_t address) { in LookUpAllocation()
3837 RenderScriptRuntime::AllocationDetails *
3838 RenderScriptRuntime::CreateAllocation(addr_t address) { in CreateAllocation()
3860 bool RenderScriptRuntime::ResolveKernelName(lldb::addr_t kernel_addr, in ResolveKernelName()
4001 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4036 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4180 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4283 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4335 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4394 bool success = RenderScriptRuntime::GetKernelCoordinate( in DoExecute()
4467 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4562 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4672 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4712 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4764 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4803 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4864 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4922 void RenderScriptRuntime::Initiate() { assert(!m_initiated); } in Initiate()
4924 RenderScriptRuntime::RenderScriptRuntime(Process *process) in RenderScriptRuntime() function in RenderScriptRuntime
4931 lldb::CommandObjectSP RenderScriptRuntime::GetCommandObject( in GetCommandObject()
4936 RenderScriptRuntime::~RenderScriptRuntime() = default;