search for: x86expandpseudo

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

2015 Oct 04
2
How to add NOP?
...nside the target's folder (e.g. lib/Target/X86/) and declare your pass in Target.h. Then you need to modify the target's TargetPassConfig ( http://llvm.org/docs/doxygen/html/classllvm_1_1TargetPassConfig.html) to enable your pass. You can check out the existing MachineFunction passes (e.g. X86ExpandPseudo.cpp) to get an idea. Volkan On Sat, Oct 3, 2015 at 7:21 AM Erdem Derebaşoğlu < erdemderebasoglu at hotmail.com> wrote: > I wrote the pass but when I try to build LLVM, I get this error: > "/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined reference > to 'llvm:...
2015 Sep 17
2
How to add NOP?
This seems to be what I am looking for. That was very helpful. Thank you. Erdem From: vlknkls at gmail.com Date: Wed, 16 Sep 2015 16:25:29 +0000 Subject: Re: [llvm-dev] How to add NOP? To: erdemderebasoglu at hotmail.com; llvm-dev at lists.llvm.org Use MachineInstr::memoperands() function to get memory operands then you can get the address space by using MachineMemOperand::getAddrSpace(). Volkan
2015 Oct 11
2
How to add NOP?
...(e.g. lib/Target/X86/) and declare your pass in Target.h. > Then you need to modify the target's TargetPassConfig ( > http://llvm.org/docs/doxygen/html/classllvm_1_1TargetPassConfig.html) to > enable your pass. > > You can check out the existing MachineFunction passes > (e.g. X86ExpandPseudo.cpp) to get an idea. > > Volkan > > On Sat, Oct 3, 2015 at 7:21 AM Erdem Derebaşoğlu < > erdemderebasoglu at hotmail.com> wrote: > > I wrote the pass but when I try to build LLVM, I get this error: > "/home/erdem/llvm/lib/CodeGen/CodeGen.cpp:80: error: undefined r...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...m[3]: Compiling X86CallFrameOptimization.cpp for Release+Asserts build llvm[3]: Compiling SimplifyInstructions.cpp for Release+Asserts build llvm[2]: Compiling MemoryDependenceAnalysis.cpp for Release+Asserts build llvm[3]: Compiling SimplifyLibCalls.cpp for Release+Asserts build llvm[3]: Compiling X86ExpandPseudo.cpp for Release+Asserts build llvm[3]: Compiling SymbolRewriter.cpp for Release+Asserts build llvm[2]: Compiling MemoryLocation.cpp for Release+Asserts build llvm[3]: Compiling X86FastISel.cpp for Release+Asserts build llvm[3]: Compiling SelectionDAGBuilder.cpp for Release+Asserts build llvm[2]: Co...