search for: machinefuct

Displaying 4 results from an estimated 4 matches for "machinefuct".

Did you mean: machine_ct
2011 Oct 14
3
[LLVMdev] Request for merge: GHC/ARM calling convention.
...9;t know. The code in question is not written by me, but IMHO the motivation was just to get job done and allow later someone with better knowledge of LLVM internals to do required refactoring -- if you are pointing on the fact why we have not refactored calling convention call from Function to MachineFuction yet. Thanks, Karel
2011 Oct 14
2
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Duncan, > const unsigned* > ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { > + bool ghcCall = false; > + > + if (MF) { > + const Function *F = MF->getFunction(); > + ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false); > + } > This bit looks dubious. Why do you need to do it? What exactly? We need
2011 Oct 14
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Karel, > > const unsigned* > > ARMBaseRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { > > + bool ghcCall = false; > > + > > + if (MF) { > > + const Function *F = MF->getFunction(); > > + ghcCall = (F ? F->getCallingConv() == CallingConv::GHC : false); > > + } > > > This bit looks dubious. Why do you
2011 Oct 14
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
...de in question is not written by me, but > IMHO the motivation was just to get job done and allow later someone with better > knowledge of LLVM internals to do required refactoring -- if you are pointing on > the fact why we have not refactored calling convention call from Function to > MachineFuction yet. If it's because MF is represents the callee then it hasn't been done because using it would almost certainly be wrong I guess :( Ciao, Duncan.