search for: expandbyval

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

2014 Jan 23
2
[LLVMdev] Position-independent stacks
Thanks Mark! That'd be a useful starting point. For the rest of the people here: to be a bit more specific, I am having doubts about the following: - Can later optimization passes or code generation still create machine code that takes and stores (in a register perhaps) an address of something on the stack, even if not semantically visible to the programmer? Can this somehow be detected?
2014 Mar 04
9
[LLVMdev] Upstreaming PNaCl's IR simplification passes
...R simplification passes [2]. Renderscript is an example of another project that uses IR as a stable distribution format, though I think currently Renderscript is not subsetting IR much. Some examples of PNaCl's IR simplification passes are: * Calling conventions lowering: ExpandVarArgs and ExpandByVal lower varargs and by-value argument passing respectively. They would be useful for any backend that doesn't want to implement varargs or by-value calling conventions. * Instruction-level lowering: * ExpandStructRegs splits up struct values into scalars, removing the "insertvalue&quo...
2014 Mar 05
2
[LLVMdev] A "backend" is ... ?
...a backend, should there be commensurate >> changes to any relevant documentation for getting started writing >> backends? (we don't have much such documentation though...) > > Very much so, yes. And this... >>>> * Calling conventions lowering:  ExpandVarArgs and ExpandByVal >>>> lower varargs and by-value argument passing respectively. >>>> They would be useful for any backend that doesn't want to >>>> implement varargs or by-value calling conventions. >>> >>> Why wouldn't these be applicable to existing ba...
2014 Mar 05
4
[LLVMdev] Upstreaming PNaCl's IR simplification passes
...ention. Perhaps > these questions are better answered in the review thread for the patches, > but they are at least things that I would think about and try to address if > and when you send out the code review. > > >> >> * Calling conventions lowering: ExpandVarArgs and ExpandByVal lower >> varargs and by-value argument passing respectively. They would be useful >> for any backend that doesn't want to implement varargs or by-value calling >> conventions. >> > > Why wouldn't these be applicable to existing backends? What is hard about &gt...