search for: commamnd

Displaying 3 results from an estimated 3 matches for "commamnd".

Did you mean: comamnd
2004 May 19
2
[LLVMdev] Question about insert function or instruction.
...n another c/cpp file and can I insert the external call function to existed bytecode ? if it is valid. Can you give me a simple example to show how to do it or just give me a url which can show how to do it? 2) If I'd like to insert the function in the same bytecode, how to do it? 3) for opt commamnd, there have -trace -tracem options ,how can I see the detailed direction to use it. I went through a LowerInvoke.cpp and EdgeCode.cpp file which have examples to do what I want. Although I can learn the main flow how to insert a call funcation or instruction, but I still cannot implement it. Shame...
2004 May 21
1
[LLVMdev] Re: LLVMdev digest, Vol 1 #292 - 4 msgs
...e external call function to existed > bytecode ? if it is valid. Can you give me a simple > example to show how to do it or just give me a url > which can show how to do it? > > 2) If I'd like to insert the function in the same > bytecode, how to do it? > > 3) for opt commamnd, there have -trace -tracem options > ,how can I see the detailed direction to use it. > > I went through a LowerInvoke.cpp and EdgeCode.cpp file > which have examples to do what I want. Although I can > learn the main flow how to insert a call funcation or > instruction, but I st...
2004 May 19
0
[LLVMdev] Question about insert function or instruction.
...binary. > 2) If I'd like to insert the function in the same > bytecode, how to do it? In the above example, you would generate a bytecode version of libprofile using the standard Makefile, then link it with the bytecode version of your program using gccld or llvm-link. > 3) for opt commamnd, there have -trace -tracem options > ,how can I see the detailed direction to use it. Short answer: 1. Compile the program in question to bytecode using llvmgcc. Assume the result is 2. Run the bytecode of the program through opt -tracem, and then generate C code for the result. % opt -trac...