Displaying 2 results from an estimated 2 matches for "visitxxx".
Did you mean:
visitxor
2012 May 20
1
[LLVMdev] Error While Inserting New Instruction to LLVM IR
...e/llvm-svn/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:946:0:
*
*/home/arnie/llvm-svn/llvm/include/llvm/Instruction.def: In member function
‘void llvm::SelectionDAGBuilder::visit(unsigned int, const llvm::User&)’:*
*/home/arnie/llvm-svn/llvm/include/llvm/Instruction.def:104:1: error:
‘visitXXX’ was not declared in this scope*
*/home/arnie/llvm-svn/llvm/include/llvm/Instruction.def:105:1: error:
‘visitYYY’ was not declared in this scope*
But part of my Instruction.def looks like this (after inserting XXX and
YYY)- .
.......
HANDLE_TERM_INST ( 7, Unreachable, UnreachableInst)
HANDLE_TERM...
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