search for: cond_false_2

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

Did you mean: cond_false
2011 Aug 31
2
[LLVMdev] How to place call(s) to functions found in other llvm modules ???
...reate(Context, "entry", gcd); BasicBlock* ret = BasicBlock::Create(Context, "return", gcd); BasicBlock* cond_false = BasicBlock::Create(Context, "cond_false", gcd); BasicBlock* cond_true = BasicBlock::Create(Context, "cond_true", gcd); BasicBlock* cond_false_2 = BasicBlock::Create(Context, "cond_false", gcd); IRBuilder<> builder(entry); Value* xEqualsY = builder.CreateICmpEQ(x, y, "tmp"); builder.CreateCondBr(xEqualsY, ret, cond_false); builder.SetInsertPoint(ret); builder.CreateRet(x); builder.SetInsertPoi...