search for: int_annot

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

2009 Jan 22
2
[LLVMdev] Implementing customized intrinsic
...ation intrinsic does not fit the scenario. Haohui On Jan 21, 2009, at 8:01 PM, Tanya M. Lattner wrote: > > Does the llvm annotation intrinsic not work for what you are trying > to do? > > http://llvm.org/docs/LangRef.html#int_var_annotation > http://llvm.org/docs/LangRef.html#int_annotation > > -Tanya > > On Wed, 21 Jan 2009, Haohui Mai wrote: > >> Dear all, >> >> Currently I'm working on a project that add various checks into the >> LLVM bitcode. For example, I insert function calls before every >> load / store instructions to gu...
2009 Jan 22
0
[LLVMdev] Implementing customized intrinsic
Does the llvm annotation intrinsic not work for what you are trying to do? http://llvm.org/docs/LangRef.html#int_var_annotation http://llvm.org/docs/LangRef.html#int_annotation -Tanya On Wed, 21 Jan 2009, Haohui Mai wrote: > Dear all, > > Currently I'm working on a project that add various checks into the > LLVM bitcode. For example, I insert function calls before every > load / store instructions to guarantee that these instructions are > s...
2009 Jan 22
3
[LLVMdev] Implementing customized intrinsic
Dear all, Currently I'm working on a project that add various checks into the LLVM bitcode. For example, I insert function calls before every load / store instructions to guarantee that these instructions are safe. I really want to implement them as LLVM intrinsics or ``special function calls'' so that I am able to leverage the power of things like InstVisitor. However, it
2010 Mar 25
1
[LLVMdev] source code information in LLVM IR
Hi, I am generating llvm IR code for C source code using clang as the front end. I am wondering if there is any way of mapping an llvm IR line number back to its C source code line number. Thanks Sincerely Arvind ------------------------------------------------------------------------ ------------ Arvind Sudarsanam Phone: (435) 512-7769 CPU Technology, Inc
2011 Jul 13
1
[LLVMdev] Is it possible to store some info and use it after emitting the bitcode file?
Hi All, Specifically, the problem is that I want to insert a string into the source code. When the source code is compiled by the compiler into bitcode file such info will be extracted and stored somewhere else, and the compiler only compiles the original source code. An example is like: a1.cpp: int main() { int a = 0; cout << a << endl; } I'd like to
2009 Mar 06
3
[LLVMdev] Inserting annotations
Hello together, how can i insert annotations in IR ? I want actually write something like: CallInst *call = CallInst::Create( ??? , aBasicBlock); in my pass. Regards Raad -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090305/cd1db761/attachment.html>
2011 Aug 25
0
[LLVMdev] [RFC] Splitting init.trampoline into init.trampoline and adjust.trampoline
...adjustments applied. "a new pointer to the intrinsic" -> "a new pointer" After all, it doesn't produce a pointer to an intrinsic :) > + ADJUST_TRAMPOLINE, > --- a/include/llvm/Intrinsics.td > +++ b/include/llvm/Intrinsics.td > @@ -344,10 +344,12 @@ def int_annotation : Intrinsic<[llvm_anyint_ty], > > //===------------------------ Trampoline Intrinsics -----------------------===// > // > -def int_init_trampoline : Intrinsic<[llvm_ptr_ty], > +def int_init_trampoline : Intrinsic<[], > [llvm_ptr...
2011 Aug 23
2
[LLVMdev] [RFC] Splitting init.trampoline into init.trampoline and adjust.trampoline
Hi! Attached set of patches splits llvm.init.trampoline into an "init" phase and an "adjust" phase, as discussed on the "Go on dragonegg" thread. Thanks! -- Sanjoy Das http://playingwithpointers.com -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Split-intrinsics-and-DAG-nodes.patch Type: text/x-diff Size: 8808 bytes Desc: