search for: usedphysregmask

Displaying 19 results from an estimated 19 matches for "usedphysregmask".

2016 May 24
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...ed except EBP and some other similar, Is this > a correct way to get register usage information ? I think I have > made some mistake please help. You might look at the implementation of these functions in lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning true because UsedPhysRegMask.test(PhysReg) is true or because reg_nodbg_empty(*AliasReg) is true. -Hal > Vivek > On Wed, May 18, 2016 at 11:42 PM, Quentin Colombet < > qcolombet at apple.com > wrote: > > > On May 18, 2016, at 11:00 AM, vivek pandya < > > > vivekvpandya at gmail.com &gt...
2016 May 25
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...me other similar, Is this a correct way to get > register usage information ? I think I have made some mistake please help. > > > You might look at the implementation of these functions in > lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning > true because UsedPhysRegMask.test(PhysReg) is true or because > reg_nodbg_empty(*AliasReg) is true. > Yes that helped now I am getting actual register which have been used by given function, but a little problem The updated code is as shown below : for(TargetRegisterInfo::regclass_iterator i = (*TRI).regclass_begin(), e...
2016 May 24
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...t;>> codegen of the potential callees instead. >>> >> I am thinking to add a simple Immutable pass MachineRegisterUsageInfo >> similar to MachineBranchProbabilityInfo that can maintain >> RegisterUsageInformation per function. Can it be simply done by using >> UsedPhysRegMask from MachineRegisterInfo ?? >> >> >> No, like the comment said, UsedPhysRegMask gives only the registers >> clobbered by calls: >> // This bit vector represents all the registers clobbered by function >> calls. >> >> You want to build this information...
2016 May 25
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...ect way to get register usage information ? I think I have > > > made some mistake please help. > > > > > You might look at the implementation of these functions in > > lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're > > returning true because UsedPhysRegMask.test(PhysReg) is true or > > because reg_nodbg_empty(*AliasReg) is true. > > Yes that helped now I am getting actual register which have been used > by given function, but a little problem > The updated code is as shown below : > for(TargetRegisterInfo::regclass_iterator i = &...
2016 May 25
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...s a correct way to get >> register usage information ? I think I have made some mistake please help. >> >> >> You might look at the implementation of these functions in >> lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning >> true because UsedPhysRegMask.test(PhysReg) is true or because >> reg_nodbg_empty(*AliasReg) is true. >> > Yes that helped now I am getting actual register which have been used by > given function, but a little problem > The updated code is as shown below : > for(TargetRegisterInfo::regclass_iterator i =...
2016 May 11
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...May 11, 2016 1:14:07 PM > Subject: Re: [llvm-dev] [GSoC 2016] Interprocedural Register > Allocation - Introduction and Feedback > Vivek Pandya > On Wed, May 11, 2016 at 11:19 PM, Matthias Braun < matze at braunis.de > > wrote: > > Yes there is also MachineRegisterInfo::UsedPhysRegMask which should > > be the union of all regmasks in the function. > > Does this means there is no requirement of a separate pass for > propagating register usage information ? And also only codegen order > needs to be changed to DFS on call graph. And currently no > intra-proced...
2016 May 18
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...masks computed during >> codegen of the potential callees instead. >> > I am thinking to add a simple Immutable pass MachineRegisterUsageInfo > similar to MachineBranchProbabilityInfo that can maintain > RegisterUsageInformation per function. Can it be simply done by using > UsedPhysRegMask from MachineRegisterInfo ?? > > > No, like the comment said, UsedPhysRegMask gives only the registers > clobbered by calls: > // This bit vector represents all the registers clobbered by function > calls. > > You want to build this information yourself on top of MachineRegis...
2016 May 25
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...gt;>> register usage information ? I think I have made some mistake please help. >>> >>> >>> You might look at the implementation of these functions in >>> lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning >>> true because UsedPhysRegMask.test(PhysReg) is true or because >>> reg_nodbg_empty(*AliasReg) is true. >>> >> Yes that helped now I am getting actual register which have been used by >> given function, but a little problem >> The updated code is as shown below : >> for(TargetRegisterInf...
2016 May 25
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...d except EBP and some other similar, Is this a correct way to get register usage information ? I think I have made some mistake please help. > > You might look at the implementation of these functions in lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning true because UsedPhysRegMask.test(PhysReg) is true or because reg_nodbg_empty(*AliasReg) is true. > Yes that helped now I am getting actual register which have been used by given function, but a little problem > The updated code is as shown below : > for(TargetRegisterInfo::regclass_iterator i = (*TRI).regclass_begin...
2016 May 18
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...of 'exact' register masks computed during codegen of the potential callees instead. >> I am thinking to add a simple Immutable pass MachineRegisterUsageInfo similar to MachineBranchProbabilityInfo that can maintain RegisterUsageInformation per function. Can it be simply done by using UsedPhysRegMask from MachineRegisterInfo ?? > > No, like the comment said, UsedPhysRegMask gives only the registers clobbered by calls: > // This bit vector represents all the registers clobbered by function calls. > > You want to build this information yourself on top of MachineRegisterInfo::isP...
2016 May 25
3
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...EBP and some other similar, Is this a correct way to get register usage information ? I think I have made some mistake please help. >> >> You might look at the implementation of these functions in lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning true because UsedPhysRegMask.test(PhysReg) is true or because reg_nodbg_empty(*AliasReg) is true. >> Yes that helped now I am getting actual register which have been used by given function, but a little problem >> The updated code is as shown below : >> for(TargetRegisterInfo::regclass_iterator i = (*TRI).re...
2016 May 25
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...usage information ? I think I have made some mistake please help. >>>> >>>> >>>> You might look at the implementation of these functions in >>>> lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning >>>> true because UsedPhysRegMask.test(PhysReg) is true or because >>>> reg_nodbg_empty(*AliasReg) is true. >>>> >>> Yes that helped now I am getting actual register which have been used by >>> given function, but a little problem >>> The updated code is as shown below : >>&g...
2016 May 18
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...of 'exact' register masks computed during > codegen of the potential callees instead. > I am thinking to add a simple Immutable pass MachineRegisterUsageInfo similar to MachineBranchProbabilityInfo that can maintain RegisterUsageInformation per function. Can it be simply done by using UsedPhysRegMask from MachineRegisterInfo ?? Here getCallPreservedMask will call API provided by MachineRegisterUsageInfo to avail the exact register mask but how it can know that the function is already codegen or it will query each time when getCallPreservedMask is called and of available MachineRegisterUsageInf...
2016 May 25
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...ay to get register usage information ? I think I have made some mistake please help. >>>>>>>> >>>>>>>> You might look at the implementation of these functions in lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning true because UsedPhysRegMask.test(PhysReg) is true or because reg_nodbg_empty(*AliasReg) is true. >>>>>>> Yes that helped now I am getting actual register which have been used by given function, but a little problem >>>>>>> The updated code is as shown below : >>>>>>...
2016 May 25
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...I think I have made some mistake please help. >>>>> >>>>> >>>>> You might look at the implementation of these functions in >>>>> lib/CodeGen/MachineRegisterInfo.cpp and figure out if they're returning >>>>> true because UsedPhysRegMask.test(PhysReg) is true or because >>>>> reg_nodbg_empty(*AliasReg) is true. >>>>> >>>> Yes that helped now I am getting actual register which have been used >>>> by given function, but a little problem >>>> The updated code is as show...
2016 May 11
3
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
Yes there is also MachineRegisterInfo::UsedPhysRegMask which should be the union of all regmasks in the function. > On May 11, 2016, at 10:47 AM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > From: "Matthias Braun" <matze at braunis.de> > To: "Hal Finkel" <hfinkel at anl.gov...
2016 May 25
0
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
...> > lib/CodeGen/MachineRegisterInfo.cpp and figure out > > > > > > > > > > if > > > > > > > > > > they're > > > > > > > > > > returning true because > > > > > > > > > > UsedPhysRegMask.test(PhysReg) > > > > > > > > > > is > > > > > > > > > > true > > > > > > > > > > or > > > > > > > > > > because reg_nodbg_empty(*AliasReg) is true. > > > > > >...
2016 May 11
2
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
> On May 11, 2016, at 3:31 AM, Hal Finkel via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > From: "vivek pandya" <vivekvpandya at gmail.com> > To: "Mehdi Amini" <mehdi.amini at apple.com> > Cc: "Hal Finkel" <hfinkel at anl.gov>, "Quentin Colombet" <qcolombet at apple.com>, "llvm-dev"
2016 May 11
3
[GSoC 2016] Interprocedural Register Allocation - Introduction and Feedback
*Vivek Pandya* On Wed, May 11, 2016 at 10:02 AM, vivek pandya <vivekvpandya at gmail.com> wrote: > > > *Vivek Pandya* > > > On Wed, May 11, 2016 at 9:43 AM, Mehdi Amini <mehdi.amini at apple.com> > wrote: > >> >> On May 10, 2016, at 6:06 PM, Hal Finkel <hfinkel at anl.gov> wrote: >> >> >> >>