search for: trueblock

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

Did you mean: true_block
2011 Oct 12
2
[LLVMdev] insert ICmpInst/BranchIns in Pass?
...BasicBlock *bb = i->getParent(); BasicBlock *bb_after = i->getParent()->splitBasicBlock(&*i); bb->getTerminator()->eraseFromParent(); /* Test */ ICmpInst *test = new ICmpInst(*bb, CmpInst::ICMP_NE, shadow, val, "Shadow check"); /* Fail */ BasicBlock *trueBlock = BasicBlock::Create(M.getContext(), "Shadow Check FAIL", &F); CallInst::Create(qv_segFault, "", trueBlock); BranchInst::Create(bb_after, trueBlock); /* Profit */ BranchInst::Create(trueBlock, bb_after, test, bb); }
2011 Sep 28
3
[LLVMdev] ICmpInst example?
...asicBlock *bb = i->getParent(); Instruction *j = bb->end(); BasicBlock *bb_after = i->getParent()->splitBasicBlock(&*i); bb->getTerminator()->eraseFromParent(); ICmpInst *test = new ICmpInst(j, CmpInst::ICMP_EQ, shadow, val, "Shadow check"); BasicBlock *trueBlock = BasicBlock::Create(M.getContext(), "Shadow Check Block: TRUE", &F); CallInst::Create(qv_true, "", trueBlock); BranchInst::Create(bb_after, trueBlock); BasicBlock *falseBlock = BasicBlock::Create(M.getContext(), "Shadow Check Block: FALSE", &F); Cal...
2007 Dec 19
0
[LLVMdev] JIT Stub Problem
...The complete .ll file is attached): falseBlock: ; preds = %__exp.exit340 ret int 617 codeRepl: ; preds = %__exp.exit340 %tmp2.i.i = add int %x, 1 ; <int> [#uses=1] store int %tmp2.i.i, int* %tmp2.loc call void %test3_trueBlock_trueBlock.ret.exitStub_newFuncRoot.ce_trueBlock.ret.exitStub.ret.exitStub.ret.exitStub.ret7( ) %tmp2.reload = load int* %tmp2.loc ; <int> [#uses=1] %tmp15 = tail call int (sbyte*, ...)* %printf( sbyte* getelementptr ([8 x sbyte]* %str, int 0, uint 0), int %tmp2.re...
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...lockT *landBlock); > + void handleLoopcontBlock(BlockT *ContingBlock, LoopT *contingLoop, > + BlockT *ContBlock, LoopT *contLoop); > + bool isSameloopDetachedContbreak(BlockT *Src1Block, BlockT *Src2Block); > + int handleJumpintoIf(BlockT *HeadBlock, BlockT *TrueBlock, > + BlockT *F... > > [Message clipped] > > _______________________________________________ > llvm-commits mailing list > llvm-commits at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits -------------- next part -------------- A...