search for: irfile

Displaying 6 results from an estimated 6 matches for "irfile".

Did you mean: infile
2014 Sep 19
3
[LLVMdev] [RFC] Exhaustive bitcode compatibility tests for IR features
On 19 September 2014 15:54, Steven Wu <stevenwu at apple.com> wrote: > Yes, we don’t need to edit the assembly in the file, but we need to modified the CHECK line to reflect the output of current llvm-dis. I was talking about updating the CHECK in all the previous version. Does that make sense? Yes, the CHECK lines would have to be updated, but that seems like a pretty small annoyance.
2014 Oct 02
2
[LLVMdev] LTOModule::parseSymbols not handling GlobalAlias
...> [llvm] r212349 - Implement LTOModule on top of IRObjectFile > http://comments.gmane.org/gmane.comp.compilers.llvm.cvs/195450 > > > LTOModule::parseSymbols used to explicitly add global aliases as defined > symbols: > > // add aliases > for (const auto &Alias : IRFile->aliases()) > addDefinedDataSymbol(Alias); > > After your patch I do not seem to see an explicit handling of aliases... I would > naively expect something like this: > > for (auto &Sym : IRFile->symbols()) { > ..... > if (isa<GlobalVariable>(GV)) {...
2012 Aug 14
1
[LLVMdev] MCJIT vs JT
Compiled the 3.0.0 version of the source code , then tried lli --use-mcjit irfile.txt On both windows and linux, I got: LLVM ERROR: Unknow object format. If I omit the -use-mcjit option, the command works well. It seems to me that something about MCJIT is broken in the 3.0.0 version. Also tried to initialize an ExecutionEngine from code, got errors like "Target does not s...
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...////////////////////////////////////////////////// +// +// Implementation of IPOPartition and IPOPartMgr +// +// ///////////////////////////////////////////////////////////////////////////// +// +IPOPartition::IPOPartition(Module *M, const char *NameWoExt, IPOFileMgr &FM) : + Mod(0), Ctx(0), IRFile(0), ObjFile(0), FileNameWoExt(NameWoExt), FileMgr(FM) { +} + +IPOFile &IPOPartition::getIRFile() const { + if (IRFile) + return *IRFile; + else { + std::string FN(FileNameWoExt + ".bc"); + return *(IRFile = FileMgr.CreateIRFile(FN.c_str())); + } +} + +IPOFile &IPOParti...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...t; -------------- next part -------------- A non-text attachment was scrubbed... Name: test-scipt.sh Type: application/x-sh Size: 2084 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140130/eed1a30d/attachment.sh> -------------- next part -------------- IRFile NumFunctionsTotal InitialSize MergedNoPatch TimeNoPatch SizeNoPatch MergedWithPatch TimeWithPatch SizeWithPatch 2002-04-17-PrintfChar.ll 2 2172 0 0.00 2163 0 0.00 2163 2002-05-02-ArgumentTest.ll 2 3164 0 0.01 3155 0 0.01 3155 2002-05-02-CastTest1.ll 1 2121 0 0.01 2112 0 0.01 2112 2002-05-02-CastTes...