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 lldb_private::ConstString RenderScriptRuntime::GetPluginNameStatic() { in GetPluginNameStatic()
975 RenderScriptRuntime::ModuleKind
976 RenderScriptRuntime::GetModuleKind(const lldb::ModuleSP &module_sp) { in GetModuleKind()
1000 bool RenderScriptRuntime::IsRenderScriptModule( in IsRenderScriptModule()
1005 void RenderScriptRuntime::ModulesDidLoad(const ModuleList &module_list) { in ModulesDidLoad()
1018 lldb_private::ConstString RenderScriptRuntime::GetPluginName() { in GetPluginName()
1022 uint32_t RenderScriptRuntime::GetPluginVersion() { return 1; } in GetPluginVersion()
1024 bool RenderScriptRuntime::GetDynamicTypeAndAddress( in GetDynamicTypeAndAddress()
1032 RenderScriptRuntime::FixUpDynamicType(const TypeAndOrName &type_and_or_name, in FixUpDynamicType()
1037 bool RenderScriptRuntime::CouldHaveDynamicValue(ValueObject &in_value) { in CouldHaveDynamicValue()
1042 RenderScriptRuntime::CreateExceptionResolver(const lldb::BreakpointSP &bp, in CreateExceptionResolver()
1048 const RenderScriptRuntime::HookDefn RenderScriptRuntime::s_runtimeHookDefns[] =
1055 0, RenderScriptRuntime::eModuleKindDriver,
1056 &lldb_private::RenderScriptRuntime::CaptureScriptInit},
1062 0, RenderScriptRuntime::eModuleKindDriver,
1063 &lldb_private::RenderScriptRuntime::CaptureScriptInvokeForEachMulti},
1068 0, RenderScriptRuntime::eModuleKindDriver,
1069 &lldb_private::RenderScriptRuntime::CaptureSetGlobalVar},
1076 0, RenderScriptRuntime::eModuleKindDriver,
1077 &lldb_private::RenderScriptRuntime::CaptureAllocationInit},
1083 0, RenderScriptRuntime::eModuleKindDriver, nullptr},
1088 0, RenderScriptRuntime::eModuleKindDriver,
1089 &lldb_private::RenderScriptRuntime::CaptureAllocationDestroy},
1097 0, RenderScriptRuntime::eModuleKindImpl,
1098 &lldb_private::RenderScriptRuntime::CaptureDebugHintScriptGroup2}};
1100 const size_t RenderScriptRuntime::s_runtimeHookCount =
1103 bool RenderScriptRuntime::HookCallback(void *baton, in HookCallback()
1110 RenderScriptRuntime *lang_rt = llvm::cast<RenderScriptRuntime>( in HookCallback()
1119 void RenderScriptRuntime::HookCallback(RuntimeHook *hook, in HookCallback()
1130 void RenderScriptRuntime::CaptureDebugHintScriptGroup2( in CaptureDebugHintScriptGroup2()
1268 void RenderScriptRuntime::CaptureScriptInvokeForEachMulti( in CaptureScriptInvokeForEachMulti()
1357 if (lldb_private::RenderScriptRuntime::ScriptDetails *script = in CaptureScriptInvokeForEachMulti()
1368 void RenderScriptRuntime::CaptureSetGlobalVar(RuntimeHook *hook, in CaptureSetGlobalVar()
1415 void RenderScriptRuntime::CaptureAllocationInit(RuntimeHook *hook, in CaptureAllocationInit()
1443 void RenderScriptRuntime::CaptureAllocationDestroy(RuntimeHook *hook, in CaptureAllocationDestroy()
1480 void RenderScriptRuntime::CaptureScriptInit(RuntimeHook *hook, in CaptureScriptInit()
1541 void RenderScriptRuntime::LoadRuntimeHooks(lldb::ModuleSP module, in LoadRuntimeHooks()
1631 void RenderScriptRuntime::FixupScriptDetails(RSModuleDescriptorSP rsmodule_sp) { in FixupScriptDetails()
1688 bool RenderScriptRuntime::EvalRSExpression(const char *expr, in EvalRSExpression()
1835 bool RenderScriptRuntime::JITDataPointer(AllocationDetails *alloc, in JITDataPointer()
1871 bool RenderScriptRuntime::JITTypePointer(AllocationDetails *alloc, in JITTypePointer()
1906 bool RenderScriptRuntime::JITTypePacked(AllocationDetails *alloc, in JITTypePacked()
1966 bool RenderScriptRuntime::JITElementPacked(Element &elem, in JITElementPacked()
2002 elem.type = static_cast<RenderScriptRuntime::Element::DataType>(results[0]); in JITElementPacked()
2004 static_cast<RenderScriptRuntime::Element::DataKind>(results[1]); in JITElementPacked()
2023 bool RenderScriptRuntime::JITSubelements(Element &elem, in JITSubelements()
2107 bool RenderScriptRuntime::JITAllocationSize(AllocationDetails *alloc, in JITAllocationSize()
2173 bool RenderScriptRuntime::JITAllocationStride(AllocationDetails *alloc, in JITAllocationStride()
2206 bool RenderScriptRuntime::RefreshAllocation(AllocationDetails *alloc, in RefreshAllocation()
2234 void RenderScriptRuntime::FindStructTypeName(Element &elem, in FindStructTypeName()
2319 void RenderScriptRuntime::SetElementSize(Element &elem) { in SetElementSize()
2362 RenderScriptRuntime::GetAllocationData(AllocationDetails *alloc, in GetAllocationData()
2409 bool RenderScriptRuntime::LoadAllocation(Stream &strm, const uint32_t alloc_id, in LoadAllocation()
2570 size_t RenderScriptRuntime::PopulateElementHeaders( in PopulateElementHeaders()
2592 for (const RenderScriptRuntime::Element &child : elem.children) { in PopulateElementHeaders()
2613 size_t RenderScriptRuntime::CalculateElementHeaderSize(const Element &elem) { in CalculateElementHeaderSize()
2629 bool RenderScriptRuntime::SaveAllocation(Stream &strm, const uint32_t alloc_id, in SaveAllocation()
2750 bool RenderScriptRuntime::LoadModule(const lldb::ModuleSP &module_sp) { in LoadModule()
2786 LoadRuntimeHooks(m_libRSDriver, RenderScriptRuntime::eModuleKindDriver); in LoadModule()
2793 LoadRuntimeHooks(m_libRSCpuRef, RenderScriptRuntime::eModuleKindImpl); in LoadModule()
2837 void RenderScriptRuntime::Update() { in Update()
3078 void RenderScriptRuntime::DumpStatus(Stream &strm) const { in DumpStatus()
3105 void RenderScriptRuntime::DumpContexts(Stream &strm) const { in DumpContexts()
3134 void RenderScriptRuntime::DumpKernels(Stream &strm) const { in DumpKernels()
3149 RenderScriptRuntime::AllocationDetails *
3150 RenderScriptRuntime::FindAllocByID(Stream &strm, const uint32_t alloc_id) { in FindAllocByID()
3179 bool RenderScriptRuntime::DumpAllocation(Stream &strm, StackFrame *frame_ptr, in DumpAllocation()
3332 bool RenderScriptRuntime::RecomputeAllAllocations(Stream &strm, in RecomputeAllAllocations()
3355 void RenderScriptRuntime::ListAllocations(Stream &strm, StackFrame *frame_ptr, in ListAllocations()
3454 void RenderScriptRuntime::BreakOnModuleKernels( in BreakOnModuleKernels()
3468 void RenderScriptRuntime::SetBreakAllKernels(bool do_break, TargetSP target) { in SetBreakAllKernels()
3497 RenderScriptRuntime::CreateKernelBreakpoint(ConstString name) { in CreateKernelBreakpoint()
3524 RenderScriptRuntime::CreateReductionBreakpoint(ConstString name, in CreateReductionBreakpoint()
3555 bool RenderScriptRuntime::GetFrameVarAsUnsigned(const StackFrameSP frame_sp, in GetFrameVarAsUnsigned()
3590 bool RenderScriptRuntime::GetKernelCoordinate(RSCoordinate &coord, in GetKernelCoordinate()
3658 bool RenderScriptRuntime::KernelBreakpointHit(void *baton, in KernelBreakpointHit()
3709 void RenderScriptRuntime::SetConditional(BreakpointSP bp, Stream &messages, in SetConditional()
3732 bool RenderScriptRuntime::PlaceBreakpointOnKernel(TargetSP target, in PlaceBreakpointOnKernel()
3756 RenderScriptRuntime::CreateScriptGroupBreakpoint(ConstString name, in CreateScriptGroupBreakpoint()
3784 bool RenderScriptRuntime::PlaceBreakpointOnScriptGroup(TargetSP target, in PlaceBreakpointOnScriptGroup()
3795 bool RenderScriptRuntime::PlaceBreakpointOnReduction(TargetSP target, in PlaceBreakpointOnReduction()
3817 void RenderScriptRuntime::DumpModules(Stream &strm) const { in DumpModules()
3827 RenderScriptRuntime::ScriptDetails *
3828 RenderScriptRuntime::LookUpScript(addr_t address, bool create) { in LookUpScript()
3843 RenderScriptRuntime::AllocationDetails *
3844 RenderScriptRuntime::LookUpAllocation(addr_t address) { in LookUpAllocation()
3853 RenderScriptRuntime::AllocationDetails *
3854 RenderScriptRuntime::CreateAllocation(addr_t address) { in CreateAllocation()
3876 bool RenderScriptRuntime::ResolveKernelName(lldb::addr_t kernel_addr, in ResolveKernelName()
4017 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4052 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4193 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4293 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4342 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4401 bool success = RenderScriptRuntime::GetKernelCoordinate( in DoExecute()
4474 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4566 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4677 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4712 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4761 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4802 RenderScriptRuntime *runtime = static_cast<RenderScriptRuntime *>( in DoExecute()
4863 RenderScriptRuntime *runtime = llvm::cast<RenderScriptRuntime>( in DoExecute()
4921 void RenderScriptRuntime::Initiate() { assert(!m_initiated); } in Initiate()
4923 RenderScriptRuntime::RenderScriptRuntime(Process *process) in RenderScriptRuntime() function in RenderScriptRuntime
4930 lldb::CommandObjectSP RenderScriptRuntime::GetCommandObject( in GetCommandObject()
4935 RenderScriptRuntime::~RenderScriptRuntime() = default;