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

  /external/llvm/examples/Fibonacci/
fibonacci.cpp 74 BasicBlock* RecurseBB = BasicBlock::Create(Context, "recurse", FibF);
78 BranchInst::Create(RetBB, RecurseBB, CondInst, BB);
84 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
85 CallInst *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
89 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
90 CallInst *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
95 "addresult", RecurseBB);
98 ReturnInst::Create(Context, Sum, RecurseBB);
  /external/swiftshader/third_party/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 105 BasicBlock* RecurseBB = BasicBlock::Create(M->getContext(), "recurse", FibF);
109 BranchInst::Create(RetBB, RecurseBB, CondInst, BB);
115 Value *Sub = BinaryOperator::CreateSub(ArgX, One, "arg", RecurseBB);
116 Value *CallFibX1 = CallInst::Create(FibF, Sub, "fibx1", RecurseBB);
119 Sub = BinaryOperator::CreateSub(ArgX, Two, "arg", RecurseBB);
120 Value *CallFibX2 = CallInst::Create(FibF, Sub, "fibx2", RecurseBB);
124 BinaryOperator::CreateAdd(CallFibX1, CallFibX2, "addresult", RecurseBB);
127 ReturnInst::Create(M->getContext(), Sum, RecurseBB);
  /external/swiftshader/third_party/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 103 milliseconds