search for: getprefixdata

Displaying 8 results from an estimated 8 matches for "getprefixdata".

2015 Oct 12
2
[RFC] Clean up the way we store optional Function data
...39;d like to see? > > Sanjoy's idea makes sense to me, but only if we never need to add > prefix/prologue data after functions are created. Are there any places > where we need/want to add them after the fact? I think so. I see: LinkModules.cpp: Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, BitcodeReader.cpp: FunctionPrologueWorklist.back().first->setPrologueData(C); InlineFunction.cpp: Caller->setPersonalityFn(CalledPersonality); Some of these sites could be refactored so that the Functions are created with the prefix/prologue data they need. I don't think th...
2015 Oct 12
3
[RFC] Clean up the way we store optional Function data
...sense to me, but only if we never need to add >>> prefix/prologue data after functions are created. Are there any places >>> where we need/want to add them after the fact? >> >> I think so. I see: >> >> LinkModules.cpp: Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, >> BitcodeReader.cpp: FunctionPrologueWorklist.back().first->setPrologueData(C); >> InlineFunction.cpp: Caller->setPersonalityFn(CalledPersonality); >> >> Some of these sites could be refactored so that the Functions are created with the prefix/prologue...
2015 Oct 12
2
[RFC] Clean up the way we store optional Function data
...fix/prologue data after functions are created. Are there any > places > > >> where we need/want to add them after the fact? > > > > > > I think so. I see: > > > > > > LinkModules.cpp: > Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, > > > BitcodeReader.cpp: > FunctionPrologueWorklist.back().first->setPrologueData(C); > > > InlineFunction.cpp: Caller->setPersonalityFn(CalledPersonality); > > > > > > Some of these sites could be refactored so that the...
2015 Oct 16
2
[RFC] Clean up the way we store optional Function data
...functions are created. Are there any >>> places >>>>>> where we need/want to add them after the fact? >>>>> >>>>> I think so. I see: >>>>> >>>>> LinkModules.cpp: >>> Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, >>>>> BitcodeReader.cpp: >>> FunctionPrologueWorklist.back().first->setPrologueData(C); >>>>> InlineFunction.cpp: Caller->setPersonalityFn(CalledPersonality); >>>>> >>>>> Some of these sites could be refactor...
2013 Nov 17
0
[LLVMdev] Doxygen not up to date?
At the bottom of < http://llvm.org/docs/doxygen/html/classllvm_1_1Function.html>, it says "Generated on Sat Nov 16 2013", but the hasPrefixData/getPrefixData functions don't seem to be there (I just happened to notice those being missing). Even going directly to the header source code at < http://llvm.org/docs/doxygen/html/Function_8h_source.html> doesn't seem to have them? Is doxygen reusing some stale state on the server that generates...
2015 Oct 21
2
[RFC] Clean up the way we store optional Function data
...t;> places >>>>>>>> where we need/want to add them after the fact? >>>>>>> >>>>>>> I think so. I see: >>>>>>> >>>>>>> LinkModules.cpp: >>>>> Dst.setPrefixData(MapValue(Src.getPrefixData(), ValueMap, >>>>>>> BitcodeReader.cpp: >>>>> FunctionPrologueWorklist.back().first->setPrologueData(C); >>>>>>> InlineFunction.cpp: Caller->setPersonalityFn(CalledPersonality); >>>>>>> >>>>>>>...
2017 Mar 07
4
[BUG Report] -dead_strip, strips prefix data unconditionally on macOS
Firstly, do you need "main.dsp" defined as an external symbol, or can all external references go via "main"? If the answer is the latter, that will make the solution simpler. If only the latter, you will need to make a change to LLVM here: http://llvm-cs.pcc.me.uk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp#650 Basically you would need to add a hook to the TargetLoweringObjectFile
2015 Oct 12
2
[RFC] Clean up the way we store optional Function data
Hi Sanjoy, > I don't know how prologue and prefix data is used -- is it correct to > say that you're basically trying to give `llvm::Function` s some > "optional" operands, and that you know during construction of an > `llvm::Function` how many optional operands the `llvm::Function` will > need[1]? Yep. Though not operands exactly, since they wouldn't be in