search for: qv_true

Displaying 1 result from an estimated 1 matches for "qv_true".

Did you mean: js_true
2011 Sep 28
3
[LLVMdev] ICmpInst example?
...t;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); CallInst::Create(qv_false, "", falseBlock); BranchInst::Create(bb_after, falseBlock); BranchInst:...