search for: riscvvaluehandler

Displaying 1 result from an estimated 1 matches for "riscvvaluehandler".

2019 Jul 24
2
About a new porting of GlobalIsel for RISCV
...ave made some experiment that trying to implement the "LowerReturn" function, and it can return correctly. The code snippet may be as follows: ... CCState CCInfo(F.getCallingConv(), F.isVarArg(), MF, ArgLocs, F.getContext()); TLI.analyzeOutputArgs(MF, CCInfo, Outs, true, nullptr); RISCVValueHandler RetHandler(MIRBuilder, MF.getRegInfo(), Ret); RetHandler.handleArg(ArgLocs, RetInfos); ... In order to reduce duplicated code as much as possible, and reuse part of code from "TargetLowering" for GlobalIsel, the access specifiers for some functions in RISCVTargetLowering need be chang...