search for: instructions_8h_sourc

Displaying 2 results from an estimated 2 matches for "instructions_8h_sourc".

Did you mean: instructions_8h_source
2012 Dec 21
0
[LLVMdev] LLVM getBasicBlockIndex() or equivalent
...a basic block. for (Function::iterator II = F.begin(), EE = F.end(); II != EE; ++II, ++ii) { BasicBlock* BB=II; I have segfaults or cannot use complex structures of several methods that I found in LLVM. Do you know how to use as simply as possible the methods found at : http://llvm.org/doxygen/Instructions_8h_source.html#l02136 http://llvm.org/doxygen/EdgeBundles_8cpp_source.html#l00078 Or something equivalent? I just want to get an ID of the basic blocks. Thank you ! -- Best regards, Alexandru Ionut Diaconescu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://l...
2013 Jan 10
1
[LLVMdev] LLVM Instruction to ICmpInst conversion
...: clasa http://llvm.org/doxygen/classllvm_1_1ICmpInst.html inside operEquiv. I cannot do something like ICmpInst** II1 = dyn_cast<ICmpInst*>(I1); (a kind of instanceOf() from Java), having casting compilation problems. The ICmpInst class is defined at line 913 from http://llvm.org/doxygen/Instructions_8h_source.html The inheritance diagram is at http://llvm.org/doxygen/classllvm_1_1ICmpInst.html I want to use the ICmpInst methods for objects of type Instruction. The methods are hard to copy/replicate. What solution I better to use to solve this problem? Should I use visitor pattern (about which I don...