search for: deuarm

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

Did you mean: dear
2011 Dec 02
1
[LLVMdev] Running a pass during JIT
Hi everyone I would like to run a pass that I have wrote during the JIT (lli). But LLVM does not seem to have such an option. I can't even call standard LLVM's passes (for exmple, -adce). I have also tried to use lli -load=<path to the .so file of my pass>. But that won't help either. Anyway, is there a way do to that? Sincerely, Schuhmacher -------------- next part
2011 Dec 09
1
[LLVMdev] Finding the uses of a global variable
Hi everyone, I am writing a pass that finds all uses of global variables (my goal is to find the uses of strings, and strings are defined as global variables). So, I can iterate over global vars by for(Module::global_iterator gi = M.global_begin(), gend = M.global_end(); gi != gend; ++gi) ...... But if I use its def-use chain for(Value::use_iterator i = gi->use_begin(), e = F->use_end; i!=e;
2011 Dec 29
2
[LLVMdev] Taking invoke instructions' labels
Hello everybody, I am writing a pass, that does something on strings. It's a long story, so I will write shortly. If I have an iterator on invoke instruction, how can I take its label parameters? For example, invoke void @_ZNSsC1EPKcRKSaIcE(%"class.std::basic_string"* %str, i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), %"class.std::allocator"* %2) to
2011 Nov 21
1
[LLVMdev] ModulePass and Strings
Hi everybody, I am writing an LLVM pass and I want to iterate over the whole module (including global variables), that's why I use ModulePass instead of FunctionPass. But I don't know how to do it. Using Module::iterator seams to iterate only over functions. But I need to iterate over all the Instructions in the module. How should I do such an iteration? Also, I would like to find all the