HomeSort by relevance Sort by last modified time
    Searched refs:RecurseBB (Results 1 - 2 of 2) sorted by null

  /external/llvm/examples/Fibonacci/
fibonacci.cpp 61 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF);
65 BranchInst::Create(RetBB, RecurseBB, CondInst, BB);
71 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
72 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
76 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
77 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
83 "addresult", RecurseBB);
86 ReturnInst::Create(Context, Sum, RecurseBB);
  /external/llvm/examples/ParallelJIT/
ParallelJIT.cpp 88 BasicBlock* RecurseBB = BasicBlock::Create(M->getContext(), "recurse", FibF);
92 BranchInst::Create(RetBB, RecurseBB, CondInst, BB);
98 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
99 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
102 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
103 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
107 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB);
110 ReturnInst::Create(M->getContext(), Sum, RecurseBB);

Completed in 168 milliseconds