Searched refs:RecurseBB (Results 1 – 2 of 2) sorted by relevance
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 60 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF); in CreateFibFunction() local 64 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction() 70 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 71 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction() 75 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction() 76 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction() 82 "addresult", RecurseBB); in CreateFibFunction() 85 ReturnInst::Create(Context, Sum, RecurseBB); in CreateFibFunction()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 88 BasicBlock* RecurseBB = BasicBlock::Create(M->getContext(), "recurse", FibF); in CreateFibFunction() local 92 BranchInst::Create(RetBB, RecurseBB, CondInst, BB); in CreateFibFunction() 98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB); in CreateFibFunction() 99 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB); in CreateFibFunction() 102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB); in CreateFibFunction() 103 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB); in CreateFibFunction() 107 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB); in CreateFibFunction() 110 ReturnInst::Create(M->getContext(), Sum, RecurseBB); in CreateFibFunction()
|