search for: l00199

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

Did you mean: l00149
2012 Dec 17
4
[LLVMdev] BasicBlock back()
...Instruction* prev = &BB.back(); errs() << "\n PENULTIMATE: "<<*prev<<"\n"; ... The terminal prints the SAME instruction. I don't know how back() works. (Definition at line 199<http://llvm.org/doxygen/BasicBlock_8h_source.html#l00199>of file BasicBlock.h <http://llvm.org/doxygen/BasicBlock_8h_source.html>.) 2. I also tried : bool patternDC::runOnBasicBlock(BasicBlock &BB) { ... BasicBlock::const_iterator I = BB.begin(); BasicBlock::const_iterator E = BB.end(); BasicBlock::const_iterator prev_iter,last_iter; pre...
2012 Dec 17
0
[LLVMdev] BasicBlock back()
...&BB.back(); > errs() << "\n PENULTIMATE: "<<*prev<<"\n"; > ... > > The terminal prints the SAME instruction. I don't know how back() > works. (Definition at line 199 > <http://llvm.org/doxygen/BasicBlock_8h_source.html#l00199> of file > BasicBlock.h <http://llvm.org/doxygen/BasicBlock_8h_source.html>.) I believe BasicBlock::back() returns an iterator to the last instruction in the BasicBlock which should be its terminator instruction (basic blocks are required to have a TerminatorInst as their last instr...
2012 Dec 18
1
[LLVMdev] BasicBlock back()
...prev = &BB.back(); > errs() << "\n PENULTIMATE: "<<*prev<<"\n"; > ... > > The terminal prints the SAME instruction. I don't know how back() works. > (Definition at line 199<http://llvm.org/doxygen/BasicBlock_8h_source.html#l00199>of file > BasicBlock.h <http://llvm.org/doxygen/BasicBlock_8h_source.html>.) > > > I believe BasicBlock::back() returns an iterator to the last instruction > in the BasicBlock which should be its terminator instruction (basic blocks > are required to have a TerminatorInst...