Displaying 9 results from an estimated 9 matches for "getmanager".
2005 Aug 12
8
Java Problems
...ngSurfaceManager.<init>(CachingSurfaceManager.java:163)
at
sun.awt.motif.X11CachingSurfaceManager.<init>(X11CachingSurfaceManager.java:57)
at
sun.java2d.SurfaceManagerFactory.createCachingManager(SurfaceManagerFactory.java:38)
at sun.awt.image.SurfaceManager.getManager(SurfaceManager.java:69)
at sun.awt.image.SurfaceManager.getManager(SurfaceManager.java:45)
at sun.java2d.SurfaceData.getDestSurfaceData(SurfaceData.java:113)
at
sun.java2d.SunGraphicsEnvironment.createGraphics(SunGraphicsEnvironment.java:337)
at
sun.java2d.Head...
2019 Mar 13
1
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
...nnot call getResult on it and always get
> ModuleAnalysisManager and PSI (see below.) This actually happens in my
> experiment.
>
> SomeLoopPass::run(Loop &L, LoopAnalysisManager &LAM, …) {
> auto &FAM = LAM.getResult<FunctionAnalysisManagerLoopProxy>(L,
> AR).getManager();
> auto *MAMProxy = FAM.getCachedResult<ModuleAnalysisManagerFunctionProxy>(
> L.getHeader()->getParent()); *// Can be null*
Oh... well...
> If (MAMProxy) {
> auto &MAM = MAMProxy->getManager();
> auto *PSI = MAM.getCachedResult<ProfileSummaryAnalysis>(*F.g...
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
Dear all,
I would like to use the PostDominatorTree in ArgPromotion. I did not find an example of how to use function level analysis inside CallGraphSCCPass. I tried to follow an example of how to use function-level pass in a module pass, but I hit "llvm_unreachable" in PMDataManager::addLowerLevelRequiredPass.
What would be a proper way to make PostDominatorTree available in
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
...sManager &AM,
> llvm::LazyCallGraph &CG,
> llvm::CGSCCUpdateResult &UR) {
> llvm::FunctionAnalysisManager &FAM =
> AM.getResult<llvm::FunctionAnalysisManagerCGSCCProxy>(C, CG)
> .getManager();
> for (llvm::LazyCallGraph::Node &N : C) {
> llvm::Function &F = N.getFunction();
> llvm::PostDominatorTree &PDT =
> FAM.getResult<llvm::PostDominatorTreeAnalysis>(F);
> PDT.print(llvm::outs());
> }
> return llvm::Pre...
2019 Mar 13
2
RFC: Getting ProfileSummaryInfo and BlockFrequencyInfo from various types of passes under the new pass manager
Overall seems fine to me.
On 3/11/19 8:12 PM, Hiroshi Yamauchi wrote:
> Here's a revised approach based on the discussion:
>
> - Cache PSI right after the profile summary in the IR is written in
> the pass pipeline. This would avoid the need to insert
> RequireAnalysisPass for PSI before each non-module pass that needs it.
> PSI can be technically invalidated but unlikely
2010 Oct 13
1
[LLVMdev] EXC_BAD_ACCESS: invalid MemoryBuffer from ContentCache::getBuffer
...ceLoc and do:
int LineNum = SourceLoc.getInstantiationLineNumber();
int ColNum = SourceLoc.getInstantiationColumnNumber();
which return sane values. Checking SourceLoc.isInvalid() always
returns false, so I'm confident SourceLoc is valid. However, when I
do:
const char * bufname = SourceLoc.getManager().getBufferName(SourceLoc,
&invalid);
I get crashes. The different here I noticed is that
SourceLoc.getInstantiationColumnNumber() uses
getDecomposedInstantiationLoc(Loc) to grab the FileID while getBuffer
name uses getFileID(Loc), which in the case of the crash return
different values for Fi...
2007 Mar 19
0
[900] branches/wxruby2/wxwidgets_282/swig/classes: Initial commit of AUI core classes
...unsigned int flags = wxAUI_MGR_DEFAULT);
+ virtual ~wxAuiManager();
+ void UnInit();
+
+ void SetFlags(unsigned int flags);
+ unsigned int GetFlags() const;
+
+ void SetManagedWindow(wxWindow* managed_wnd);
+ wxWindow* GetManagedWindow() const;
+
+ static wxAuiManager* GetManager(wxWindow* window);
+
+ void SetArtProvider(wxAuiDockArt* art_provider);
+ wxAuiDockArt* GetArtProvider() const;
+
+ wxAuiPaneInfo& GetPane(wxWindow* window);
+ wxAuiPaneInfo& GetPane(const wxString& name);
+ wxAuiPaneInfoArray& GetAllPanes();
+
+ bool AddPane(wxWin...
2016 Jul 25
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
Sent from my Verizon Wireless 4G LTE DROID
On Jul 25, 2016 6:16 PM, Sean Silva <chisophugis at gmail.com<mailto:chisophugis at gmail.com>> wrote:
>
>
>
> On Mon, Jul 25, 2016 at 9:27 AM, Hal Finkel <hfinkel at anl.gov<mailto:hfinkel at anl.gov>> wrote:
>>
>>
>> ________________________________
>>>
>>> From: "Sean
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...ULL;
+ }
+
+ wxEvent *Clone() const { return new wxAuiManagerEvent(*this); }
+
+ void SetManager(wxAuiManager* mgr) { manager = mgr; }
+ void SetPane(wxAuiPaneInfo* p) { pane = p; }
+ void SetButton(int b) { button = b; }
+ void SetDC(wxDC* pdc) { dc = pdc; }
+
+ wxAuiManager* GetManager() const { return manager; }
+ wxAuiPaneInfo* GetPane() const { return pane; }
+ int GetButton() const { return button; }
+ wxDC* GetDC() const { return dc; }
+
+ void Veto(bool veto = true) { veto_flag = veto; }
+ bool GetVeto() const { return veto_flag; }
+ void SetCanVeto(bo...